Bug 1621261 Comment 70 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I found there is a gnome-shell extension [1] to make PIP work. I try to run the API that I found in the source code of the extension in the gnome-shell console (look glass; alt-f2 and run "lg") and it works.

There are two functions on a window object in the gnome-shell; window.make_above() ensures a window is always on the top while window.stick() ensures the window appears in every virtual desktop.

We could ask a permission from user to install and enable an extension while the user triggers pip first time. Or, install the extension while install the firefox package. We may also need a protocol between firefox and the extension to make sure the extension only work on firefox's pip windows.

[1] https://github.com/Rafostar/gnome-shell-extension-pip-on-top
I found there is a gnome-shell extension [1] to make PIP work. I have tried to run the API that I found in the source code of the extension in the gnome-shell console (look glass; alt-f2 and run "lg") and it works.

There are two functions on a window object in the gnome-shell; window.make_above() ensures a window is always on the top while window.stick() ensures the window appears in every virtual desktop.

We could ask a permission from user to install and enable an extension while the user triggers pip first time. Or, install the extension while install the firefox package. We may also need a protocol between firefox and the extension to make sure the extension only work on firefox's pip windows.

[1] https://github.com/Rafostar/gnome-shell-extension-pip-on-top

Back to Bug 1621261 Comment 70