Page MenuHomePhabricator

Talk page sections "freeze" and don't open up on Android when JS doesn't load correctly
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

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

  • Verified for Firefox, but unsure what other browsers are impacted as well. To replicate go to talk page sections on Android mobile web, using MinervaNeue.

What happens?:
Talk page sections "freeze" and don't open up on Android mobile web, using MinervaNeue.

See more details in this discussion: https://en.wikipedia.org/wiki/Wikipedia_talk:Mobile_communication_bugs#Some_observations

What should have happened instead?: Talk page sections should not freeze and they should always open up

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia): Android mobile web, using MinervaNeue.

Other information (browser name/version, screenshots, etc.): Verified for Firefox, but unsure what other browsers are impacted as well.

QA steps

slow3g.gif (832×1 px, 468 KB)

slow3g.gif (832×1 px, 978 KB)

Description Text

Requirement

Ensure that talk page sections on Android mobile web, using MinervaNeue, do not freeze and can be opened even when JavaScript doesn’t load correctly.

BDD

Feature: Talk page section behavior on Android mobile web

  Scenario: Expand talk page sections when JavaScript doesn't load correctly
    Given the user is on Android mobile web using the MinervaNeue skin
    And the connection speed is limited to 3G
    When the user visits a talk page
    And the page is switched to offline mode after rendering
    Then the user can expand a section without it freezing

Test Steps

Test Case 1: Verify Talk Page Sections Expand Without Freezing

  1. Open the browser developer tools and go to the Network tab.
  2. Set the connection speed to 3G.
  3. Navigate to the talk page: Talk:Tony Hawk’s Underground.
  4. Wait for the page to render completely.
  5. Switch the browser to offline mode.
  6. Attempt to expand a talk page section.
  7. AC1: Confirm that the section expands without freezing or any errors.

QA Results - Beta

ACStatusDetails
1T377389#10362636

QA Results - Prod

ACStatusDetails
1T377389#10396266

Event Timeline

using Vector 2022 with MinervaNeue

This just doesn’t make sense: both Vector 2022 and MinervaNeue are skins, you can use only one or the other at a time. If I understand the discussion correctly, the report is only about MinervaNeue – the only way Vector 2022 is connected to this story is that the reporter set that in their preferences, but the MobileFrontend extension ignores that, forcing one to use MinervaNeue instead.

Do you only see this problem on talk pages? I've experienced something similar with articles, where if my mobile connection is poor, the article sections sometimes don't expand.

Thanks for calling this out @Tacsipacsi - ticket updated to only include mention of MinervaNeue to avoid confusion.

Change #1088287 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/MobileFrontend@master] Restore styles to support "interim toggling"

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

That fixes the problem I encountered. I hope it's the same as yours.

That fixes the problem I encountered. I hope it's the same as yours.

Thank you, BD.

@SonjaPerry in description it says you were able to verify this on Firefox. Was this Firefox mobile or on your laptop? Could you provide some URLs where you were seeing this behaviour?

Web team can take a look at this next week.

@Jdlrobson I didn't attempt to reproduce this, but went with what User:andrybak and User:Clovermoss posted here: https://en.wikipedia.org/wiki/Wikipedia_talk:Mobile_communication_bugs#Some_observations

Jdlrobson renamed this task from Talk page sections "freeze" and don't open up on Android to Talk page sections "freeze" and don't open up on Android when JS doesn't load correctly.Wed, Nov 13, 11:33 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson set the point value for this task to 2.

Change #1088287 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Restore styles to support "interim toggling"

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

Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: Beta
OS: Android
Browser: Firefox
Device: Mobile
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Verify Talk Page Sections Expand Without Freezing

  1. Open the browser developer tools and go to the Network tab.
  2. Set the connection speed to 3G.
  3. Navigate to the talk page: Talk:Tony Hawk’s Underground.
  4. Wait for the page to render completely.
  5. Switch the browser to offline mode.
  6. Attempt to expand a talk page section.
  7. AC1: Confirm that the section expands without freezing or any errors.

screenshot 32.mov.gif (1×1 px, 688 KB)

ovasileva claimed this task.
ovasileva subscribed.

Resolving this! @SonjaPerry - feel free to reopen if there's anything missing!

Test Result - Prod

Status: ❓ Need more info
Environment: enwiki
OS: Android
Browser: Chrome
Device: MS
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Verify Talk Page Sections Expand Without Freezing

  1. Open the browser developer tools and go to the Network tab.
  2. Set the connection speed to 3G.
  3. Navigate to the talk page: Talk:Tony Hawk’s Underground.
  4. Wait for the page to render completely.
  5. Switch the browser to offline mode.
  6. Attempt to expand a talk page section.
  7. AC1: Confirm that the section expands without freezing or any errors.

@Jdlrobson, I'm not sure if this is a pass/fail. I would assume fail because I see errors in the console.

screenshot 38.mov.gif (1×960 px, 1 MB)

It looks like it's working to me.

Side note: In your video it looks like you switch to offline too late. It needs to happen the instant the page renders. You can ignore the console "errors" those are due to HTTP requests to images that cannot be requested when you are offline and unrelated.

Testing this it seems I can only expand the sections in this situation. Once they are open they cannot be closed again... the handler seems to continuously add open-section the section elements.

Test Result - Prod

Status: ✅ Need more info
Environment: enwiki
OS: Android
Browser: Chrome
Device: MS
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Verify Talk Page Sections Expand Without Freezing

  1. Open the browser developer tools and go to the Network tab.
  2. Set the connection speed to 3G.
  3. Navigate to the talk page: Talk:Tony Hawk’s Underground.
  4. Wait for the page to render completely.
  5. Switch the browser to offline mode.
  6. Attempt to expand a talk page section.
  7. AC1: Confirm that the section expands without freezing or any errors.

Per T377389#10398549, this is a pass

screenshot 52.mov.gif (1×1 px, 1 MB)