Bug 512314

Summary: Resizing works unexpected for PIP wayland protocol
Product: [Plasma] kwin Reporter: Oliver Schramm <oliver.schramm97>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.5.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screencapture of the issue

Description Oliver Schramm 2025-11-18 21:35:40 UTC
Created attachment 186935 [details]
Screencapture of the issue

SUMMARY
When resizing a PIP window with the wayland protocol, the resizing works in unexpected ways.

STEPS TO REPRODUCE
1. Set the "KWIN_WAYLAND_SUPPORT_XX_PIP_V1" environment variable to 1
2. Make sure "widget.wayland.experimental.pip.enabled" is enabled in Firefox
3. Resize the PIP window

OBSERVED RESULT
The PIP window is moved and not just resized. Sometimes even resizing from the wrong corner.

EXPECTED RESULT
The PIP window should only resize and not move, so it stays stuck in a corner.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.20
Qt Version: 6.10