Created attachment 147422 [details] Screen recording of the issue SUMMARY On my system, I use the theme toggle in Plasma's Quick Settings to jump between light and dark mode, depending on the time of day. I've noticed that whichever mode I select, GTK apps will be set to the opposing mode (e.g. if KDE is in light mode, GTK apps will be dark). This is confirmed with the preview function of GTK themes in Plasma, and by viewing VS Code (which instantly changes themes). STEPS TO REPRODUCE 1. Open System Settings 2. Switch to light mode 3. Switch to dark mode OBSERVED RESULT GTK apps will not respect your theme preference EXPECTED RESULT GTK apps respect your theme preference SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 35 with (available in About System) KDE Plasma Version: 5.24.2 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION kde-gtk-config is installed and has been uninstalled and reinstalled to test. Changing the accent color to anything will give GTK a little "kick" and get things working as expected.
Sounds like the toggle in Quick Settings isn't notifying kde-gtk-config properly. Can confirm.
Hello! About this problem I notice that when we change the theme in Settings > Quick Settings menu to Light, ~/.kde4/share/config/kdeglobals update "[General] ColorScheme" as "BreezeDark" and vice versa. Maybe GTK is getting this value as a reference to change theme color? After logout and login, "[General] ColorScheme" in ~/.kde4/share/config/kdeglobals shows the actual theme selected correctly and GTK apps getting the right theme. I hope this helps in some way, Thanks! Operating System that i tested: Arch Linux KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3
Duplicate of bug 421745?
Right you are! *** This bug has been marked as a duplicate of bug 421745 ***