https://bugs.kde.org/show_bug.cgi?id=481577

--- Comment #2 from Mariusz Libera <mariusz.lib...@gmail.com> ---
(In reply to Nate Graham from comment #1)
> I would be super in favor of this if it works properly. Does it work fine
> with new PiP windows, not just the one you created it for? And are there
> rules that work for all PiP windows for both Firefox and Chrome/Chromium?
> Can you test those?

This rule works fine for me, no issues whatsoever:

Description=Picture in picture for firefox
above=true
aboverule=3
title=Picture-in-Picture
titlematch=1
types=1
wmclass=firefox
wmclassmatch=1

Chrome seems to work fine out of the box, if it's run in xwayland, native
wayland version needs a rule:

Description=Picture in picture for chrome
above=true
aboverule=3
title=Picture in picture
titlematch=1
types=1
wmclass=chrome
wmclassmatch=1

I would imagine that a regex would be needed to catch all chromium based
browsers in 'wmclass'.
By the way, it would be nice if there was a checkbox to enable/disable window
rules instead of having to delete and recreate them to test.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to