Page MenuHomePhabricator

Source and preview getting out of sync on Firefox for Android
Open, Needs TriagePublicBUG REPORT


List of steps to reproduce (step by step, including full links if applicable):
Sorry, this one is pretty intermittent, may be hard to reproduce. Has happened to me around 5 times though.

  • Obtain an Android phone
  • Install Firefox for Android
  • Load
  • Get out of mobile, get into desktop mode by clicking the "Desktop View" link in the footer, if needed
  • (Possible unnecessary step, haven't tested with this off yet) Turn your phone to landscape orientation.
  • (Possible unnecessary step, haven't tested with this off yet) Click on ... -> Desktop site -> yes
  • Make sure DiscussionTools is enabled
  • Visit a talk page and reply to a thread. In case it is page/wikicode dependent, here is a specific URL where it happened to me, when replying to the message that starts with "@Novem Linguae just want to make sure you saw this thread.":
  • Make sure you are in the Source tab, not the Visual tab
  • Type some stuff. Then backspace. Then click around to a new spot. Type some more stuff. Cut and paste a little.
  • Occasionally the preview box will get out of sync with the text box, requiring not submitting and doing a page refresh to fix.

What happens?:

  • Garbled preview text
  • Text box sometimes becomes unresponsive to some or all inputs
  • I think the reply button stops working too, but not sure, I will need to test more
  • Sometimes typing and copy/pasting will suddenly expose mangled wikicode in the text box that was previously hidden

2022-02-18 08.02.58.png (1×2 px, 167 KB)

2022-02-18 08.03.25.png (1×2 px, 115 KB)

What should have happened instead?:

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

  • enwiki MediaWiki 1.38.0-wmf.22 (529f223)
  • DiscussionTools 0.0.0 (902a389)
  • Firefox for Android 97.2.0 (Build #2015863827)

Event Timeline

hi @Novem_Linguae – we appreciate you reporting this issue. If you're able to detect a pattern in what causes this issue to surface, please let us know. Until then, we're going to hold off on looking into this issue.

ppelberg added a project: Editing-team.
ppelberg moved this task from Untriaged to This Fiscal Year on the Editing-team board.

I confirm this bug is still present. Had it happen today. It affects both the live preview and the rendered text.