Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-116197

org.freedesktop.appearance.color-scheme is supported in a weird way

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.7.1, 6.8.0 FF
    • 6.5
    • Widgets: Styles
    • None
    • Linux/Wayland, Linux/X11
    • d0b4e8a60 (dev), a833d5682 (dev), 3aa05a948 (6.7)

    Description

      There are currently two implementations of org.freedesktop.appearance.color-scheme: one in the xdgdesktopportal platformtheme and in in qgenericunixthemes.cpp's QGnomeTheme, this leads to the following behavior:
      1. QGnomeTheme subscribes but actually never uses the signal result and it never gets initial value.
      2. If the app is in flatpak or snap, org.freedesktop.appearance.color-scheme is used but it doesn't update the value on the fly (as the implementation inside xdgdesktopportal doesn't support that)
      3. In all the other cases (not flatpak or snap), the standard is not used

      Expected behavior: standard is preferred whenever returns a non-unknown value and subscribes to updates whenever the standard is used.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              axelspoerl Axel Spoerl
              ilya-fedin Ilya Fedin
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes