https://bugs.kde.org/show_bug.cgi?id=480511
Bug ID: 480511 Summary: On Wayland, during Drag'n'Drop, if the cursor hovers over a non-target window, it quickly receives focus and rises above the others Classification: Plasma Product: kwin Version: 5.92.0 Platform: Other OS: Linux Status: REPORTED Keywords: usability, wayland Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: xalt7x.serv...@gmail.com Target Milestone: --- Flags: Wayland+ Created attachment 165330 --> https://bugs.kde.org/attachment.cgi?id=165330&action=edit Demo of the window raising issue during drag-n-drop on Wayland SUMMARY Currently, on Wayland session drag-n-drop should be performed without delays, otherwise there is a risk, that some other window will receive focus and raise above the target window (so user will need to use Task Switcher or Task Manager to re-activate required window). When cursor with an item stops movement and holds/hovers over any window, it quickly receives focus and raises. Such unexpected focus change doesn't happen on X11 session. STEPS TO REPRODUCE 1. Launch some application (e.g. Firefox) and maximize its window 2. Launch 2 instances of Dolphin File Manager. Resize and place their windows at some distance from each other (for example, near opposite edges of the screen). Both windows should be visible (raise/float over Firefox window but without activated "Keep Above Others" option) 3. Select file from one Dolphin window and start dragging it to another Dolphin window 4. On a midway, hold cursor over Firefox window OBSERVED RESULT Firefox window receives focus and raises above second/target Dolphin window EXPECTED RESULT Firefox window doesn't "steal" focus when cursor hovers over it SCREENCAST Please see file in attachment or https://youtu.be/jMoGk-C8L_Q SOFTWARE/OS VERSIONS Linux: Fedora Kinoite 40 (Rawhide) KDE Plasma Version: 5.92.0 KDE Frameworks Version: 5.248.0 Qt Version: 6.6.1 ADDITIONAL INFORMATION It's reproducible on older KDE Plasma releases as well (tested 5.24.7 and 5.27.10). Initially, it was reported at https://bugs.kde.org/show_bug.cgi?id=440534 but since this issue has a slight difference (it happens specifically when user holds cursor over window), Nate suggested to create a new bug report. -- You are receiving this mail because: You are watching all bug changes.