Bug 1671634 - Firefox on Wayland binary silently fails to launch on Xorg session
Summary: Firefox on Wayland binary silently fails to launch on Xorg session
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-01 06:48 UTC by Chris Murphy
Modified: 2019-02-06 09:10 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-02-06 09:10:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chris Murphy 2019-02-01 06:48:54 UTC
Description of problem: Clicking on "Firefox on Wayland" application in a GNOME on Xorg session, silently fails.


Version-Release number of selected component (if applicable):
firefox-wayland-65.0-1.fc29.x86_64
firefox-65.0-1.fc29.x86_64


How reproducible:
Always


Steps to Reproduce:
1. Login choosing GNOME on Xorg session
2. Click on the Firefox on Wayland application icon
3.

Actual results:

"Firefox on Wayland" application menu item appears on the upper left side (to the right of Activities), and the mouse arrow becomes a spinner which spins for maybe 15 seconds then both of these go away. No error messages or dialogs.

Expected results:

I should get a dialog to the effect that this application can't run in an Xorg session. Or perhaps even better is a unified application that detects the session and launches the application appropriately for that session: Wayland or Xorg.


Additional info:

The journal records one line at the time of the launch:

Jan 31 23:32:31 flap.local firefox[13165]: cannot open display: :0

Comment 1 Chris Murphy 2019-02-02 23:15:25 UTC
Is it possible for a single Firefox launcher icon to check environment variable XDG_SESSION_TYPE= for wayland vs X11 and execute Firefox accordingly?

Comment 2 Martin Stransky 2019-02-06 09:10:42 UTC
Should be fixed by firefox-65.0-4.fc29 builds (https://koji.fedoraproject.org/koji/buildinfo?buildID=1205601).


Note You need to log in before you can comment on or make changes to this bug.