Re-enabling theming requires two restarts instead of one

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

维护者通常 1 天内回复

@nburnwal09 已经在做这个了。

开始于 2026年10月16日。

  • #4520 来自 @nburnwal09 —— 未关闭

评估

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

调研方向

Start by tracing the Appearance preferences flow that saves the Enable Theming setting and restores the selected theme after restart; the issue names no files or tests. Reproduce the disable, restart, re-enable, restart sequence in a clean workspace, then inspect the preference and startup paths involved. Done means the previously selected theme is applied after the first restart when theming is re-enabled.

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

描述

bug

After disabling theming and restarting, if the user re-checks Enable Theming and clicks Apply, Eclipse restarts. After that restart theming is active but no theme has been selected or applied. The user must open Preferences a second time, pick a theme, and restart again. Two restarts are required to get back to a themed state.

Steps to reproduce

From a fresh installation and clean workspace:

  1. Open Window → Preferences → General → Appearance with theming enabled.
  2. Uncheck Enable Theming, click Apply, and restart when prompted.
  3. After restart, open Window → Preferences → General → Appearance.
  4. Re-check Enable Theming, click Apply, and restart when prompted.
  5. Current Beha: Eclipse starts with theming on but no theme applied — the workbench has no CSS styling. User must open Preferences again, select a theme, and restart a third time.
  6. Expected: After step 4's restart, Eclipse starts with theming on and a theme already applied — one restart total.

Follow up to Issue: https://github.com/eclipse-platform/eclipse.platform.ui/issues/4502

Tested under this environment:

Eclipse SDK
Version: 2026-12 (4.42)
Build id: I20261015-2300
OS: Mac OS X, v.27.0.1, aarch64 / cocoa
Java vendor: IBM Corporation
Java runtime version: 26.0.1+8

主要语言
Java
星标
124
派生
269
平均合并
2 天 15 小时
30 天内合并 PR
64

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

eclipse-platform/eclipse.platform.ui 的其他 Issue

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

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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