it’s not already enabled??
I think it was an option. Not by default
Fedoras package enabled it by default.
Noice
It’s an environment variable. I have MOZ_ENABLE_WAYLAND=true in my sway wrapper script.
It was a “hidden feature”, pretty much.
This is the best summary I could come up with:
While some Linux distributions like Fedora and Arch are enabling the native Wayland back-end for Firefox by default, upstream Firefox continues to not enable this Wayland support as part of their default builds.
Martin Stransky of Red Hat who is known for his Firefox work on Fedora today outlined the Firefox Linux improvements made last quarter.
He mentioned that the “Wayland backend is gaining momentum at Mozilla upstream.”
There’s this bug tracker for the status of shipping the Wayland back-end for Firefox releases.
Mozilla’s Sylvestre Ledru commented last week that he’s in favor of going ahead with the change as long as it’s documented properly.
Martin also outlined in his Q3 Firefox Linux status blog post that dbus-glib has also been dropped as a build dependency for Firefox, Firefox supports a new kiosk mode, there is a new idle monitor/service implemented, and other Linux improvements.
The original article contains 241 words, the summary contains 145 words. Saved 40%. I’m a bot and I’m open source!
Interestingly enough, Ubuntu 23.10 enables this by default https://discourse.ubuntu.com/t/firefox-snap-with-wayland-enabled-by-default-in-ubuntu-23-10-mantic-minotaur/38660
Well good thing I finally realized it wasn’t enabled and set my environment variables to enable it.
Finally. I was having some weird graphical glitches, so I switched it to the Wayland backend, and I’ve not noticed any issues. It’s totally stable (at least for me).
Huh, I’ll give that a go as occasionally some black blocks and other artifacts appear for me- thought that it couldn’t handle high def or something.
Will this fix copying from the url bar in kde?
Where the copied content would sometimes disappear from the clipboard? Iirc that’s a KDE bug being fixed in 6
I just can’t copy anything from the URL bar at all.
Afaik that’s a bug in Firefox, it doesn’t cope well when middle click paste is disabled… As a workaround you can enable it again
I’ve been using this environment variable to enable Wayland for at least a year… No issues.
I’m out of the loop, what’s the wayland backend?
For most apps there’s no difference, but dealing with multi-window apps that can spawn new windows, merge them, display video content in its own window etc. there’s a lot of communication that Firefox has to do with the technology that draws its window to the screen.
I guess before now, default Firefox setups would’ve used XWayland to translate those communications which would’ve worked fine if not for some overhead and edge cases. This would make Firefox a truly Wayland-native application, when running on Wayland.
But I have been manually enabling it with a system environment variable and confirmed it was native wayland. No xwayland
Would this let global menu (plasma) on Firefox work better under Wayland? I remember someone saying that Wayland was the reason it didn’t work.
Global menus work by exporting the menu over DBus. It has no relation to x11 or Wayland.
Dammit!