https://bugs.kde.org/show_bug.cgi?id=441847

Fabio <ctrlal...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|cf...@kde.org               |kio-bugs-n...@kde.org
            Version|unspecified                 |5.86.0
            Product|frameworks-kiconthemes      |frameworks-kio
                 CC|                            |ctrlal...@gmail.com
          Component|general                     |Properties dialog

--- Comment #1 from Fabio <ctrlal...@gmail.com> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to