Picture-in-Picture window in Wayland does not stays on top of other windows.
-
@npro said in Picture-in-Picture window in Wayland does not stays on top of other windows.:
That's very much related, Wayland+Chromium isn't 100% ready (the xdg-pip protocol iirc), if you want to run any Chromium-based browser with that flag then you need to enforce PiP
Leaving Preferred Ozone platform as Default and relaunching the browser has the same behavior, also I downloaded Brave, which is another Chromium based browser, and it does not have this issue, only Vivaldi.
I will see if there is any hidden setting on Gnome to enforce PiP.
Currently to be able to use PiP I need to switch browsers as only Vivaldi has this issue on my system.
-
Well, I found a workaround, selecting the pop out window and pressing alt + space will open the right click menu where I can select Always on Top, this way the pop out window will stay on top.
But I need to do that every time, also, the right click menu does not work if I just right click on the pop out window, just using the keyboard shortcut.
At least now I do not need to switch browsers, not sure what is the issue, everything worked as expected, but after some updated it stopped, unfortunately I cannot remember in which version this started.
-
You said
@leandrojmp said in Picture-in-Picture window in Wayland does not stays on top of other windows.:
I'm using Pop_OS 22.04 with Wayland
as far as I know the default session in Pop_OS is
X11
why did you stray away from it? I'd say go back to your OS' defaults. -
@leandrojmp said in Picture-in-Picture window in Wayland does not stays on top of other windows.:
I downloaded Brave and it does not have this issue
you mean if you enable that flag in Brave? chrome://flags/#ozone-platform-hint
I just downloaded Brave for testing this and it doesn't stay on top either with this flag set to
wayland
. -
@leandrojmp said in Picture-in-Picture window in Wayland does not stays on top of other windows.:
Leaving Preferred Ozone platform as Default and relaunching the browser
For your tests with
chrome://flags/#ozone-platform-hint
, don't relaunch the browser from the big blue button, just close the browser and then open it again from your menu. -
I can't use X11 as it causes tearing screen and other issues on my system, already spent hours trying to fix it and none of the fix I used on other systems before worked, so I moved to wayland.
Everything works fine on Wayland, the only issue I have is this one with Vivaldi, the Picture In Picture does not work as expected only on vivaldi, it works on other Chromium based browsers like Brave on the same system.
Maybe it is something related to my system, but it is weird that it works on Brave, but not on Vivaldi.
I'm fine with the workaround mentioned.
-
@npro said in Picture-in-Picture window in Wayland does not stays on top of other windows.:
For your tests with chrome://flags/#ozone-platform-hint, don't relaunch the browser with the big blue button, just close the browser and then open it again from your menu.
Just tested this, selecting Default and closing and opening the browser without clicking on relaunch really makes the picture in picture window stay on top, but it also makes everything extremely blurry which is unusable.
Preferred Ozone platform needs to be on Auto or Wayland, whithout it everything will look extemely blurry making it impossible to use the browser.
It seems that for now the only way is the workaround mentioned of setting Always on Top everytime I want to use PiP.
-
@leandrojmp said in Picture-in-Picture window in Wayland does not stays on top of other windows.:
Just tested this, selecting Default and closing and opening the browser without clicking on relaunch really makes the picture in picture window stay on top
, but it also makes everything extremely blurry which is unusable.
Let me guess, you have a nvidia GPU? Something in your X11 configuration must be messed up.
-
@npro said in Picture-in-Picture window in Wayland does not stays on top of other windows.:
Let me guess, you have an nvidia GPU? Something in your X11 configuration must be messed up.
No, I do not have nvidia, just the integrated GPU from the processor, an Intel UHD Graphics 770.
I have a xorg conf that I've been carrying for a couple of years and use on some systems with integrated intel gpu when I had tearing issues, but this time the configuration didn't work and after spending hours trying to find a fix for it I gave up and went to use Wayland.
The only issue I'm having is this one, since there is a workaround I will use it until this goes away some day.
-
@leandrojmp I see, well I wish you good luck, maybe the new Pop_OS with the new Cosmic desktop will have it fixed for you (or you'll find a way to enforce PiP on top in the meantime).