Summary: | No longer possible to change panel launcher icons to a different image | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | PrimeSuspect <primesuspect> |
Component: | Properties dialog | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ctrlaltca, imagesfromobjects, kdelibs-bugs, nate, stevenfalco |
Priority: | NOR | ||
Version: | 5.86.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/commit/3d257472c1e953f9e6e80247ba9554b0d286c494 | Version Fixed In: | 5.88 |
Sentry Crash Report: |
Description
PrimeSuspect
2021-09-01 07:52:25 UTC
I verified this bug, it happens with the "icon" applet. The applet tries to set the "filename" lineedit readonly: https://invent.kde.org/plasma/plasma-workspace/-/blob/master/applets/icon/iconapplet.cpp#L561 this causes the lineedit to get set to an empty text: https://invent.kde.org/frameworks/kio/-/blob/master/src/widgets/kpropertiesdialog.cpp#L1242 but because of this signal/slot connection created on the ctor, the ok button gets disabled if the lineedit is empty: https://invent.kde.org/frameworks/kio/-/blob/master/src/widgets/kpropertiesdialog.cpp#L1032 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 https://invent.kde.org/frameworks/kio/commit/3d257472c1e953f9e6e80247ba9554b0d286c494 *** 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. *** |