[Bug] 启动器在每次启动的时候,账号头像会闪烁一下
Open
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
在每次打开 HMCL 启动器的时候,账号前面的头像会闪烁一下。刚开始显示的是默认头像(如 Steve ),而后才闪烁为个性化皮肤的头像。
启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File
https://github.com/user-attachments/assets/03a3248a-c710-4dfd-835f-22500ac4d5f0
以上为表现视频,可以明显看出有闪烁
hmcl-exported-logs-2025-12-23T21-04-41.zip
(附上 log ,虽然不知道这个有什么关系)
修改建议(?)
可以本地缓存头像,每次启动的时候优先调用缓存头像而不是调用默认头像,而后再检测皮肤是否存在更改以确定最终头像。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are identified. First reproduce the launcher startup and trace how the account avatar changes from the default image to the personalized skin. Done means the cached or previously known avatar is shown without a visible flash, while later skin changes still update the displayed avatar.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100