Summary: | Icons in Plasma theme override icons in the icon theme, leading to a disjointed appearance since most Plasma themes have few icons | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libplasma | Reporter: | blackcrack <blackcrack> |
Component: | libplasma | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | me, nate, niccolo.venerandi, notmart |
Priority: | NOR | ||
Version: | 5.99.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=438191 | ||
Latest Commit: | Version Fixed In: | 6.0 | |
Sentry Crash Report: | |||
Attachments: | Screenshoot of the desktop |
Description
blackcrack
2022-10-29 16:41:29 UTC
I can reproduce the issue. When I switch to an icon theme that definitely has its own edit-delete icon, it's not used in the clipboard plasmoid's button row. But the other icons in the row use themed icons properly. Deleting the plasma and icon caches and restarting plasmashell does not help. The code for the button is as follows: PlasmaComponents3.ToolButton { id: deleteToolButton icon.name: "edit-delete" display: PlasmaComponents3.AbstractButton.IconOnly text: i18n("Remove from history") onClicked: menuItem.remove(UuidRole) PlasmaComponents3.ToolTip { text: parent.text } } So it's not internally using a PlasmaCore.iconItem, which would make it preferentially use the edit-delete icon in the plasma theme. That's not going on here. Weird issue. Any ideas, Niccolò? I see the issue. Some icons are getting their styling from the Plasma theme, not the icon theme. If I set the Plasma theme to Oxygen, the edit-delete and configure icons come from the Plasma theme, while the rest of them come from the icon theme. Needless to say, this is really not ideal at all, and underscores why I don't like that Plasma themes can have icons in them that will override icons from the icon theme. at the systray the same, it should also take the icons from the User determined theme and not only the black/white theme, the coloured Icons at the Systray is mutch more pretty nice as the only colourless black/white icons from plasma. So please, make it possible to overtake the whole icons from the themes if they are exist in the theme, because therewith determine the user what he/she want. (maybe with a checkbox "[ ]Systray Icons from the Theme and not the black/white ones from Plasma" therewith is served both side of Users, under the Icontheme-selector ) best For Plasma 6, all icons now come from the icon theme; icons in the Plasma style are ignored. This effectively fixes the issue. See https://invent.kde.org/plasma/plasma-desktop/-/issues/82 for more information. |