Add preferences-desktop-theme-applications and preferences-desktop-theme-windowdecorations icons
ClosedPublic

Authored by GB_2 on Mar 13 2019, 4:57 PM.

Details

Summary

Adds an application style and window decorations theme icon and adds a symlink.

Test Plan

Search for "preferences-desktop-theme" in Cuttlefish.

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.
GB_2 created this revision.Mar 13 2019, 4:57 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptMar 13 2019, 4:57 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
GB_2 requested review of this revision.Mar 13 2019, 4:57 PM
GB_2 edited the summary of this revision. (Show Details)Mar 13 2019, 4:58 PM
GB_2 updated this revision to Diff 53813.Mar 13 2019, 5:44 PM

Rename files and make icons more accurate

GB_2 retitled this revision from Add preferences-desktop-theme-windows icon to Add preferences-desktop-theme-applications icon.Mar 13 2019, 5:46 PM
GB_2 edited the summary of this revision. (Show Details)
GB_2 edited the test plan for this revision. (Show Details)
GB_2 retitled this revision from Add preferences-desktop-theme-applications icon to Add preferences-desktop-theme-applications and preferences-desktop-theme-windowborders icon.
GB_2 edited the summary of this revision. (Show Details)
GB_2 retitled this revision from Add preferences-desktop-theme-applications and preferences-desktop-theme-windowborders icon to Add preferences-desktop-theme-applications and preferences-desktop-theme-windowborders icons.
ndavis added a subscriber: ndavis.EditedMar 13 2019, 8:12 PM

I don't think the light/dark window background looks good. It also gives the wrong message because the Colors KCM is what controls the window background color. The Window Decoration KCM icon has the same issue, but that already exists. Perhaps you should put buttons or sliders on the icon instead of using alternating background. That, or you could stick to keeping the Qt and GTK widget style KCMs separate and use symbolism for Qt/KDE and GTK/GNOME on 2 different icons.

ndavis added a comment.EditedMar 13 2019, 8:19 PM

BTW, when you change a file into a symlink or vice versa, can you delete the icon you're changing in a separate commit and then add the new version of the icon? arc patch doesn't work when a file has been changed from or to a symlink in one step. You can do that by undoing the latest commit with git reset HEAD~.

I don't think the light/dark window background looks good. It also gives the wrong message because the Colors KCM is what controls the window background color. The Window Decoration KCM icon has the same issue, but that already exists. Perhaps you should put buttons or sliders on the icon instead of using alternating background. That, or you could stick to keeping the Qt and GTK widget style KCMs separate and use symbolism for Qt/KDE and GTK/GNOME on 2 different icons.

I would tend to agree.

We did agree to have Qt and GTK settings separate in T8871

GB_2 retitled this revision from Add preferences-desktop-theme-applications and preferences-desktop-theme-windowborders icons to Add preferences-desktop-theme-applications and preferences-desktop-theme-windowdecorations icons.Mar 14 2019, 12:18 PM
GB_2 updated this revision to Diff 53882.Mar 14 2019, 1:39 PM

Update preferences-desktop-theme-applications icon

GB_2 edited the summary of this revision. (Show Details)Mar 14 2019, 1:42 PM
GB_2 updated this revision to Diff 53883.Mar 14 2019, 2:11 PM

Don't turn real files into symlinks

I think preferences-desktop-theme-applications is fine, but preferences-desktop-theme-windowdecorations looks odd with that border.

GB_2 added a comment.Mar 14 2019, 7:59 PM

I think preferences-desktop-theme-applications is fine, but preferences-desktop-theme-windowdecorations looks odd with that border.

Well, what do you suggest? This is the most accurate design.

In D19733#431237, @GB_2 wrote:

I think preferences-desktop-theme-applications is fine, but preferences-desktop-theme-windowdecorations looks odd with that border.

Well, what do you suggest? This is the most accurate design.

I think making it the same as the current preferences-desktop-theme is fine. Then preferences-desktop-theme can become a symlink to preferences-desktop-theme-applications.

GB_2 updated this revision to Diff 53936.Mar 15 2019, 6:28 AM

Use old style for preferences-desktop-theme-windowdecorations

ndavis accepted this revision.Mar 15 2019, 7:11 AM
This revision is now accepted and ready to land.Mar 15 2019, 7:11 AM
This revision was automatically updated to reflect the committed changes.

So now this happens:

Does the category Icon in System Settings itself need to be updated too?

GB_2 added a comment.Mar 15 2019, 5:40 PM

So now this happens:

Does the category Icon in System Settings itself need to be updated too?

Did you clear your cache?

Yep, I always do.

This change appears to have broken Windows builds (when using the QRC bundles anyway, which it seems regular Windows CI builds don't enable)

See https://build.kde.org/job/Administration/job/Dependency%20Build%20Plasma%20kf5-qt5%20WindowsMSVCQt5.11/lastFailedBuild/consoleText

GB_2 added a comment.Mar 17 2019, 11:24 AM

This change appears to have broken Windows builds (when using the QRC bundles anyway, which it seems regular Windows CI builds don't enable)

See https://build.kde.org/job/Administration/job/Dependency%20Build%20Plasma%20kf5-qt5%20WindowsMSVCQt5.11/lastFailedBuild/consoleText

That build was before this patch landed. The error was caused by https://phabricator.kde.org/R266:3bd19e01b91338d9b9f0fd4f646f814ccdc30928, which I had to make in preparation for this patch to land, because of an arc/Phabricator bug.
So it should already be fixed now, since this patch has already been landed.

I see. If possible please do try to batch the commits together into a single push to avoid such breakages in the future.

We actually could not for technical reasons due to the following Phabricator bug: https://secure.phabricator.com/T1022