PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Items > item list > item tooltip improvement
Personne n'a encore pris cette issue.
- Langage dominant
- Lua
- Étoiles
- 5.4k
- Forks
- 2.4k
- Merge moyen
- 1 j 12 h
- PR mergées (30 j)
- 26
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par suivre le point d’entrée du tooltip au survol de la liste d’objets ainsi que le calcul des différences de statistiques avec Ctrl+D, en vous concentrant sur la raison pour laquelle les calculs se répètent lors du déplacement sur les joyaux. Comparez le comportement de la liste d’objets avec le comportement au survol de l’équipement décrit dans l’issue. Le travail est terminé lorsque les tooltips des objets ne provoquent plus de saccades et n’affichent plus de résultats intermédiaires obsolètes lorsque les différences de statistiques sont activées.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- lua
- Domaine
- desktop, performance
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Active
- Clarté
- À clarifier
- Accessibilité débutants
- 42/100