HMCL-dev / HMCL-dev/HMCL

[Bug] 启动器在每次启动的时候,账号头像会闪烁一下

Open
#5,055 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

在每次打开 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.