Fix 'Show' on bad self error for embedded tooltips#374
Fix 'Show' on bad self error for embedded tooltips#374ptarjan wants to merge 2 commits intoPeterodox:mainfrom
Conversation
Guard tooltip:Show() to only fire on GameTooltip, not on embedded tooltip frames like EmbeddedItemTooltipTooltip that don't support :Show() properly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Hi again! Is there a reliable way to reproduce this error? I think I've seen a bug report mentioning it, but I couldn't find it 🥲 I cannot approve this fix because:
|
|
Good points, thanks for the detail. You're right that filtering to just GameTooltip would break ItemRefTooltip. And if I don't have a deterministic repro yet — this came from analyzing BugGrabber errors after a whole play session. The tooltip involved was |
Per feedback: filtering to GameTooltip would break ItemRefTooltip and other valid tooltips. pcall preserves the Show() call for all tooltips while gracefully handling the edge case. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Here's the full BugGrabber capture for reference: Error: Stack trace: Tooltip: |
Summary
Fixes
calling 'Show' on bad self (Usage: self:Show())errors that happen when hovering PvP reward items (or anything usingEmbeddedItemTooltipTooltip).CallSubModulesfires for all tooltip frames that inheritGameTooltipTemplate, buttooltip:Show()doesn't work on embedded tooltip frames. This just guards the call so it only runs onGameTooltip.One-line change in
Modules/GameTooltip_Core.lua.