PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Items > item list > item tooltip improvement
Nessuno ha ancora preso questa issue.
- Lingua principale
- Lua
- Stelle
- 5.4k
- Fork
- 2.4k
- Merge medio
- 1g 12h
- PR unite (30g)
- 26
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia tracciando il punto di ingresso del tooltip al passaggio del mouse sull’elenco degli oggetti e il calcolo delle differenze delle statistiche con Ctrl+D, concentrandoti sul motivo per cui i calcoli si ripetono spostandosi tra i gioielli. Confronta il comportamento dell’elenco degli oggetti con il comportamento al passaggio del mouse sull’equipaggiamento descritto nell’issue. Il lavoro è completato quando i tooltip degli oggetti non presentano più rallentamenti né mostrano risultati intermedi obsoleti quando le differenze delle statistiche sono abilitate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- lua
- Ambito
- desktop, performance
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Attiva
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 42/100