Skip to content

Windows 11 上标题栏颜色应当跟随主题模式设置#4910

Merged
Glavo merged 4 commits intoHMCL-dev:mainfrom
Glavo:dark-title-bar
Dec 3, 2025
Merged

Windows 11 上标题栏颜色应当跟随主题模式设置#4910
Glavo merged 4 commits intoHMCL-dev:mainfrom
Glavo:dark-title-bar

Conversation

@Glavo
Copy link
Member

@Glavo Glavo commented Dec 2, 2025

No description provided.

@3gf8jv4dv
Copy link
Contributor

这个修复对 Windows 10, version 1809 ~ 2004 (22H2) 有效吗?如有,希望能稍微放宽版本要求。

Copy link
Contributor

@3gf8jv4dv 3gf8jv4dv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

试了一下,完美啊!

(在 Windows 11 上试的)

@Glavo
Copy link
Member Author

Glavo commented Dec 2, 2025

这个修复对 Windows 10, version 1809 ~ 2004 (22H2) 有效吗?如有,希望能稍微放宽版本要求。

根据微软的文档(DWMWINDOWATTRIBUTE 枚举),这是 Windows 11(内部版本 22000)引入的新功能。Windows 10 应该不支持这项功能。

@Glavo Glavo merged commit 7ac22ad into HMCL-dev:main Dec 3, 2025
2 checks passed
@Glavo Glavo deleted the dark-title-bar branch December 3, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] 日志窗口:启动器使用深色模式时,无论系统主题为亮色还是暗色,标题栏均显示为亮色

2 participants