Bug 422414 - Drag and drop on Wayland: cursor jumps on the screen when mouse button is released and dragged item is dropped into wrong folder
Summary: Drag and drop on Wayland: cursor jumps on the screen when mouse button is rel...
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: icons mode (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2020-06-03 11:55 UTC by Patrick Silva
Modified: 2020-11-23 09:51 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-06-03 11:55:48 UTC
STEPS TO REPRODUCE
1. start Wayland session
2. use Dolphin to open a folder containing 1 file and 2 subfolders named "folderA" and "folderB"
3. right-click on an empty area, hover over "Sort by", set sorting by name,
select "A-Z" and check "Folders first"
4. start to drag the file, position cursor in the most left position of "folderB" icon (notice that "folderA" is unexpectedly highligthed), release the mouse button (cursor jumps to "folderA"), choose "copy/move here"

OBSERVED RESULT
the dropped file is copied/moved to "folderA"

EXPECTED RESULT
the cursor should not jump to "folderA" when mouse button is releaded,
so the dropped file is copied/moved to "folderB" when we choose "copy/move here"


SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2
Comment 1 Méven Car 2020-07-10 08:43:47 UTC
Reproduced, in dolphin and gwenview (so not QGraphicScene specific)

The drop zone seems to be only covering the right half of the expected drop zone, the left half zone points to the element to the left or no element when there is none.

Seems like a Qt bug.
Comment 2 Patrick Silva 2020-10-31 14:10:24 UTC
I can't reproduce this bug on neon unstable anymore. Can anyone?
Comment 3 Méven Car 2020-11-23 09:51:00 UTC
I can't reproduce anymore either.

Seems like Qt 5.15+ or KWin 5.20+ fixed the bug.