https://bugs.kde.org/show_bug.cgi?id=471342
Bug ID: 471342 Summary: Sudden window displacement when dragging a window to de-maximize Classification: Plasma Product: kwin Version: 5.27.5 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: bugs.7n...@aleeas.com Target Milestone: --- SUMMARY When de-maximizing ("restoring") windows by dragging their title bar, the window position will suddenly snap depending on where it was dragged from. Specifically, after dragging past the threshold that triggers de-maximizing, the top-left corner of the window snaps to the mouse cursor. This happens exclusively on Wayland, and only when the application was launched in maximized state. STEPS TO REPRODUCE 0. Run KWin on Wayland 1. Start Konsole in maximized state (i.e. if needed, restart Konsole after maximizing its window) 2. De-maximize the window by dragging down with the mouse *from the right half of the title bar* (This happens for any other application too) OBSERVED RESULT The top-left window corner snaps to the mouse cursor position. This *only* happens if the application started maximized, and then it happens repeatedly until the window is once de-maximized using another method (e.g. double-clicking the title bar). EXPECTED RESULT The relative position of the window and the mouse shouldn't change. This is required to uphold the illusion that the user is shifting the window around with their hand. SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed (also tested Ubuntu 23.04) KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.