游戏结束自动打开时意外的窗口状态
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 10.1k
- Forks
- 934
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 82
Description
启动器版本 Launcher Version
3.5.3.227
平台 Platform
Windows11 21H2 22000.1219
问题描述 Problem Description
在将启动器行为设置成隐藏启动器并在游戏结束后重新打开后, 较低概率出现和下图完全相同的窗口状态

此时只能通过任务栏或任务管理器关闭, 且点击可交互的反馈页面按钮后HMCL会变成下图的只有顶栏的奇怪状态(这样是可以点关闭按钮关闭的)

这些窗口状态的优先层级依然正常, 仅仅只是没有除重启外的恢复方式.
注: 错误发生时有两个HMCL实例同时运行, 上传时关闭了未出错的实例, 保留了出错实例并没有关闭. 出错实例启动的游戏版本命名为1.18.2-YSM, 未出错实例启动的游戏版本命名为1.18.2
Java
Oracle JDK 17.0.1
游戏版本 Game Version
1.18.2
对游戏所做的修改 Modifications Made to the Game
OptiFine HD_U_H6
游戏崩溃报告 Game Crash Report
No response
启动器崩溃报告 Launcher Crash Report
No response
启动器日志文件 Launcher Log File
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
Start with the attached hmcl.log and inspect the launcher window lifecycle on Windows when it is hidden and reopened after the game exits. Reproduce the case with two HMCL instances if possible, then determine which window states produce the blank or title-bar-only window. Done means the launcher reliably reopens in a usable state and the feedback and close controls remain functional.
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
- Needs clarification
- Newbie friendliness
- 32/100