Bug 506016

Summary: Wrong folder target with keyboard paste: Folder pasted into view's parent instead of selected folder
Product: [Applications] dolphin Reporter: Gabriel Barros <descartavel1>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: felixernst, kfm-devel, postix
Priority: NOR    
Version First Reported In: 25.04.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gabriel Barros 2025-06-23 02:29:30 UTC
SUMMARY
On tree view, the selected folder is ignored as a target.

STEPS TO REPRODUCE
1. Open ~/Documents location, display as tree view
2. Expand ~/Documents/FolderA/FolderB
3. Select ~/Documents/file
4. cut (ctrl+x) file
5. select FolderB
6. paste (ctrl+v)

OBSERVED RESULT
User is told the file is the same. (~/Documents/file)
> "this action will overwrite 'file' with itself." enter a new name dialog.

EXPECTED RESULT
File get pasted in the selection (~/Documents/FolderA/FolderB/file)

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 6650U with Radeon Graphics
Memory: 32 GiB of RAM (30.7 GiB usable)
Graphics Processor: AMD Radeon Graphics

work around using mouse: 1. "right click", then 2. "paste" from the context menu.

work around without mouse: 1. "enter" to move into target folder, 2. "ctrl+v", 3. "alt+left arrow"
Comment 1 postix 2025-08-21 13:30:56 UTC
Can confirm with Dolphin 25.08 on Tumbleweed.