Bug 501265

Summary: Add ability to drag-and-drop custom icons in properties dialog
Product: [Frameworks and Libraries] frameworks-kio Reporter: Luke Horwell <code>
Component: Properties dialogAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.8.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example of dropping a custom icon on button

Description Luke Horwell 2025-03-09 16:31:56 UTC
Created attachment 179248 [details]
Example of dropping a custom icon on button

SUMMARY

As a user who customises a lot of folder icons, it would enhance productivity if the file properties dialog (as used in apps like Dolphin) could support drag-and-drop to set a custom icon, as opposed to many steps to achieve the same thing with the file picker.


STEPS TO REPRODUCE
1. Right click a folder → Properties.
2. Drag-and-drop an image file (PNG or SVG) to the icon button.


OBSERVED RESULT
Cursor shows a clashed circle, not possible. Must perform many clicks:
  1. The icon button ("iconButton")
  2. Click "Browse..."
  3. Drag and drop the desired icon.
  4. Accept the file picker.
  5. Accept the icon chooser.

EXPECTED RESULT
Icon button implements the drop event for valid image files.


SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2