HMCL-dev / HMCL-dev/HMCL

[Bug] 在主题模式为「跟随系统设置」时,更改系统的亮暗色后,一些 tooltip 的字号会出现变化

Open
#4,909 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

问题描述 | Bug Description

commit: 74ec4aa

Windows 11, version 25H2 (26200.7309) / LibericaJDK-25-Full

首先按标题所述设置 HMCL 的主题模式。

然后在 Windows 设置中的「个性化」部分,把颜色模式改一下。

改完后前往 HMCL 的「账户」页,鼠标放在右侧账户条目的任意一个操作按钮。

Before After
Image Image

如第二张图所示,这时候 tooltip 的字号会变得很小。

如果把鼠标放开,再放到其他的按钮上呢?大概率也变小了。

如果把鼠标放开,再次放到同一个按钮上呢?哎哟恢复了(变大了)。

不确定是否有修复的必要,先发出来。

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Reproduce the issue on the HMCL account page by switching Windows between light and dark color modes while HMCL follows the system setting, then trace the tooltip and theme-handling entry points. Done means tooltip text keeps a consistent font size after the system theme changes and when hovering the same or different account actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.