Page MenuHomePhabricator

Scrollbars appear in popup on Minerva
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

What is the problem?

On the Minerva skin at certain zoom levels on Chrome, you can see scrollbars/arrows in the IPInfo popup.

Steps to reproduce problem
  1. Open Chrome
  2. Login as a user with IPInfo
  3. Go to a revision history page (e.g. https://en.wikipedia.beta.wmflabs.org/wiki/Barack_Obama_T173949?action=history)
  4. Open the IPInfo popup
  5. Zoom in until you see scrollbars in the popup (the exact zoom level you need will vary)
Environment

Browser: Chromium 87, Chrome 99
Wiki(s): https://en.wikipedia.beta.wmflabs.org IP Info 0.0.0 (500d7c1) 07:44, 18 March 2022.

Screenshots

scrollbars_chrome_zoom.png (263×378 px, 18 KB)

QA steps

QA in beta cluster

Expected: The text is readable and there are NO visual changes between the two (if not please check the versions of the wikis are different, and request a patchdemo to test this)

QA in production

Compare with this screenshot (taken prior to the change):

Screen Shot 2022-05-17 at 2.46.38 PM.png (1×2 px, 219 KB)

QA Results - Beta

ACStatusDetails
1T304148#7959119

QA Results - Prod

ACStatusDetails
1T304148#7981761

Event Timeline

AGueyte set the point value for this task to 2.Apr 4 2022, 5:11 PM

Change 787693 had a related patch set uploaded (by Steven Sun; author: Steven Sun):

[mediawiki/extensions/IPInfo@master] Disable scrollbars of infobox and popup

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

@dom_walden Is this still happening? I couldn't reproduce it using the link from the description, or locally (zooming up to 500%, Chrome 101).

@dom_walden Is this still happening? I couldn't reproduce it using the link from the description, or locally (zooming up to 500%, Chrome 101).

Yes, I can still reproduce this on Chrome 101 at most zoom levels.

The problem here is that Minerva has a selector dl dd { overflow: auto } for T160946. In my opinion this selector should be scoped down to just content, so we aren't have to undo do it downstream. I'm not sure why this isn't scoped to .content when the other rules in the file (lists.less) are. Maybe @Jdlrobson knows...

(note also that only Vector is actively maintained on desktop, so in general you do not need to prioritise desktop Minerva issues, although this could be an issue for future mobile support)

Change 788723 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/skins/MinervaNeue@master] Move dd scroll hack to .content scope

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

Request for web team to code review. Initial glance looks like this should be low risk.

Change 787693 abandoned by Steven Sun:

[mediawiki/extensions/IPInfo@master] Disable scrollbars of infobox and popup

Reason:

It will be fixed in upstream.

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

ovasileva triaged this task as Medium priority.May 9 2022, 10:16 AM

Change 788723 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Move dd scroll hack to .content scope

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

DLynch added a subscriber: cjming.

Will the anti harrasment team QA this or do they need web team to QA?

Will the anti harrasment team QA this or do they need web team to QA?

@Jdlrobson I can test that this has fixed the bug on IPInfo. However, to test whether this change has affected other parts of the Minerva skin I might need help.

@Esanders I am still seeing the bug for IPInfo popups and infoboxes on beta.

Example from Chrome 101 Windows 10 (emulated on Saucelabs), screensize 1920x1080, at 100% zoom:

minerva_scrollbars_chrome_101_1920x1080_100zoom.png (936×1 px, 150 KB)

Infobox on Chrome 101 Windows 10 (emulated on Saucelabs), screensize 1280x1024, at 100% zoom:

minerva_scrollbars_infobox_chrome_101_1280x1024_100zoom.png (1×1 px, 59 KB)

https://en.wikipedia.beta.wmflabs.org MinervaNeue – (4519cd6) 06:31, 17 May 2022.

Change 793049 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/skins/MinervaNeue@master] Follow-up I24090527: Add .mw-parser-output scope to limit to parsed output

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

Change 793049 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Follow-up I24090527: Add .mw-parser-output scope to limit to parsed output

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

@Edtadros I have tested the affect of this change on the IPInfo extension. Do you need any help testing the rest of the Minerva skin?

I cannot reproduce this anymore. I have tested the IPInfo popup and infobox on Minerva on:
Browsers:

  • Chromium 87 (local machine)
  • Firefox 91 (local machine)
  • Chrome 101 (windows 10, emulated)
  • Chrome 100 (macOS catalina, emulated) (only tested revision history)

Pages:

  • Revision history
  • Recent Changes
  • Special:Log
  • Wishlist
  • Special:Contributions

Zoom:

  • 100% to 300%

Test environment: https://en.wikipedia.beta.wmflabs.org MinervaNeue – (6beae7b) 06:27, 24 May 2022.

@dom_walden That's very thorough. I don't need any assistance. The QA steps are very straight forward.

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Monterey
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

Compare https://en.m.wikipedia.org/wiki/User:Jdlrobson/sandbox with https://en.m.wikipedia.beta.wmflabs.org/wiki/User:Jdlrobson/sandbox (@Jdlrobson I'm assuming the steps meant to use the mobile site. If I'm wrong let me know and I will retest.)

✅ AC1: The text is readable and there are NO visual changes between the two (if not please check the versions of the wikis are different, and request a patchdemo to test this)

Screen Recording 2022-05-25 at 7.50.53 PM.mov.gif (1×1 px, 422 KB)

Edtadros added a subscriber: Edtadros.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Monterey
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

Compare https://en.m.wikipedia.org/wiki/User:Jdlrobson/sandbox with to the screenshot in the description.

✅ AC1: The text is readable and there are NO visual changes between the two

Screen Shot 2022-06-05 at 5.56.59 PM.png (813×1 px, 91 KB)

Looks good! Resolving