Closed Bug 1135395 Opened 10 years ago Closed 4 years ago

Reader View button appears very late on slow connections (e.g. bad 3G)

Categories

(Firefox for Android Graveyard :: Reader View, defect)

36 Branch
All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: fvsch, Unassigned)

References

Details

I keep loading articles where I want to use Reader Mode but the button is nowhere to be found. So I figure that the page's content didn't trigger Reader Mode's heuristics and is not detected as an article. Finally the button appears 10, 20 or 40 seconds later. Not sure what's happening but it looks like the page is evaluated on the window's "load" event. On websites and/or connections that perform badly (especially news websites with 8 tracking script and 20 ads script and 50 images, all while on a flaky 3G connection), that event may happen a long time (think 10-60 seconds) after the page is actually shown. Or perhaps when some external resources time out. Is there a way to evaluate the page and make the Reader View button appear sooner?
See Also: → 1125365
We don't try to parse the page until it's done loading, so if it's slow to load, yes, we will be slow to show to reader view button. Right now we parse the page on "pageshow", but we could experiment with doing in on "DOMContentLoaded" (similar to bug 1132674 for desktop). However, we'll still have the UX issue that our reader view button on mobile occupies the same space as the stop button. Changing this would require changing when we decide to show page action icons, and this would be more complicated than just deciding to show the reader view button sooner.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: readerv2
I don’t have a solution for the UX issue, but I’ve sometimes wondered why the "Page" menu didn’t offer a "Show in Reader View" entry. I remember looking in the menu when the Reader View toolbar button wouldn't appear, hoping I could trigger Reader View manually this way. This wouldn't help with discoverability though.
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.