Bug 463277 - Wayland: Dolphin no longer detects Control and Shift keys when dragging items
Summary: Wayland: Dolphin no longer detects Control and Shift keys when dragging items
Status: RESOLVED DUPLICATE of bug 423031
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-20 18:32 UTC by Mircea Kitsune
Modified: 2023-05-13 00:36 UTC (History)
4 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 Mircea Kitsune 2022-12-20 18:32:55 UTC
SUMMARY
Seeing the vast majority of issues with Plasma Session on Wayland have finally been fixed, I decided to try switching from X11 again after years of waiting. Apart from some annoying but bearable intermittent bugs, there's one persistent issue I'm now encountering with Dolphin:

Holding Control or Shift to copy or move files no longer seems to be working. Upon click-dragging an item, I'm always asked if I want to either copy or move that item. The menu even shows the Control and Shift shortcuts, but it's as if the buttons are no longer detected.

STEPS TO REPRODUCE
Either open two Dolphin sessions or use one with split view. Go to different directories and click-drag files between them while holding the Control or Shift key down.

OBSERVED RESULT
Dolphin acts as if no key is being held. It will ask you whether to copy or move the file instead of automatically doing so based on the key held.

EXPECTED RESULT
On X11 holding Control while dragging the item copies it whereas holding Shift moves it without a prompt.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.1.0-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Comment 1 Enrico 2022-12-20 21:31:17 UTC
I can confirm. Drag and drop while holding "ctrl" or "shift" does nothing different than a normal drag and drop. The item is not copied/moved, but the menu appears.
On X11 it works fine.

Operating System: RebornOS Linux (Arch-based)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.0.12-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 2 Mircea Kitsune 2023-01-09 20:46:19 UTC
Found an important clue I surprisingly missed till now, which might offer indication as to what is happening. The problem doesn't happen if you hold the respective key before you start dragging the file, only if you do it during the drag.

So if you hold down shift then click and drag on a file / folder, it will be moved correctly without a prompt. But if you click-drag the file, press and hold shift after that, then release the mouse button to drop it... now you will get the prompt and Dolphin acts like the key wasn't being held. Since I got used to pressing the key midway I might be in a minority who notices this problem.
Comment 3 Patrick Silva 2023-05-13 00:36:51 UTC

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