Bug 456811 - Doesn't automatically switch to dark mode on macOS
Summary: Doesn't automatically switch to dark mode on macOS
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kconfigwidgets
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.97.0
Platform: macOS (DMG) macOS
: NOR minor
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-16 19:10 UTC by Alice
Modified: 2023-02-14 14:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alice 2022-07-16 19:10:20 UTC
SUMMARY
Kate doesn't support dark mode on macOS.

STEPS TO REPRODUCE
1.  Set macOS to use dark mode
2.  Launch Kate

OBSERVED RESULT
It doesn't use dark mode.

EXPECTED RESULT
It uses dark mode (breeze dark).

SOFTWARE/OS VERSIONS
macOS: 12.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Comment 1 Alice 2022-07-16 19:16:22 UTC
*I meant doesn't automatically switch to dark mode, not doesn't support. You can manually switch it to dark mode but it would be nice if it could do it automatically.
Comment 2 Nicolas Fella 2022-07-17 11:25:07 UTC
We have code to do this for Windows in KColorSchemeManager. It reads the system preferenceand switches between Breeze Light and Dark accordingly

https://invent.kde.org/frameworks/kconfigwidgets/-/blob/master/src/kcolorschememanager.cpp#L101

Someone would need to add a macOS variant of that code
Comment 3 Bug Janitor Service 2022-08-26 14:17:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/155