Page MenuHomePhabricator

Icon duplication in Vector 2022 when browser font size larger than 16
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

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

  • Set browser default font size to a value larger than 16 (e.g. 18)
  • Open a page in Vector 2022

What happens?:

image.png (112×617 px, 6 KB)

image.png (82×842 px, 12 KB)

What should have happened instead?:
The icons should be displayed correctly.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
1.43.0-wmf.6 (5e1ad30)

Other information (browser name/version, screenshots, etc.):

Possible fix:

.vector-icon {
    background-repeat: no-repeat;
    background-position: center;
}

Derived Requirement

Ensure that icons in the Vector 2022 skin do not duplicate when the browser font size is set to a value larger than 16, and the user is logged in.

BDD

Feature: Icon Duplication in Vector 2022

  Scenario: Prevent icon duplication at larger font sizes when logged in
    Given the user is logged in
    And the user has set the browser default font size to a value larger than 16
    When the user opens a page in the Vector 2022 skin
    Then the icons should not duplicate

Test Steps

Test Case 1: Prevent Icon Duplication at Larger Font Sizes When Logged In

  1. Log in to Wikipedia.
  2. Set the browser default font size to a value larger than 16 (e.g., 18).
  3. Open a page in the Vector 2022 skin.
  4. AC1: Confirm that the icons do not duplicate.

QA Results - Beta

ACStatusDetails
1T365731#9831874

QA Results - PROD

ACStatusDetails
1T365731#9850622

Details

Event Timeline

Jdlrobson added a subscriber: Dcljr.
Jdlrobson subscribed.

Thanks for the clear replication steps! We will look into this shortly !

Change #1035800 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/Vector@master] Icons should not repeat at larger font sizes

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

Jdlrobson added a subscriber: Jdrewniak.

@Jdrewniak can you take a look at the proposed fix?

Change #1035800 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Icons should not repeat at larger font sizes

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

I agree. This is very ugly and unsettling, I came redirected after a reddit post I made, they answered linking to this issue, later they deleted the post. I don't know any way to contribute to this, but I'll thank to anyone who contributes to fix this.

Edtadros removed Edtadros as the assignee of this task.EditedMay 25 2024, 12:21 AM
Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: Beta
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Prevent Icon Duplication at Larger Font Sizes When Logged In

  1. Log in to Wikipedia.
  2. Set the browser default font size to a value larger than 16 (e.g., 18).
  3. Open a page in the Vector 2022 skin.
  4. AC1: Confirm that the icons do not duplicate.

screenshot 373.png (426×1 px, 167 KB)

Jdlrobson claimed this task.

Test Result - PROD

Status: ✅ PASS
Environment: PROD
OS: macOS Sonoma 4.5
Browser: Chrome 125
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Prevent Icon Duplication at Larger Font Sizes When Logged In

  1. Log in to Wikipedia.
  2. Set the browser default font size to a value larger than 16 (e.g., 18).
  3. Open a page in the Vector 2022 skin.
  4. AC1: Confirm that the icons do not duplicate.

2024-05-31_09-07-43.png (891×3 px, 614 KB)