Bug 416045

Summary: Trashcan widget icon should always be monochrome
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: TrashAssignee: visual-design
Status: RESOLVED FIXED    
Severity: wishlist CC: jackhill3103, nate, plasma-bugs
Priority: NOR Keywords: junior-jobs
Version: 5.22.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.0
Bug Depends on:    
Bug Blocks: 473215    
Attachments: panel height 38px
panel height 34px

Description Patrick Silva 2020-01-09 13:22:58 UTC
Created attachment 124995 [details]
panel height 38px

STEPS TO REPRODUCE
1. add Trashcan widget to plasma panel
2. set panel height to 34px or less

OBSERVED RESULT
icon of Trashcan widget changes. Compare the attached screenshots.

EXPECTED RESULT
icon of Trashcan widget is always the same

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.65.0
Qt Version: 5.14.0

ADDITIONAL INFORMATION
related to bug 381960
Comment 1 Patrick Silva 2020-01-09 13:23:36 UTC
Created attachment 124996 [details]
panel height 34px
Comment 2 Nate Graham 2020-01-12 17:17:15 UTC
We recently fixed the Show Desktop widget to always be monochrome. I guess we need to do the same thing for the Trash widget. This will entail adding monochrome versions of this icon to the Plasma theme (not the icon theme), as we did for the Show Desktop widget in https://cgit.kde.org/plasma-framework.git/commit/?id=e44cab6ab55bb7ca83281530515645ef46eef6a7
Comment 3 Felipe Kinoshita 2022-07-03 23:32:58 UTC
*** Bug 456272 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2023-08-09 15:07:08 UTC
We can do this now by using the user-trash-symbolic and user-trash-full-symbolic icons.
Comment 5 Nate Graham 2023-08-09 15:42:22 UTC
Git commit 4d4aa8fb88b1d6035d3200787ca068a2303bcb96 by Nate Graham.
Committed on 09/08/2023 at 17:40.
Pushed by ngraham into branch 'master'.

applet/trash: ask for -symbolic versions of CompactRep icons

We want to use these versions if they exist, so the Panel icons will
always be monochrome when using a mixed mono/colorful icon theme.
FIXED-IN: 6.0

M  +1    -1    applets/trash/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/4d4aa8fb88b1d6035d3200787ca068a2303bcb96