Bug 415838

Summary: DnD of File Into "Open File" Dialog File Name Text Box Not Possible Any More
Product: [Frameworks and Libraries] frameworks-kio Reporter: Gunter Ohrner <mails.bugs.kde.org-2025-1>
Component: Open/save dialogsAssignee: David Faure <faure>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.65.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gunter Ohrner 2020-01-03 12:19:37 UTC
SUMMARY

IIRC, some time ago it was possible to drag-and-drop a file from eg. Dolphin into an "Open File" dialog's file name field. The full pathname of the file would then be inserted there.

This was very handy in case an application only provides an "Open File" dialog, but has not feature to directly accept a dragged and dropped file. (Which is true for many, many applications.)


STEPS TO REPRODUCE
1. Open Dolphin and show some directory.
2. Open an "Open File" dialog in some other application.
3. Drag and Drop a file which is accepted by this other application into the file name field of the "Open File" dialog.

OBSERVED RESULT

The cursor feedback indicates, that the file can be dropped in the file name field. However, if I try to do so, the file name field stays empty.


EXPECTED RESULT

It does not only look like it, but I can actually drop the file into the file name field and the file's full path name is inserted there. I then only have to click "Open" in order to open this file in the application.

If I'm not totally mistaken, this used to work fine for ages, until some time ago when it apparently broke.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 5.13.2
Comment 1 Nate Graham 2020-01-06 23:37:39 UTC
Now the drag area is the entire view itself (a much larger area), not the tiny text box.