Picture-in-Picture Doesn't Stay on Top
-
I can watch videos from YouTube and such with PiP just fine for a while; I can switch desktops and the PiP window follows me around and stays on top. But after a while of browsing, eventually I hit a point where I open a new YouTube video, open Picture-in-Picture, and the PiP window opens behind the browser. At this point, no matter what I do, the window will not stay on top. I can manually switch to the window and it comes on top, but as soon as I switch focus to another window it goes to the back again.
The only solution I've found for this issue is to completely close the Vivaldi browser and open it again, and the PiP will start working normally, for a while.
None of my internet searches have revealed any useful information or even really anyone else describing the same problem.
System:
OS: Manjaro
DE: KDE Plasma -
@brooksvb said in Picture-in-Picture Doesn't Stay on Top:
after a while of browsing where I open a new YouTube video
The only solutionI think that's a known issue and easily reproducible if you return back to the tab from pip mode and you click again the pip overlay button. Some mod could search for the bug report #, or pinging @DoctorG .
As for workarounds you don't have to close V, closing the youtube tab should be enough (or maybe all youtube tabs, don't remember it right now), for it to stay always on top you can bring up KDE's window menu with
Alt+F3
and choose the entry from there, or better you could already bind a keyboard shortcut in KDE's system settings for doing that .Having said that I hope for a fix too, or maybe it's a Chromium's issue from upstream (this bug is around for a long time now that I think about it) then Vivaldi can't do much about it.
-
As for workarounds you don't have to close V, closing the youtube tab should be enough (or maybe all youtube tabs...
Closing all YouTube tabs and reopening worked. Using your reproduction method worked, and then closing and reopening the YouTube tab I did it with (with a couple other tabs still open) also fixed the issue.
to stay always on top you can bring up KDE's window menu with Alt+F3 and choose the entry from there
Setting the KDE window option"Keep above others" also works for keeping on top.
Thanks for the workarounds. Hopefully the core issue gets addressed at some point.
-
Some idiot already mentioned it:
Lol, I was wondering why someone would say something like that, then I clicked through the links and I see now.
With this rule, you can then easily specify the size, position, decorations, desktops, always-on-top et al.
That's neat! Being able to specify the initial size and position would be especially nice. Pretty much 100% of the time I immediately have to adjust the size anyways! Kinda wish that was an integrated option of PiP though.
Thank you very much for sharing this!
-
@guigirl Could you guide me to a guide or details on the custom window rules? I tried searching for how to do it and I ended up going through quite a few unrelated and non-helpful pages, then ended up at my own forum post from search
-
@guigirl Yes it does! Thank you for sharing your settings.
All I really had to do was search for "Window Rules" instead of "Custom Window Rules"
-