[Bug 1940417] Re: On Wayland toolbar menus are sometimes invisible/flickering

Bug Watch Updater 1940417 at bugs.launchpad.net
Fri Aug 20 11:53:39 UTC 2021


Launchpad has imported 23 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1726323.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2021-08-18T10:40:37+00:00 Neo Rey wrote:

Created attachment 9236820
firefox toolbars.png

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0)
Gecko/20100101 Firefox/91.0

Steps to reproduce:

Open Downloads panel, Library or Application menu form the Toolbar by
clicking on the corresponding icons.


Actual results:

>From version 90 I noticed that Library or other items in the Toolbar
won't open when I click it. Instead it flickers a few times on mouse
movement - it looks like it opens but it's not visible, it becomes
visible a fraction of a second when I move the mouse otherwise it's
completely transparent.

Which Toolbar icon this affects seems random. I tried to fix it by
resetting the Toolbar and disabling extensions which have icons in the
Toolbar. Then I noticed that Library was working normal again but
Downloads or Application Menu wouldn't open.

When this happened with the Application Menu I could barely see the
contents of the menu by moving the mouse which made the menu flicker.
The cursor was able to select menu items in the menu but it was
completely transparent.

In the enclosed screenshot you can see I selected the Library menu item
but it isn't opened.


Expected results:

The menus in the Toolbar should open like they used to.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/0

------------------------------------------------------------------------
On 2021-08-18T10:42:26+00:00 Neo Rey wrote:

Ubuntu 21.04
Firefox 91

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/1

------------------------------------------------------------------------
On 2021-08-18T11:17:33+00:00 Release-mgmt-account-bot wrote:

The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug
should belong to the 'Firefox::Downloads Panel' component, and is moving
the bug to that component. Please revert this change in case you think
the bot is wrong.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/4

------------------------------------------------------------------------
On 2021-08-18T11:44:22+00:00 Olivier Tilloy wrote:

This was also reported downstream:
https://bugs.launchpad.net/firefox/+bug/1940417

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/5

------------------------------------------------------------------------
On 2021-08-18T11:48:30+00:00 Olivier Tilloy wrote:

Could this be https://bugzilla.mozilla.org/show_bug.cgi?id=1719898 ?

Jeroen, thanks for the report. Can you also observe the problem with
upstream builds of firefox (downloaded from
https://www.mozilla.org/firefox/download/thanks), or is it specific to
the Ubuntu package?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/6

------------------------------------------------------------------------
On 2021-08-18T14:03:30+00:00 Neo Rey wrote:

(In reply to Olivier Tilloy from comment #3)
> This was also reported downstream: https://bugs.launchpad.net/firefox/+bug/1940417

I checked about:config for gfx.webrender.unaccelerated-widget.force and
this is set to false.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/8

------------------------------------------------------------------------
On 2021-08-18T14:05:40+00:00 Neo Rey wrote:

(In reply to Olivier Tilloy from comment #4)
> Could this be https://bugzilla.mozilla.org/show_bug.cgi?id=1719898 ?
> 
> Jeroen, thanks for the report. Can you also observe the problem with upstream builds of firefox (downloaded from https://www.mozilla.org/firefox/download/thanks), or is it specific to the Ubuntu package?

I haven't checked upstream or nightly builds yet, ususally I stay with
release updates only.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/9

------------------------------------------------------------------------
On 2021-08-19T08:16:12+00:00 Olivier Tilloy wrote:

(In reply to Jeroen from comment #6)
> (In reply to Olivier Tilloy from comment #4)
> > Could this be https://bugzilla.mozilla.org/show_bug.cgi?id=1719898 ?
> > 
> > Jeroen, thanks for the report. Can you also observe the problem with upstream builds of firefox (downloaded from https://www.mozilla.org/firefox/download/thanks), or is it specific to the Ubuntu package?
> 
> I haven't checked upstream or nightly builds yet, ususally I stay with release updates only.

I understand you want to stay with release updates only. You can
download an upstream release build, unpack it in a temporary folder and
run it just for the purpose of testing this one bug. It will by default
create a separate profile, so that won't mess with your normal setup.
And it would be very useful to confirm whether the bug is indeed an
upstream issue, or Ubuntu-specific.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/23

------------------------------------------------------------------------
On 2021-08-19T08:38:06+00:00 Neo Rey wrote:

(In reply to Olivier Tilloy from comment #7)
> (In reply to Jeroen from comment #6)
> > (In reply to Olivier Tilloy from comment #4)
> > > Could this be https://bugzilla.mozilla.org/show_bug.cgi?id=1719898 ?
> > > 
> > > Jeroen, thanks for the report. Can you also observe the problem with upstream builds of firefox (downloaded from https://www.mozilla.org/firefox/download/thanks), or is it specific to the Ubuntu package?
> > 
> > I haven't checked upstream or nightly builds yet, ususally I stay with release updates only.
> 
> I understand you want to stay with release updates only. You can download an upstream release build, unpack it in a temporary folder and run it just for the purpose of testing this one bug. It will by default create a separate profile, so that won't mess with your normal setup. And it would be very useful to confirm whether the bug is indeed an upstream issue, or Ubuntu-specific.

I'm not exactly sure how to install a Firefox beta in a separate folder
and run it. If you can help me with that, I'd be happy to help.

Maybe this also helps, I think these new reports concern same bug:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1939941
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1939895

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/24

------------------------------------------------------------------------
On 2021-08-19T09:05:48+00:00 Olivier Tilloy wrote:

(In reply to Jeroen from comment #8)
> I'm not exactly sure how to install a Firefox beta in a separate folder and run it. If you can help me with that, I'd be happy to help.

No need for it to be a beta. Just download the upstream build from https://www.mozilla.org/firefox/download/thanks, unpack the compressed archive in a temporary folder, this will create a "firefox" folder in there, and from that folder just run `./firefox`.
Once you've tested and reproduced (or not) the bug, you can safely delete that temporary folder.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/25

------------------------------------------------------------------------
On 2021-08-19T09:11:56+00:00 Neo Rey wrote:

I figured installing and running a Firefox beta couldn't be that hard so
I downloaded firefox-91.0.1.tar.bz2 and ran it from /Downloads/Firefox/

The menus seem to work fine in the 91.0.1 release.

I realized I enabled browser.compactmode.show in about:config, when I
reset this setting to false menus seem to open again.

I this case Library menu in Toolbar wouldn't open. It opens now but when
I choose Bookmarks or History these menus flicker on mouse move.

This also seems to have been fixed in the 91.0.1 release, even with
browser.compactmode.show enabled.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/26

------------------------------------------------------------------------
On 2021-08-19T09:25:30+00:00 Neo Rey wrote:

I just noticed that the flickering of the quite long Bookmarks and
History menus in the 91 release only occur in Maximized window mode, in
Minimized the menus open normally, extending beyond the Firefox window
bounds and the bottom of these menus appear to conflict with the Dock
(appear under it?). These long menus seem to have been improved in the
91.0.1 release and the bottom of the menus appear on top of the Dock.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/27

------------------------------------------------------------------------
On 2021-08-19T10:50:46+00:00 Gijskruitbosch+bugs wrote:

Doesn't looks like the bot picked anywhere close to the right component
here.

Per the comments, is this just resolved? It sounds like the 91.0.1 dot-
release fixed the issues here?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/28

------------------------------------------------------------------------
On 2021-08-19T11:29:21+00:00 Olivier Tilloy wrote:

That sounds suspicious, there's nothing related in the 91.0.1 update release notes.
The bug was reported by Jeroen downstream (Ubuntu) against 91.0 (see https://bugs.launchpad.net/firefox/+bug/1940417), and according to the last few comments here, it's fixed in a 91.0.1 upstream build. However Ubuntu builds run with MOZ_ENABLE_WAYLAND, maybe that makes a difference?

Jeroen, could you please test again the upstream build by running it
like this?

    MOZ_ENABLE_WAYLAND=1 ./firefox

and let us know whether the issue can be observed there?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/29

------------------------------------------------------------------------
On 2021-08-19T17:15:43+00:00 Neo Rey wrote:

Sure. I just type MOZ_ENABLE_WAYLAND=1 ./firefox in terminal?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/30

------------------------------------------------------------------------
On 2021-08-19T17:18:45+00:00 Neo Rey wrote:

Sure. I just type MOZ_ENABLE_WAYLAND=1 ./firefox or add this to
about:config?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/31

------------------------------------------------------------------------
On 2021-08-19T17:20:33+00:00 Olivier Tilloy wrote:

>From the folder where you unpacked the upstream build, type that command
in a terminal.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/32

------------------------------------------------------------------------
On 2021-08-19T18:01:33+00:00 Neo Rey wrote:

Sorry I'm not used to run apps like that.

Do you mean I should type sudo **MOZ_ENABLE_WAYLAND=1** and then **[path
to application]**?

When I type command **echo $XDG_SESSION_TYPE** returns **wayland** so I
suppose FF already runs in Wayland?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/33

------------------------------------------------------------------------
On 2021-08-19T18:03:53+00:00 Neo Rey wrote:

xrandr --listmonitors returns:

Monitors: 1
 0: +*XWAYLAND0 1920/508x1080/286+0+0  XWAYLAND0

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/34

------------------------------------------------------------------------
On 2021-08-19T18:10:42+00:00 Olivier Tilloy wrote:

No, I didn't mention sudo. Just open a terminal and type the following
commands, one per line, verbatim:

    cd /tmp
    wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/91.0.1/linux-x86_64/en-US/firefox-91.0.1.tar.bz2
    tar xf firefox-91.0.1.tar.bz2
    MOZ_ENABLE_WAYLAND=1 ./firefox/firefox

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/35

------------------------------------------------------------------------
On 2021-08-19T18:26:05+00:00 Neo Rey wrote:

Alright. Thanks.

When I right click the toolbar and go customize it I can't see the
little menu which makes the Download Panel button stay.

Menus seem to open fine though, except when you right click the Toolbar
the fly out menu from Bookmarks Toolbar flickers sometimes when moving
the mouse. Makes it hard to make a selection.

Do you have a clue whats causing this? Graphics drivers maybe or
something in FF?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/36

------------------------------------------------------------------------
On 2021-08-19T18:34:08+00:00 Neo Rey wrote:

btw I got these messages in terminal after installing:

Gdk-Message: 20:17:14.812: Unable to load openhand from the cursor theme
Gdk-Message: 20:17:14.812: Unable to load 5aca4d189052212118709018842178c0 from the cursor theme
Gdk-Message: 20:17:19.096: Unable to load closedhand from the cursor theme

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/37

------------------------------------------------------------------------
On 2021-08-20T06:58:02+00:00 Neo Rey wrote:

I've updated to 91.0.1

Now the Toolbar menus open but now the fly out or next menus flicker.

On mouse movement they flicker rapidly, when there's no mouse movement
the menus disappear:

Library > Bookmarks > flickering menu
Library > History > flickering menu

Fly out menus in Application Menu seem to work fine.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1940417/comments/38


** Changed in: firefox
       Status: Unknown => New

** Bug watch added: Mozilla Bugzilla #1719898
   https://bugzilla.mozilla.org/show_bug.cgi?id=1719898

-- 
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/1940417

Title:
  On Wayland toolbar menus are sometimes invisible/flickering

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




More information about the Ubuntu-mozillateam-bugs mailing list