Bug 463030

Summary: KUrlRequester from KIO cannot accept file drop event to input file URL under Windows.
Product: [Frameworks and Libraries] frameworks-kio Reporter: Gary Wang <wzc782970009>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.101.0   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gary Wang 2022-12-14 06:39:04 UTC
SUMMARY

KUrlRequester from KIO cannot accept file drop event to input file URL under Windows.

STEPS TO REPRODUCE
1. Download the most recent release of KDE Connect for Windows
2. Pair a device, from system tray, select "Send file / URL"
3. The input box above the combobox is a KUrlRequester, try to drag and drop any file to the input area
4. See the result

OBSERVED RESULT

User cannot drop the file there to input the URL under Windows, but can do that under Linux.

EXPECTED RESULT

Drag-and-drop to input file URL should work.

SOFTWARE/OS VERSIONS
Windows: Home 11, 22H2
Version of KDE Connect that could reproduce the issue: kdeconnect-kde-21.12.3-903-windows-msvc2019_64-cl.exe downloaded from the official website

ADDITIONAL INFORMATION

KUrlRequester uses a KLineEdit which is a part of KCompletion, since compiling KIO under Windows is a painful job so I'm not sure if it's a KIO issue or a KCompletion issue. Let me know if you need any additional information.