Tooltips does not work with 9.1.5
Titan Panel is an AddOn for the MMORPG World of Warcraft
Brought to you by:
honorgog
Tooltips do not work with 9.1.5. Game generates an error:
Interface\\AddOns\\Titan\\TitanPanelTemplate.lua:114: attempt to call method 'GetBackdropColor' (a nil value)
It appears GameTooltip does not inherit BackdropTemplate anymore and TooltipBackdropTemplateMixin should be added explicitly to it and new tooltips frame should be used.
I've fixed it partially by adding
into TitanPanel.lua and replacing
GameTooltip
withTitanPanelTooltip
everywhere (LDBToTitan.lua, TitanPanel.lua, TitanPanelTemplate.lua) but tooltips have weird background color with such change, initial part of text in them is also missing (have no foreground color I believe) and performance has no tooltip at all.Performance plugin has own tooltip mechanics, fixed its appearance there.
Resolved that. Changing line in TitanPanel.xml into
and dropping that added line above fixed tooltips. Please, release fixed version ASAP (9.1.5 will be released on November 2, you know).
Just for clarification:
1) add the mixin to XML file
2) replace all GameTooltip with TitanPanelTooltip
all that is needed to fix this issue.
You are correct, blizzard did change the GameTooltip. We'll see if developers take backdrops in a different direction in the future.
Thanks for the suggestions! Our change was a bit different but effective.
Testing now.
You are right, no need in so much changes, just a line into TitanPanel.lua
is enough.
Your latest complicate change broken the transparency of tooltips - setting value to 0 in configuration does not change tooltips to have transparent background, it's still opaque.
The solution with
Mixin(...)
works correctly though, I have all tooltips with exact transparency I've set in configuration.Last edit: Lonely Stranger 2021-11-02