Closed Bug 857390 Opened 11 years ago Closed 3 years ago

Find a better way to indicate tab "restoring" versus tab "loading"

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: kats, Unassigned)

Details

Cameron says:

--
I feel like I'm sometimes tricked that the browser is loading a page  from the network when instead it has loaded it from the cache.  The  throbber spins, and it takes some number of seconds to load before it  shows the page, but then reading the page closely I can see that it's as  I last opened it rather than freshly loaded.  I'm not exactly sure when  this happens -- maybe on session restore?  Anyway, I don't know what it  should be so slow to load the page when it's from the cache.  (I've got  a Galaxy Nexus btw.)
--

This is probably because we're restoring a tab. It looks like there are two problems here: one is that restoring a tab takes longer than a user would expect, and the other is that restoring a tab looks identical to refreshing a tab.

Fixing the first issue probably involves much cache re-work which are in various stages of being done by the necko team. The second issue could probably be solved with some UI hacks (like replacing the progress spinner with some other animation more indicative of "restoring") so we can use this bug to track that.

As an example, for restoring tabs, we could leave off the progress spinner entirely and maybe do some animation in the content area, like tiles appearing one at a time, and then once all the tiles are in place the actual page fades in. The tile-animation delay would give us time to actually load the page in the background so that we can fade it in smoothly once that's done.
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #0)

> As an example, for restoring tabs, we could leave off the progress spinner
> entirely and maybe do some animation in the content area, like tiles
> appearing one at a time, and then once all the tiles are in place the actual
> page fades in. The tile-animation delay would give us time to actually load
> the page in the background so that we can fade it in smoothly once that's
> done.

Another idea that comes to mind is showing a greyed-out screenshot of the page that we're restoring, but we'd probably still want to do something else to give an indication of progress.
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: 3 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.