Bug 486197

Summary: Drag & drop fails e.g. for newly created files
Product: [Applications] dolphin Reporter: Philipp Maierhöfer <maiphi.public>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dolphin-bugs-null, titouan-camus
Priority: NOR    
Version First Reported In: 24.02.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Philipp Maierhöfer 2024-04-27 12:41:01 UTC
SUMMARY
In some cases, drag & drop of a file doesn't work. Instead, a selection rectangle appears when a file is clicked and dragged.

This is 100% reproducible on newly created files in Dolphin. I think that it occured to me in other sitations as well, but this is the only case I could reproduce. Tested this on Wayland, but I think X11 is also affected.

STEPS TO REPRODUCE
1. Open Dolphin. Right click on the main view to open the context menu. Select "Create New -> Text File" and press enter to create the file.
2. Left click and hold the new file and move the mouse.

OBSERVED RESULT
Instead of dragging the file, a selection rectangle opens. You have to release the left button and try again to make it work.

EXPECTED RESULT
The file should be dragged. No selection rectangle should show (btw. why is this a rectangle in in details view? The horizontal selector from KDE 5 was more convenient).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Comment 1 Titouan Camus 2024-04-27 14:16:53 UTC
Can reproduce.

Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-28-generic (64-bit)
Graphics Platform: Wayland
Comment 2 Philipp Maierhöfer 2025-02-24 20:15:22 UTC
Can't reproduce this with 24.12.2 anymore. Seems to have been fixed in the meantime.