Add and rename some YaST icons and symlinks
ClosedPublic

Authored by ndavis on Feb 2 2019, 5:53 AM.

Details

Summary

Some icons didn't work because of assumptions I made about how fallback icons worked that were previously true. I have added additional symlinks and renamed some symlinks so that they work correctly.

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.
ndavis created this revision.Feb 2 2019, 5:53 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptFeb 2 2019, 5:53 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
ndavis requested review of this revision.Feb 2 2019, 5:53 AM
ngraham added a subscriber: ngraham.Feb 2 2019, 5:57 AM

General policy surrounding workarounds that are committed to the repo is that you need to know and mention the specific bug(s) you're working around.

ndavis edited the test plan for this revision. (Show Details)Feb 2 2019, 5:58 AM
ndavis added a subscriber: fvogt.

@fvogt LCP said a Qt bug was the reason that the icons weren't working correctly and that you would know more about it. I never got around to asking you though. Do you know which bug it is?

fvogt added a comment.Feb 2 2019, 11:02 AM

@fvogt LCP said a Qt bug was the reason that the icons weren't working correctly and that you would know more about it. I never got around to asking you though. Do you know which bug it is?

I don't remember any bug with fallback names. The only one that is vaguely related is https://bugs.kde.org/show_bug.cgi?id=402172, but I doubt it's that one.

ndavis added a subscriber: hellcp.Feb 2 2019, 2:58 PM
hellcp added a comment.Feb 2 2019, 3:14 PM

It's not really a workaround, all of those icons are valid when it comes to YaST, however previous batch of YaST icons into Breeze was build on idea that icon xyz-abc.svg will fallback to xyz.svg inside the same icon theme. In QIcon::fromTheme that is the case IF icon xyz-abc.svg does not exist in hicolor or any other fallback theme.

ndavis retitled this revision from Add and rename some YaST icon symlinks because of Qt bugs to Add and rename some YaST icon symlinks.Feb 2 2019, 3:18 PM
ndavis edited the summary of this revision. (Show Details)Feb 2 2019, 3:20 PM
ndavis edited the summary of this revision. (Show Details)Feb 2 2019, 4:02 PM
ndavis edited the summary of this revision. (Show Details)
ndavis added a comment.Feb 2 2019, 6:46 PM

I think I'll just land this. It fixes a bug caused by my misunderstanding of how YaST currently works.

ndavis updated this revision to Diff 50739.Feb 2 2019, 6:49 PM

Update commit message

ndavis retitled this revision from Add and rename some YaST icon symlinks to Add and rename some YaST icons and symlinks.Feb 2 2019, 6:50 PM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 2 2019, 6:50 PM
This revision was automatically updated to reflect the committed changes.