https://bugs.kde.org/show_bug.cgi?id=449620
Bug ID: 449620 Summary: Pointer constraints protocol not honored when switching from server side decorations to client side Product: kwin Version: 5.23.5 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: m...@bolhuis.dev Target Milestone: --- SUMMARY On a Wayland session a native Wayland client created with pointer constraints and server side decoration will no longer constrain the pointer if the client dynamically switches to client side decoration whilst the pointer is constrained. STEPS TO REPRODUCE 1. Create a simple Wayland client that uses xdg-shell, pointer-constraints and xdg-decoration protocols. 2. Create an xdg_toplevel 3. Request SSD for the xdg_toplevel using zxdg_toplevel_decoration_v1_set_mode 4. Constrain the pointer to the wl_surface associated with the xdg_toplevel using zwp_pointer_constraints_v1_confine_pointer 5. Request CSD 6. Move the pointer outside the surface along the top edge OBSERVED RESULT The title bar is removed however the pointer is no longer contained by the top edge of the surface (where the title bar used to be), however the other 3 edges do still constrain the pointer. EXPECTED RESULT All four edges should still constrain the pointer. LIST OF SCENARIOS SSD -> Constrain Pointer -> CSD -> Bug SSD -> CSD -> SSD -> Constrain Pointer -> CSD -> No Bug SSD -> CSD -> Constrain Pointer -> Bug SSD -> CSD -> SSD -> CSD -> Constrain Pointer -> No Bug SOFTWARE/OS VERSIONS Linux: ArchLinux 5.15.19-lts KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Wayland-Protocols Version: 1.25 NVIDIA Driver Version: 510.47.03 -- You are receiving this mail because: You are watching all bug changes.