Open Bug 1793522 Opened 2 years ago Updated 1 year ago

[Wayland] context menu (right click menu) is flickering, appears/disappears continuously

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 105
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: darvish.first, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached video Screencast.webm

User Agent: Mozilla/5.0 (Windows NT 10.0; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

Simply right click on any webpage

Actual results:

The context menu flickers. Quickly appears and disappears multiple times. See the attached video.
This is happening only on Firefox and nowhere else in my system. I have Ubuntu 22.04. It was working fine a few days ago, I think after an update it got messed up. I reinstalled the browser, it didn't fix it

Expected results:

To shows up without flickering

Component: Untriaged → Menus
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Version: Firefox 100 → Firefox 105

(In reply to darvish.first from comment #0)

Created attachment 9297060 [details]
Screencast.webm

User Agent: Mozilla/5.0 (Windows NT 10.0; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

Simply right click on any webpage

Actual results:

The context menu flickers. Quickly appears and disappears multiple times. See the attached video.
This is happening only on Firefox and nowhere else in my system. I have Ubuntu 22.04. It was working fine a few days ago, I think after an update it got messed up. I reinstalled the browser, it didn't fix it

Expected results:

To shows up without flickering

Please ignore the User agent string reported below the video. The actual user agent string is:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0

I couldn't manage to reproduce the issue on my end. Could you please try if the issue occurs in safe mode. Here is a link that can help you do that: 
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Thanks.

Flags: needinfo?(darvish.first)

I suspect this is in the Widget layer, or maybe Graphics?

Component: Menus → Widget: Gtk
Product: Firefox → Core

Please attach about:support if possible. Gtk seems like the right component.

Attached file about_support.txt
The problem exists even in safe mode, and frankly, it is very very annoying.
I have attached a copy of about:support

Similar to Bug 1726323, some menus but now mostly context menus flicker while mouse is moving. So right click to evoke the context menu, as long as you keep the mouse steady it stays visible. As soon as you move the mouse it starts flickering. When clicking the library button > History or Bookmarks, the folowing menu flickers a few times before opening.

Firefox 105.0.2 / Ubuntu 22.04.1 LTS
User agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0

I switched to Xorg, and the issue is resolved
So the problem occurs under Wayland
This is a temporary solution

Flags: needinfo?(darvish.first)

I have the same issue on KDE Wayland.
Setting "widget.wayland.use-move-to-rect" to "false" makes the right click menu stop flickering on hover as a workaround.
The bug has been present since a few versions now - IIRC it started with FF 102 or 103.

See Also: → 1726323
Flags: needinfo?(darvish.first)
Priority: -- → P3
Summary: context menu (right click menu) is flickering, appears/disappears continuously → [Wayland] context menu (right click menu) is flickering, appears/disappears continuously
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: