Skip to content

Tree and item skill tooltips#9892

Merged
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
vaisest:tooltips
Jul 20, 2026
Merged

Tree and item skill tooltips#9892
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
vaisest:tooltips

Conversation

@vaisest

@vaisest vaisest commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

Ports tree tooltips from PathOfBuildingCommunity/PathOfBuilding-PoE2#1969, although the tooltip code is mostly as it was in pob1.

Also ports item tooltips from PathOfBuildingCommunity/PathOfBuilding-PoE2#2208. I'm not sure this was done correctly. In pob2 I found a skill gem for each item skill, but in pob1 I couldn't, which means the skill tooltips don't have tags etc. These are shown when shift is held.

"Socketed gems are supported by #" mods are also included in the tooltips.

Flavour text was also added. Credit for the code goes to Blitz54 in PoB2

Quality ranges and level ranges were NOT added as it seems like the tree and items always grant the same level, and there's afaik no way to add quality to them.

Steps taken to verify a working solution:

  • Many tooltips hovered over
  • No automated tests

I think the core functionality is working properly, but there are little things like tooltip positioning and gaps which are frankly sometimes complete nonsense and a massive pain in the ass. These might still be wrong. For example the height received from GetSize just doesn't match up and produces different-sized gaps for different tooltips.

I'm also not sure if there could be some style changes similar to what @Blitz54 did in PathOfBuildingCommunity/PathOfBuilding-PoE2#1992.

Link to a build that showcases this PR:

Item database

Before screenshot:

After screenshot:

image image image image image image image

@vaisest vaisest changed the title Add global API type hints Tree and item skill tooltips Jun 22, 2026
@vaisest

vaisest commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

I've rebased this to dev so that it doesn't depend on other PRs anymore.

@LocalIdentity LocalIdentity added the enhancement New feature, calculation, or mod label Jul 20, 2026
When hovering over a skill node then a mastery on the tree it would retain the skill tooltip
Vaal skills no longer duplicate the level / quality / requirements lines
Fixed crash when using Runegraft of Blasphemy as it has an empty ExtraSkill entry
Simplify the gem lookup
@LocalIdentity
LocalIdentity merged commit 803b0d2 into PathOfBuildingCommunity:dev Jul 20, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants