Picture-in-Picture window in Wayland does not stays on top of other windows.
-
Just an update, I've installed the latest version of Brave browser to test it and the Picture in Picture works as expected.
Both Vivaldi and Brave seems to be using the same Chromium version, 124.
So PiP works on Brave, but not on Vivaldi, isn't this a Vivaldi issue?
-
@mib2berlin said in Picture-in-Picture window in Wayland does not stays on top of other windows.:
I will close the bug report for now, this is not a Vivaldi issue.
If it works on other Chromium based browser on the same Chromium version on the same system, but it does not work on Vivaldi, shouldn't this at least be investigated?
-
@leandrojmp
Argh, a few minutes to late.
Yes, I reopen the report and will add a comment for other testers. -
@mib2berlin I can capture some screencast to show this working in Brave, but not on Vivaldi if needed.
-
@leandrojmp
No, this is not needed.
I guess the Vivaldi team have a PopOS user or setup a VM with it to test those issues.
You cant test all Linux distros but PopOS is not a niche distribution, it should work there. -
Just curious if is there any update on this, the PiP still does not work as expected, the pop out window will not stay on top.
it is the only Chromium based browser that I tested that this is not working.
-
@leandrojmp
Hi, no news on this bug.
Wayland is not supported from Vivaldi, I can ask in the developer chat how these bugs are handled from the team.Cheers, mib
-
... and I cant reproduce it on Opensuse Linux with Wayland, Vivaldi 6.7.3329.35.
-
@mib2berlin Unfortunately for me it is still broken on the last version.
Maybe it is something that affects only Pop OS?
Curious, what are you using in option Preferred Ozone platform on vivaldi://flags ?
I need to set it to Wayland or else everything is extremely blurry.
But no sure if this is related.
-
@leandrojmp said in Picture-in-Picture window in Wayland does not stays on top of other windows.:
Curious, what are you using in option Preferred Ozone platform on vivaldi://flags ?
I need to set it to Wayland or else everything is extremely blurry.
But no sure if this is related.
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, for example in KDE:
Otherwise you need to revert that flag to "Default" to run V. in "XWayland mode" like all the others Chromium-based do for PiP to stay on top.
-
@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).