Thread Tools Display Modes
06/19/22, 02:56 AM   #1
vazelle
Join Date: Apr 2022
Posts: 3
Tooltips Missing Elder Bar

Hello first time posting here and sorry if I made mistake. I want to try to fix https://www.esoui.com/downloads/info...rReloaded.html myself while waiting for the author to update it because the bar tooltips don't show after the High Isle update.

Learn a bit of addon coding yesterday and gather some clues from other addons with a similar issue and I think it's about draw layer stuff which I'm still in process of learning. Can anyone guide me or show me how to make the addon tooltips work again? Thanks before.

Last edited by vazelle : 06/19/22 at 07:14 AM.
  Reply With Quote
06/19/22, 09:43 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Find the control where the tooltip shows on as you move the mouse above, we will name it "<control>" here.
Either search in the lua files for OnMouseEnter or at the XML files for that.
This control could be a button and a texture control, which should be behind the button, shows above it now -> making the texture intercept the OnMouseEnter of the button and thus it looks as if nothing happens anymore as you move the mouse above that control.

To fix this, and you are right, you need to set the draw tier/layer/level of the button to something higher than the texture, which should show behind the button.
You can do this by changing
Lua Code:
  1. <control>:SetDrawTier(DT_MEDIUM)
  2. <control>:SetDrawLayer(DL_CONTROLS)
  3. <control>:SetDrawLevel(1)
Or if the control is defined in XML only you must add the attributes at the XML line where that control is defined, e.g.
Code:
<BUTTON name="<control>" ... tier="MEDIUM" layer="CONTROLS" level="1" ...
  Reply With Quote
06/19/22, 09:46 PM   #3
vazelle
Join Date: Apr 2022
Posts: 3
Sir Baertram you're a genius! I love you man I'm able to fix this myself OMG. Can post the fix here or at the mod page if anyone wants. Thank you so much again.

Prove

Last edited by vazelle : 06/19/22 at 10:11 PM.
  Reply With Quote
06/19/22, 10:43 PM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
You are welcome. Glad it worked.

Post it to the addon comments at best so the dev sees it at a glance and would be able to update, if/once returned.
  Reply With Quote
06/19/22, 11:00 PM   #5
vazelle
Join Date: Apr 2022
Posts: 3
Thumbs up

Roger that and done, thanks again sir
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Tooltips Missing Elder Bar

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off