[Feature] 为实例列表中的游戏文件夹路径添加 Tooltip
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 10.1k
- Forks
- 934
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 82
Description
概述 | Summary
- 为
GameDirectoryListItemSkin中TwoLineListItem的 副标题(即 游戏文件夹路径 )添加Tooltip。 - 效果类似
AccountListItemSkin中外置登陆账号条目的副标题。
原因 | Reason
- 游戏路径往往会被截断,显示为省略号,使用
Tooltip可以快速查看。
详情 | Description
- 由于
TwoLineListItem中setMouseTransparent(true),为副标题使用Tooltip.install(...)会因为 穿透 而 无效 ; AccountListItemSkin能够实现类似效果,但其条目自行构造,而不是使用TwoLineListItem,故不能照抄;- 不建议为
GameDirectoryListItemSkin的root挂载Tooltip,这会在几乎整个条目触发Tooltip; - 初步测试,貌似使用
setMouseTransparent(false)与 事件转发 (skinnable::fire) 不能够触发RipplerContainer的水波纹动画。
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 GameDirectoryListItemSkin and its TwoLineListItem subtitle, then compare how AccountListItemSkin provides a tooltip for its subtitle. Check the interaction between mouse transparency, event forwarding, and RipplerContainer. Done means the full game-folder path appears when hovering only the subtitle, while the list item's ripple animation still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100