Page MenuHomePhabricator

[regression] ToC icons appears as black squares while assets are loading
Closed, ResolvedPublic

Description

While the page is loading, the expand/collapse icons in the ToC appears as black squares:

image.png (620×223 px, 19 KB)

Bisect blames https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/1118191 "styles: Remove transparent PNG fallback for .vector-icon"

Event Timeline

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

[mediawiki/skins/Vector@master] Revert "styles: Remove transparent PNG fallback for `.vector-icon`"

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

Aklapper renamed this task from [regrssion] ToC icons appears as black squares while assets are loading to [regression] ToC icons appears as black squares while assets are loading.Feb 26 2025, 6:28 PM

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

[mediawiki/skins/Vector@master] Table of contents icon shouldn't be a black square while loading

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

ovasileva raised the priority of this task from Medium to High.Feb 26 2025, 7:36 PM

Change #1123004 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Revert "styles: Remove transparent PNG fallback for `.vector-icon`"

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

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

[mediawiki/skins/Vector@master] Remove transparent PNG fallback for `.vector-icon`"

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

What's the status here? Do we need a cherry-pick to wmf.18 to unblock the train?

dduvall raised the priority of this task from High to Unbreak Now!.EditedFeb 27 2025, 7:34 PM

Just a reminder that all train blockers need to be UBN. If this isn't a blocker, please remove the parent task.

Jdlrobson-WMF lowered the priority of this task from Unbreak Now! to High.EditedFeb 27 2025, 7:57 PM
Jdlrobson-WMF subscribed.

It's not a train blocker. Sorry, didn't realize the ticket was created as a subtask. Phabricator doesn't make that obvious.

Wikipedia_arrow_color_bug-dark.png (650×273 px, 21 KB)
In dark mode, the black boxes become white. All I have to say in the matter.

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

[mediawiki/skins/Vector@wmf/1.44.0-wmf.18] Revert "styles: Remove transparent PNG fallback for `.vector-icon`"

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

Btw, the same is happening with the “appearance” logo (the button used to change theme from Light to Dark to Automatic)

A06B9760-507D-4701-AF0F-90B368633311.jpeg (1×1 px, 604 KB)

Actually, it's not just while loading. Some of the black squares stay for good, if there is no icon at all. For example, adding an entry to user menu does not allow to define icons yet, so instead of empty place we get this problem.

Screenshot_20250304_012810_Samsung Internet.png (536×579 px, 56 KB)

Actually, it's not just while loading. Some of the black squares stay for good, if there is no icon at all

Yeh that's an intentional feature. Please talk to the gadget developer to get that fixed.

What can be fixed here? I'm the developer.

What can be fixed here? I'm the developer.

Ping me on wiki on the gadget talk page using [[User:Jdlrobson]] (my volunteer account), not here.

Change #1123713 merged by jenkins-bot:

[mediawiki/skins/Vector@wmf/1.44.0-wmf.18] Revert "styles: Remove transparent PNG fallback for `.vector-icon`"

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

Mentioned in SAL (#wikimedia-operations) [2025-03-04T21:15:21Z] <jforrester@deploy2002> Started scap sync-world: Backport for [[gerrit:1123713|Revert "styles: Remove transparent PNG fallback for .vector-icon" (T358910 T387351)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-04T21:18:23Z] <jforrester@deploy2002> jforrester, jdlrobson: Backport for [[gerrit:1123713|Revert "styles: Remove transparent PNG fallback for .vector-icon" (T358910 T387351)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-03-04T21:25:34Z] <jforrester@deploy2002> Finished scap sync-world: Backport for [[gerrit:1123713|Revert "styles: Remove transparent PNG fallback for .vector-icon" (T358910 T387351)]] (duration: 10m 13s)

Jdlrobson-WMF claimed this task.

(Change has been backported)

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

[mediawiki/skins/Vector@master] Documentation: Add cautionary note based on previous regression

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

Change #1123395 abandoned by Jdlrobson:

[mediawiki/skins/Vector@master] Remove transparent PNG fallback for `.vector-icon`"

Reason:

Not a priority right now. Added a note for our future selves: https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/1125259?usp=search

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

Change #1125259 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Documentation: Add cautionary note based on previous regression

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

Change #1123018 abandoned by Jdlrobson:

[mediawiki/skins/Vector@master] Table of contents icon shouldn't be a black square while loading

Reason:

Not working on this right now.

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