-
-
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
bpm lock icon rendered incorrectly on QT6 (no QML) #11630
Comments
Maybe just an error in the SVG? How does it look like in PaleMoon?
|
I can confirm the issue with all skins. However only if the row is not selected. In selected case everything looks fine. |
Can you try the explicit #LibraryBPMButton::indicator:!selected:checked,
#LibraryBPMButton::indicator:selected:checked {
image: url(skin:/classic/buttons/btn__lib_bpm_locked_orange.svg);
}
#LibraryBPMButton::indicator:!selected:unchecked,
#LibraryBPMButton::indicator:selected:unchecked {
image: url(skin:/classic/buttons/btn__lib_bpm_unlocked_grey.svg);
} |
no, that does not work for me. weird. |
So the mixxx/src/library/bpmdelegate.cpp Lines 63 to 94 in d763be6
Can you try some other explicit selector, for example |
Oh, I think I got it (but it's surprising this worked before...): mixxx/res/skins/LateNight/style_classic.qss Lines 2588 to 2595 in d763be6
is after the general indicator rule mixxx/res/skins/LateNight/style_classic.qss Lines 2113 to 2119 in d763be6
Please try the other way around. |
still no luck. (qt bug?) I am not sure I am doing this right because even if I comment out all of the indicator:checked / unchecked qss items and anything referencing btn__lib_checkmark_orange, I still see the unselected rows with the orange check. |
So it's probably the default QCheckBox indicator style.
in style_classic.qss#L1104-L1105 and check if the checkmark color is also reset. FWIW in res/skins/default.qss we use the |
Would it be possible to work up a draft PR? I am getting a little lost in these files and what changes I should be making to test this |
Try adding this snippet at the bottom of style_classic.qss
If that doesn't fix it I'll take another look and create PR. |
On Windows the padlock symbol appeared, but off center and smaller than it should be. |
Please post a screenshot. |
@JoergAtGithub Could you test if disabling this part in WLibraryTableView makes a difference? mixxx/src/widget/wlibrarytableview.cpp Lines 227 to 232 in 37a71a9
|
I didn't build with Qt6 yet so someone else needs to debug this. Above are some hints, maybe also try |
affected macOS with qt 6.5.2 #11900 |
@ronso0 Removing that does indeed fix the issue for me (on macOS), but causes the lock and custom checkmark to render at roughly double the size: My guess is that the checkmarks still render underneath, but simply aren't visible anymore. |
Could someone who can reproduce try adding mixxx/res/skins/LateNight/style_palemoon.qss Lines 2604 to 2609 in 03d0ce7
|
Doesn't seem to change anything, unfortunately |
I've found that setting a border on the item actually fixes the issue:
Similarly, adding
fixes the issue for the play count too: Funny how |
Bug Description
The bpm column does not look correct on QT6:
The custom lock icon we use is not being drawn.
Version
HEAD
OS
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: