STEPS TO REPRODUCE
1. Right-click a program launcher assigned to the panel (add to panel - widget)
2. From the properties window click the default launcher icon image to change it
3. Navigate to a different image from the system icons or to a saved image file
The final 'OK' to change the launcher icon is not selectable
The launcher icon should change to the different image selected
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
I verified this bug, it happens with the "icon" applet.
The applet tries to set the "filename" lineedit readonly:
this causes the lineedit to get set to an empty text:
but because of this signal/slot connection created on the ctor, the ok button gets disabled if the lineedit is empty:
A possible solution would be to disable the connection to the KFilePropsPlugin::nameFileChanged slot when setFileNameReadOnly() gets called.
A quick workaround for users to edit the icons: locate the relevant desktop file in ~/.local/share/plasma_icons and run eg:
kioclient5 openProperties ~/.local/share/plasma_icons/org.kde.kate.desktop
Please don't change the file name, or it will probably break.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/597
Git commit 3d257472c1e953f9e6e80247ba9554b0d286c494 by Fabio Bas.
Committed on 13/10/2021 at 15:17.
Pushed by meven into branch 'master'.
KFilePropsPlugin: Allow to edit properties when setFileNameReadOnly is set
Don't empty the fileNameLineEdit to avoid the dialog ok button being disabled by nameFileChanged()
M +0 -1 src/widgets/kpropertiesdialog.cpp
*** Bug 443796 has been marked as a duplicate of this bug. ***
*** Bug 442183 has been marked as a duplicate of this bug. ***
*** Bug 444564 has been marked as a duplicate of this bug. ***