Open Bug 1767019 Opened 3 years ago Updated 1 year ago

Firefox screensharing a window only shares the top-left quarter instead of the whole window with Fractional Scaling and Scaling 200%

Categories

(Core :: Widget: Gtk, defect)

Firefox 99
defect

Tracking

()

UNCONFIRMED

People

(Reporter: lists, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Attached image window.png (deleted) —

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0

Steps to reproduce:

Using Ubuntu 22.04 with the Firefox Snap.

Steps to reproduce:

  1. Open Google Meet
  2. Share a window (not a screen). The window I chose is shown in window.png.

Or, go to https://www.webrtc-experiment.com/Pluginfree-Screen-Sharing/ and share the window.

Actual results:

Only the top left of the window is shared.

Expected results:

The whole window should have been shared. If I choose to share a screen instead of a window, this works correctly. If I share the window in Chromium (snap) it works as expected.

Attached image The shared portion in Firefox. (deleted) —

I have two screens:

  1. The built in screen is 3840x2160 and I have this set at 200% scaling in Gnome.
  2. The attached external screen is 2560x1440 and I have this set at 100%.

I have fractional scaling turned on.

Unplugging the external screen and turning off fractional scaling seemed to work as expected, even with scaling at 200%.

Looks like this might be the combination of Scaling 200% and Fractional Scaling:

  • Turning off Fractional Scaling, it worked correctly even with Scaling at 200%
  • Turning on Fractional Scaling, it worked correctly when Scaling was at 100%
  • When both were enabled, it was broken as per the bug report.
Summary: Firefox screensharing a window in Google Meet only shares the top-left quarter instead of the whole window → Firefox screensharing a window only shares the top-left quarter instead of the whole window with Fractional Scaling and Scaling 200%

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

seeing this as well in firefox 111 with xwayland windows (native wayland windows appear to work properly). should this be added to bug 1672944 for meta tracking pipewire issues?

Can you create a screencast of the issue? Is pipewire really used?

Flags: needinfo?(lists)

appears to be related to having the xwayland window on my primary monitor (175% scaling), or on my secondary monitor (100% scaling) but "near" the primary monitor. attached is screencast of the secondary monitor

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: