https://bugs.kde.org/show_bug.cgi?id=516303

            Bug ID: 516303
           Summary: GTK applications don't correctly respond to dark mode
                    changes (6.6 regression)
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.0
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Day/night schedule
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Created attachment 189808
  --> https://bugs.kde.org/attachment.cgi?id=189808&action=edit
recording of the issue

SUMMARY
Starting from Plasma 6.6, GTK applications don't correctly change their color
scheme in response to changing system theme; instead they seem to change their
color scheme to the previous value of system theme. E.g. if I'm in light mode
and change system theme to Breeze Dark, GTK applications will stay in light
mode; if I then change system theme to Breeze (light), GTK applications will
turn into dark mode.

Closing and reopening the GTK application makes it launch in the correct mode
(until the next theme change).

It's somewhat difficult to accurately describe the behavior, so I attached a
recording of the issue. It shows 2 non-GTK applications (Kate and LibreOffice)
responding correctly to system theme changes, and 2 GTK applications (Firefox
(GTK3) and LACT (GTK4)) displaying the issue.

STEPS TO REPRODUCE
1. Launch a GTK application, e.g. Firefox with theme set to "system theme -
auto"
2. Confirm that the application's theme is in sync with system theme
3. In System Settings change the theme between light and dark

OBSERVED RESULT
On the first theme change, GTK applications stay in their previous mode. On
each subsequent theme change, GTK applications also change their theme, but to
the opposite of the system theme.

EXPECTED RESULT
GTK applications consistently follow system theme.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2

ADDITIONAL INFORMATION
The issue started appearing after upgrading Plasma from 6.5.5 to 6.6.0. On
Plasma 6.5 GTK applications correctly followed system theme.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to