Closed Bug 1395365 Opened 7 years ago Closed 6 years ago

Change URL bar resizing to be interoperable with Chrome and Safari

Categories

(Firefox for Android Graveyard :: Toolbar, defect, P5)

All
Android
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: vschs007, Unassigned)

References

(Blocks 1 open bug, )

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

Steps to reproduce:

Visit bokand.github.io/demo/urlbarsize.html
Scroll down to hide the url bar



Actual results:

All four bars resize



Expected results:

The orange bars should not resiz
Component: General → Graphics, Panning and Zooming
OS: Unspecified → Android
Hardware: Unspecified → All
Version: 49 Branch → Trunk
Status: UNCONFIRMED → NEW
Depends on: 1357785
Ever confirmed: true
Priority: -- → P3
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195

Needinfo :susheel if you think this bug should be re-triaged.
Priority: P3 → P5
Karl, is this also a bug affected by the Chrome behavior change just like bug 1064982?  I mean we can close this too?
Flags: needinfo?(kdubost)
Hiro,

It seems this is now working the same in both Firefox and Chrome.
I think we can close.

If you go to https://bokand.github.io/demo/urlbarsize.html
You will noticed just two small differences that might be worth investigating.

1. When scrolling up the two orange bars have different sizes in Chrome, same sizes in Firefox
2. There is a kind of jankiness when scrolling on Firefox when the two orange bars becomes suddenly longer (I guess when the URL bar is hidding).
Flags: needinfo?(kdubost) → needinfo?(hikezoe)
(In reply to Karl Dubost💡 :karlcow from comment #3)
> Hiro,
> 
> It seems this is now working the same in both Firefox and Chrome.
> I think we can close.
> 
> If you go to https://bokand.github.io/demo/urlbarsize.html
> You will noticed just two small differences that might be worth
> investigating.
> 
> 1. When scrolling up the two orange bars have different sizes in Chrome,
> same sizes in Firefox

It seems Chrome does factor the bottom button area on Android OS (I don't know what the area is called) into viewport units.

> 2. There is a kind of jankiness when scrolling on Firefox when the two
> orange bars becomes suddenly longer (I guess when the URL bar is hidding).

I think that's because the window.innerHeight is expanded when the URL is hiding.  And I think it's reasonable.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(hikezoe)
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.