Bug 498086 - Dark mode does not work properly on GNOME
Summary: Dark mode does not work properly on GNOME
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 24.08.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-31 12:56 UTC by creatorsmithmdt
Modified: 2025-01-18 15:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
A screenshot of the launch view of kate, showing some of the outlined issues. (110.68 KB, image/png)
2024-12-31 12:56 UTC, creatorsmithmdt
Details
A particularly bad pop up showing both issues. (17.43 KB, image/png)
2024-12-31 12:56 UTC, creatorsmithmdt
Details
A screenshot of the launch view of kate, showing the now correct colors. (115.77 KB, image/png)
2025-01-18 15:32 UTC, creatorsmithmdt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description creatorsmithmdt 2024-12-31 12:56:03 UTC
Created attachment 176993 [details]
A screenshot of the launch view of kate, showing some of the outlined issues.

SUMMARY
When setting dark mode in the gnome settings, Kate attempts to follow the system theme but does not do so properly. In particular, some text is set as black on a dark background, while other boxes remain entirely white.

STEPS TO REPRODUCE
1. Set appearance to dark in gnome settings
2. Set Kate to follow system theme

OBSERVED RESULT
Text is discolored and some boxes are white.

EXPECTED RESULT
No black text on grey backgrounds, no white boxes that don't match the rest of the theming.

SOFTWARE/OS VERSIONS
Linux 6.12.4-1518.native
Clear Linux (Build 42790)
GNOME 47
KDE Frameworks Version: 6.7.0
Qt Version: Version 6.8.0 (built against 6.7.3)
Wayland
Comment 1 creatorsmithmdt 2024-12-31 12:56:34 UTC
Created attachment 176994 [details]
A particularly bad pop up showing both issues.
Comment 2 Waqar Ahmed 2024-12-31 13:58:24 UTC
Does it work better if you change the style/colors from Settings menu?
Comment 3 creatorsmithmdt 2024-12-31 14:04:52 UTC
(In reply to Waqar Ahmed from comment #2)
> Does it work better if you change the style/colors from Settings menu?

Nope, same problems when manually setting the theme to Breeze Dark.
Comment 4 Christoph Cullmann 2025-01-04 16:56:19 UTC
I think that only works properly with this fix

https://invent.kde.org/frameworks/kiconthemes/-/commit/df1e75fc8a248040235ac1412e0bf6c55bff2a9f

And that is only in Frameworks 6.8 and upwards.
Comment 5 creatorsmithmdt 2025-01-18 15:31:59 UTC
Fixed as of Clear Linux build 42870. (May have been earlier, I just noticed now.) Presumably the aforementioned upstream fix made its way to a distribution release.
For posterity, here is the working version information:
Kate: 24.12.1
Linux: 6.12.8-1530.native
Clear Linux (Build 42870)
GNOME 47
KDE Frameworks: 6.10.0
Qt: Using 6.8.0 and built against 6.8.0
Wayland
Comment 6 creatorsmithmdt 2025-01-18 15:32:51 UTC
Created attachment 177510 [details]
A screenshot of the launch view of kate, showing the now correct colors.
Comment 7 Christoph Cullmann 2025-01-18 15:35:23 UTC
Nice that this works now!