Bug 504594

Summary: Picture in Picture windows should be excluded from inactive window transparency
Product: [Plasma] kwin Reporter: hackcr1258
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: kdedev, kwin-bugs-null, nate, uhhadd
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Bug Depends on: 463288    
Bug Blocks:    

Description hackcr1258 2025-05-21 04:07:19 UTC
SUMMARY
I love the translucent effect, but I don't think there are enough options for me. 
I would like to suggest some form of exclusion for Picture in Picture mode. 

STEPS TO REPRODUCE
1. Set Desktop Effects "Translucency" to trigger on inactive windows
2. Get a Picture in Picture window
3. No matter how you set the Picture in Picture window, the slider only works if the opacity is less opaque than the "Translucency" effect.

OBSERVED RESULT
Cannot make the Picture in Picture window excluded from transparency.

EXPECTED RESULT
Picture in Picture window would appear not transparent with "Special Window Settings" to bypass

ADDITIONAL INFORMATION
It would be a great addition for single monitor setups.
Comment 1 Nate Graham 2025-05-21 13:38:12 UTC
Part of the challenge here is even identifying what windows are picture-in-picture windows; on Wayland this requires a new protocol. One such protocol is in development: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/132

If and when that's merged, KWin and web browsers will have to implement support for it, and then the request here could be considered.