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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important 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), 71842cfb8 (dev), 6c0c327e6 (6.9), 1db01fc2d (6.9), 465a14a3e (tqtc/lts-6.8), 817b27bed (tqtc/lts-6.8)

      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.

        For Gerrit Dashboard: QTBUG-116197
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved: