PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Items > item list > item tooltip improvement
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Lua
- Sterne
- 5.4k
- Forks
- 2.4k
- Ø Merge
- 1 T. 12 Std.
- Gemergte PRs (30 T.)
- 26
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den Einstiegspunkt für das Hover-Tooltip der Item-Liste und die Berechnung der Statistikdifferenzen mit Ctrl+D nachzuverfolgen, wobei du dich darauf konzentrierst, warum die Berechnungen beim Bewegen über Juwelen wiederholt werden. Vergleiche das Verhalten der Item-Liste mit dem im Issue beschriebenen Hover-Verhalten der Ausrüstung. Erledigt ist die Aufgabe, wenn Item-Tooltips nicht mehr ruckeln oder veraltete Zwischenergebnisse anzeigen, sobald Statistikdifferenzen aktiviert sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- lua
- Bereich
- desktop, performance
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 42/100