Page MenuHomePhabricator

Articles opened in a new tab should be fetched immediately
Closed, ResolvedPublic

Description

This seems to be a regression - first reported in OTRS: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=9987589

Steps to reproduce

  1. Open an article while online
  2. Tap on a link preview in the article and select the overflow to "Open in a new tab"
  3. Long press on another link to "Open in a new tab"
  4. Wait 10secs then go into airplane mode
  5. Navigate to read the two articles opened in the new tabs

Expected

Both articles should have been loaded at the point "Open in a new tab" was selected and user should be able to read those cached articles

Actual

Articles were not loaded.

Occurring on

Pixel (7.1.2) on Wikipedia version 2.5.195-alpha-2017-06-05

Event Timeline

NHarateh_WMF renamed this task from [BUG] Articles opened in a new tab should be fetched immediately to Articles opened in a new tab should be fetched immediately.Jun 21 2017, 3:39 PM

Change 380528 had a related patch set uploaded (by Mholloway; owner: Mholloway):
[apps/android/wikipedia@master] Immediately fetch, cache page content when opening in background tab

https://gerrit.wikimedia.org/r/380528

Change 380528 merged by jenkins-bot:
[apps/android/wikipedia@master] Immediately fetch, cache page content when opening in background tab

https://gerrit.wikimedia.org/r/380528

ABorbaWMF subscribed.

Tested on Nexus 4 with Android 5.1.1 and Pixel with Android 8.0.0 on Alpha App 2.6.203-alpha-2017-10-11

Looks good. Articles are loading while offline.