Wayland should be enabled in Snap package
Categories
(Release Engineering :: Release Automation: Snap, task)
Tracking
(firefox86 wontfix, firefox87 fixed)
People
(Reporter: max.federle, Assigned: mkaply)
References
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-release-
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0
Steps to reproduce:
- Install Firefox from Snap Store, any channel will do
- Launch Firefox in Wayland session with MOZ_ENABLE_WAYLAND=1 set
Actual results:
Firefox uses the X11 backend and runs via XWayland.
The snap specifies DISABLE_WAYLAND=1; unsetting this will still not enable the Wayland backend.
Expected results:
Firefox should be compiled with Wayland support and DISABLE_WAYLAND should be dropped from the snap package, as Wayland is an opt-in anyway.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
I haven't tested this recently, it's very likely it can be removed now. DISABLE_WAYLAND was added quite a while back because firefox would crash on startup under wayland. In the snap, DISABLE_WAYLAND denies access to the wayland socket forcing it to fallback to XWayland.
Reporter | ||
Comment 3•4 years ago
|
||
I've just tested removing DISABLE_WAYLAND with snap try. It does indeed work. I didn't know removing DISABLE_WAYLAND after snap run --shell firefox wasn't enough.
So this does indeed only require removing DISABLE_WAYLAND, nothing else.
Comment 4•4 years ago
|
||
The DISABLE was added in: https://bugzilla.mozilla.org/show_bug.cgi?id=1425518. Seems like a trivial patch?
Updated•4 years ago
|
Assignee | ||
Comment 5•3 years ago
|
||
Should the entire patch be reverted?
https://bug1425518.bmoattachments.org/attachment.cgi?id=8937545
Or just the DISABLE_WAYLAND party?
Comment 6•3 years ago
|
||
Just drop the line with DISABLE_WAYLAND
Assignee | ||
Comment 7•3 years ago
|
||
Updated•3 years ago
|
Reporter | ||
Comment 8•3 years ago
|
||
(In reply to Ken VanDine from comment #6)
Just drop the line with DISABLE_WAYLAND
Do you not also need the wayland plug?
Reporter | ||
Comment 9•3 years ago
|
||
Forget that. wayland's provided by gnome-3-34. I'm sorry for the noise.
Comment 10•3 years ago
|
||
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/7c25417f9afc Allow Wayland to be used in the Snap. r=mtabara
Comment 11•3 years ago
|
||
bugherder |
Comment 12•3 years ago
|
||
Seeing that this change impacts only the snap package, can this revision be uplifted to the 86 RC ?
Assignee | ||
Comment 13•3 years ago
|
||
Yes. Should have done. that.
Assignee | ||
Comment 14•3 years ago
|
||
Comment on attachment 9196421 [details]
Bug 1631462 - Allow Wayland to be used in the Snap. r?KenVanDine
Beta/Release Uplift Approval Request
- User impact if declined: Can't use Wayland on Snap
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Snap only.
We'd like to get this in 86 if possible. Sorry for not noticing.
- String changes made/needed:
Assignee | ||
Comment 15•3 years ago
|
||
Yes. Should have done. that.
Ryan: wasn't sure if I request beta or release at this point. Any chance this can make RC?
Snap only, zero impact to anything else.
Updated•3 years ago
|
Comment 16•3 years ago
|
||
Comment on attachment 9196421 [details]
Bug 1631462 - Allow Wayland to be used in the Snap. r?KenVanDine
86 rc is already built.
Comment 17•3 years ago
|
||
Comment on attachment 9196421 [details]
Bug 1631462 - Allow Wayland to be used in the Snap. r?KenVanDine
Mozilla doesn't ship Wayland yet officially and we are in RC week for 86, I think this can ride the 87 train.
Updated•3 years ago
|
Comment 18•3 years ago
|
||
Hello,
It seems Ubuntu 21.04 is going to be released with wayland expected to be set as the default.
A lot of users I imagine are being pushed to, or at the moment are using the snap package. Could this perhaps be reviewed and implemented as otherwise I can imagine a few people getting rather unpleasant experiences with the non-wayland snap.
Kind regards,
Krish
Assignee | ||
Comment 19•3 years ago
|
||
This fix should be in 88 and other wayland specific fixes as well:
Updated•2 years ago
|
Comment 20•2 years ago
|
||
Is this really fixed? Ubuntu 22.04 snap (99.0.1) runs under xwayland, or am I doing something wrong?
Comment 21•2 years ago
|
||
That's intentional, see bug 1725245.
Note that the snap in the beta channel and in the edge channel (nightly) do not have this restriction, they will run natively under Wayland.
Description
•