Fix icon of KStandardAction::MoveToTrash
ClosedPublic

Authored by elvisangelaccio on Aug 24 2017, 4:44 PM.

Details

Summary

It should be different from the DeleteFile icon, otherwise it's not
possible to distinguish them.

Test Plan

Open context menu of Dolphin (master) and press Shift.

Diff Detail

Repository
R265 KConfigWidgets
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: Frameworks. · View Herald TranscriptAug 24 2017, 4:44 PM

I do have two somewhat different looking icons in the context menu.

user-trash is for a place, not an action, so this might lead to a colorized icon showing up in the menu (when using larger icon sizes and/or high dpi)

I do have two somewhat different looking icons in the context menu.

dolphin git master? Make sure you have D6778, which is what caused the regression

user-trash is for a place, not an action, so this might lead to a colorized icon showing up in the menu (when using larger icon sizes and/or high dpi)

Right. Is there some other icon we could use?

@andreaska Is it possible to add a new breeze icon for the move-to-trash action?

  • Switched from user-trash to trash-empty (discussed with @andreaska in person).
ngraham accepted this revision.Oct 17 2017, 11:11 PM
ngraham added a subscriber: ngraham.

I support this change, for the additional reason that it's appropriate for the "move to trash" icon to be black, because red icons are for destructive changes, and moving something to the trash isn't a destructive change (it's the prelude to one). The actually destructive change now gets the red icon.

This revision is now accepted and ready to land.Oct 17 2017, 11:11 PM

Can we land this?

This revision was automatically updated to reflect the committed changes.