Theme `<colorOverride>`s are not honoured
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Java
- スター
- 124
- フォーク
- 269
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 70
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-platform/eclipse.platform.ui のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
eclipse-platform/eclipse.platform.ui#4125 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
eclipse-platform/eclipse.platform.ui#4016 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
eclipse-platform/eclipse.platform.ui#3892 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
eclipse-platform/eclipse.platform.ui#2687 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
eclipse-platform/eclipse.platform.ui#4487 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
eclipse-platform/eclipse.platform.ui の issue をすべて見る
似ている issue
-
`timer` rule rejects dates the engine accepts対応中かも @MFA-G が今日担当しました。 オープンbug ready
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
camunda/bpmnlint-plugin-camunda-compat#281 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
status: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
AOT compilation fails for derived delete queries returning Set対応中かも @ryujungkyun が今日担当しました。 オープンstatus: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
spring-projects/spring-data-jpa#4387 ·
メンテナーはふだん 3 日以内に返信