Closed Bug 1552020 Opened 6 years ago Closed 6 years ago

Render issues for menus on wayland

Categories

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

68 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1548496

People

(Reporter: michaelaquilina, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached video 2019-05-15_21-33-52.mkv

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

Steps to reproduce:

Open a context menu on a tab or open the burger menu

Actual results:

Menu renders incorrectly by flashing haphazardly. It also does correctly update button states when floating the mouse over buttons.

Expected results:

Menus should render correctly

I've added videos showing the incorrect behaviour on my machine. There are some rendering artifacts on the video but it should give you an idea of what I am talking about.

Attached video 2019-05-15_21-34-46.mkv
Blocks: wayland
Component: Untriaged → Widget: Gtk
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64

Should have mentioned that this issue is not present in firefox stable (66)

https://www.reddit.com/r/firefox/comments/bo53nh/firefox_nightly_renders_menu_incorrectly/

I am using openSUSE Tumbleweed Linux
Desktop is Sway (wayland)
Running firefox with GDK_BACKEND=wayland firefox
I have manually enabled WebRender
firefox version 68.0a1

This only seems to happen when enabling wayland

Blocks: wayland-sway
No longer blocks: wayland

That is my reddit post Jan Andrew ^ I posted here after being advised to do so

Can you try with disabled WebRender?

Flags: needinfo?(michaelaquilina)

Stil happens with webrender disabled (double checked in about:support). Issue almost seems worse - but that could just be a coincidence.

Flags: needinfo?(michaelaquilina)

I also use Sway with Firefox Nightly [68.0a1 (2019-05-15)] and I had flickering in the menu and select HTML tags.

Instead of disabling WebRender, with default settings, enabling gfx.webrender.all made the menu render correctly. Now only the item highlights in menu pop-up are not responsive.

This is a nearly default profile, I have not enabled WebRender. This recording is actually better than usual, for Nightly right now under Sway. Given my use of NoScript, I effectively can't use Nightly right now. I've linked the video externally since it's a full minute long, I hope that's okay: https://photos.app.goo.gl/jNHgZG2aif9RKDF86 (there's a 1080p option but it may not be selected by default).

Note, there are a number of other weird behaviors with the popups that weren't captured in this video. As an example, often the chrome popups DO pop, but they're out of the window, flickering, clicks don't register, etc. The video also fails to capture just how much these menus are flashing and flickering. When the look semi-transparent, they're actually flickering incredibly quickly.

The latest version of nightly seems like a big improvement. Menus seem to render correctly with both wayland+webrender enabled. However the popups I get for my addons no longer seemt to work (example Gmail Notifier+, User Agent Switcher etc...).

Actually scratch my previous comment - seems to have come back after a while of usage.

Priority: -- → P3

I think this is a duplicate of #1548496 which is resolved (invalid).

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: