Open Bug 1615323 Opened 4 years ago Updated 1 year ago

Address bar gains and immediately loses focus if the window is brought back to focus by clicking in the content area

Categories

(Core :: Widget: Gtk, defect)

All
Linux
defect

Tracking

()

Tracking Status
firefox-esr68 --- wontfix
firefox73 --- wontfix
firefox74 --- fix-optional
firefox75 --- affected

People

(Reporter: ccomorasu, Unassigned)

References

Details

Attachments

(1 file)

Affected versions

  • Fx 75.0a1
  • Fx 74.0b2

Affected platforms

  • Ubuntu 18.04

Steps to reproduce

  1. Launch Firefox.
  2. Go to about:newtab page.
  3. Select the address bar.
  4. Click somewhere out of the window.
  5. Click somewhere in the page.

Expected result

  • The address bar does nothing/is in focus.

Actual result

  • The address bar glitches.

Regression range

  • I do not think this is a regression, I will return with a confirmation as soon as possible.

Additional notes

  • Following the STR on Windows 10 the address bar does nothing.
  • Following the STR on macOS the address bar is in focus.
Has Regression Range: --- → no

What do you mean by "glichtes"? Can you attach a screen capture? I don't see anything odd on Ubuntu 19.10.

Flags: needinfo?(cristian.comorasu)

I can test on Ubuntu 18 and let you know if I see the problem.

Flags: needinfo?(mak)

Bugbug thinks this bug is a regression, but please revert this change in case of error.

Keywords: regression
Attached video vsiualbug.mp4

The address bar temporarily enlarge then returns to normal size when click web page.

Okay, after trying again I do see this happen on Ubuntu 19.10 but only with a 50% chance or so.

I suspect this is just different window manager behavior on Gnome compared to Windows and Mac, and there might be no good fix here. Maybe our Gtk widget implementation can suppress the initial focus event when activating the window and focus is about to move somewhere else anyway, or something like that.

Also this is probably not a recent regression, the megabar design likely just makes this more visible.

Component: Address Bar → Widget: Gtk
Product: Firefox → Core
Summary: Address bar glitches on Ubuntu if the window is brought back to focus → Address bar gains and immediately loses if the window is brought back to focus by clicking in the content area

Thank you, Alice0775 White!

Flags: needinfo?(mak)
Flags: needinfo?(cristian.comorasu)

I could reproduce the problem intermittently. It looks like the address bar gets focus and loses it immediatley, causing an expanding then contracting movement.
what I did usually was CTRL+T, click outside the window, click on content. Doing it repeatedly makes it easier to reproduce.

Summary: Address bar gains and immediately loses if the window is brought back to focus by clicking in the content area → Address bar gains and immediately loses focus if the window is brought back to focus by clicking in the content area

I can also confirm that the bug affects Firefox 73, the new design just makes it more visible, as Dao said.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.