Page MenuHomePhabricator

Unintended Zoom Behavior and Font Size Issues when editing
Closed, ResolvedPublic

Assigned To
Authored By
ARamadan-WMF
Dec 17 2023, 9:25 AM
Referenced Files
F41608210: Screenshot_20231215_070859_Wikipedia.jpg
Dec 17 2023, 9:26 AM
F41608211: Screenshot_20231215_070907_Wikipedia.jpg
Dec 17 2023, 9:26 AM
F41608212: Screenshot_20231215_070836_Wikipedia.jpg
Dec 17 2023, 9:26 AM
F41608213: Screenshot_20231215_070754_Wikipedia.jpg
Dec 17 2023, 9:26 AM
F41608214: Screenshot_20231215_070828_Wikipedia.jpg
Dec 17 2023, 9:26 AM
F41608215: Screenshot_20231215_070748_Wikipedia.jpg
Dec 17 2023, 9:26 AM
F41608198: recurringappbreakingbug.zip
Dec 17 2023, 9:25 AM

Description

As much as I love Wikipedia, the android app is nearly unusable for editing. Each time I attempt to make a manual edit, the editor changes the zoom at random times. It is unrelated to the font-size function implemented in the editor, as the font size can still change through the pop-up menu but the zoom cannot. I can usually make about 2 sentences of changes before the zoom makes each visible line about 2 huge letters long. I have attatched screenshots of the issue in question at various stages. I'd be glad to provide any more information to solve this issue.

Screenshot_20231215_070748_Wikipedia.jpg (2×1 px, 501 KB)

Screenshot_20231215_070828_Wikipedia.jpg (2×1 px, 327 KB)

Screenshot_20231215_070754_Wikipedia.jpg (2×1 px, 275 KB)

Screenshot_20231215_070836_Wikipedia.jpg (2×1 px, 253 KB)

Screenshot_20231215_070907_Wikipedia.jpg (2×1 px, 185 KB)

Screenshot_20231215_070859_Wikipedia.jpg (2×1 px, 129 KB)

Event Timeline

@ARamadan-WMF What model/manufacturer of device are they using? What version of Android is used? Are they using the very latest version of the app?

I followed with the user, I will post the replies as soon as I receive them.

@Dbrant , the user's answer as follows:
I am using a Galaxy A13 with android version 13. My OneUI core version is 5.1. I am using what I understand to be the latest version, last updated on December 12th. The bug is still present as of December 19th.

Dbrant renamed this task from Bug: Challenges with Editing: Unintended Zoom Behavior and Font Size Issues to Unintended Zoom Behavior and Font Size Issues when editing.Dec 22 2023, 7:00 PM
Dbrant moved this task from Needs Triage to Bug Backlog on the Wikipedia-Android-App-Backlog board.

The same error occurs on a Galaxy S23, latest version of the Wikipedia app, using the OneUI version 6.0.

Some additional feedback from a user who is able to reproduce the issue:

  • The issue does not occur when syntax highlighting is turned off in settings (indicating it must have something to do with applying syntax Spans).
  • The issue does not occur when composing Talk messages (versus the article editing screen), even though the Talk message box uses the same component. This could indicate a couple of possible things:
    • Something about the layout hierarchy of the editing screen is causing the glitchiness of font sizes.
    • Something specifically about RelativeSizeSpan which is used in the syntax rule for article section titles, which are rendered in a larger font. Perhaps these spans are getting applied incorrectly, causing all of the text to be enlarged, and then being compounded on the next syntax highlighting pass?
Dbrant claimed this task.

Pretty sure this was fixed -- please reopen if there are further reports.