-
-
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 :: fix qss icons with kIconThemes 5.80 #3902
Conversation
ToDo
|
8d1bb8c
to
24c3eaf
Compare
done. |
yes @ywwg in case he didn't patch the icon lib, yet. I tested this myself with Ubuntu 21.04 and that kIconlib installed. This is mostly about making the LateNight main interface look good and Tango usable again. |
The only issue I see is no bpm lock icon or library triangles on deere 64. Otherwise good! |
I can confirm that the launch image is no longer squeezed. The preview button is still squeezed. How about creating a PR with only the known working fixes? I have just contacted the package maintainers Rick and Jose again. Maybe we can solve the root cause with them. |
Deere64 icons are now visible with the path fix used for Tango already ready!
They simply need to update the package in the ubuntu main repo to 82. It's already in kubuntu-backport
Only issue I'm aware of are squeezed icons / enforced to 1:1 and not scaled: |
Can you revert the non working attempt before merge? |
sure, I can squash commits per skin tomorrow. |
it's not non-working, it's two separate steps btw |
There is no need to squash anything. I just want make sure not to have changes that do not improve the situation but have an regression risk. |
I checked again: the preview and bpm icons are there in all skins. |
The preview icon is there but squashed the same goes for the effect combo box. I have a plain Ubuntu Hirsute with the faulty library installed. I can't reproduce the icon missing issue, only the squashing. |
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.
looks good!
…SVG icons with kIconThems_5.80
…icons with kIconThems_5.80
…cons with kIconThems_5.80
…icons with kIconThems_5.80
that was a regression caused by #3877 affecting Deere64 and Tango64 where (incorrect/incomplete) icon urls in the base skin were not properly resolved. see PR description
To re-cap the consequneces of that broken lib:
now, (with broken kIconThemes)
For the preview button I now decided to go with the fixed-size icons with correct aspect ratio set in I don't want to spent hours with resizing icons for a skin I don't care about tbh Re squeezed effect combobox: please post an example screen. |
I like to merge this asap. It is kind of unfair to put so much work on you (us), just because the package maintainers are not able to upload the fixed version to the Hirsute Repro. My original concern was not to commit half baked fixes that will hit us later once the library is updated. If you can confirm that this is not the case let's just merge this and carry on. Do you? |
border: 1px solid transparent; | ||
border-radius: 2px; | ||
} | ||
|
||
QPushButton#LibraryPreviewButton:!checked { | ||
image: url(skin:/icon/ic_library_preview_play.svg); | ||
/* TODO ronso0 Restore once fixed lib linKIconThemes (vers. <..80) is in *ubuntu main repos */ | ||
/*image: url(skin:/../Deere/icon/ic_library_preview_play.svg);*/ |
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.
Does this case a regression for all?
If so I prefere to revert this. The same applies to the other todos.
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.
this is the only way to get the Preview icons undistorted and adpating to the column width (though not growing with the row height). It's the same for all skins now, and special button styles are not re-implemented, thus the TODOS
so Yes, a regression. with the fixed lib image
should work as it did before, and I will revert that asap after the patched libs are in main repos.
I have now copied the 5.82 version to our PPA. Which changes from this PR are still relevant? |
The fixed lib should restore the previous working status of There are a few places (icons in Deere only IIRC, as well as the Preview button) where we should revert the fixes afterwards to make it look good again. Ready. |
This is not a fix -- it's just a mirror of the kubuntu ppa.
As explained this makes skins more immune against future broken libs, and we should revert the few changes marked with TODO soon. I have this package on the radar and will do so asap. |
.
ronso0 ***@***.***> schrieb am Fr., 28. Mai 2021, 16:13:
… I have now copied the 5.82 version to our PPA.
Issue fixed :-/
This is not a fix -- it's just a mirror of the kubuntu ppa.
To make use of that/or our ppa users need to
- complain about it somewhere (best case Mixxx forums)
- someone knowing about the reason AND the fix has to be around, and
then I'd rather recommend them adding the kubuntu ppa instead
As explained this makes skins more immune against future broken libs, and
we should revert the few changes marked with TODO soon. I have this package
on the radar and will do so asap.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3902 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANR6ITVTFHYVV57QMI5Z4LTP6QHTANCNFSM45MHRDPA>
.
|
From your last response only
is visible. Ready for merge? |
The PPA solution is a automatic fix for all PPA users. |
So let's merge this now. Thank you for developing the fix. |
Some merge conflicts with main need to be resolved. |
I'll take care of that tomorrow. |
Done. |
awesome! |
return to 'image: url(..) no-repeat center center;' for most skin icons to avoid unscaled, blurry icons when Mixxx is scaled >100% with the 'background: ..' shorthand at the cost of a lot of squeezed icons for (Linux) users still having broken libKIconthemes5 5.80 installed.
because with scale factors >100% the (vector) icons set with 'background[-mage]' are not truely scaled up, only their 100% pixmap, which results in blurry/ pixelated icons. Users still with broken libKIconThemes5 v5.80 have to live with squeezed icons until they (can) update that lib.
because with scale factors >100% the (vector) icons set with 'background[-mage]' are not truely scaled up, only their 100% pixmap, which results in blurry/ pixelated icons. Users still with broken libKIconThemes5 v5.80 have to live with squeezed icons until they (can) update that lib.
because with scale factors >100% the (vector) icons set with 'background[-mage]' are not truely scaled up, only their 100% pixmap, which results in blurry/ pixelated icons. Users still with broken libKIconThemes5 v5.80 have to live with squeezed icons until they (can) update that lib.
return to 'image: url(..) no-repeat center center;' for most skin icons to avoid unscaled, blurry icons when Mixxx is scaled >100% with the 'background: ..' shorthand at the cost of a lot of squeezed icons for (Linux) users still having broken libKIconthemes5 5.80 installed. A patched version of that lib is in the Mixxx 'stable' ppa.
partially revert #3902 Skins: fix qss icons with kIconThemes 5.80
1
missing skin icons due to broken kIconThemes https://www.ubuntuupdates.org/pm/kiconthemes were fixed
BUT that lib forces all
image: ...
icons to 1:1 aspect ratio while especially LateNight uses different formats.revival of #3863
For those affected by https://bugs.launchpad.net/mixxx/+bug/1922966
(Arch, Ubuntu 21.04 with kiconthemes installed)
the
background
shorthand is the only one-line way to achieve the previous look(alternative: separate
background-image
,background-position
andbackground-repeat
lines...)BUT since we omit
background-color
transparent bg color is assumed, thus all button background colors must be moved after setting the icons.In ALL skin
2
76db8ba
(included here because don't want to spend the time to rebase. this PR will be finished soon anyway)
In Tango the template and icon paths are
skin:../Tango/buttons/...
to allow reusing them for Tango64.After #3877 those paths need to be
skin:/../Tango/buttons/...
so they're correctly resolved toskins/Tango/buttons/...
3
24c3eaf
use 'background-image' for the default launch image style