HMCL-dev / HMCL-dev/HMCL

[Bug] 版本选择列表在选择后不会退出 & 版本选择列表的鼠标输入判定区溢出 | Version selection list doesn't disappear after select a version & Mouse input area overflowed out of the widget

Open
#4,228 0 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

https://github.com/user-attachments/assets/52d92865-2302-4d9a-88e2-a612f76aad70

如视频中所展示的,版本选择列表在选择并保存后并不消失,而是可以继续选择另一个,并且它的鼠标输入判定区域溢出到了它的下面,导致无法通过点「启动游戏」按钮使其消失,启动游戏按钮直接点不到了(

As the video recorded, version selection list / instance selection list doesn't disappear after select a instance, you can select multiple times and it will save multiple times, and the mouse input area is overflowed, severely out of the widget, overlapped the 'Launch Game' button making it is unreachable unless you make your way to close the selection list

环境信息 / Runtime Environment:
ArchLinux rolling, Xanmod kernel, RTX4060 Mobile with nvidia-dkms, X11, Gnome, liberica-jdk11-full, AMD Ryzen R9-8945H with latest microcode

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

看起来没什么有效的信息
Seems to be no valuable information...

 - JRE 1.8.0_462 (x86-64, Unknown): /usr/lib/jvm/java-8-openjdk/jre/bin/java
 - JDK 11.0.22 (x86-64, BellSoft): /usr/lib/jvm/liberica-jdk-11-full/bin/java
 - JDK 17.0.16 (x86-64, Arch Linux): /usr/lib/jvm/java-17-openjdk/bin/java
 - JDK 21.0.8 (x86-64, Arch Linux): /usr/lib/jvm/java-21-openjdk/bin/java
 - JDK 24.0.2 (x86-64, Arch Linux): /usr/lib/jvm/java-24-openjdk/bin/java
[20:14:01] [@.task.Task.run/TRACE] Executing task: authlib-injector.jar
[20:14:01] [@.task.FileDownloadTask.beforeDownload/TRACE] Downloading https://authlib-injector.yushi.moe/artifact/53/authlib-injector-1.2.5.jar to /home/timicasto/Downloads/.hmcl/dependencies/universal/authlib-injector.jar
[20:14:01] [@.auth.microsoft.MicrosoftService.lambda$new$0/INFO] Fetching properties of b762015e-9045-4c11-9b3a-fcad8022c1ad
[20:14:01] [@.upgrade.IntegrityChecker.isSelfVerified/INFO] Successfully verified current JAR
[20:14:02] [@.auth.authlibinjector.AuthlibInjectorServer.refreshMetadata/INFO] authlib-injector server metadata refreshed: https://littleskin.cn/api/yggdrasil/
[20:14:02] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:02] [@.upgrade.UpdateChecker.lambda$requestCheckUpdate$2/INFO] Latest version (DEVELOPMENT) is [3.6.15.287 from http://mirrors.cloud.tencent.com/nexus/repository/maven-public/org/glavo/hmcl/hmcl-dev/3.6.15.287/hmcl-dev-3.6.15.287.jar]
[20:14:02] [@.auth.authlibinjector.AuthlibInjectorDownloader.update/INFO] Updated authlib-injector to 1.2.5
[20:14:04] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:15] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:15] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:45] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:46] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:46] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:46] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:47] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:47] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:47] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:47] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:48] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:48] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:49] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:49] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:14:51] [@.util.FileSaver.saveSync/INFO] Saving file /home/timicasto/Downloads/.hmcl.json
[20:17:13] [@.ui.construct.Navigator.navigate/INFO] Navigate to LauncherSettingsPage@6ed193ba[styleClass=gray-background]```

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

Reproduce the version or instance selection behavior shown in the attached video, including repeated saves and the overflowed mouse area blocking “Launch Game.” Start from the launcher UI navigation context shown in the log, which ends at LauncherSettingsPage, and verify that selecting and saving once closes the list, prevents duplicate saves, and leaves the launch button reachable.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.