Page MenuHomePhabricator

Connectivity interferes with saved articles (saved pages do not work offline)
Closed, DeclinedPublic

Description

Author: philinje

Description:
I'm having trouble using the "save page" function. The pages are saved, but it's pretty much impossible to use them when not connected to the Internet:

First, if I start the application while disconnected, the app is stuck trying to load the home page, and it doesn't allow me to open the list of saved pages. (Actually, AFAIK it's impossible to open the menu at all until the first page loads, which is really annoying even when connected. - this will be a second bug)

Second, even if I'm looking at a saved page while the connection drops, if I click on a link to something not saved (which can happen by accident) it'll again get stuck, not even the back button works. - this will be a third bug

It really needs to be more resilient to connectivity issues, as it stands it's almost less useful for reading the wiki than a browser.

B. B.


Version: 3.2 (iOS) / 1.2 (Android)
Severity: normal

Details

Reference
bz40013

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:05 AM
bzimport set Reference to bz40013.
bzimport added a subscriber: Unknown Object (MLST).

Same report from a user with this user agent:
User-agent: Mozilla/5.0 (Linux; Android 4.1.1; Nexus 7 Build/JRO03D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19

Another report: User-agent: Mozilla/5.0 (iPod; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25

I can't reproduce the "can't open menu until first article loaded" on my Galaxy Nexus, with connectivity broken by going into airplane mode. The menu opens immediately when I push the menu button. Same behavior with current store release & current master.

Phil, do you see this problem when using airplane mode to disable connectivity? Or does it only occur when you have flaky connectivity?

I'm treating this bug as simply the "saved pages do not work offline". I'm not sure if It would be better to reopen this bug as I think Phil's initial comment might be confusing.

Another user has reported this ("While offline why the heck it doesn't show the saved pages as it says it will do ?") User-agent: Opera/9.80 (Android; Opera Mini/7.0.29952/28.2504; U; en) Presto/2.8.119 Version/11.10 (sadly can't get an idea of the phone through this user agent)

I wonder what is causing this.

I'm not sure if this is a separate issue, but it feels to me that our Android 4 users might not be discovering the 3 dots menu. Potentially the error message should link to saved pages?

I got a detailed report from a user experiencing this issue:

Mobile model : sony ericsson. Xperia mini ST15i

Android ver: 2.3.4

Baseband ver: 8x55A-AAABQOAZM-203028D-64

Kernel ver: 2.6.32.9 - perf

Build no : 4.0.2.A.0.62

App ver: 1.2.1

Are saved pages meant to be accessible offline? I have found that when there is internet connection saved pages are inaccessible and don't even appear in the list.

Please write your e-mail above this line.
User-agent: Mozilla/5.0 (Linux; U; Android 4.1.1; en-gb; Nexus S Build/JRO03L) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30

Saved pages no longer works in iOS6. It puts link but the link doesn't work.

Please write your e-mail above this line.
User-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25

When I open the Wikipedia app with no internet connection, unless it was already open (in my task list), the saved pages list shows up blank.

Please write your e-mail above this line.
User-agent: Mozilla/5.0 (Linux; Android 4.1.1; Nexus 7 Build/JRO03D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19

Ok, I can reproduce on Galaxy Nexus / 4.1 the behavior in comment 8. Very strange.

iOS 6 behavior in comment 7 I can also reproduce -- article saves, but the list shows up blank. This is with full connectivity the whole time.... Force-closing the app and restarting it makes the updated list show, however... and now things show up in the list without a restart.

El sistema de almacenamiento de páginas no funciona... Después de almacenar una página, ésta no se puede abrir.

Saludos.

User-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25

Saved Pages is not working.

User-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25

a versione app per iphone non visualizza le pagine salvate.

Un saluto

Per favore, scrivi la tua email sopra questa linea.
User-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25

The saved page does not work since ios 6.0
User-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25

2 more ios version 6 users reported this - seems to be a big issue on ios6

Getting so many e-mails from ios 6 users so the main problem seems to be there. Would be good to get this fixed to remove noise from feedback mailing list.

Arthur - no it's not. This is a different problem.
That story relates to the mobile site and is actually related to bug 31011

This story is about the app and the saved pages featured.

And another

Hello and good day

I am no longer able to recover any articles from saved pages. I have already tried deleting and reinstalling but no improvement.

User-agent: Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25
Source: WikipediaMobile/1.2
Referring page:

And another

My saved pages do not direct me to the pages that I saved. When I click on those links the app will not load the page. It just returns the screen to point on the previous page. All other functions are fine.

User-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25
Source: WikipediaMobile/1.2
Referring page:

On initial inspection, problem seems to be interference between the native FileReader implementation and the Cordova interfaces... so when we try to load the file from disk, it gets confused and just never completes.

Fixes appear to be going in in the latest Cordova, so I'll probably have to update us. That'll mean making some adjustments on the plugins.

(In reply to comment #18)

Fixes appear to be going in in the latest Cordova, so I'll probably have to
update us. That'll mean making some adjustments on the plugins.

Do we know when the next version of Cordova will be available? And is this still highest priority, by the way (as it's set for this bug report)?

I have a new release candidate waiting final testing.

I'll note that the Cordova fixes from Brion are for iOS only. This is still a (so far unsourced?) problem on Android

This has highest priority set for 10 weeks now.
Jon: Does somebody actively work on this, or is this maybe not highest prio?

I think this was fixed but I'd need Yuvi, Michelle or Brion to verify that with a link to the commit.

Bumped it back to Normal. Nobody's working on it, and IIRC nobody's scheduled to work on it. The high priority bug that we crammed (and fixed) was https://bugzilla.wikimedia.org/show_bug.cgi?id=41798.

We won't be doing much further work on the PhoneGap-based apps, so closing this out as WONTFIX.