emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firefox crash when trying to share screen

J0nnyMak0 opened this issue · comments

When trying to share screen with zoom on Firefox on Sway, browser crashes with error:

wl_surface@92: error 2: Buffer size (1001x64) is not divisible by scale (2)

To reproduce:

  1. Start Firefox with MOZ_ENABLE_WAYLAND=1
  2. Start zoom session on Firefox
  3. Hit Share screen
  4. Firefox asks for permission to see your screen with "Use operating system settings" selected in the drop down menu. (This is the only option available)
  5. Click "Allow"
  6. A "Sharing Indicator" window pops up with the following message:
    "You are sharing another application window" and "Stop Sharing" button.
    Simultaneously, you get an "overlay" that indicates which screen to share.
  7. Click the screen you want to share.
  8. Crash
    Here is the link to the report:
    https://crash-stats.mozilla.org/report/index/e888f55f-832a-48b1-8434-31f680221129

I've also reported to mozilla here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1803016

What version of Firefox?

Please try latest nightly appimage here

What version of Firefox?

109.0a1 as recorded in the linked crash report.

Looks like this is a Firefox bug that recent versions of wlroots expose: swaywm/sway#6844 (comment)

Thanks for the info! I'll update the mozilla report.