-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable macOS Darkmode support for non legacy builds #2833
Conversation
Since we compile with Qt 5.15 or later on non legacy builds, there is no need to disable darkmode anymore. Only the legacy build will opt out from now on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you say, no way to test that for me. :)
Will this change Jamulus' appearance based on system settings? If so, it might be better to do that as part of 3.10.0?
Or is this some kind of app-specific opt-in? Then 3.9.1 would probably also be ok?
Should get some review/feedback by other Mac users as you say.
The universal build PR also contained names of known Mac users you could ping.
What effect does it have on the mixer in Fancy skin? |
Yes.
See the screenshot.
Just try the non legacy Mac artifact |
Oh, that is Fancy skin in dark mode? Right! What does non-Fancy look like, then? (Similar to the settings page, I presume.) |
Mmm, yep, could do with a little more work. I think it's styled directly in the code. It's also worth checking when connected to a server that's recording and when Mute Myself is enabled (and both). |
Pasting https://forum.qt.io/topic/103465/how-to-react-to-light-dark-mode-changes-in-macos/4 here. Debian 12 Qt6 seems to use the same values. The stylesheet seems to be in clientdlg.cpp Also: Qt6-wayland might need to be installed: https://unix.stackexchange.com/questions/598099/could-not-find-the-qt-platform-plugin-wayland The return value of the palette().color call should be equal to |
Ok. @pljones Implemented for Linux Gnome. I'll test it on macOS later. |
@pljones please merge this if you feel it's OK. last time I was able to test it on macOS everything was as in the screenshots above (especially the now merged PR which fixed the dark mode) |
No. The now merged other PR fixed this issue. |
Short description of changes
The .plist files contained an opt out for macOS dark mode. Since we compile with Qt 5.15 or later on non legacy builds, there is no need to disable Dark mode support.
CHANGELOG: Mac: Enable dark-mode support on non legacy builds
Does this change need documentation? What needs to be documented and how?
No. Maybe screenshots.
Status of this Pull Request
Ready for review
What is missing until this pull request can be merged?
Nothing
Checklist