[Bug 1987976] Re: firefox black window on wayland

Gunnar Hjalmarsson 1987976 at bugs.launchpad.net
Sun Apr 23 14:50:42 UTC 2023


** Description changed:

+ [ Impact ]
+ 
+ On some systems, when you open the Firefox snap right after having
+ logged in into an Ubuntu on Wayland session, you are met by a black
+ window. This happens because the FF snap is run under Xwayland, and
+ Xwayland may not be enabled early enough to handle the start of the
+ application properly.
+ 
+ You can easily reproduce the issue in a Wayland session:
+ 
+ * Close Firefox
+ * Run the command "killall Xwayland" in terminal
+ * Open Firefox
+ 
+ An upstream mutter change addresses this issue, and the proposed lunar
+ change cherry picks that upstream change as a patch.
+ 
+ [ Test Plan ]
+ 
+ On an updated Ubuntu 23.04:
+ 
+ * Install the mutter related binaries from lunar-proposed
+ 
+ * Reboot and log in to an Ubuntu on Wayland session
+ 
+ * Run the command "killall Xwayland"
+ 
+ * Open the Firefox snap, and find that it starts normally
+ 
+ [ Where problems could occur ]
+ 
+ This is the upstream merge request in question:
+ 
+ https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2970
+ 
+ The changes (except for the test related ones) are small, and
+ specifically intended to address issues like the one reported in this
+ bug. There are also reviews by a couple of experienced GNOME devs.
+ 
+ So even if the proposed change is not well tested yet, it seems to me
+ that the risk for adverse side effects is limited.
+ 
+ [ Original description ]
+ 
  nicolas at nicolas-fixe:~$ lsb_release -rd
  Description:	Ubuntu 22.04.1 LTS
  Release:	22.04
  
  nicolas at nicolas-fixe:~$ apt-cache policy firefox
  firefox:
    Installé : 1:1snap1-0ubuntu2
    Candidat : 1:1snap1-0ubuntu2
   Table de version :
   *** 1:1snap1-0ubuntu2 500
          500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
          100 /var/lib/dpkg/status
  
  When I boot Ubuntu and start Firefox, the Firefox's window is totally
  black. See attachment.
  
  I am at your disposal to answer any question you have.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: firefox 1:1snap1-0ubuntu2
  ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
  Uname: Linux 5.15.0-46-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 28 12:42:29 2022
  InstallationDate: Installed on 2022-08-25 (2 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  Snap.Changes: aucun changement trouvé
  SourcePackage: firefox
  UpgradeStatus: No upgrade log present (probably fresh install)

** Also affects: firefox (Ubuntu Lunar)
   Importance: Undecided
       Status: Confirmed

** Also affects: mutter (Ubuntu Lunar)
   Importance: High
     Assignee: Gunnar Hjalmarsson (gunnarhj)
       Status: In Progress

** No longer affects: firefox (Ubuntu Lunar)

** Changed in: firefox (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1987976

Title:
  firefox black window on wayland

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1987976/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list