-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Skins :: adjust styles of skin context menus, tooltip, ... #2337
Conversation
related Zulip discussion: |
marked WIP until I get some feedback on the fonts in Zulip Skin accessibility / font size The rest is ready, please test. Tracks context menu, cover menu, hotcue menu, table headers ... |
If there's none, let me know when it's okay to merge. |
anyone tested this yet? |
Merge conflicts have developed. |
I don't understand what you mean. Relative to what? What is the problem and why should it delay merging this? |
Relative to default system font size: 1em = 100% system font size Besides, I didn't receive any feedback on this PR yet. Testing on all OS would be appreciated, as well as testing with scale factors !=100%. Please provide a few screenshots when you do so, so I can compare if it looks somewhat similiar to the intended design at 100%. |
We use |
Sure. I stumbled over |
I'll resolve the conflicts soonish, most of them are about |
Please try the right-click menu for selected/editable fields in the tracks table with master. The blurry icons are there as well, and I didn't touch any menu items except the checkboxes. I noticed the blurry OS icons when closing Mixxx at 200%. Regarding the overlap, I'll check which other default menu types there are and how the items can be addressed. |
btw table headers are affected by the 'relative fonts' issue I tried to point out above: they don't scale with the library font size. But I think this can be fixed in c++ |
My impression is quite the opposite: the header font is regular in Deere, and bold in the other skins where it has a nice contrast that matches each skin (except in Shade Dark theme which I'll try to fix). |
I think the font sizes are fine. It is the font colors that are somewhat hard to read. |
It's strange it doesn't look okay for you, because I didn't change the font colors in this branch. I adapted them in Shade only to match the overall contrast of the color themes. |
While fixing the merge conflicts I also cleaned up a bit and managed to address the icons in editline menu and cue color menu. |
…an test if the bug still exists in Qt5
We had a separate stylesheet for MacOS which hacks around a bug with effect selector. |
QMenu::item:selected, | ||
QMenu QCheckBox:selected, | ||
QMenu QCheckBox:focus, /* selected by keyboard */ | ||
QMenu QCheckBox:hover /* mouse hover */ { |
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.
What i do think is, that at least on macOS, the styled menus are harder to read than before. Specially the active items. Try to look from some distance. With this fore-/ background colors, text has a color contrast ratio of 2.8:1, we should aim for at least 4.5 with such small fonts according to WCAG
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.
I see. On one hand, the pupose of this PR is to avoid those super bright context menus in our nighttime skins. Otoh I see the contrast can be increased for Deere.
How does the contrast feel like in the other skins? I think in LateNight at least it's sufficient consindering the overall contrast in the skin:
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.
Btw, thanks for testting!
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.
I think the contrast for hovered menu items is okay in the other skins. IMO it is only Deere where it is a problem.
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.
Please take care of this in a new PR since this one was merged prematurely.
I'm glad the checkmarks work in MacOS, but I'm puzzled why the (closed) effect selector is white in Deere... |
…st in menus, remove debug styles, consolidate styles
Okay, I thought you did adjust them. There is no pressing need to change them in this PR then. It's not bad as is, but I think there is room for improvement. |
On that topic: after @esbrandt mentioned WCAG I found this contrast tool: |
I can confirm it looks good here either. Thank you for taking care. |
The contrast checker is a nice tool. Should we link it somewhere in our wiki? |
This was merged prematurely. @esbrandt and I both had a concern that had not been addressed; now a regression has been merged. |
yes, there are still items on the checklist. |
|
Synchronise styles of skin right-click menus, tooltip, ...
This should definitely be included in the 2.3 release because it makes the entire regular GUI interaction a consistent experience. No more OS themes crushing in, except popup windows like file dialogs and warnings.
It affects
Also I fixed the appearance of effect selector drop-down in Shade.ToDo
use relative font size where applicable?Nope, maybe later on..