-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Youtube picture in picture gets tiled instead of floating window. #246
Comments
|
|
I tried with Safari and Arc, those seems to be working fine. |
I can reproduce with Firefox as well
|
For firefox the following config works for me:
|
This one works for Chrome: [[on-window-detected]]
if.app-id = 'com.google.Chrome'
if.window-title-regex-substring = 'Picture in Picture'
run = 'layout floating'
check-further-callbacks = true
[[on-window-detected]]
if.app-id = 'com.google.Chrome'
run = "move-node-to-workspace W" Make sure you're ordering those correctly – detecting Picture in Picture should come first, then move to the workspace rule. This workaround tailored for a specific workspace (W in my case) allows me to keep my PiP window on top of other browser windows. However, most users might be more interested in achieving persistent PiP functionality, as discussed here: #2. |
Interesting observation: Arc browser floating PiP works out of the box and is always on top, no matter which workspace is selected. They might've implemented PiP differently because |
@exsesx I noticed that on the Arc browser, the PiP only triggers if the PiP opens in the workspace that Arc is. Do you have the same behaviour ? |
Yes, @danfbfern, and AFAIK, this is how PiP works in Arc. Simply changing focus doesn't trigger entering PiP. |
@exsesx Okok, so it doesn't only happen to me @nikitabobko is there a way to fake the same behavior to trick the Arc browser (or the OS itself) into thinking the desktop was changed? |
This is a quirk that I've run into with MS Teams, too. Usually when in a meeting, if the window wasn't on the active desktop, it would show a mini floating window. Now that it's always technically on the active desktop it doesn't show. However minimizing teams also shows this window. It's an extra step but perhaps this will also work for Arc? |
Minimising actually does not trigger, but changing tabs in the browser (to trigger the PiP in the other tab) and then switching to the intended workspace is the workaround that works. However I wonder if there is anything on the Aerospace side to mitigate this limitation, since its specifically related to the way it handles its own workspaces. |
I doubt it, given that it's specific to Arc and when it chooses to show the PiP window. From the sounds of it Arc detects when it's not on the active mac os workspace. But with Aerospace, it's always on the active mac os workspace. |
Youtube picture in picture mode, gets tiled instead of floating window.
How to replicate
The text was updated successfully, but these errors were encountered: