[Bug] HookScript is not allowed on LibQTip tooltips
Varezen opened this issue ยท 7 comments
Describe the bug
Whenever I mouse over my current spec, I get this error message on Retail.
Message: :HookScript is not allowed on LibQTip tooltips
Time: Mon Apr 29 15:25:39 2024
Count: 1
Stack: :HookScript is not allowed on LibQTip tooltips
[string "@Interface/AddOns/XFaction/Library/LibQTip-1.0/LibQTip-1.0.lua"]:706: in function HookScript' [string "@Interface/AddOns/ElvUI/Core/General/Toolkit.lua"]:156: in function
SetTemplate'
[string "@Interface/AddOns/XIV_Databar_Continued/Mainline/modules/talent.lua"]:40: in function SkinFrame' [string "@Interface/AddOns/XIV_Databar_Continued/Mainline/modules/talent.lua"]:826: in function
ShowTooltip'
[string "@Interface/AddOns/XIV_Databar_Continued/Mainline/modules/talent.lua"]:395: in function <...ns/XIV_Databar_Continued/Mainline/modules/talent.lua:388>
Locals: self = Frame {
0 =
OnBackdropLoaded = defined @Interface/SharedXML/Backdrop.lua:152
GetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:390
key = "TalentTooltip"
SetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:422
template = "Transparent"
scrollChild = Frame {
}
ApplyBackdrop = defined @Interface/SharedXML/Backdrop.lua:294
SetBackdrop = defined @Interface/SharedXML/Backdrop.lua:329
ClearBackdrop = defined @Interface/SharedXML/Backdrop.lua:282
cell_margin_h = 6
GetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:409
labelProvider =
}
height = 104.843132
SetBorderBlendMode = defined @Interface/SharedXML/Backdrop.lua:266
regularFont = GameTooltipText {
}
layoutType = "TooltipDefaultLayout"
headerFont = GameTooltipHeaderText {
}
SetupTextureCoordinates = defined @Interface/SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = defined @Interface/SharedXML/Backdrop.lua:182
HasBackdropInfo = defined @Interface/SharedXML/Backdrop.lua:278
scrollFrame = ScrollFrame {
}
GetEdgeSize = defined @Interface/SharedXML/Backdrop.lua:188
NineSlice = Frame {
}
colspans =
}
TooltipBackdropOnLoad = defined @Interface/SharedXML/SharedTooltipTemplates.lua:275
width = 298.810471
GetBackdrop = defined @Interface/SharedXML/Backdrop.lua:347
lines =
}
SetupPieceVisuals = defined @Interface/SharedXML/Backdrop.lua:246
SetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:399
cell_margin_v = 3
columns =
}
}
geterrorhandler = defined =[C]:-1
To Reproduce
Steps to reproduce the behavior:
I simply mouse over my current active talent and that pops up?
Expected behavior
A clear and concise description of what you expected to happen.
Not this error.
XIV_Databar Continued Version
Which version of XIV_Databar Continued are you using ? Whatever is current. I downloaded it for the first time yesterday.
Hi, is this bug still happening ? I can't reproduce it.
Thank you for the feedback.
Hi! I am also getting the LuaError: HookScript is not allowed on LibQTip tooltips
but only occurs when I hover the socials module. Posting full LuaError message below:
Message: :HookScript is not allowed on LibQTip tooltips
Time: Sun Aug 11 13:58:04 2024
Count: 1
Stack: :HookScript is not allowed on LibQTip tooltips
[string "@Interface/AddOns/XIV_Databar_Continued/Mainline/modules/micromenu.lua"]:567: in function <...XIV_Databar_Continued/Mainline/modules/micromenu.lua:533>
Locals: tooltip = Frame {
key = "SocialToolTip"
template = "Transparent"
scrollChild = Frame {
}
cell_margin_h = 6
labelProvider =
}
height = 2
regularFont = GameTooltipText {
}
layoutType = "TooltipDefaultLayout"
headerFont = GameTooltipHeaderText {
}
scripts =
}
scrollFrame = ScrollFrame {
}
NineSlice = Frame {
}
colspans =
}
width = 6
lines =
}
cell_margin_v = 3
columns =
}
}
xb =
defaults =
}
modules =
}
baseName = "XIV_Databar_Continued"
fontFlags =
}
defaultModuleState = true
frames =
}
miniTextPosition = "TOP"
db =
}
enabledState = true
Changelog =
}
name = "XIV_Databar_Continued"
orderedModules =
}
LSM =
}
constants =
}
timerRefresh = true
defaultModuleLibraries =
}
L =
}
}
self =
modules =
}
baseName = "XIV_Databar_Continued"
bgTexture =
}
icons =
}
defaultModuleState = true
microMenuFrame = Micromenu {
}
gtipHover = false
frames =
}
iconSize = 27
enabledState = true
defaultModuleLibraries =
}
tipHover = false
text =
}
name = "XIV_Databar_Continued_MenuModule"
mediaFolder = "Interface\AddOns\XIV_Databar_Continued\media\microbar"
orderedModules =
}
LTip =
}
modifier = "SHIFT"
socialIcons =
}
functions =
}
modifiers =
}
menuWidth = 0
moduleName = "MenuModule"
}
MenuModule =
modules =
}
baseName = "XIV_Databar_Continued"
bgTexture =
}
icons =
}
defaultModuleState = true
microMenuFrame = Micromenu {
}
gtipHover = false
frames =
}
iconSize = 27
enabledState = true
defaultModuleLibraries =
}
tipHover = false
text =
}
name = "XIV_Databar_Continued_MenuModule"
mediaFolder = "Interface\AddOns\XIV_Databar_Continued\media\microbar"
orderedModules =
}
LTip =
}
modifier = "SHIFT"
socialIcons =
}
functions =
}
modifiers =
}
menuWidth = 0
moduleName = "MenuModule"
}
L =
Show XP Bar Below Max Level = "Show XP Bar Below Max Level"
Right = "Right"
Second Currency = "Second Currency"
Cleaned = "Cleaned"
Currency Select = "Currency Select"
Enable Loadout Switcher = "Enable Loadout Switcher"
Left-Click = "Left-Click"
Bottom = "Bottom"
Whisper BNet = "Whisper BNet"
Show Pets Button = "Show Pets Button"
Use Server Time = "Use Server Time"
Hide Event Text = "Hide Event Text"
Addons to Show in Tooltip = "Addons to Show in Tooltip"
Open Artifact = "Open Artifact"
Hide order hall bar = "Hide order hall bar"
Hide BNet App Friends = "Hide BNet App Friends"
Show Character Button = "Show Character Button"
Local Time = "Local Time"
Master Volume = "Master Volume"
Whisper Character = "Whisper Character"
Ready = "Ready"
Hide Bar in combat = "Hide Bar in combat"
Durability Warning Threshold = "Durability Warning Threshold"
Use Class Colors for XP Bar = "Use Class Colors for XP Bar"
Bar Position = "Bar Position"
Use Class Color for Text = "Use Class Color for Text"
Module Spacing = "Module Spacing"
Show Chat Button = "Show Chat Button"
Empty Hearthstones List = "If you see an empty list, /reload your UI a few seconds after the initial loading (Blizzard is loading items informations asynchronously so that's the only solution for now)."
Modifier for friend invite = "Modifier for friend invite"
Changelog = "Changelog"
Bar Color = "Bar Color"
Icon Spacing = "Icon Spacing"
%month%-%
That's a really strange bug that I can't reproduce on my end, I might need to gather more informations on the addons you have installed, or maybe even get an export of your XIV Databar profile...
I tested it disabling addons one at a time and it seems to only occur with elvui, at least for me
Yeah this bug is basically caused by the ElvUI skinning of tooltips. But I can't figure out how to trigger this error...
Yeah this bug is basically caused by the ElvUI skinning of tooltips. But I can't figure out how to trigger this error...
It looks like it is a race condition, where in VIX_Databar is attempting to perform some action and ElvUI has not created the tooltip yet. I get the error the first time I cursor over one of the panels in XIV_Databar but once I dismiss the error I do not get it again for that panel.
Right now my workaround is to cursor over all of the panels in VIX_Database when I first load in and close the errors.
I have the latest version of ElvUI, Plater, and XIV_Databar and I use the profiles from Oakensoul from this yt video: https://www.youtube.com/watch?v=v0wl4V0KXhI