Bug 430319 - When I drop a file dragged from Dolphin to Kate, "File already exists" dialog shows up
Summary: When I drop a file dragged from Dolphin to Kate, "File already exists" dialog...
Status: REOPENED
Alias: None
Product: kwin
Classification: Plasma
Component: Wayland drag-and-drop (other bugs)
Version First Reported In: 6.3.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2020-12-12 20:09 UTC by Patrick Silva
Modified: 2025-03-27 15:02 UTC (History)
2 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 Patrick Silva 2020-12-12 20:09:14 UTC
SUMMARY
I'm not sure if kwin is the correct product for this bug. If not, re-assign it please. I can reproduce this bug on both Arch Linux (Plasma 5.20.4) and neon unstable.

STEPS TO REPRODUCE
1. start Wayland session
2. open Kate and maximize its window
3. open Dolphin
4. drag a text file to an empty area of the files view and do NOT release the mouse button
5. switch back to Kate by pressing alt+tab, keep the mouse button pressed
and do NOT move cursor
6. release the mouse button

OBSERVED RESULT
context menu of Dolphin with "Copy here", "Link here" and "Cancel" options opens.
If cursor is moved before the last step, Kate opens the text file as expected.

EXPECTED RESULT
Kate should open the text file

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Patrick Silva 2021-09-18 17:53:32 UTC
On Plasma 5.23 beta, Dolphin is focused after releasing mouse button in the last step.

Operating System: Arch Linux
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 2 David Edmundson 2022-01-19 15:36:41 UTC
Are you still holding alt at the time of 6?
Comment 3 Patrick Silva 2022-01-19 16:37:51 UTC
(In reply to David Edmundson from comment #2)
> Are you still holding alt at the time of 6?

No.
Comment 4 David Redondo 2023-12-12 10:31:31 UTC
Can't reproduce anymore on Plasma 6 closing as worksforme
Comment 5 Patrick Silva 2023-12-23 10:43:33 UTC
I can reproduce on both Arch Linux running Plasma 6 beta 2 and Qt 6.7 beta and neon unstable.
Comment 6 Patrick Silva 2025-03-27 15:02:33 UTC
Currently "File already exists" dialog shows up after the last step.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Graphics Platform: Wayland