[breeze-icons] fix shadow in some user (applets/128) icons
ClosedPublic

Authored by rocka on Mar 17 2020, 10:08 AM.

Details

Summary

When executing kdialog --geticon, some errors would shown:

$ kdialog --geticon
qt.svg: /usr/share/icons/breeze-dark/applets/128/user-ada-lovelace.svg:68: Could not resolve property: #linearGradient6624
qt.svg: /usr/share/icons/breeze-dark/applets/128/user-ada-lovelace.svg:68: Could not resolve property: #linearGradient6626
qt.svg: /usr/share/icons/breeze-dark/applets/128/user-leonardo-da-vinci.svg:79: Could not resolve property: #linearGradient6634

... And those 2 icons don't have correct shadow. This patch fixes it.

Test Plan

Before

After

Diff Detail

Repository
R266 Breeze Icons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
rocka created this revision.Mar 17 2020, 10:08 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptMar 17 2020, 10:08 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
rocka requested review of this revision.Mar 17 2020, 10:08 AM
rocka edited the test plan for this revision. (Show Details)Mar 17 2020, 10:09 AM
rocka added a reviewer: VDG.
rocka edited the summary of this revision. (Show Details)
rocka updated this revision to Diff 77814.Mar 17 2020, 10:17 AM

remove svg metadata

ndavis accepted this revision.Mar 17 2020, 5:39 PM
ndavis added a subscriber: ndavis.

I'm not sure if we actually use these anywhere, but the patch looks good to me.

This revision is now accepted and ready to land.Mar 17 2020, 5:39 PM

Hmm. The shadows no longer work correctly in Inkscape, but they work fine in the Qt SVG renderer, which is unusual since usually the Qt SVG renderer is the picky one.

ndavis requested changes to this revision.Mar 17 2020, 5:46 PM

Can you fix the files for inkscape?

This revision now requires changes to proceed.Mar 17 2020, 5:46 PM
rocka added a comment.Mar 17 2020, 6:30 PM

Weird, I edited them in Inkscape …

Aren't those icons used as default avatar in user manager?

Weird, I edited them in Inkscape …

Aren't those icons used as default avatar in user manager?

Nope. Those were actually kept in the user-manager repo until they were removed in June 2019. These don't seem to be used for anything at all.

BTW, you can use this website to search for text in the code of all KDE software: https://lxr.kde.org/search

rocka updated this revision to Diff 77886.Mar 18 2020, 9:21 AM

Try to fix icon display in inkscape

ndavis accepted this revision.Mar 18 2020, 11:56 AM

lgtm

This revision is now accepted and ready to land.Mar 18 2020, 11:56 AM
This revision was automatically updated to reflect the committed changes.