Bug 504594 - Picture in Picture windows should be excluded from inactive window transparency
Summary: Picture in Picture windows should be excluded from inactive window transparency
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 6.3.5
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on: 463288
Blocks:
  Show dependency treegraph
 
Reported: 2025-05-21 04:07 UTC by hackcr1258
Modified: 2025-05-21 19:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.