From 4378788efe48d76733d065ce6f400b4c9ec2d149 Mon Sep 17 00:00:00 2001 From: Paul Tarjan Date: Fri, 20 Mar 2026 22:45:34 -0600 Subject: [PATCH 1/2] Fix 'Show' on bad self error for embedded tooltips 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) --- Modules/GameTooltip_Core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/GameTooltip_Core.lua b/Modules/GameTooltip_Core.lua index e221ca4..c4a3a9b 100644 --- a/Modules/GameTooltip_Core.lua +++ b/Modules/GameTooltip_Core.lua @@ -127,7 +127,7 @@ do end end - if self.anyChange then + if self.anyChange and tooltip == GameTooltip then tooltip:Show(); end From a192dd5e9b27c71b5c06e6e8e062d1ca3dea170e Mon Sep 17 00:00:00 2001 From: Paul Tarjan Date: Sat, 21 Mar 2026 06:52:49 -0600 Subject: [PATCH 2/2] Use pcall for tooltip:Show() instead of GameTooltip filter 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) --- Modules/GameTooltip_Core.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/GameTooltip_Core.lua b/Modules/GameTooltip_Core.lua index c4a3a9b..5ccc10d 100644 --- a/Modules/GameTooltip_Core.lua +++ b/Modules/GameTooltip_Core.lua @@ -127,8 +127,8 @@ do end end - if self.anyChange and tooltip == GameTooltip then - tooltip:Show(); + if self.anyChange then + pcall(tooltip.Show, tooltip); end if self.hasAltMode then