Page MenuHomePhabricator

No-JS OOUI DropdownInputWidget arrow isn't visible in dark mode
Closed, ResolvedPublicBUG REPORT

Assigned To
Authored By
Jdlrobson
Jul 8 2024, 11:33 PM
Referenced Files
F57281577: image.png
Aug 19 2024, 5:09 PM
F57274489: Screen Shot 2024-08-14 at 3.41.58 PM.png
Aug 14 2024, 10:49 PM
F57274486: Screen Shot 2024-08-14 at 3.42.14 PM.png
Aug 14 2024, 10:49 PM
F57274480: Screen Shot 2024-08-14 at 3.39.57 PM.png
Aug 14 2024, 10:49 PM
F57274478: Screen Shot 2024-08-14 at 3.40.25 PM.png
Aug 14 2024, 10:49 PM
F56298959: image.png
Jul 8 2024, 11:33 PM

Description

Discovered during QA of T366372.
Steps to replicate the issue (include links if applicable):

What happens?:

image.png (586×2 px, 133 KB)

What should have happened instead?:

Arrow should be white

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

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

  • A quick fix would be to add the skin-invert and notheme classes to the element
  • Long term fix would be to use a component that is compatible with dark mode.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

It seems that the issue is not present anymore.
Checked in betalabs on the article that is linked in the task description - https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Polar_bear&action=edit&venoscript=1

"Watch this page" not checked - the arrow is visible"Watch this page" is checked - the arrow and the options are visible
Screen Shot 2024-08-14 at 3.40.25 PM.png (458×2 px, 106 KB)
Screen Shot 2024-08-14 at 3.39.57 PM.png (778×1 px, 205 KB)

Checked in wmf.17 - the results are the same as in the above screenshots.

Screen Shot 2024-08-14 at 3.42.14 PM.png (680×2 px, 152 KB)
for VE summary dialog
Screen Shot 2024-08-14 at 3.41.58 PM.png (1×1 px, 369 KB)

I can still see the issue with JavaScript disabled.

It's a problem with the no-JS OOUI widget, not specific to the watchlist. It can be reproduced everywhere that widget it used, e.g. https://en.wikipedia.beta.wmflabs.org/wiki/Special:Contributions as well.

image.png (2×3 px, 382 KB)

matmarex renamed this task from Watchlist expiry dropdown arrow isn't visible in dark mode to No-JS OOUI DropdownInputWidget arrow isn't visible in dark mode.Aug 19 2024, 5:10 PM
matmarex moved this task from Backlog to Next-up on the OOUI board.

This is the last OOUI dark-mode bug now, which makes me really want to fix it.

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

[oojs/ui@master] DropdownInputWidget: Redo dropdown arrow for compat with MediaWiki dark mode

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

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

[oojs/ui@master] DropdownInputWidget: Fix native `<select>` colors in dark mode

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

Change #1154867 merged by jenkins-bot:

[oojs/ui@master] DropdownInputWidget: Redo dropdown arrow for compat with MediaWiki dark mode

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

Change #1154872 merged by jenkins-bot:

[oojs/ui@master] DropdownInputWidget: Fix native `<select>` colors in dark mode

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

Change #1156368 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/core@master] Update OOUI to v0.52.0

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

Change #1156368 merged by jenkins-bot:

[mediawiki/core@master] Update OOUI to v0.52.0

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