Firefox loses connection to some Wayland compositors, patched upstream
Description:
Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1743144
This issue has affected Firefox for years and causes a sudden, silent crash if the system is busy when input is received. Some Wayland compositors have stop-gaps, but wlroots/Sway in particular does not. In the past months I have observed multiple crashes daily. 1000Hz or free-scrolling mice as well as drawing tablets exacerbate the issue.
The bug was just recently resolved with a patch that adds a proxy which caches these input messages. I have been testing it on top of firefox-121.0.1 for the past 24hrs on latest [testing] Arch with Linux 6.6.10 and 6.7.0, sway 1:1.8.1-4 , wlroots 0.17.1-1 , without issue.
I recommend these patches for inclusion as soon as possible, and will continue testing. Mozilla has committed this and appears to be targeting it for release 123, but they have already added this proxy to the Firefox Flatpak used on Fedora.
The patches can be reached at: