(In reply to Alan Jenkins from comment #22)
> Sorry, I can't deal with the randomness. Let's simplify -
>
> $ sudo snap disable firefox
> firefox disabled
>
> Terminal=false
> X-MultipleArgs=false
> Type=Application
> Icon=firefox
> Categories=GNOME;GTK;Network;WebBrowser;
> MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;video/webm;application/x-xpinstall;
> StartupNotify=true
> StartupWMClass=firefox
> $
>
> With the above, if I log in and click firefox, I get stuck at the black window. If I quit firefox and try again, I get a *temporary* black window, and then a working firefox.
That means you repro the black window issue without using Snap, right?
>
> If I edit the file and change it to "MOZ_ENABLE_WAYLAND=1 /home/alan/firefox-104.0.2/firefox/firefox", then two things change:
>
> 1. When I log in and click firefox, firefox works the first time. I don't have to quit it and click it again before I can use firefox.
> 2. When firefox starts, there is no *temporary* black screen either.
So does it means that forcing Wayland on mozilla's binary fixes the issue completely?
(In reply to Alan Jenkins from comment #22)
> Sorry, I can't deal with the randomness. Let's simplify -
>
> $ sudo snap disable firefox
> firefox disabled
>
So you dont use Snap anymore from that point
> $ cat ~/.local/ share/applicati ons/firefox2. desktop alan/firefox- 104.0.2/ firefox/ firefox"
> [Desktop Entry]
> Version=1.0
> Name=Firefox Web Browser 2
> Exec=/bin/bash -c "/home/
This is a mozilla-downloaded binary right?
> Terminal=false false GNOME;GTK; Network; WebBrowser; text/html; text/xml; application/ xhtml+xml; application/ xml;application /rss+xml; application/ rdf+xml; image/gif; image/jpeg; image/png; x-scheme- handler/ http;x- scheme- handler/ https;video/ webm;applicatio n/x-xpinstall; firefox
> X-MultipleArgs=
> Type=Application
> Icon=firefox
> Categories=
> MimeType=
> StartupNotify=true
> StartupWMClass=
> $
>
> With the above, if I log in and click firefox, I get stuck at the black window. If I quit firefox and try again, I get a *temporary* black window, and then a working firefox.
That means you repro the black window issue without using Snap, right?
> WAYLAND= 1 /home/alan/ firefox- 104.0.2/ firefox/ firefox" , then two things change:
> If I edit the file and change it to "MOZ_ENABLE_
>
> 1. When I log in and click firefox, firefox works the first time. I don't have to quit it and click it again before I can use firefox.
> 2. When firefox starts, there is no *temporary* black screen either.
So does it means that forcing Wayland on mozilla's binary fixes the issue completely?