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: Unresolved
    • P3: Somewhat important
    • None
    • 6.5
    • Widgets: Styles
    • None
    • Linux/Wayland, Linux/X11

    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. If gtk3 platformtheme is not built and GNOME is used, org.freedesktop.appearance.color-scheme is used correctly Looks like 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 (be it GNOME when gtk3 platformtheme is built or non-GNOME 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:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes