Skip to content

Fix inverted sort icons in Oblivion, OblivionBlue, MaterialDesign and DarkBetter themes - #3255

Merged
xirvik merged 2 commits into
Novik:masterfrom
Randrage:fix-theme-sort-icons
Sep 5, 2026
Merged

Fix inverted sort icons in Oblivion, OblivionBlue, MaterialDesign and DarkBetter themes#3255
xirvik merged 2 commits into
Novik:masterfrom
Randrage:fix-theme-sort-icons

Conversation

@Randrage

@Randrage Randrage commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Fixes #3254

#2836 inlined each theme's asc.gif (asc.svg for DarkBetter) as --header-asc-icon. Before that change stable.js drew asc.gif on a descending sort, so in the Oblivion, MaterialDesign and DarkBetter themes that file is the down arrow, and ascending columns now show it. OblivionBlue, added later in #2914, reuses the Oblivion icon and has the same problem. The default theme and the Acid, Blue and Excel themes received new up-pointing icons in #2836 and are not affected.

This patch sets --header-asc-icon in the four themes to their desc image (pre-#2836 for the first three, the theme's own images/desc.gif for OblivionBlue), the up arrow these themes always showed for an ascending sort. One line per theme, no other changes.

Verified by decoding the four new data URIs (all point up, matching the base icon in css/stable.css) and on a v5.2.10 install with all four themes after a cache clear.

…emes

Novik#2836 inlined each theme's asc.gif (asc.svg for DarkBetter) as
--header-asc-icon. Before that change stable.js drew asc.gif on a
descending sort, so in these three themes the file is a down arrow and
ascending columns now show it, with the rotated copy on descending.

Use each theme's pre-Novik#2836 desc image instead. It is the up arrow these
themes always showed for an ascending sort. The default theme and the
Acid, Blue and Excel themes received new up-pointing icons in Novik#2836 and
are unaffected.
OblivionBlue reuses the Oblivion icon, which points down. Use the theme's
own desc.gif, the up arrow, for --header-asc-icon.
@Randrage Randrage changed the title Fix inverted sort icons in Oblivion, MaterialDesign and DarkBetter themes Fix inverted sort icons in Oblivion, OblivionBlue, MaterialDesign and DarkBetter themes Sep 4, 2026
@xirvik xirvik closed this Sep 5, 2026
@xirvik xirvik reopened this Sep 5, 2026
@xirvik
xirvik merged commit 85bf484 into Novik:master Sep 5, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sort icons are inverted in the Oblivion, OblivionBlue, MaterialDesign and DarkBetter themes

2 participants