Closed Bug 1737727 Opened 3 years ago Closed 6 months ago

SW WR/Gnome X11/Nvidia: Back button enabled but appears disabled

Categories

(Core :: Graphics: WebRender, defect)

x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox95 --- affected

People

(Reporter: jesup, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: correctness)

Attachments

(1 file)

I've seen this a few times: when I navigated to a google search result, the back button appeared disabled, but was actually enabled (and highlighted if you moved the mouse over it). Opening a new tab and returning to the tab with the issue caused it to be painted correctly.

Because of how that stuff is implemented (attributes + CSS) this smells like a graphics bug to me; the CSS that makes it look disabled is here: https://searchfox.org/mozilla-central/rev/3b86063e6d46b2f130513c499343cd47773062b1/browser/themes/shared/toolbarbuttons.inc.css#48-53 and the CSS that makes the :hover feedback work is here: https://searchfox.org/mozilla-central/rev/3b86063e6d46b2f130513c499343cd47773062b1/browser/themes/shared/toolbarbuttons.inc.css#167-176 and both rely on the disabled attribute, which is either there or not. If it's there, you should get disabled styling and no hover, if it isn't, the inverse of that. So if you're getting any other combination, graphics is doing something weird.

Component: Address Bar → Graphics
Product: Firefox → Core

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)
Flags: needinfo?(jmathies)
Severity: -- → S3

:gw, do you have any ideas what could cause the problem?

Flags: needinfo?(gwatson)

No ideas from that info, sorry. I'd probably need to be able to reproduce it to diagnose what's going on.

I guess this is running on Linux, is that right?

Robert, are there any partial present preferences that could be changed to see if it might be related to something like that?

Flags: needinfo?(gwatson) → needinfo?(robert.mader)

Randell, can you post the content of your about:support here so we have an idea what kind of setup we're dealing with?

Flags: needinfo?(robert.mader) → needinfo?(rjesup)
Attached file support
Flags: needinfo?(rjesup)

It's interesting that you're getting software webrender.

Lee, any ideas what might cause this? Do we do anything like partial present in the config that Randell has?

Jeff, do you know why this set up is getting sw-wr, should it be getting hw-wr?

Flags: needinfo?(lsalzman)
Flags: needinfo?(jmuizelaar)

Maybe the sw-wr is related to the Driver Vendor: nvidia/unknown field?

Seems like he is using X11_EGL. so maybe this is bug 1743051 or bug 1712969? See the suggestions from Darkspirit in bug 1712969 comment 14 about toggling prefs, which are:

gfx.webrender.allow-partial-present-buffer-age = false
gfx.webrender.max-partial-present-rects = 0

Flags: needinfo?(lsalzman)

Randal, do you have layers.acceleration.disabled set to true?

Flags: needinfo?(jmuizelaar) → needinfo?(rjesup)
Depends on: 1744570

(In reply to Randell Jesup [:jesup] (needinfo me) from comment #6)

Compositing: WebRender (Software)

layers.acceleration.disabled: true

Does this bug really occur with this configuration (Software WebRender)
or do you have disabled hardware rendering to fix this bug or for other reasons?

(In reply to Jeff Muizelaar [:jrmuizel] from comment #10)

Randal, do you have layers.acceleration.disabled set to true?

Yes

I don't remember when or why I set that; it wasn't anytime recently. It may have been a long time ago.

Flags: needinfo?(rjesup)

I should check if bug 1743051 also occurs with SW WR. (Gtk, Nvidia X server driver)

How reproducible is this bug for you? Does it occur often?

Please set these prefs to check if they prevent the problem from occurring:

(Lee Salzman [:lsalzman] from comment #9)

gfx.webrender.allow-partial-present-buffer-age = false
gfx.webrender.max-partial-present-rects = 0

Component: Graphics → Graphics: WebRender
Keywords: correctness
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: Back button enabled but appears disabled → SW WR/Nvidia: Back button enabled but appears disabled
Summary: SW WR/Nvidia: Back button enabled but appears disabled → SW WR/Gnome X11/Nvidia: Back button enabled but appears disabled
See Also: → 1744664
See Also: 1744664

Hi! Does the issue here still happen to you or can we close the bug? Thanks!

Flags: needinfo?(rjesup)
Status: NEW → RESOLVED
Closed: 6 months ago
Flags: needinfo?(rjesup)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: