Bug 486682

Summary: Ctrl + drag to copyt file doesn't work in Desktop. Random behavior
Product: [Applications] dolphin Reporter: php4fan
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, kfm-devel
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description php4fan 2024-05-06 19:07:05 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1.  Hold the Ctrl key pressed and drag & drop a file from the desktop to the desktop itself

OBSERVED RESULT

Randomly one of two things happens:
A) Even if you click and drag on the file, the UI behaves as if you had clicked on an empty region of the desktop, and it draws a rectangle to select stuff
B) it actually picks up the file, the "+" circle shows next to the cursor as if you were actually going to copy the file, but when you drop it, it just moves the icon but does nothing else. In other words, it's just as if you had dragged and dropped the file without holding the Ctrl key.

(A) happens way more often that (B) but either way it seems to be utterly random, and neither of the two behaviors is correct.

EXPECTED RESULT
Should behave like it does when you do the same inside a folder instead of in the desktop: allow you to drag and drop the file, show the "+" icon next to the cursor as you do so, and when you drop the file, since the file cannot be copied into the same folder with the same name, it should prompt you for a new file name.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2024-11-01 09:08:22 UTC
This should be improved in newer Plasma (6.2 onwards)