Bug 511384

Summary: xdg-pip windows do not respect window rules
Product: [Plasma] kwin Reporter: gudvinr+kde
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.5.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description gudvinr+kde 2025-10-30 15:33:18 UTC
SUMMARY

STEPS TO REPRODUCE
1. enable xdg-pip in kwin via KWIN_WAYLAND_SUPPORT_XX_PIP_V1=1
2. enable xdg-pip in firefox via widget.wayland.experimental.pip.enabled
3. open youtube video and detach pip window
4. confirm there's KWin::XXPipV1Window in "Wayland Windows"
3. add window rule for this window

OBSERVED RESULT

PiP window doesn't react to window rules.

EXPECTED RESULT

Placement rule places window wherever I want it to be.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.5-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION