Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-4216

PSPChannel read API cannot translate windows high contrast theme setting to a term

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Solution Registry
    • Labels:
      None

      Description

      PSPChannel provides a read API to retrieve preference values. One step it performs is to do a inverse transformation to convert the received application setting values to Morphic understandable terms in forms of either common terms or application terms. The inverse transformation is based on "inverseCapabilitiesTransformations" blocks defined in the solution registry.

      Reading high contrast receives a setting value such as:

      "com.microsoft.windows.highContrast": {
          "HighContrastOn": {
              "value": false,
              "path": "pvParam.dwFlags.HCF_HIGHCONTRASTON"
          },
          "Pre-High Contrast Scheme": "C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\Windows\\Themes\\Morphic.theme"
      }
      

      But converting it to a term specific preference/value pair fails due to the missing "inverseCapabilitiesTransformations" block for "com.microsoft.windows.highContrast" in win32.json5.

      Proper "inverseCapabilitiesTransformations" blocks should be added for the read of high contrast theme to function.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stegru Steve Grundell
              Reporter:
              cli@ocad.ca Cindy Qi Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: