Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Items > item list > item tooltip improvement

未关闭
#10,308 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
lua

调研方向

首先跟踪物品列表悬停工具提示的入口点,以及使用 Ctrl+D 进行属性差异计算的流程,重点关注在不同宝石之间移动时计算为何会重复。将物品列表的行为与 issue 中描述的装备悬停行为进行比较。启用属性差异后,物品工具提示不再卡顿或显示过时的中间结果,即表示完成。

由索引模型根据 Issue 内容生成。

描述

enhancement
Check for duplicates
  • I've checked for duplicate open and closed issues by using the search function of the issue tracker
What platform are you running Path of Building on?

Windows

Is your feature request related to a problem?

Since 2.67 I've noticed the item tooltip hitching when mouse is moving over the list of items while "display of stats differences" is turned on.

Describe the solution you'd like

I just want it to work smoothly.
The Ctrl +D "display of stats differences" thing is a great feature, there should be no need to repeatedly turn it on and off.
The way you may implement the fix is up to you.

Describe alternatives you've considered

Those are separated thoughts, I'm not familiar with PoB architecture and don't know what would be the best way:

  1. The calculation result of the "stats differences" could be cached until the build is actually changed, thus the 2nd tooltip should not lag at all.
  2. The item tooltip should expand dynamically, the static content should be displayed as it currently does and the calculated "stats differences" part appear when it's done.
  3. The item tooltip needs a natural delay when hovering over item list, thus the calculations are not repeated on every mouse movement event and rather done when mouse has stopped over the item for a realistic period (like 130ms)
Additional context

It works fine when hovering over equipment, but it chugs over jewels.

Fine:
Image

Not fine:
Image

That Glorious Vanity tootip is delayed by 1.6 seconds, it flashes briefly and then it's replaced instantly with Impossible escape tootip. Kinda pointless.

主要语言
Lua
星标
5.4k
派生
2.4k
平均合并
1 天 12 小时
30 天内合并 PR
26

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PathOfBuildingCommunity/PathOfBuilding 的其他 Issue

查看 PathOfBuildingCommunity/PathOfBuilding 的全部 Issue

相似的 Issue

更多 Lua Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。