debug: Added click debug logging to TrackerLinePool.OnClickQuest

This commit is contained in:
Xurkon
2026-03-20 21:41:16 -05:00
parent 2df8a7b96d
commit 6e6eb3226e
2 changed files with 27 additions and 1 deletions
+3 -1
View File
@@ -992,7 +992,7 @@ end
---@param button string
TrackerLinePool.OnClickQuest = function(self, button)
Questie:Debug(Questie.DEBUG_DEVELOP, "[TrackerLinePool:_OnClickQuest]")
Questie:Debug(Questie.DEBUG_DEVELOP, "[TrackerLinePool:_OnClickQuest] button:", button, "Shift:", IsShiftKeyDown(), "Quest:", self.Quest and self.Quest.name or "nil")
if (not self.Quest) then
return
end
@@ -1001,6 +1001,8 @@ TrackerLinePool.OnClickQuest = function(self, button)
LibDropDown:CloseDropDownMenus()
end
Questie:Debug(Questie.DEBUG_DEVELOP, "[TrackerLinePool:_OnClickQuest] bindUntrack:", Questie.db.profile.trackerbindUntrack, "IsBindTrue:", TrackerUtils:IsBindTrue(Questie.db.profile.trackerbindUntrack, button))
if TrackerUtils:IsBindTrue(Questie.db.profile.trackerbindSetTomTom, button) then
local spawn, zone, name = QuestieMap:GetNearestQuestSpawn(self.Quest)
if spawn then
+24
View File
@@ -0,0 +1,24 @@
## v1.4.4 — AceGUI Pool & Event Handling Fixes
### AceGUI Fixes
- Fixed `Compat/embeds.xml` to load Wrath-compatible Ace library versions from `Libs/` (AceGUI-3.0 v34, AceConfigDialog-3.0 v66) instead of newer versions that caused widget pool corruption
- Added nil checks throughout AceGUI-3.0 to prevent crashes when pooled widgets have corrupted/nil properties
- Applied fixes to both `Libs/AceGUI-3.0/` and `Compat/Libs/AceGUI-3.0/`
### Event Handling Fixes
- Fixed "bad argument #1 to 'find'" error in `ChatMsgSystem`
- Fixed "number expected, got nil" error in `SetPlayerLevel`
### QuestieLearner Fixes
- Added robust `SanitizeData` function with depth limiting to filter functions/userdata/thread from learned data
- Added pcall wrapper around AceSerializer to catch and log errors instead of crashing
- Added early return checks for nil/empty data
### Journey Fixes
- Fixed "attempt to index local 'container'" error in tab handling
### Localization Fixes
- Fixed "bad argument #2 to 'format'" error when translation is not a string or format arguments are missing
### Files Changed
- 26 files changed, 569 insertions(+), 83 deletions(-)