plasma-panel-colorizer icon indicating copy to clipboard operation
plasma-panel-colorizer copied to clipboard

[Bug]: Unable to force the icon color of Application Launcher

Open GrassBlock1 opened this issue 8 months ago • 3 comments

I have:

Install method used:

  • [ ] Using Plasma's "Add new widget" (KDE Store)
  • [x] AUR
  • [ ] Nix package
  • [ ] Manually from the latest source code

Describe the bug I use a svg file for the icon of application launcher, which is black: Image

I can't force the color effect of it.

Steps to reproduce

  1. Go to 'Configure Panel Colorizer'
  2. Click on 'Text and Icons'
  3. Click on the any of 'mask' 'effect' 'refresh' beside the 'Application Launcher'
  4. Click on 'Apply'

Observed Result Unable to click 'Apply', if I also changed other settings and click 'Apply', the color of icon doesn't change

Expected Result The icon get recolored

Screenshots

System information (please complete the following):

Run kinfo on a terminal and paste the output bellow

# paste output of kinfo here
Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.6-arch1-1-lily (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600U with Radeon Graphics
Memory: 13.5 GiB of RAM
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: NVIDIA GeForce MX450

GrassBlock1 avatar Mar 15 '25 04:03 GrassBlock1

Not long ago there was a change in Plasma that made non square custom icons to fallback to Image type, which my widget does not recolor. The reason being that widgets like a media player that display a Image would get them recolored too if the colorization is forced on them. A extra option to recolor them needs to be added next to the Mask Effect Refresh.

As a workaround for now you can edit your svg to make sure it is a ~~rectangle~~ square, then it will be loaded as a SVG, and those can be recolored without issues.

Or even better, make the icon use the System and accent colors and avoid the need to recolor them manually.

luisbocanegra avatar Mar 15 '25 05:03 luisbocanegra

The Merge request in question was Use Image for user-selected non-square Kickoff icons

luisbocanegra avatar Mar 15 '25 05:03 luisbocanegra

make the icon use the System and accent colors and avoid the need to recolor them manually.

Thanks! This did the trick :D

GrassBlock1 avatar Mar 15 '25 09:03 GrassBlock1