[v1.3.0+] Tooltip Cleanup

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2009
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

[v1.3.0+] Tooltip Cleanup

#1 Post by Zizzo »

A Steam user reminded me of a long-standing minor annoyance with the inventory dialog: the tooltips for equipped items linger around long after you've stopped focusing on them, which can get in the way of other stuff you want to see. I've taken a stab at fixing this with my new Tooltip Cleanup addon. As a first pass, we arrange for the tooltip to be cleared when focus leaves the equipment slot frame that was tooltipping at us; handling tooltips on the inventory side would probably be trickier.

[And there's probably time to get this squeezed into ZOmnibus and/or ZOmnibus Lite for the 1.6 release, if people think it would be a good thing…]

[Technical notes:]

Code: Select all

Superload:
  engine.ui.EquipDoll:
    no_focus() [to clear the tooltip on frame unfocus]
    setInnerFocus() [overloaded, to help with the preceding]
    generateEquipDollFrames() [to help with the preceding]
"Blessed are the yeeks, for they shall inherit Arda..."

Slough
Cornac
Posts: 39
Joined: Wed Aug 14, 2019 4:51 pm

Re: [v1.3.0+] Tooltip Cleanup

#2 Post by Slough »

Hey zizzo Is this supposed to get tooltips out of the way?? Tooltips come up on the lower right corner, even if the mouse pointer is there. This is new since I started playing 1.7.2 with the new version, worked fine with 1.5.10 and the prior version. Unless it was a different thing earlier...

Zizzo
Sher'Tul Godslayer
Posts: 2009
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.3.0+] Tooltip Cleanup

#3 Post by Zizzo »

Slough wrote:Hey zizzo Is this supposed to get tooltips out of the way?? Tooltips come up on the lower right corner, even if the mouse pointer is there.
Currently this addon only affects tooltips in inventory dialogs; it clears tooltips for equipment items after focus leaves them. We don't touch the main corner tooltips.
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply