Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Dark mode] The Registers View does not display the icons properly in dark mode

未关闭
#2,308 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
java
领域
devtools, frontend

调研方向

先从 debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java 中的图标声明开始,然后在调试 .c 文件时使用 Eclipse 的深色主题和 Registers View 重现该问题。跟踪 1010/0101 图标的加载方式,并验证这些图标在浅色和深色主题中都清晰可见。

由索引模型根据 Issue 内容生成。

描述

bug

Description

The Registers View has a UI issue: the icon from the general registers is not visible in dark mode while debugging

Dark Theme Icon Visibility: The Registers View icons (1010/0101) are not visible in dark mode. The icons appear to be dark-colored on dark background, making them hard to see. This issue is particularly problematic in S32DS which uses Eclipse CDT's Registers View directly without modifications but applies a dark theme.

To Reproduce

Steps to reproduce the issue:
Enable dark theme in Eclipse (Window -> Preferences -> General -> Appearance -> Theme: Dark)
Open Registers View: 'Window -> Show View -> Debug -> Registers
Set a breakpoint in eclipse for a .c file and debug (registers view is not visible for .java files)
Select the suspended thread in Debug View
Observe that Registers View remains empty despite active debug context

Note: the icons are declared here

Expected behavior
Icon Visibility: The Registers View icons should be clearly visible in both light and dark themes. Icons should either:

Use theme-aware colors that adapt to the background
Use contrasting colors/borders that work on both light and dark backgrounds

Screenshots
In general registers, on the left side of the row there is a faint image of the icon. You can also see it at the top of the view, where it is more visible
Image

Version Information:

OS & version: Windows 11
Eclipse IDE/Platform version: Eclipse IDE 2023-12 (4.30.0)
Build id: 20231201-2043
CDT Version: 11.4.0
Java version: OpenJDK 17.0.9

主要语言
Java
星标
165
派生
174
平均合并
3 天 6 小时
30 天内合并 PR
44

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

eclipse-platform/eclipse.platform 的其他 Issue

查看 eclipse-platform/eclipse.platform 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。