Bug 486682 - Ctrl + drag to copyt file doesn't work in Desktop. Random behavior
Summary: Ctrl + drag to copyt file doesn't work in Desktop. Random behavior
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-06 19:07 UTC by php4fan
Modified: 2024-11-01 09:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)