Bug 459916

Summary: GTK applications appear in light mode after update
Product: [I don't know] kde Reporter: SirLennox <SirLennoxDev>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description SirLennox 2022-10-02 13:34:57 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Update fedora on 02/09/22
2. Open a non-system application like firefox, amberol

OBSERVED RESULT
The window decoration is light-mode (selected Breeze Application Style, Breeze Plasma-Style, Breeze-Dark Colors and Breeze Window Decoration)

EXPECTED RESULT
Everything looks fine

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
An update was available today, it doesn't fix the issue. Restarting the system doesn't fix it too. Reselecting / Switching the window decoration etc. doesn't seem to solve it too. I customized firefox to be dark mode, the search bar, bookmarks and opened tabs doesn't seem to be affected from this. System window borders are dark mode. Applications like dolphin, system settings, discover aren't affected. An application based on GTK4 and libadwaita
"gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' " seems to "fix" it, but there is no way I can set a custom color scheme and I don't know why this is not customizable with System Settings.
Comment 1 SirLennox 2022-10-02 13:45:07 UTC
(In reply to SirLennox from comment #0)
> SUMMARY
> ***
> NOTE: If you are reporting a crash, please try to attach a backtrace with
> debug symbols.
> See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports
> ***
> 
> 
> STEPS TO REPRODUCE
> 1. Update fedora on 02/09/22
> 2. Open a non-system application like firefox, amberol
> 
> OBSERVED RESULT
> The window decoration is light-mode (selected Breeze Application Style,
> Breeze Plasma-Style, Breeze-Dark Colors and Breeze Window Decoration)
> 
> EXPECTED RESULT
> Everything looks fine
> 
> SOFTWARE/OS VERSIONS
> Windows: 
> macOS: 
> Linux/KDE Plasma: 
> (available in About System)
> KDE Plasma Version: 
> KDE Frameworks Version: 
> Qt Version: 
> 
> ADDITIONAL INFORMATION
> An update was available today, it doesn't fix the issue. Restarting the
> system doesn't fix it too. Reselecting / Switching the window decoration
> etc. doesn't seem to solve it too. I customized firefox to be dark mode, the
> search bar, bookmarks and opened tabs doesn't seem to be affected from this.
> System window borders are dark mode. Applications like dolphin, system
> settings, discover aren't affected. An application based on GTK4 and
> libadwaita
> "gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' "
> seems to "fix" it, but there is no way I can set a custom color scheme and I
> don't know why this is not customizable with System Settings.

gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' seems to fix it, I just haven't looked close enough.