PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Items > item list > item tooltip improvement
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 5.4k
- フォーク
- 2.4k
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 26
説明
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:
- 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.
- 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.
- 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:
Not fine:
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、アイテム一覧のホバーツールチップのエントリーポイントと Ctrl+D によるステータス差分の計算を追跡し、ジュエル間を移動した際に計算が繰り返される理由に注目してください。アイテム一覧の挙動を、issue で説明されている装備のホバー挙動と比較してください。ステータス差分を有効にしたときに、アイテムのツールチップで処理が引っかかったり、古い中間結果が表示されたりしなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- desktop, performance
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 42/100