Bug 473598 - With "Open folders during drag operations", dragging over a folder while holding shift, then releasing shift, opens folder in a new window.
Summary: With "Open folders during drag operations", dragging over a folder while hold...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.07.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-21 11:15 UTC by Oded Arbel
Modified: 2023-08-21 11:17 UTC (History)
1 user (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 Oded Arbel 2023-08-21 11:15:52 UTC
SUMMARY
Dolphin unexpectedly opens "spring loaded" folders as new windows, as explained in the title. This may be a wayland thing and may be related to the bug (that I saw reported but can't find now) where holding SHIFT or CTRL during drag - on wayland - does not trigger the "force move" or "force copy" until you release the modifier key.

STEPS TO REPRODUCE
1. Open Dolphin to a folder with some files and some folders.
2. Start dragging a file over an empty space
3. Hold SHIFT
4. Drag the file over a folder and immediately release the SHIFT key.

OBSERVED RESULT
Dolphin opens the folder that was dragged over in a new window.

EXPECTED RESULT
Dolphin should navigate to the folder that was dragged over in the same window - as it does if you don't release the SHIFT key.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.11-060411-generic (64-bit)
Graphics Platform: offscreen
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics

ADDITIONAL INFORMATION
This behavior also allows to easily reproduce bug #462483 - if you then release the dragged file over the new window, the file operations menu will open in a window instead of a floating menu.
Comment 1 Oded Arbel 2023-08-21 11:17:44 UTC
ALSO, I forgot to mention but it is more troubling - if you hold the drag over the destination folder, after you released the SHIFT key, and wiggle the mouse a bit, or move out of the folder and back on top of it, Dolphin will continue to create more and more new windows with every mouse move...