frozn / TipTac

WoW AddOn TipTac Reborn
GNU General Public License v3.0
108 stars 20 forks source link

Interactable world object tooltips disappear when getting in range/going out of range of the object #218

Open entroscopy opened 1 year ago

entroscopy commented 1 year ago

Interactable world object tooltips disappear when you approach them close enough to interact and when you go out of range of the object. Could be tied to the "instantly hide world frame tips" option since it doesn't happen with that option off.

Steps to reproduce the behavior:

  1. Enable "instantly hide world frame tips"
  2. Approach an interactable world object (mailbox, meeting stone, portal, etc) while hovering over it with the cursor
  3. The tooltip disappears the moment you get in range to interact with it (same happens if you get out of range)

Expected behavior: Tooltip should persist when getting into/going out of range of the object.

TipTac Reborn

WoW

Also noticed the "instantly hide world frame tips" option seems to be a bit buggy. If you disable the option while in game, it seems to get stuck "off" regardless if the option shows a checkmark or not, until UI reload.

frozn commented 1 year ago

Confirmed.

The thing is: Event WORLD_CURSOR_TOOLTIP_UPDATE only exists in Retail flavor. For WotlKC or Classic Era there's only event CURSOR_UPDATE, but there's no payload to determine if you're moving out of the object (switching to default cursor) or the cursor changed while still hovering over the object (like if you're getting in or out of range).

I think this can only be solved for Retail...

frozn commented 1 year ago

Oh, the error that you have to reload the UI if you disable the checkbox will be fixed with the next release.