Page MenuHomePhabricator

Improve the Media Viewer UI on mobile devices (zoom/scroll on phones and tablets)
Closed, DeclinedPublic

Description

Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/716

Narrative

As a user, I can better interact with images on tablets, so that I can pinch/zoom in (or scroll down) on the image itself (instead of moving the info panel, which cuts off the image and doesn't match the user intent).

This issue has been reported by a number of users, especially on iPad -- but also on touch-screen versions of Windows. We also logged dozens of complaints about the image being cut-off, which may be related to this problem.

Acceptance Criteria

  • When I pinch/zoom on the image, keep the info bar at the bottom of the image, not on top of the image
  • To do that, we could try to detect pinch/zoom events and have them apply to the image, rather than the metadata panel
  • When I scroll down on the image, make the image scroll instead of the info panel go up
  • This type of scrolling could be done with a 'static scroll' implementation (see below)
  • (optional, may be a separate ticket) If easy to do, support left/right swipes to match them to the next/previous button

To see alternatives to our current scrolling method, check out the comments in T77601: Support scrolling down to access metadata in Media Viewer and try this quick override of common.css by logging in as Uxtester/123 at http://en.wikipedia.beta.wmflabs.org/wiki/Lightbox_demo .

Related Bugs

Related Stories

Related Changesets

Example screenshot:

Screenshot_20180225-182206.png (1×720 px, 214 KB)

As you can see, when I pinch-zoom the photo on a phone, the bottom bar enlarges itself, which is never useful. I always want to zoom the photo, not the information bar.

The screenshot image incorporates Idrissa Ouedraogo , Cines del Sur 2007 (cropped).jpg, from the English Wikipedia article Idrissa Ouédraogo.

Event Timeline

MingleTerminator raised the priority of this task from to High.Dec 8 2014, 6:09 PM
In mingle on 2014-06-16 at 21:23:13, @Tgr wrote:

Zoom is messy and different from browser to browser, even conceptually, much more so in the implementation details. There is no proper way to query the zoom level or intercept zoom events; there are various hacks (see https://github.com/tombigel/detect-zoom for a collection) which might or might not break every time a new browser version is released.

I suggest we ignore this if it is not critical; if it is critical, change the layout of the lightbox into something more "native" (no position:fixed, possibly no auto-resizing) so that native zoom behaves less surprisingly.

Left/right swipes should be a separate ticket, the technical issues are completely unrelated.

Tgr lowered the priority of this task from High to Medium.Dec 11 2014, 12:45 AM

Lowering priority as we do not plan to work on this anytime soon.

Mass-removing the Multimedia tag from MediaViewer tasks, as this is now being worked on by the Reading department, not Editing's Multimedia team.

Jdlrobson lowered the priority of this task from Medium to Lowest.Jan 29 2016, 5:28 PM
Jdlrobson subscribed.
Amire80 renamed this task from Improve the Media Viewer UI on tablets (zoom/scroll) to Improve the Media Viewer UI on mobile devices (zoom/scroll on phones and tablets).Feb 25 2018, 4:21 PM

Some updates:

  • Changed the title to make it more easily findable: mentioned "mobile" and "phone" in the title.
  • Uploaded a screenshot.

I was wondering why is this Lowest priority.

It is the only MediaViewer bug that I encounter all the time as a reader.

Jdlrobson-WMF subscribed.

New feature development here is unlikely until we work out how to consolidate the experience across mobile and desktop.