Page MenuHomePhabricator

BUG: Math formulas are rendering at a extremely small size in the app and cannot be zoomed
Closed, ResolvedPublic

Description

Background

If you have a very big formula, it will be display in one line and as big as possible to fit the device width. The problem is, that you can't zoom into this formula, and you can't open the media as an image to zoom in. It should be possible to zoom into a math formula.
Reports from OTRS:

Note that in iOS these equations are being placed in a "More info" box but still causes some issues depending on individual formula rendering:
Screenshot of iOS representation of equation in 'Negative frequency' article

iOS-recording-0407-005521.gif (960×540 px, 414 KB)

Event Timeline

Florian raised the priority of this task from to Needs Triage.
Florian updated the task description. (Show Details)
Florian subscribed.

I'm not sure the OTRS ticket is correct but I also don't speak that language :) I looked at the Fourier transform article for an example. Is the desired behavior to make the math formulas clickable like pictures or to make the whole page zoomable or something else?

Is the desired behavior to make the math formulas clickable like pictures or to make the whole page zoomable or something else?

To be able to click the formulas like an image. The goal is to make it possible to zoom into a formula, and I think that open them as an image is a better idea as zooming the whole page :)

RHo renamed this task from Impossible to zoom Math formulas to BUG: Math formulas are rendering at a extremely small size in the app and cannot be zoomed.Apr 6 2017, 11:27 PM
RHo added a project: Android-app-Bugs.
RHo updated the task description. (Show Details)
RHo subscribed.

Added more recent tickets and examples

Change 351840 had a related patch set uploaded (by Dbrant; owner: Dbrant):
[apps/android/wikipedia@master] Fix: no longer use custom CSS for handling math formulae.

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

Change 351913 had a related patch set uploaded (by Dbrant; owner: Dbrant):
[apps/android/wikipedia@master] [PoC] Render math formulas correctly on API <19.

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

Change 351840 merged by jenkins-bot:
[apps/android/wikipedia@master] Fix: no longer use custom CSS for handling math formulae.

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

Change 351913 merged by jenkins-bot:
[apps/android/wikipedia@master] Render math formulas correctly on API <19.

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

Dbrant claimed this task.
Dbrant subscribed.

please reopen if still an issue.