Closed
Bug 1588129
Opened 5 years ago
Closed 5 years ago
MOZ_ENABLE_WAYLAND=0 and MOZ_ENABLE_WAYLAND=1 do the same
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: stanislavgeyko, Assigned: sawyerbergeron)
References
(Blocks 1 open bug)
Details
Attachments
(1 obsolete file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0
Steps to reproduce:
- Launch Firefox on Linux using the command env MOZ_ENABLE_WAYLAND=1 firefox
- Launch Firefox on Linux using the command env MOZ_ENABLE_WAYLAND=0 firefox
Actual results:
- Firefox runs on Wayland
- Firefox runs on Wayland
Expected results:
- Firefox runs on Wayland
- Firefox runs on X11 (Xwayland)
I tested this behaviour on Gnome Shell.
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Source code seems to match the description.
// Make X11 backend the default one unless MOZ_ENABLE_WAYLAND or
// GDK_BACKEND are specified.
disableWayland = (PR_GetEnv("GDK_BACKEND") == nullptr) &&
(PR_GetEnv("MOZ_ENABLE_WAYLAND") == nullptr);
Comment 2•5 years ago
|
||
Yes, please use "unset MOZ_ENABLE_WAYLAND" to disable it.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 3•5 years ago
|
||
(In reply to Martin Stránský [:stransky] from comment #2)
Yes, please use "unset MOZ_ENABLE_WAYLAND" to disable it.
I use "MOZ_ENABLE_WAYLAND" to launch Firefox on Wayland. However, when I want Firefox to use X11, I don't use this variable. It just seems illogical that both values do the same job. It might be a good idea to implement a new variable like MOZ_BACKEND for setting a needed backend.
Assignee | ||
Comment 4•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → sawyerbergeron
Updated•3 years ago
|
Attachment #9197600 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•