Bug 416357

Summary: Action modifiers during drag do not update mouse cursor immediately.
Product: [Applications] dolphin Reporter: Hakan Bayindir <hakan>
Component: panels: foldersAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: hakan, kfm-devel, nate
Priority: NOR    
Version: 19.08.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Hakan Bayindir 2020-01-16 20:47:01 UTC
SUMMARY

When using action modifiers (e.g. Shift) during drag the effects of the said modifiers are not applied immediately. Instead, modifiers are checked on drag event, causing bad user experience

STEPS TO REPRODUCE
Scenario: Moving a file.
1. Start dragging a folder.
2. Drag to target position.
3. Press shift to set action to move, do not move mouse.

OBSERVED RESULT
Mouse cursor is not updated to indicate file move.

EXPECTED RESULT
Mouse cursor is updated to indicate file move.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.5 (against 5.12.5)

ADDITIONAL INFORMATION
- Moving mouse slightly still holding shift and handle changes to move handle in some cases.
- Pressing modifier and starting drag sets the handle correctly. It seems the code is updated only thinking about this scenario.
- A similar behavior is present in context menu. Pressing shift converts "Move to Trash" to "Delete" immediately. This is the expected behavior during drag too.
Comment 1 Nate Graham 2020-01-16 20:48:23 UTC

*** This bug has been marked as a duplicate of bug 388259 ***