Theme `<colorOverride>`s are not honoured
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by comparing the colorDefinition and colorOverride entries in bundles/org.eclipse.ui/plugin.xml, then read pull request #2421, which the issue identifies as a possible regression source. Reproduce the behavior with the Reduced Palette theme and check how Reset and Reset Defaults behave under a non-default theme. Done means overrides are honored and resets restore the appropriate theme colors instead of black.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Let's make sure issue is not already fixed in latest builds first.
- I verified I can reproduce this issue against latest Integration Build of Eclipse SDK
Summary
Theme <colorOverride>s are not honoured.
It seems that theme <colorOverride>s are not honoured. This can be reproduced using the built-in "Reduced Palette" Color and Fonts theme.
Steps to reproduce
Using the ERROR_COLOR <colorDefinion> as an example, the base theme defines it as COLOR_RED:
https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/bundles/org.eclipse.ui/plugin.xml#L1611
<colorDefinition
label="%Color.errorText"
value="COLOR_RED"
categoryId="org.eclipse.ui.workbenchMisc"
id="ERROR_COLOR">
<description>
%Color.errorTextDesc
</description>
</colorDefinition>
And the Reduced Palette theme has an override as COLOR_LIST_FOREGROUND:
https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/bundles/org.eclipse.ui/plugin.xml#L1925
<colorOverride
id="ERROR_COLOR"
value="COLOR_LIST_FOREGROUND"/>
When the Reduced Palette theme is active, the preference still appears as red:
Default theme:
Reduced palette theme:
Secondly, when non-default themes are active, hitting 'Reset' defaults to BLACK. Hitting 'Reset Defaults' sets BLACK for most color preferences and make the IDE relatively unusable.
This seems like a regression of https://github.com/eclipse-platform/eclipse.platform.ui/pull/2421. At least since 2023-12 (4.30.0).
Tested under this environment:
- OS & version: Ubuntu 22.04 & MacOS 15.5
- Eclipse IDE/Platform version (as shown in Help > About): 2025-12 (4.38.0) & 2023-12 (4.30.0) - though the second part is not an issue in 2023-12.
Community
- I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.
- Lingua principale
- Java
- Stelle
- 124
- Fork
- 269
- Merge medio
- 2g 2h
- PR unite (30g)
- 70
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di eclipse-platform/eclipse.platform.ui
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
eclipse-platform/eclipse.platform.ui#4125 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
eclipse-platform/eclipse.platform.ui#4016 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
eclipse-platform/eclipse.platform.ui#3892 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
eclipse-platform/eclipse.platform.ui#2687 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
eclipse-platform/eclipse.platform.ui#4487 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di eclipse-platform/eclipse.platform.ui
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug new windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
iOS podspec depends on `React-Codegen`, which resolves to an unrelated pod on CocoaPods trunkAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
GantMan/jail-monkey#380 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
objectionary/jucs#145 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
objectionary/lints#1559 ·
I maintainer di solito rispondono entro 2 giorni