Bug 1899331 - firefox-83 wayland with webrender=true causes white window on extensions
Summary: firefox-83 wayland with webrender=true causes white window on extensions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 33
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-18 21:38 UTC by Gerald Cox
Modified: 2020-12-07 20:46 UTC (History)
20 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-12-07 20:46:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Gerald Cox 2020-11-18 21:38:48 UTC
When using firefox-wayland several extensions stop working.  Bitwarden and checker-plus for gmail to name a few.  What happens is that when you click on an extension icon to open, you are presented with a blank white window. 

This behavior does not happen when you use the non-wayland version.

Comment 1 Martin Stransky 2020-11-19 07:05:48 UTC
Which firefox version do you run? Can you try firefox-83.0 from latest updates?
Thanks.

Comment 2 John Fawkes 2020-11-19 10:35:39 UTC
Same issue here for firefox-83.0-3.fc33.x86_64 - nearly all extension menus are blank (e.g. uBlock Origin, Cookie AutoDelete, Violentmonkey).
For me, it only seems happen with the WebRender enabled firefox-wayland, firefox-x11 seems to work fine, so does firefox-wayland *without* WebRender enabled.

When spam clicking the extension menu button, it sometimes renders correctly.

firefox-82.0.3-2.fc33.x86_64 did work fine in all the above mentioned configurations.

Comment 3 Milan Zink 2020-11-19 12:31:23 UTC
Same here. Firefox 82.X works fine on Wayland with WebRender. Firefox 83 does not (unless you switch to X11 or disable WebRender)

Comment 4 Gerald Cox 2020-11-19 17:25:13 UTC
(In reply to Martin Stransky from comment #1)
> Which firefox version do you run? Can you try firefox-83.0 from latest
> updates?
> Thanks.

firefox-83.0-3.fc33.x86_64
firefox-wayland-83.0-3.fc33.x86_64

Comment 5 Milan Zink 2020-11-19 20:17:15 UTC
Problem spotted in: 
 firefox-83.0-3.fc33.x86_64.rpm
 https://koji.fedoraproject.org/koji/buildinfo?buildID=1643127

 I don't see any newer (successful) builds in koji.

I've downgraded to: 
 firefox-82.0.3-1.fc33.x86_64

Comment 6 Gerald Cox 2020-11-20 01:20:04 UTC
(In reply to John Fawkes from comment #2)
> Same issue here for firefox-83.0-3.fc33.x86_64 - nearly all extension menus
> are blank (e.g. uBlock Origin, Cookie AutoDelete, Violentmonkey).
> For me, it only seems happen with the WebRender enabled firefox-wayland,
> firefox-x11 seems to work fine, so does firefox-wayland *without* WebRender
> enabled.
> 
> When spam clicking the extension menu button, it sometimes renders correctly.
> 
> firefox-82.0.3-2.fc33.x86_64 did work fine in all the above mentioned
> configurations.

Thanks for the tip.  I stayed on wayland and disabled WebRender and extensions back to normal.

To be fair, WebRender under Linux hasn't been approved for default yet.  It appears they are
going to give it a try in Fx 84.  I had enabled in 82 and forgot about it.  

Probably should keep this open for those who forgot they had enabled WebRender.

Comment 7 Milan Zink 2020-11-20 07:36:14 UTC
Something happened between 82 and 83. WebRender was working fine on 82. There might be some regression in 83.

Comment 8 Gerald Cox 2020-11-20 18:45:08 UTC
(In reply to Gerald Cox from comment #6)
> 
> Probably should keep this open for those who forgot they had enabled
> WebRender.

Just wanted to amend my comment... even with WebRender turned off, 
firefox-wayland is wonky on some sites.  I noticed when a website
popped open other windows to display a PDF that the window would flip
between transparent and solid when I moved my cursor over it.  It was
so bad shuttering back and forth I couldn't make out what was
in the window.  Bottom line, IMO firefox-wayland 83 is unusable.
You need to stick with the X11 version.

Comment 9 Victor Rehorst 2020-12-01 18:08:56 UTC
I encountered this bug on Firefox 83.0-3 and -8 and found a different workaround:

With WebRender still enabled, if I pin the extension button to the Overflow menu, and then invoke the extension from there, the extension's content is visible. 

Perhaps this is a clue to whomever is looking at this bug in the future.  I'll also comment on this upstream:
https://bugzilla.mozilla.org/show_bug.cgi?id=1679104

Comment 10 Robert-André Mauchin 🐧 2020-12-03 20:43:34 UTC
(In reply to Gerald Cox from comment #8)
> (In reply to Gerald Cox from comment #6)
> > 
> > Probably should keep this open for those who forgot they had enabled
> > WebRender.
> 
> Just wanted to amend my comment... even with WebRender turned off, 
> firefox-wayland is wonky on some sites.  I noticed when a website
> popped open other windows to display a PDF that the window would flip
> between transparent and solid when I moved my cursor over it.  It was
> so bad shuttering back and forth I couldn't make out what was
> in the window.  Bottom line, IMO firefox-wayland 83 is unusable.
> You need to stick with the X11 version.

Try installing egl-wayland and restart your browser. I had screen flickering without it because Firefox Wayland could not find this library.

Comment 11 Gerald Cox 2020-12-03 21:37:47 UTC
(In reply to Robert-André Mauchin 🐧 from comment #10)
> (In reply to Gerald Cox from comment #8)
> > (In reply to Gerald Cox from comment #6)
> > > 
> > > Probably should keep this open for those who forgot they had enabled
> > > WebRender.
> > 
> > Just wanted to amend my comment... even with WebRender turned off, 
> > firefox-wayland is wonky on some sites.  I noticed when a website
> > popped open other windows to display a PDF that the window would flip
> > between transparent and solid when I moved my cursor over it.  It was
> > so bad shuttering back and forth I couldn't make out what was
> > in the window.  Bottom line, IMO firefox-wayland 83 is unusable.
> > You need to stick with the X11 version.
> 
> Try installing egl-wayland and restart your browser. I had screen flickering
> without it because Firefox Wayland could not find this library.

Thanks for the tip... that fixed the wayland flicker.  The question then is why
isn't egl-wayland a runtime requirement?

Comment 12 Milan Zink 2020-12-04 07:13:50 UTC
I did not experienced any flickering with webrender=true. Just the extension buttons were broken. 

I've installed egl-wayland and tested it again. It doesn't help with the extension problem. (but it should probably be a dependency for firefox)

Comment 13 Gerald Cox 2020-12-04 18:41:50 UTC
(In reply to Milan Zink from comment #12)
> I did not experienced any flickering with webrender=true. Just the extension
> buttons were broken. 
> 
> I've installed egl-wayland and tested it again. It doesn't help with the
> extension problem. (but it should probably be a dependency for firefox)

Yeah, something happened with this upgrade.  The previous release didn't have this behavior.

In regards to the recommendation for egl-wayland mentioned in comment #10, that was
in response to my comment #8, which said that I was still receiving flickering with
webrender=false.

Comment 14 Victor Rehorst 2020-12-07 17:52:08 UTC
The actual upstream bug is https://bugzilla.mozilla.org/show_bug.cgi?id=1672139 which has been resolved, and is scheduled to be included in Firefox 84.

It wasn't uplifted to 83, so we have to wait I guess.

Comment 15 Martin Stransky 2020-12-07 20:46:39 UTC
This update fixes it: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ddb91506b1


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