搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

PiP mode resize difference on Windows and Linux

  • 12 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 jonzn4SUSE

more options

Hello. I recently moved from windows to Linux Mint, and noticed the behavior of the Picture in Picture window is different when resizing. On windows, the aspect ratio is kept. while on Linux, it is free form, making these black bars around the video, so I have to resize it very carefully to not show any black bars.

How can I make the PiP on Linux behave like on Windows? That means resizing keeping the aspect ratio.

Attached are the comparisons between Windows and Linux Mint.

Thank you very much!

Hello. I recently moved from windows to Linux Mint, and noticed the behavior of the Picture in Picture window is different when resizing. On windows, the aspect ratio is kept. while on Linux, it is free form, making these black bars around the video, so I have to resize it very carefully to not show any black bars. How can I make the PiP on Linux behave like on Windows? That means resizing keeping the aspect ratio. Attached are the comparisons between Windows and Linux Mint. Thank you very much!
附加的畫面擷圖

被選擇的解決方法

Ok, so Cinnamon only runs on x11, and that's what is making it break (even though Chrome works just fine), My solution was to use the GNOME Desktop Environment, it looks way better than Plasma.

I'll stick with GNOME for now, until Cinnamon gets Wayland support. Thanks all for the help, I've learnt a lot about linux trying to fix this.

從原來的回覆中察看解決方案 👍 1

所有回覆 (12)

more options

Also, I would like to point out that holding Shift, Ctrl, Alt or any combination of these, don't work as well. Any help?

more options

Try to update to the current release to see if this still happens as I'm not seeing this.

more options

The PiP aspect ratio is locked for me on Ubuntu 23.04 Wayland.

Are you using Cinnamon, MATE or Xfce?

more options

I can resize my PIP window with no bars. see screenshot Try downloading Firefox from Mozilla. Download, unzip, and run firefox-bin from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

What Desktop? X11 or Wayland? Are you on a desktop (DIY) or laptop? What make and model? Graphic card(s) info? You can also just post a pic of neofetch results. see screenshot


Operating System: openSUSE Tumbleweed 20230904 KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 Kernel Version: 6.4.12-1-default (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics Memory: 62.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: HP Product Name: HP ProBook 455 15.6 inch G9 Notebook PC

由 jonzn4SUSE 於 修改

more options

jonzn4SUSE said

I can resize my PIP window with no bars. see screenshot Try downloading Firefox from Mozilla. Download, unzip, and run firefox-bin from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

Just tried this method, and no luck, same issue.

Here's my neofetch screen

more options

zeroknight said

The PiP aspect ratio is locked for me on Ubuntu 23.04 Wayland. Are you using Cinnamon, MATE or Xfce?

It would be Cinnamon 5.8.4

more options

Just out of curiosity, I've downloaded Chrome, and installed their official Picture in Picture extension, and it works just fine, the aspect ratio is kept, so I'm pretty sure it's a Firefox problem in my end. I tried looking everywhere on the about:config page, and nothing works. I don't know what else to do. I'm not switching because I love Firefox, but since I'm a youtube addict, I really want to find something that works.

由 buneco05 於 修改

more options

Are you in Wayland? Did you try KDE? Just for S&Gs fire up a usb live stick or VM of another OS and see if you have the same issue.

more options

Try setting the environment variable MOZ_ENABLE_WAYLAND=1 if you are on Wayland.

more options

I'm just starting at the linux universe, after some research, I finally get what you all are asking, apparently I wasn't using wayland. My workspace was Cinnamon(Default) using x11, after installing Plasma Wayland, it worked, but it feels like another pc. The problem was with Cinnamon itself apparently, now I will try to find a fix without changing the desktop entirely

由 buneco05 於 修改

more options

選擇的解決方法

Ok, so Cinnamon only runs on x11, and that's what is making it break (even though Chrome works just fine), My solution was to use the GNOME Desktop Environment, it looks way better than Plasma.

I'll stick with GNOME for now, until Cinnamon gets Wayland support. Thanks all for the help, I've learnt a lot about linux trying to fix this.

由 buneco05 於 修改

more options

If you're done just mark it as resolved so it's off our plate and have a nice day.