Page MenuHomePhabricator

Wikipedia android app shows wrong tab preview
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  1. Open many (I had about 40) tabs in the app
  2. Click 'tab' button (the one with the number of tabs)
  3. Close the newest tab
  4. The next tab shows no preview (black lines only)
  5. Close next tabs until one of them starts showing the preview of the first tab you closed

What happens?:
When closing tabs the next tab eventually shows a preview of the first tab you closed

What should have happened instead?:
The closed tab should be gone, the next tab should show it's own preview, not the closed one

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
Wikipedia android app version: 2.7.50398-r-2022-03-21

Screenshot_2022-04-12-09-27-53-622_org.wikipedia.jpg (2×1 px, 474 KB)

Screenshot_2022-04-12-09-28-34-989_org.wikipedia.jpg (2×1 px, 557 KB)

Screenshot_2022-04-12-09-28-58-743_org.wikipedia.jpg (2×1 px, 776 KB)

Screenshot_2022-04-12-09-29-40-770_org.wikipedia.jpg (2×1 px, 806 KB)

Event Timeline

ABorbaWMF subscribed.

Testing on 2.7.50400-alpha-2022-05-05

There may be two issues here; firstly, it appears that the issue with showing the wrong preview appears to be fixed. The second issue may be that the tabs under the most recent do not show a preview of the article. In my case, opening the tabs shows a preview of the current, most recent tab. Closing that current tab would show the tabs under, but without a preview. I am not sure if the expected result is that closing the current tab should then show a preview of the next most current tab or if it should remain blank. If the expected result is blank, then this ticket can be moved to signoff. If not, we may want to create a new ticket for that.

... If the expected result is blank, then this ticket can be moved to signoff.

Yes, this is expected. The way it's currently architected, only the topmost tab can have a preview.