[meta] Investigate progress bar behavior difference between GeckoView and WebView
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: njpark, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Keywords: meta)
Attachments
(3 files)
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Reporter | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Reporter | ||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Comment 10•6 years ago
|
||
Updated•6 years ago
|
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Reporter | ||
Comment 14•6 years ago
|
||
Reporter | ||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Updated•6 years ago
|
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
Comment 23•6 years ago
|
||
Comment 24•6 years ago
|
||
i_agree |
Comment 25•6 years ago
|
||
Comment 26•6 years ago
|
||
Updated•6 years ago
|
Comment 27•6 years ago
|
||
Adding [geckoview:fenix:p1] whiteboard label because we really need to resolve these UX issues with our progress bar. The current behavior makes GV look much slower than Chrome on some sites. The progress bar will linger even after the page is loaded and functional.
Comment 28•6 years ago
|
||
Issue might be related to add-on ad blockers (uBlock Origin etc)???
Video is identical phones / identical Fennec Nightly / identical page (uk.mobile.reuters.com). Left phone uses Tracking Protection, no ad blocker and right phone uses uBlock Origin & TP is off. Right phone shows the progress bar "hang" at 80% for ~3 seconds which left phone doesn't show. Not perfectly apples to apples but phones should be loading substantially the same content, if anything uBO phone should be loading less stuff.
Seems to happen a lot on Reuters pages, don't know about other sites. It's not a universal issue.
I tried replacing uBO with AdBlock Plus and saw substantially the same issue, so I don't think it's uBO per se.
I'll try to dig into profiles etc but it's not exactly my strong point :)
Comment 29•6 years ago
|
||
FWIW
Profile captures for same uk.mobile.reuters.com page on same phone with Tracking Protection vs uBlock Origin. When using uBO the progress bar hangs for ~3 seconds at the 80% mark which doesn't happen when using TP. This is on my Galaxy S7 which is pretty fast so 3 seconds is a lot... it really increases the page load time.
Comment 30•6 years ago
|
||
Comment 31•6 years ago
|
||
The Fennec Perceived Performance Study made the following recommendations about the page loading progress bar:
- Adjust the timing & duration of the loading bar. Participants were ok with a less accurate loading bar as long as it indicated when the main content, structure, and actions were ready to be interacted with.
- A slower, more accurate loading bar could actually reduce perceived performance.
Comment 32•6 years ago
|
||
Great
My suggestions would be
implement the Chrome(ium) style progress bar rules. Fennec suddenly "appears two to three times faster" than it did and much more similar to Chrome(ium). I suspect the perceived speed difference from Chrome(ium) would be pretty small & users would stop bitching about Fennec being slow ... mostly ;)
if you want to get fancy you could tweak the Chrome rules to e.g. "the later of (Chrome rules, first paint)" because for some pages (uk.mobile.reuters.com is an example) the Chrome progress bar completes/disappears before first paint leaving perhaps 1 second of blank screen before the page paints and is useable. Which is not super elegant.
You probably get bug 1413128 fixed for free (or substantially mitigated).
Make sure the X button for stop page load still appears in the toolbar until page load is really completed, and bug 1344517 is correctly handled (I think this will be OK, IIUC the toolbar movement and progress bar animation use different rules)
On Fennec, get rid of the animation to 100% at the end of page load. It takes perhaps 0.5 seconds which adds to the perceived load time. Do what reference-browser does - just disappear the progress bar as soon as the Chrome criterion is met, even if the bar is only at 80% or whatever.
On Fennec, de-emphasise the progress bar as much as possible. Get rid of the continuous throb animation that it has. It should be like the gas gauge in my car: it's there if I need it, but it shouldn't be front and center. The throb just draws attention to how slow my page load is :) . The reference-browser progress bar is much nicer, it's out of my eyeline at the bottom of the screen and it's relatively drab so it's not distracting.
I know Fennec is in maintenance mode so the last two might be not worth the effort for you guys. But if there's anything simple/low risk you can do along those lines I do think it will help.
Really exciting if you can do something along these lines ... I think it would be a massive perceived performance win for (hopefully) not much effort.
Cheers
Comment 33•6 years ago
|
||
Eugen says he would like to wait for Vicky's team to add our existing page load telemetry to the performance dashboard. Then we can compare the before and after results when Eugen starts tweaking the load progress events.
Comment 34•6 years ago
|
||
Makes sense. Is there a bug I can track for the telemetry stuff?
(aside:- reference-browser allows you to load without seeing the progress bar at all, by keeping the toolbar hidden. It's most disconcerting, looking at a completely blank screen for 3-5 seconds. So definitely need some kind of progress bar at least until first paint or after).
Comment 35•6 years ago
|
||
Mark, this bug is tracking progress bar behaviour for GeckoView, which does not affect Fennec. Please move the discussion regarding Fennec's progress bar into a different bug.
Comment 36•6 years ago
|
||
[geckoview:fenix:m3] not [geckoview:fenix:p1]
Comment 37•6 years ago
|
||
Removing [geckoview:fenix:m3] because this is a meta bug that doesn't need to block Fenix MVP.
Updated•6 years ago
|
Comment 38•5 years ago
|
||
I'm editing a bunch of GeckoView bugs. If you'd like to filter all this bugmail, search and destroy emails containing this UUID:
e88a5094-0fc0-4b7c-b7c5-aef00a11dbc9
Updated•3 years ago
|
Comment 39•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:fluffyemily, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 40•2 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:amoya, since the bug has recent activity, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•