Page MenuHomePhabricator

[S] iOS “picture of the day” widget, when clicked, does not have expected behavior
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • install the iOS app
  • install the “picture of the day” widget
  • click on the widget

What happens?:

opens the app and scrolls weirdly, usually going back to the top of the app but not always (but never scrolling to the actual picture-of-the-day location)

What should have happened instead?:

opens the app and scrolls to the picture of the day, or opens the website to the page for the picture

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
all iOS app versions for several years

Other information (browser name/version, screenshots, etc.):

Event Timeline

HNordeenWMF moved this task from Needs Triage to Up next on the Wikipedia-iOS-App-Backlog board.
HNordeenWMF added a project: good first task.
HNordeenWMF subscribed.

Note: this may have been a regression introduced with this fix: https://phabricator.wikimedia.org/T371983.
On 7.5.8, Picture of the day worked after the app had been force closed, but not if the app is merely backgrounded.

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly pointed to the codebase URL and provide clear steps to help a contributor get setup for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

Seddon renamed this task from iOS “picture of the day” widget, when clicked, does not have expected behavior to [S] iOS “picture of the day” widget, when clicked, does not have expected behavior.Sep 10 2024, 2:04 PM

Hello! This regression was seemingly introduced with this fix https://phabricator.wikimedia.org/T369567 (PR) and is present since version 7.5.6.

I've created this PR for a fix suggestion, I made some assumptions so please check the description for more details. Cheers!