Open Bug 869519 Opened 11 years ago Updated 2 years ago

New OS X scrollbars should not be shown while page is loading

Categories

(Core :: Widget: Cocoa, defect, P4)

x86
macOS
defect

Tracking

()

REOPENED

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [lion-scrollbars=][tpi:+])

The new OS X scrollbars in Firefox appears and flashes several times while a page is loading. This does not occur in Safari. 

Steps to reproduce
1. go to a website with lots of content, such as www.dn.se
2. click any link

Actual results:
Notice that the new scrollbars appear while the page is loading. They shrink as the page gets bigger and go away once the page has loaded completely. The flashing is kind of annoying. Safari does not show this behavior.
To clarify, Safari and Chrome do not automatically show scrollbars when a page loads (or any other time an HTML element becomes scrollable).

That said, a visual cue seems useful on non-obviously-scrollable elements (everything but html or body), and we could view WebKit's behavior there as a flaw rather than something to emulate.

(I'll also add that most of Apple's OSX and iOS applications do flash their scrollbars when revealing new views or windows, so Safari's behavior is deliberate and probably well-reasoned.)
Whiteboard: [lion-scrollbars=]
One fix could be to wait for DOMReady to show the scrollbar, then show it for ~1 sec and hide it again.
Blocks: 868404
Flags: needinfo?(twalker)
Whiteboard: [lion-scrollbars=] → [lion-scrollbars=][tpi:?]
Perhaps I am misunderstanding what is being reported as a bug here.  But what I see on both latest Nightly and Safari are the same.  Once the browser begins loading content, if the page is large enough to require scroll bar, the scroll bar appears and remains there.  the slider size adjusts relative to the size of the content being displayed.  (gets smaller and smaller to a certain minimum as the page is larger and larger). This allows the user to interact with(scroll) in large pages as the browser loads them instead of having to wait for the entire page to load.

There is no flashing and no appearing, disappearing of the scroll bar.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(twalker)
Resolution: --- → INVALID
Whiteboard: [lion-scrollbars=][tpi:?] → [lion-scrollbars=]
Tracy, are you testing with overlay scrollbars? You need to set "Show scrollbars: When scrolling" in your System preferences -> General.
Flags: needinfo?(twalker)
ah, well that would be nice in STR's  :)  The slider appears momentarily while the page is loading, even if I am not scrolling.  so, re-opening. thanks.
Status: RESOLVED → REOPENED
Flags: needinfo?(twalker)
Resolution: INVALID → ---
Priority: -- → P3
Whiteboard: [lion-scrollbars=] → [lion-scrollbars=][tpi:+]
Priority: P3 → P4
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.