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

Able to apply new QSS requested preferences that are not in user preferences

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      If the key that keys into QSS has a preferences set:

      {
          "http://registry.gpii.net/common/DPIScale": 1.50,
          "http://registry.gpii.net/common/cursorSize": 1.0,
          "http://registry.gpii.net/common/speechControl": true
      }
      

      and QSS requests to apply a high contrast theme:

      "http://registry.gpii.net/common/highContrastTheme": "white-black"
      

      Note that the high contrast theme is not an existing preference in the user's preferences set.

      In this case, Lifecycle Manager is not able to apply high contrast theme.

      The cause of the problem is, for the security reason, the matchmaking for applying user preferences only returns the filtered result on solution registry and inferred configurations etc for preferences that are already in the user's preferences set. Using this result is not enough to handle any request change on new preferences.

      The solution is, when receiving a prefs update, a local matchmaking should be performed to accommodate new preferences.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: