Theme `<colorOverride>`s are not honoured
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 124
- Fork
- 269
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 63
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của eclipse-platform/eclipse.platform.ui
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
eclipse-platform/eclipse.platform.ui#4125 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
eclipse-platform/eclipse.platform.ui#4016 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
eclipse-platform/eclipse.platform.ui#3892 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
eclipse-platform/eclipse.platform.ui#2687 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Default background color changed for "welcome" area contentCó thể đã có người làm @vogella đã nhận hôm nay. Đang mởbug regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 53/100
eclipse-platform/eclipse.platform.ui#4484 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của eclipse-platform/eclipse.platform.ui
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Flight SQL JDBC parses boolean properties case-sensitively, silently disabling TLS for useEncryption=TRUECó thể đã có người làm @Arawoof06 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
apache/arrow-java#1357 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
apache/rocketmq-dashboard#6610 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MetricsHub/metricshub-community#1396 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
L: java:gradle L: java:maven L: ruby:bundler T: bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
dependabot/dependabot-core#16547 ·
Maintainer thường phản hồi trong vòng 1 ngày