Great Job! was able to login successfully using my account and saw the enormous improvements.
I know this is still in development, seeing this when trying to use my controller (nintendo switch pro) and trying to do some modifications from the menu:
Great Job! was able to login successfully using my account and saw the enormous improvements.
I know this is still in development, seeing this when trying to use my controller (nintendo switch pro) and trying to do some modifications from the menu:

Cause: OctoMoveWindows hooked the game menu, the Options panel and the AddOns list to make them movable. With a controller, the client navigates those menus through protected Blizzard code, and the hooks made that code count as addon code, which gave the "blocked from an action" popup.
Fix (OctoMoveWindows 0.3): those three menus are no longer touched; all other windows stay movable. It is in the update movewindows-resize-20261127. Run the updater (or start the game through it) to get it.
If the popup still shows up with the controller after updating, please reopen this issue and say which menu you were in.
Thanks for the report and the screenshot!
Cause: OctoMoveWindows hooked the game menu, the Options panel and the AddOns list to make them movable. With a controller, the client navigates those menus through protected Blizzard code, and the hooks made that code count as addon code, which gave the "blocked from an action" popup.
Fix (OctoMoveWindows 0.3): those three menus are no longer touched; all other windows stay movable. It is in the update `movewindows-resize-20261127`. Run the updater (or start the game through it) to get it.
If the popup still shows up with the controller after updating, please reopen this issue and say which menu you were in.
Still seeing this after assigning controller buttons with skills / spells from spellbook which then hangs/crashes the game:
Still seeing this after assigning controller buttons with skills / spells from spellbook which then hangs/crashes the game:

Thanks, that helps. This popup comes from a different part of WoWHybridUI than the menu fix: assigning spellbook spells to controller buttons goes through protected action-bar code, and one of our UI hooks taints it. It is queued as a priority fix. If you have a crash file from the hang (_classic_beta_\Errors\*.txt from that time), please attach it or send it with OctoReport.
Thanks, that helps. This popup comes from a different part of WoWHybridUI than the menu fix: assigning spellbook spells to controller buttons goes through protected action-bar code, and one of our UI hooks taints it. It is queued as a priority fix. If you have a crash file from the hang (`_classic_beta_\Errors\*.txt` from that time), please attach it or send it with OctoReport.
WoWHybridUI bug report: blocked-action popup and talent load error
With the gamepad UI on, closing the spellbook raises "WoWHybridUI has been blocked from an action only available to the Blizzard UI". Turning off the Turtle talent adapter (TurtleTalents.lua) stopped the popup in my test, but exposes a talent load error.
Setup
Client: WoW: Forever 1.60.1.70334 (interface 16001), OctoWoW through WoW-Hybrid-gateway
It can loop. The level 2 log has one block at 16:20:39, then 800 between 16:20:44 and 16:20:51. Hiding the popup (StaticPopupGamepad.lua) repeats the call, which raises the popup again.
Crashes. The client appeared to crash after this popup with the gamepad UI on, but not with it off.
Taint spreads. The log shows WoWHybridUI writing ON_BAR_HIGHLIGHT_MARKS and PET_ACTION_HIGHLIGHT_MARKS, which game code then reads.
Likely cause and test
The likely cause is the talent adapter writing Lua functions onto the game's talent panel, which sits in the same window as the spellbook. This is inferred from code. Level 2 logging does not show which value first tainted the run.
armEarlyBinding (line 340) hooks TalentFrameBaseMixin.OnLoad and replaces frame.RefreshConfigID (line 347). The game calls it while still loading the window.
install (line 177) then assigns many more methods on PlayerSpellsFrame.TalentsFrame (lines 182–305).
In the log, the first tainted write (16:20:27) happens while the spellbook is opening: ClearOnBarHighlightMarks, reached from PlayerSpellsFrameOnShow. No tainted global read by WoWHybridUI comes before it.
Local test: I disabled the early hook and the automatic install, so the adapter attached only on /turtletalents. This was one tester, and the two changes were not tested separately.
Adapter state
Result
Not attached
Added spells and closed the spellbook with no popup
After /turtletalents
Popup after closing the window
The second result is weaker evidence: the slash command also calls ShowUIPanel from add-on code.
Problem 2: talent load error without the adapter
With the adapter not attached, the first spellbook open raised this Lua error (16:40:16). Later opens were fine.
Blizzard_ClassTalentsFrame.lua:893: attempt to index a nil value
:893 RefreshConfigID
:1383 UpdateInspecting
:115 OnLoad
LoadAddOn("Blizzard_PlayerSpells")
PlayerSpellsUtil.lua:87 ToggleSpellBookFrame
Line 893 is C_ClassTalents.GetActiveConfigID() or self.configIDs[1]. The likely reading is that the first returns nothing here and self.configIDs is not yet set. The early hook normally replaces this function before it can fail.
Fix ideas (untested)
Show Turtle talents in an add-on-owned window outside PlayerSpellsFrame, leaving the game's talent panel untouched.
Handle the load error without a Lua override, for example by having the gateway supply an active talent config. I don't know if that is possible.
Possibly related:OctoMoveWindows triggered the same blocked call when the loot window closed, 1,026 times in about 11 seconds.
Attached: the level 2 taint log (4a063a90-taint-level2.log.gz) from the 16:20 session.
## WoWHybridUI bug report: blocked-action popup and talent load error
With the gamepad UI on, closing the spellbook raises "WoWHybridUI has been blocked from an action only available to the Blizzard UI". Turning off the Turtle talent adapter (`TurtleTalents.lua`) stopped the popup in my test, but exposes a talent load error.
### Setup
- Client: WoW: Forever 1.60.1.70334 (interface 16001), OctoWoW through WoW-Hybrid-gateway
- Add-on: WoWHybridUI 0.1; `TurtleTalents.lua` SHA-256 `564bdff5a43ae5394441d5f9ac6207d5ec24cae7557695c4c87cbf6324efe6f4`
- System: Debian Linux, GE-Proton, Switch Pro Controller over Bluetooth (no Steam Input)
- `OctoMoveWindows` was disabled locally during the level 2 log and the test below
### Problem 1: blocked-action popup
1. With the gamepad UI on, open the spellbook.
2. Add a spell to a gamepad hotbar.
3. Close the spellbook. Logged with Esc (level 2 log) and with the close button (an earlier log).
The blocked call is `SetPreferredGamepadInteractTarget()`:
```
HideUIPanel
UIParentPanelManager.lua:526 BroadcastForcePanelHide
FrameControlsManager.lua:546 FrameHidden
InputBindingManager.lua:190 RemoveSet
InputBindingManager.lua:42 CheckCoreBindingActive
MainActionBarFrame.lua:291 UpdateInteractIcons -> blocked
```
- **It can loop.** The level 2 log has one block at 16:20:39, then 800 between 16:20:44 and 16:20:51. Hiding the popup (`StaticPopupGamepad.lua`) repeats the call, which raises the popup again.
- **Crashes.** The client appeared to crash after this popup with the gamepad UI on, but not with it off.
- **Taint spreads.** The log shows WoWHybridUI writing `ON_BAR_HIGHLIGHT_MARKS` and `PET_ACTION_HIGHLIGHT_MARKS`, which game code then reads.
### Likely cause and test
The likely cause is the talent adapter writing Lua functions onto the game's talent panel, which sits in the same window as the spellbook. This is inferred from code. Level 2 logging does not show which value first tainted the run.
- `armEarlyBinding` (line 340) hooks `TalentFrameBaseMixin.OnLoad` and replaces `frame.RefreshConfigID` (line 347). The game calls it while still loading the window.
- `install` (line 177) then assigns many more methods on `PlayerSpellsFrame.TalentsFrame` (lines 182–305).
- In the log, the first tainted write (16:20:27) happens while the spellbook is opening: `ClearOnBarHighlightMarks`, reached from `PlayerSpellsFrame` `OnShow`. No tainted global read by WoWHybridUI comes before it.
Local test: I disabled the early hook and the automatic `install`, so the adapter attached only on `/turtletalents`. This was one tester, and the two changes were not tested separately.
| Adapter state | Result |
| --- | --- |
| Not attached | Added spells and closed the spellbook with no popup |
| After `/turtletalents` | Popup after closing the window |
The second result is weaker evidence: the slash command also calls `ShowUIPanel` from add-on code.
### Problem 2: talent load error without the adapter
With the adapter not attached, the first spellbook open raised this Lua error (16:40:16). Later opens were fine.
```
Blizzard_ClassTalentsFrame.lua:893: attempt to index a nil value
:893 RefreshConfigID
:1383 UpdateInspecting
:115 OnLoad
LoadAddOn("Blizzard_PlayerSpells")
PlayerSpellsUtil.lua:87 ToggleSpellBookFrame
```
Line 893 is `C_ClassTalents.GetActiveConfigID() or self.configIDs[1]`. The likely reading is that the first returns nothing here and `self.configIDs` is not yet set. The early hook normally replaces this function before it can fail.
### Fix ideas (untested)
- Show Turtle talents in an add-on-owned window outside `PlayerSpellsFrame`, leaving the game's talent panel untouched.
- Handle the load error without a Lua override, for example by having the gateway supply an active talent config. I don't know if that is possible.
**Possibly related:** `OctoMoveWindows` triggered the same blocked call when the loot window closed, 1,026 times in about 11 seconds.
**Attached:** the level 2 taint log (`4a063a90-taint-level2.log.gz`) from the 16:20 session.
I checked _classic_beta_\Errors and found no crash file from around the time of the hang. If it happens again, I'll note the time and attach any new file from that folder.
I checked `_classic_beta_\Errors` and found no crash file from around the time of the hang. If it happens again, I'll note the time and attach any new file from that folder.
Thank you, this is an excellent report. The A/B with the adapter detached, the exact call chain and the RefreshConfigID error together point to the real fix:
Give the client a proper active talent config so the game's own talent panel loads without our override (that removes the need for the early hook).
Attach the Turtle talents without writing onto PlayerSpellsFrame.TalentsFrame.
Exclude the loot window from OctoMoveWindows, like the three menus.
It is in progress now. I will post here when the update is out, and test it with a taint log first (open spellbook, place a spell on a bar, close: zero blocked actions).
Thank you, this is an excellent report. The A/B with the adapter detached, the exact call chain and the RefreshConfigID error together point to the real fix:
1. Give the client a proper active talent config so the game's own talent panel loads without our override (that removes the need for the early hook).
2. Attach the Turtle talents without writing onto `PlayerSpellsFrame.TalentsFrame`.
3. Exclude the loot window from OctoMoveWindows, like the three menus.
It is in progress now. I will post here when the update is out, and test it with a taint log first (open spellbook, place a spell on a bar, close: zero blocked actions).
Update is out (patch step gitea1-talents-20261128, source commit c0dca66). Thank you for the detailed report: the adapter-attached vs. detached test pointed straight at the cause.
What changed:
Talent load error (problem 2). The gateway now gives every character an active talent config, so C_ClassTalents.GetActiveConfigID() returns a value and the game's own talents panel loads without help. The early hook on TalentFrameBaseMixin.OnLoad and the RefreshConfigID replacement are gone.
Taint (problem 1).TurtleTalents.lua no longer writes anything onto PlayerSpellsFrame.TalentsFrame. The Turtle talents now render in an add-on-owned copy of the talents frame, layered over the Talents tab. It follows the game's frame only through HookScript (shown/hidden with it). The game's frame keeps running its own code untouched. /turtletalents no longer calls ShowUIPanel; it only refreshes the open window.
OctoSpecProfiles (Device Specs tabs) attaches to the new frame instead of the game's.
Tested on our local realm with taintLog 2: open spellbook, drag a spell onto the bar, close, then open and close talents. Result: 0 ADDON_ACTION_BLOCKED, and the taint log has no WoWHybridUI writes (no ON_BAR_HIGHLIGHT_MARKS / PET_ACTION_HIGHLIGHT_MARKS). The only WoWHybridUI entries are its slash-command names, which are read whenever chat parses a command.
I could not switch on the gamepad UI in my test, so the exact SetPreferredGamepadInteractTarget path is not verified. Could you repeat your gamepad test after updating and tell me if the popup is gone? I'll close the issue once you confirm.
Update is out (patch step `gitea1-talents-20261128`, source commit c0dca66). Thank you for the detailed report: the adapter-attached vs. detached test pointed straight at the cause.
What changed:
1. **Talent load error (problem 2).** The gateway now gives every character an active talent config, so `C_ClassTalents.GetActiveConfigID()` returns a value and the game's own talents panel loads without help. The early hook on `TalentFrameBaseMixin.OnLoad` and the `RefreshConfigID` replacement are gone.
2. **Taint (problem 1).** `TurtleTalents.lua` no longer writes anything onto `PlayerSpellsFrame.TalentsFrame`. The Turtle talents now render in an add-on-owned copy of the talents frame, layered over the Talents tab. It follows the game's frame only through `HookScript` (shown/hidden with it). The game's frame keeps running its own code untouched. `/turtletalents` no longer calls `ShowUIPanel`; it only refreshes the open window.
3. OctoSpecProfiles (Device Specs tabs) attaches to the new frame instead of the game's.
Tested on our local realm with `taintLog 2`: open spellbook, drag a spell onto the bar, close, then open and close talents. Result: 0 `ADDON_ACTION_BLOCKED`, and the taint log has no WoWHybridUI writes (no `ON_BAR_HIGHLIGHT_MARKS` / `PET_ACTION_HIGHLIGHT_MARKS`). The only WoWHybridUI entries are its slash-command names, which are read whenever chat parses a command.
I could not switch on the gamepad UI in my test, so the exact `SetPreferredGamepadInteractTarget` path is not verified. Could you repeat your gamepad test after updating and tell me if the popup is gone? I'll close the issue once you confirm.
Retest after gitea1-talents-20261128: with the gamepad UI on, the "blocked from an action" popup (SetPreferredGamepadInteractTarget()) was still there, now blamed on OctoMoveWindows. It showed after adding a spell to a bar and closing the spellbook, after /turtletalents, and later on almost every window opened from the + menu wheel. Opening the spellbook gave no Lua error.
I tested changes to three files, and they cleared the popup in the wheel menu checks.
File
Change
Result
OctoMoveWindows.lua
No window hooks in gamepad mode
Wheel windows passed, except Social and Guild
NativeSocialSimplify.lua
Skipped in gamepad mode
Social passed
NativeGuildSearch.lua
Skipped in gamepad mode; member list hooks replaced by a watcher frame
Guild passed with gamepad off and on
Final run with all three: guild search steps (sort, offline checkbox, search) passed with the gamepad off, and the wheel menu checks passed with it on, with no popup or Lua error.
Why each file
OctoMoveWindows: a taint log blamed it for the blocked call. With only this file patched, Social and Guild still raised the popup, blamed on WoWHybridUI.
Social and Guild: each failed with its original file and passed once that file was changed.
Guild also raised attempt to call a nil value at CommunitiesMemberList.lua:411 and :450, with the gamepad both on and off. Both lines call self:RefreshListDisplay(), which the guild search file hooks. I only saw it with that hook installed (the original file with gamepad on, and an interim version with the same hooks with gamepad off). It did not show after removing the hook. I don't know why the hooked call fails.
Trade-offs and limits
With the gamepad UI on there are no saved window positions, no guild search box and no simplified Social window.
After switching UI style mid-session, use /reload. Switching was not tested in detail.
Which individual hook causes the taint was not isolated.
Not tested: windows opened outside the wheel (bank, merchant, mail, quest and others), and Legacy (disabled).
One tester: client 1.60.1.70334, Debian Linux with GE-Proton, Switch Pro Controller over Bluetooth, no Steam Input. I also have a personal hotbar add-on; whether it was loaded was not recorded, and none of the log lines I saved name it.
The diffs are against the files on main as of 29 November.
OctoMoveWindows.lua diff
--- a/client_addons/OctoMoveWindows/OctoMoveWindows.lua
+++ b/client_addons/OctoMoveWindows/OctoMoveWindows.lua
@@ -16,7 +16,14 @@
for i = 1, 13 do FRAMES[#FRAMES + 1] = "ContainerFrame" .. i end
local db
local hooked = {}
+-- Gamepad UI: closing a hooked window ends in a blocked SetPreferredGamepadInteractTarget() call, so
+-- no game frame or function is hooked while it is on. Windows can be moved with mouse and keyboard UI.
+local function isGamepadStyle(style)
+ return style == Enum.InputDeviceInterfaceType.Gamepad
+end
+local gamepad = false -- updated by the event handler below
local function canMove(frame)
+ if gamepad then return false end
return not (InCombatLockdown() and frame:IsProtected())
end
local function save(frame)
@@ -58,7 +65,7 @@
handle:HookScript("OnMouseUp", function(_, button)
if button == "RightButton" and IsShiftKeyDown() and db[name] then
db[name] = nil
- if not InCombatLockdown() and UpdateUIPanelPositions then UpdateUIPanelPositions(frame) end
+ if not gamepad and not InCombatLockdown() and UpdateUIPanelPositions then UpdateUIPanelPositions(frame) end
end
end)
frame:HookScript("OnShow", function(self) C_Timer.After(0, function() restore(self) end) end)
@@ -189,20 +196,39 @@
local function reapplyAll()
for frame in pairs(hooked) do restore(frame) end
end
+local loggedIn, globalsHooked, anyHooks, reloadAsked
local events = CreateFrame("Frame")
events:RegisterEvent("ADDON_LOADED")
events:RegisterEvent("PLAYER_LOGIN")
events:RegisterEvent("PLAYER_REGEN_ENABLED")
-events:SetScript("OnEvent", function(_, event, addon)
- if event == "ADDON_LOADED" and addon == ADDON then
+pcall(events.RegisterEvent, events, "INPUT_DEVICE_INTERFACE_TRANSITION") -- UI style switched mid-session
+events:SetScript("OnEvent", function(_, event, arg1)
+ if event == "ADDON_LOADED" and arg1 == ADDON then
OctoMoveWindowsDB = OctoMoveWindowsDB or {}
db = OctoMoveWindowsDB
end
+ if event == "PLAYER_LOGIN" then loggedIn = true end
+ if event == "INPUT_DEVICE_INTERFACE_TRANSITION" then
+ gamepad = isGamepadStyle(arg1) -- arg1 is the new style
+ else
+ gamepad = isGamepadStyle(C_InputInterfaceStyle.GetCurrentStyle())
+ end
if not db then return end
+ if gamepad then
+ -- hooks cannot be removed; only a reload clears them
+ if anyHooks and not reloadAsked then
+ reloadAsked = true
+ print("OctoMoveWindows: type /reload to finish switching to the gamepad UI.")
+ end
+ return
+ end
+ reloadAsked = nil
hookAll()
- if event == "PLAYER_LOGIN" then
+ anyHooks = anyHooks or next(hooked) ~= nil
+ if loggedIn and not globalsHooked then
+ globalsHooked, anyHooks = true, true
if UpdateUIPanelPositions then hooksecurefunc("UpdateUIPanelPositions", reapplyAll) end
if UpdateContainerFrameAnchors then hooksecurefunc("UpdateContainerFrameAnchors", reapplyAll) end
end
- if event == "PLAYER_REGEN_ENABLED" then reapplyAll() end
+ if event == "PLAYER_REGEN_ENABLED" or event == "INPUT_DEVICE_INTERFACE_TRANSITION" then reapplyAll() end
end)
NativeSocialSimplify.lua diff
--- a/client_addons/WoWHybridUI/NativeSocialSimplify.lua
+++ b/client_addons/WoWHybridUI/NativeSocialSimplify.lua
@@ -34,6 +34,7 @@
end
local function InstallFriendsNamesOnly()
+ if C_InputInterfaceStyle.GetCurrentStyle() == Enum.InputDeviceInterfaceType.Gamepad then return end
if state.friendsInstalled or not FriendsFrame or not FriendsFrameAddFriendButton then return state.friendsInstalled; end
FriendsFrameAddFriendButton:SetScript("OnClick", function() StaticPopup_Show("WOWHYBRID_ADD_FRIEND"); end);
if FriendsFrameBattlenetFrame then hooksecurefunc(FriendsFrameBattlenetFrame, "Show", function(f) f:Hide(); end); end
NativeGuildSearch.lua diff
--- a/client_addons/WoWHybridUI/NativeGuildSearch.lua
+++ b/client_addons/WoWHybridUI/NativeGuildSearch.lua
@@ -36,7 +36,10 @@
end);
end
-local function Install()
+-- Gamepad UI: install no hooks on the Communities frame (see the SetPreferredGamepadInteractTarget() popup).
+local function Install(style)
+ style = style or C_InputInterfaceStyle.GetCurrentStyle()
+ if style == Enum.InputDeviceInterfaceType.Gamepad then return end
local list = CommunitiesFrame and CommunitiesFrame.MemberList;
if state.guildSearchInstalled or not list or not list.RefreshListDisplay then return; end
state.guildSearchInstalled = true;
@@ -46,19 +49,29 @@
box:SetAutoFocus(false);
box:HookScript("OnTextChanged", function() list:RefreshListDisplay(); end);
state.guildSearchBox = box;
- hooksecurefunc(list, "RefreshListDisplay", ApplyFilter);
- local function Sync() box:SetShown(list.ShowOfflineButton and list.ShowOfflineButton:IsShown()); end
- hooksecurefunc(list, "SetExpandedDisplay", Sync);
- list:HookScript("OnShow", Sync);
- Sync();
+ -- No hooks on the member list or its methods (with them, calls to RefreshListDisplay failed with "attempt to call a nil
+ -- value"): our own child frame watches for the new data provider that each refresh creates.
+ local seen;
+ local function Watch()
+ box:SetShown(list.ShowOfflineButton and list.ShowOfflineButton:IsShown());
+ local provider = list.ScrollBox and list.ScrollBox:GetDataProvider();
+ if provider ~= seen then
+ ApplyFilter(list);
+ seen = list.ScrollBox and list.ScrollBox:GetDataProvider();
+ end
+ end
+ CreateFrame("Frame", nil, list):SetScript("OnUpdate", Watch);
+ Watch();
end
-if C_AddOns and C_AddOns.IsAddOnLoaded("Blizzard_Communities") then
- Install();
-else
- local f = CreateFrame("Frame");
- f:RegisterEvent("ADDON_LOADED");
- f:SetScript("OnEvent", function(self, _, name)
- if name == "Blizzard_Communities" then Install(); self:UnregisterEvent("ADDON_LOADED"); end
- end);
-end
+local f = CreateFrame("Frame");
+f:RegisterEvent("ADDON_LOADED");
+pcall(f.RegisterEvent, f, "INPUT_DEVICE_INTERFACE_TRANSITION"); -- install after a switch to mouse and keyboard
+f:SetScript("OnEvent", function(_, event, arg1)
+ if event == "INPUT_DEVICE_INTERFACE_TRANSITION" then
+ Install(arg1); -- arg1 is the new style
+ elseif arg1 == "Blizzard_Communities" then
+ Install();
+ end
+end);
+if C_AddOns and C_AddOns.IsAddOnLoaded("Blizzard_Communities") then Install(); end
Retest after `gitea1-talents-20261128`: with the gamepad UI on, the "blocked from an action" popup (`SetPreferredGamepadInteractTarget()`) was still there, now blamed on OctoMoveWindows. It showed after adding a spell to a bar and closing the spellbook, after `/turtletalents`, and later on almost every window opened from the **+** menu wheel. Opening the spellbook gave no Lua error.
I tested changes to three files, and they cleared the popup in the wheel menu checks.
| File | Change | Result |
| --- | --- | --- |
| `OctoMoveWindows.lua` | No window hooks in gamepad mode | Wheel windows passed, except Social and Guild |
| `NativeSocialSimplify.lua` | Skipped in gamepad mode | Social passed |
| `NativeGuildSearch.lua` | Skipped in gamepad mode; member list hooks replaced by a watcher frame | Guild passed with gamepad off and on |
Final run with all three: guild search steps (sort, offline checkbox, search) passed with the gamepad off, and the wheel menu checks passed with it on, with no popup or Lua error.
**Why each file**
- OctoMoveWindows: a taint log blamed it for the blocked call. With only this file patched, Social and Guild still raised the popup, blamed on WoWHybridUI.
- Social and Guild: each failed with its original file and passed once that file was changed.
- Guild also raised `attempt to call a nil value` at `CommunitiesMemberList.lua:411` and `:450`, with the gamepad both on and off. Both lines call `self:RefreshListDisplay()`, which the guild search file hooks. I only saw it with that hook installed (the original file with gamepad on, and an interim version with the same hooks with gamepad off). It did not show after removing the hook. I don't know why the hooked call fails.
**Trade-offs and limits**
- With the gamepad UI on there are no saved window positions, no guild search box and no simplified Social window.
- After switching UI style mid-session, use `/reload`. Switching was not tested in detail.
- Which individual hook causes the taint was not isolated.
- Not tested: windows opened outside the wheel (bank, merchant, mail, quest and others), and Legacy (disabled).
- One tester: client 1.60.1.70334, Debian Linux with GE-Proton, Switch Pro Controller over Bluetooth, no Steam Input. I also have a personal hotbar add-on; whether it was loaded was not recorded, and none of the log lines I saved name it.
The diffs are against the files on `main` as of 29 November.
<details>
<summary>OctoMoveWindows.lua diff</summary>
```diff
--- a/client_addons/OctoMoveWindows/OctoMoveWindows.lua
+++ b/client_addons/OctoMoveWindows/OctoMoveWindows.lua
@@ -16,7 +16,14 @@
for i = 1, 13 do FRAMES[#FRAMES + 1] = "ContainerFrame" .. i end
local db
local hooked = {}
+-- Gamepad UI: closing a hooked window ends in a blocked SetPreferredGamepadInteractTarget() call, so
+-- no game frame or function is hooked while it is on. Windows can be moved with mouse and keyboard UI.
+local function isGamepadStyle(style)
+ return style == Enum.InputDeviceInterfaceType.Gamepad
+end
+local gamepad = false -- updated by the event handler below
local function canMove(frame)
+ if gamepad then return false end
return not (InCombatLockdown() and frame:IsProtected())
end
local function save(frame)
@@ -58,7 +65,7 @@
handle:HookScript("OnMouseUp", function(_, button)
if button == "RightButton" and IsShiftKeyDown() and db[name] then
db[name] = nil
- if not InCombatLockdown() and UpdateUIPanelPositions then UpdateUIPanelPositions(frame) end
+ if not gamepad and not InCombatLockdown() and UpdateUIPanelPositions then UpdateUIPanelPositions(frame) end
end
end)
frame:HookScript("OnShow", function(self) C_Timer.After(0, function() restore(self) end) end)
@@ -189,20 +196,39 @@
local function reapplyAll()
for frame in pairs(hooked) do restore(frame) end
end
+local loggedIn, globalsHooked, anyHooks, reloadAsked
local events = CreateFrame("Frame")
events:RegisterEvent("ADDON_LOADED")
events:RegisterEvent("PLAYER_LOGIN")
events:RegisterEvent("PLAYER_REGEN_ENABLED")
-events:SetScript("OnEvent", function(_, event, addon)
- if event == "ADDON_LOADED" and addon == ADDON then
+pcall(events.RegisterEvent, events, "INPUT_DEVICE_INTERFACE_TRANSITION") -- UI style switched mid-session
+events:SetScript("OnEvent", function(_, event, arg1)
+ if event == "ADDON_LOADED" and arg1 == ADDON then
OctoMoveWindowsDB = OctoMoveWindowsDB or {}
db = OctoMoveWindowsDB
end
+ if event == "PLAYER_LOGIN" then loggedIn = true end
+ if event == "INPUT_DEVICE_INTERFACE_TRANSITION" then
+ gamepad = isGamepadStyle(arg1) -- arg1 is the new style
+ else
+ gamepad = isGamepadStyle(C_InputInterfaceStyle.GetCurrentStyle())
+ end
if not db then return end
+ if gamepad then
+ -- hooks cannot be removed; only a reload clears them
+ if anyHooks and not reloadAsked then
+ reloadAsked = true
+ print("OctoMoveWindows: type /reload to finish switching to the gamepad UI.")
+ end
+ return
+ end
+ reloadAsked = nil
hookAll()
- if event == "PLAYER_LOGIN" then
+ anyHooks = anyHooks or next(hooked) ~= nil
+ if loggedIn and not globalsHooked then
+ globalsHooked, anyHooks = true, true
if UpdateUIPanelPositions then hooksecurefunc("UpdateUIPanelPositions", reapplyAll) end
if UpdateContainerFrameAnchors then hooksecurefunc("UpdateContainerFrameAnchors", reapplyAll) end
end
- if event == "PLAYER_REGEN_ENABLED" then reapplyAll() end
+ if event == "PLAYER_REGEN_ENABLED" or event == "INPUT_DEVICE_INTERFACE_TRANSITION" then reapplyAll() end
end)
```
</details>
<details>
<summary>NativeSocialSimplify.lua diff</summary>
```diff
--- a/client_addons/WoWHybridUI/NativeSocialSimplify.lua
+++ b/client_addons/WoWHybridUI/NativeSocialSimplify.lua
@@ -34,6 +34,7 @@
end
local function InstallFriendsNamesOnly()
+ if C_InputInterfaceStyle.GetCurrentStyle() == Enum.InputDeviceInterfaceType.Gamepad then return end
if state.friendsInstalled or not FriendsFrame or not FriendsFrameAddFriendButton then return state.friendsInstalled; end
FriendsFrameAddFriendButton:SetScript("OnClick", function() StaticPopup_Show("WOWHYBRID_ADD_FRIEND"); end);
if FriendsFrameBattlenetFrame then hooksecurefunc(FriendsFrameBattlenetFrame, "Show", function(f) f:Hide(); end); end
```
</details>
<details>
<summary>NativeGuildSearch.lua diff</summary>
```diff
--- a/client_addons/WoWHybridUI/NativeGuildSearch.lua
+++ b/client_addons/WoWHybridUI/NativeGuildSearch.lua
@@ -36,7 +36,10 @@
end);
end
-local function Install()
+-- Gamepad UI: install no hooks on the Communities frame (see the SetPreferredGamepadInteractTarget() popup).
+local function Install(style)
+ style = style or C_InputInterfaceStyle.GetCurrentStyle()
+ if style == Enum.InputDeviceInterfaceType.Gamepad then return end
local list = CommunitiesFrame and CommunitiesFrame.MemberList;
if state.guildSearchInstalled or not list or not list.RefreshListDisplay then return; end
state.guildSearchInstalled = true;
@@ -46,19 +49,29 @@
box:SetAutoFocus(false);
box:HookScript("OnTextChanged", function() list:RefreshListDisplay(); end);
state.guildSearchBox = box;
- hooksecurefunc(list, "RefreshListDisplay", ApplyFilter);
- local function Sync() box:SetShown(list.ShowOfflineButton and list.ShowOfflineButton:IsShown()); end
- hooksecurefunc(list, "SetExpandedDisplay", Sync);
- list:HookScript("OnShow", Sync);
- Sync();
+ -- No hooks on the member list or its methods (with them, calls to RefreshListDisplay failed with "attempt to call a nil
+ -- value"): our own child frame watches for the new data provider that each refresh creates.
+ local seen;
+ local function Watch()
+ box:SetShown(list.ShowOfflineButton and list.ShowOfflineButton:IsShown());
+ local provider = list.ScrollBox and list.ScrollBox:GetDataProvider();
+ if provider ~= seen then
+ ApplyFilter(list);
+ seen = list.ScrollBox and list.ScrollBox:GetDataProvider();
+ end
+ end
+ CreateFrame("Frame", nil, list):SetScript("OnUpdate", Watch);
+ Watch();
end
-if C_AddOns and C_AddOns.IsAddOnLoaded("Blizzard_Communities") then
- Install();
-else
- local f = CreateFrame("Frame");
- f:RegisterEvent("ADDON_LOADED");
- f:SetScript("OnEvent", function(self, _, name)
- if name == "Blizzard_Communities" then Install(); self:UnregisterEvent("ADDON_LOADED"); end
- end);
-end
+local f = CreateFrame("Frame");
+f:RegisterEvent("ADDON_LOADED");
+pcall(f.RegisterEvent, f, "INPUT_DEVICE_INTERFACE_TRANSITION"); -- install after a switch to mouse and keyboard
+f:SetScript("OnEvent", function(_, event, arg1)
+ if event == "INPUT_DEVICE_INTERFACE_TRANSITION" then
+ Install(arg1); -- arg1 is the new style
+ elseif arg1 == "Blizzard_Communities" then
+ Install();
+ end
+end);
+if C_AddOns and C_AddOns.IsAddOnLoaded("Blizzard_Communities") then Install(); end
```
</details>
Thank you, this is a very clear retest. Your three changes are now merged as they are (source commit 3798488) and are out in patch step addon-gamepad-gitea1-20261129:
OctoMoveWindows: installs no window hooks while the gamepad UI is on. It asks for /reload if you switch to the gamepad UI mid-session after hooks were already installed.
NativeSocialSimplify: skipped in gamepad mode.
NativeGuildSearch: skipped in gamepad mode. With mouse and keyboard, the member-list hooks are replaced by your watcher frame, so the CommunitiesMemberList.lua:411/450 nil-call should be gone in both modes.
On our local realm with mouse and keyboard: the guild search box shows on the Roster view and filters, with no Lua errors. I can't turn on the gamepad UI here, so the gamepad side relies on your test. Could you confirm after updating? I'll close the issue then.
As you noted, the trade-off is that with the gamepad UI on there are no saved window positions, no guild search and no simplified Social window. Once we know which single hook causes the taint, we can bring those back for gamepad users.
Thank you, this is a very clear retest. Your three changes are now merged as they are (source commit 3798488) and are out in patch step `addon-gamepad-gitea1-20261129`:
- **OctoMoveWindows:** installs no window hooks while the gamepad UI is on. It asks for `/reload` if you switch to the gamepad UI mid-session after hooks were already installed.
- **NativeSocialSimplify:** skipped in gamepad mode.
- **NativeGuildSearch:** skipped in gamepad mode. With mouse and keyboard, the member-list hooks are replaced by your watcher frame, so the `CommunitiesMemberList.lua:411/450` nil-call should be gone in both modes.
On our local realm with mouse and keyboard: the guild search box shows on the Roster view and filters, with no Lua errors. I can't turn on the gamepad UI here, so the gamepad side relies on your test. Could you confirm after updating? I'll close the issue then.
As you noted, the trade-off is that with the gamepad UI on there are no saved window positions, no guild search and no simplified Social window. Once we know which single hook causes the taint, we can bring those back for gamepad users.
Retested after addon-gamepad-gitea1-20261129: the three fixes work. Apart from the merchant (below), these passed:
Gamepad on: adding a spell to a bar and closing the spellbook, Talents with /turtletalents, the + menu wheel windows, looting, a mailbox and a quest giver.
Gamepad off: Guild roster sort, offline checkbox and search, and a moved window keeping its position after /reload.
New finding: opening a merchant
1. Lua error (shipped files)
attempt to call a nil value
Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua:2897: in function 'UpdateMiscellaneousFrames'
Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua:1307: in function 'ContainerFrame_GenerateFrame'
...
Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua:2110: in function 'OpenAllBags'
Blizzard_UIPanels_Game/Mainline/MerchantFrame.lua:149
Line 2897 calls self:UpdateAddSlots(), which WoWHybridUI/NativeBagSlots.lua hooks with hooksecurefunc. This is the same pattern as the Guild error. I tried replacing that hook with a small watcher frame (diff below): the bags opened, the error did not show, and no extra add-slots button appeared. Why the hooked call fails is still unknown.
2. aux-addon popup (still there with that change)
With the gamepad UI on, opening a merchant shows "aux-addon has been blocked from an action only available to the Blizzard UI."
I don't know which action is blocked. The taint log I saved has a single entry and no blocked-action line:
11/29 17:04:37.473 Execution tainted by aux-addon while reading global SetItemRef - Interface/AddOns/Blizzard_ChatFrameBase/Shared/ChatFrame.lua:23
The diff is against main as of 29 November.
NativeBagSlots.lua diff
--- a/client_addons/WoWHybridUI/NativeBagSlots.lua
+++ b/client_addons/WoWHybridUI/NativeBagSlots.lua
@@ -37,8 +37,13 @@
frame:HookScript("OnShow", function(self) hideUnsupported(self, isSlot) end)
hooks.show = true
end
- if not hooks.addSlots and type(frame.UpdateAddSlots) == "function" and type(hooksecurefunc) == "function" then
- hooksecurefunc(frame, "UpdateAddSlots", function(self) hideUnsupported(self, isSlot) end)
+ -- No method hook on the bag frame (opening a merchant raised "attempt to call a nil value" at the
+ -- UpdateAddSlots call): our own child frame hides the button if the game shows it again.
+ if not hooks.addSlots and type(frame.UpdateAddSlots) == "function" then
+ CreateFrame("Frame", nil, frame):SetScript("OnUpdate", function()
+ local button = frame.AddSlotsButton
+ if button and button:IsShown() then hideUnsupported(frame, isSlot) end
+ end)
hooks.addSlots = true
end
hideUnsupported(frame, isSlot)
Retested after `addon-gamepad-gitea1-20261129`: **the three fixes work.** Apart from the merchant (below), these passed:
- Gamepad on: adding a spell to a bar and closing the spellbook, Talents with `/turtletalents`, the **+** menu wheel windows, looting, a mailbox and a quest giver.
- Gamepad off: Guild roster sort, offline checkbox and search, and a moved window keeping its position after `/reload`.
## New finding: opening a merchant
**1. Lua error** (shipped files)
```
attempt to call a nil value
Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua:2897: in function 'UpdateMiscellaneousFrames'
Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua:1307: in function 'ContainerFrame_GenerateFrame'
...
Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua:2110: in function 'OpenAllBags'
Blizzard_UIPanels_Game/Mainline/MerchantFrame.lua:149
```
Line 2897 calls `self:UpdateAddSlots()`, which `WoWHybridUI/NativeBagSlots.lua` hooks with `hooksecurefunc`. This is the same pattern as the Guild error. I tried replacing that hook with a small watcher frame (diff below): the bags opened, the error did not show, and no extra add-slots button appeared. Why the hooked call fails is still unknown.
**2. aux-addon popup** (still there with that change)
With the gamepad UI on, opening a merchant shows "aux-addon has been blocked from an action only available to the Blizzard UI."
I don't know which action is blocked. The taint log I saved has a single entry and no blocked-action line:
```
11/29 17:04:37.473 Execution tainted by aux-addon while reading global SetItemRef - Interface/AddOns/Blizzard_ChatFrameBase/Shared/ChatFrame.lua:23
```
The diff is against `main` as of 29 November.
<details>
<summary>NativeBagSlots.lua diff</summary>
```diff
--- a/client_addons/WoWHybridUI/NativeBagSlots.lua
+++ b/client_addons/WoWHybridUI/NativeBagSlots.lua
@@ -37,8 +37,13 @@
frame:HookScript("OnShow", function(self) hideUnsupported(self, isSlot) end)
hooks.show = true
end
- if not hooks.addSlots and type(frame.UpdateAddSlots) == "function" and type(hooksecurefunc) == "function" then
- hooksecurefunc(frame, "UpdateAddSlots", function(self) hideUnsupported(self, isSlot) end)
+ -- No method hook on the bag frame (opening a merchant raised "attempt to call a nil value" at the
+ -- UpdateAddSlots call): our own child frame hides the button if the game shows it again.
+ if not hooks.addSlots and type(frame.UpdateAddSlots) == "function" then
+ CreateFrame("Frame", nil, frame):SetScript("OnUpdate", function()
+ local button = frame.AddSlotsButton
+ if button and button:IsShown() then hideUnsupported(frame, isSlot) end
+ end)
hooks.addSlots = true
end
hideUnsupported(frame, isSlot)
```
</details>
The merchant popup is gone in my test after a one-line change in aux-addon. I had that change and the NativeBagSlots.lua change from my last comment installed, gamepad UI on. Opening a merchant, buying or selling, closing with the close button, repeating that, and closing with B gave no popup and no Lua error. The popup was still there with only the bag change.
Correction: I said the popup appears when opening a merchant. In the first log that caught the blocked call, it came from closing the merchant with the close button, with no blocked call logged before that.
The popup can hang the game
Clicking Ignore hung the game. The log has 4,102 blocked SetPreferredGamepadInteractTarget() calls, all blamed on aux-addon (29 November):
Time
Blocked calls
Came through
18:29:03.378
1
merchant close button
18:29:03 to 18:29:05
5
short stacks, trigger not shown
18:29:06 to 18:29:38
2,048
StaticPopup_OnClick
18:29:38 to 18:31:07
2,048
StaticPopup_EscapePressed
In the last two rows, hiding the popup repeats the blocked call, and so does showing the next one, so it loops.
Likely cause (from reading the code)
aux-addon/core/cache.lua:31 creates a frame as a child of MerchantFrame. It uses aux's CreateFrame from compat.lua, which replaces several methods on the frame, including GetScript.
The gamepad navigation walks an open window's children and calls GetScript("OnMouseUp") on those that are not buttons (Blizzard_GamepadSmartNavigation/Utility.lua:202). On this child, that runs aux's Lua and taints the execution.
Fix
Create the frame without a parent. merchant_on_update only acts on a flag that is set by a bag update while the merchant is visible and cleared when it closes, so behaviour should be the same. I did not check aux's vendor price recording afterwards, or whether other aux frames sit inside game windows.
**The merchant popup is gone in my test** after a one-line change in aux-addon. I had that change and the `NativeBagSlots.lua` change from my last comment installed, gamepad UI on. Opening a merchant, buying or selling, closing with the close button, repeating that, and closing with **B** gave no popup and no Lua error. The popup was still there with only the bag change.
**Correction:** I said the popup appears when opening a merchant. In the first log that caught the blocked call, it came from closing the merchant with the close button, with no blocked call logged before that.
## The popup can hang the game
Clicking **Ignore** hung the game. The log has 4,102 blocked `SetPreferredGamepadInteractTarget()` calls, all blamed on aux-addon (29 November):
| Time | Blocked calls | Came through |
| --- | --- | --- |
| 18:29:03.378 | 1 | merchant close button |
| 18:29:03 to 18:29:05 | 5 | short stacks, trigger not shown |
| 18:29:06 to 18:29:38 | 2,048 | `StaticPopup_OnClick` |
| 18:29:38 to 18:31:07 | 2,048 | `StaticPopup_EscapePressed` |
In the last two rows, hiding the popup repeats the blocked call, and so does showing the next one, so it loops.
## Likely cause (from reading the code)
- `aux-addon/core/cache.lua:31` creates a frame as a child of `MerchantFrame`. It uses aux's `CreateFrame` from `compat.lua`, which replaces several methods on the frame, including `GetScript`.
- The gamepad navigation walks an open window's children and calls `GetScript("OnMouseUp")` on those that are not buttons (`Blizzard_GamepadSmartNavigation/Utility.lua:202`). On this child, that runs aux's Lua and taints the execution.
## Fix
Create the frame without a parent. `merchant_on_update` only acts on a flag that is set by a bag update while the merchant is visible and cleared when it closes, so behaviour should be the same. I did not check aux's vendor price recording afterwards, or whether other aux frames sit inside game windows.
Diff against `main` as of 29 November:
```diff
--- a/client_addons/aux-addon/core/cache.lua
+++ b/client_addons/aux-addon/core/cache.lua
@@ -28,7 +28,7 @@
aux.event_listener('MERCHANT_UPDATE', on_merchant_update)
aux.event_listener('BAG_UPDATE', on_bag_update)
- CreateFrame('Frame', nil, MerchantFrame):SetScript('OnUpdate', merchant_on_update)
+ CreateFrame('Frame'):SetScript('OnUpdate', merchant_on_update)
aux.event_listener('NEW_AUCTION_UPDATE', function()
local data = auction_sell_item()
```
Thank you again. Both of your changes are merged as you wrote them (source commit 23561c9) and are out in patch step addon-gitea1-merchant-20261129:
NativeBagSlots.lua: the watcher frame replaces the UpdateAddSlots hook, so opening bags at a merchant no longer raises the nil-call error.
aux-addon/core/cache.lua: the merchant OnUpdate frame no longer has MerchantFrame as its parent, so the gamepad navigation no longer runs aux's wrapped GetScript.
On your open question, I checked aux for other frames parented to game windows. None are; every other aux frame is a child of aux's own frames. The merchant scan flag is only set while the merchant is visible and is cleared on close, so the unparented frame does nothing at other times.
On our local realm (mouse and keyboard) both files load with no Lua error. I could not drive a merchant with the gamepad UI here, so your gamepad merchant test is the proof. If the popup or the hang comes back, please send the taint log again.
Thank you again. Both of your changes are merged as you wrote them (source commit 23561c9) and are out in patch step `addon-gitea1-merchant-20261129`:
- **NativeBagSlots.lua:** the watcher frame replaces the `UpdateAddSlots` hook, so opening bags at a merchant no longer raises the nil-call error.
- **aux-addon/core/cache.lua:** the merchant OnUpdate frame no longer has `MerchantFrame` as its parent, so the gamepad navigation no longer runs aux's wrapped `GetScript`.
On your open question, I checked aux for other frames parented to game windows. None are; every other aux frame is a child of aux's own frames. The merchant scan flag is only set while the merchant is visible and is cleared on close, so the unparented frame does nothing at other times.
On our local realm (mouse and keyboard) both files load with no Lua error. I could not drive a merchant with the gamepad UI here, so your gamepad merchant test is the proof. If the popup or the hang comes back, please send the taint log again.
Merchant retest: passed. With addon-gitea1-merchant-20261129 installed (both file hashes matched the merged fixes) and the gamepad UI on, buying and selling at a vendor worked. The taint log from that session blames nothing on aux-addon or WoWHybridUI. I have since re-downloaded the client; on that new copy, with the gamepad on, I bought and sold an item and got no Lua errors or popups.
One new finding: OctoErrorLog. This was on the previous install, in the 29 Nov session where the shop add-on raised its load errors (since fixed by addon-shopdata-20261129):
Gamepad on, alongside those errors: attempt to call a nil value (count 3) at Blizzard_ScriptErrorsFrame.lua:121, which is index = self:AddErrorData(...).
taint.log, 20:50:33 to 20:51:28: 1,501 blocked SetPreferredGamepadInteractTarget() calls, all attributed to OctoErrorLog. One was on closing the vendor window. 1,488 ran through StaticPopup1Button2:Click() between 20:51:10 and 20:51:28, which looks like the popup loop again. I haven't confirmed what was on screen then.
OctoErrorLog does hooksecurefunc(ScriptErrorsFrame, "AddErrorData", Record), and it still does on main (fd87ad92cb). I suspect that hook causes both, as with the UpdateAddSlots hook, but I have not proved it. It may only show once a Lua error reaches the error window, so a clean login would not exercise it.
Suggested fix: read the error window's stored errors from an unparented frame instead of hooking it. This replaces everything from local function Hook() to the end of OctoErrorLog.lua. It passed a simulated test against a hand-typed copy of the file as it was before the text-size lines were added; it has not been tested in game.
localcopied={}-- error window index -> occurrences already recordedlocalfunctionCopy()ifnotScriptErrorsFrameortype(ScriptErrorsFrame.GetCount)~="function"ortype(ScriptErrorsFrame.GetErrorData)~="function"thenreturnendStart()forindex=1,ScriptErrorsFrame:GetCount()or0dolocaldata=ScriptErrorsFrame:GetErrorData(index)iftype(data)=="table"thenwhile(copied[index]or0)<(data.countor1)docopied[index]=(copied[index]or0)+1pcall(Record,nil,data.messageType,data.message,data.stack)endendendendStart()localwatcher,waited=CreateFrame("Frame"),0watcher:RegisterEvent("PLAYER_LOGOUT")watcher:SetScript("OnEvent",Copy)watcher:SetScript("OnUpdate",function(_,elapsed)waited=waited+elapsedifwaited>=1thenwaited=0;Copy()endend)localf=CreateFrame("Frame")f:RegisterEvent("ADDON_LOADED")f:RegisterEvent("PLAYER_LOGIN")f:SetScript("OnEvent",function(self,event,name)if(event=="ADDON_LOADED"andname=="OctoErrorLog")orevent=="PLAYER_LOGIN"thenStart();Attach()endifattachedthenself:UnregisterAllEvents()endend)
The gamepad popups originally reported here look fixed from my side, so I'm fine with you closing this once you've seen the note above.
**Merchant retest: passed.** With `addon-gitea1-merchant-20261129` installed (both file hashes matched the merged fixes) and the gamepad UI on, buying and selling at a vendor worked. The taint log from that session blames nothing on aux-addon or WoWHybridUI. I have since re-downloaded the client; on that new copy, with the gamepad on, I bought and sold an item and got no Lua errors or popups.
**One new finding: OctoErrorLog.** This was on the previous install, in the 29 Nov session where the shop add-on raised its load errors (since fixed by `addon-shopdata-20261129`):
- Gamepad on, alongside those errors: `attempt to call a nil value` (count 3) at `Blizzard_ScriptErrorsFrame.lua:121`, which is `index = self:AddErrorData(...)`.
- `taint.log`, 20:50:33 to 20:51:28: 1,501 blocked `SetPreferredGamepadInteractTarget()` calls, all attributed to OctoErrorLog. One was on closing the vendor window. 1,488 ran through `StaticPopup1Button2:Click()` between 20:51:10 and 20:51:28, which looks like the popup loop again. I haven't confirmed what was on screen then.
OctoErrorLog does `hooksecurefunc(ScriptErrorsFrame, "AddErrorData", Record)`, and it still does on main (`fd87ad92cb`). I suspect that hook causes both, as with the `UpdateAddSlots` hook, but I have not proved it. It may only show once a Lua error reaches the error window, so a clean login would not exercise it.
**Suggested fix:** read the error window's stored errors from an unparented frame instead of hooking it. This replaces everything from `local function Hook()` to the end of `OctoErrorLog.lua`. It passed a simulated test against a hand-typed copy of the file as it was before the text-size lines were added; **it has not been tested in game.**
```lua
local copied = {} -- error window index -> occurrences already recorded
local function Copy()
if not ScriptErrorsFrame or type(ScriptErrorsFrame.GetCount) ~= "function"
or type(ScriptErrorsFrame.GetErrorData) ~= "function" then return end
Start()
for index = 1, ScriptErrorsFrame:GetCount() or 0 do
local data = ScriptErrorsFrame:GetErrorData(index)
if type(data) == "table" then
while (copied[index] or 0) < (data.count or 1) do
copied[index] = (copied[index] or 0) + 1
pcall(Record, nil, data.messageType, data.message, data.stack)
end
end
end
end
Start()
local watcher, waited = CreateFrame("Frame"), 0
watcher:RegisterEvent("PLAYER_LOGOUT")
watcher:SetScript("OnEvent", Copy)
watcher:SetScript("OnUpdate", function(_, elapsed)
waited = waited + elapsed
if waited >= 1 then waited = 0; Copy() end
end)
local f = CreateFrame("Frame")
f:RegisterEvent("ADDON_LOADED")
f:RegisterEvent("PLAYER_LOGIN")
f:SetScript("OnEvent", function(self, event, name)
if (event == "ADDON_LOADED" and name == "OctoErrorLog") or event == "PLAYER_LOGIN" then Start(); Attach() end
if attached then self:UnregisterAllEvents() end
end)
```
The gamepad popups originally reported here look fixed from my side, so I'm fine with you closing this once you've seen the note above.
Thank you, eineath. Your OctoErrorLog fix is merged as you wrote it (source cf6a8f24). It is out in patch step addon-errorlog-gitea1-20261130, next to the batch from earlier today.
The add-on no longer calls hooksecurefunc(ScriptErrorsFrame, "AddErrorData", ...). An unparented frame reads the error window's own store through GetCount() / GetErrorData() once a second and again at logout.
I checked your field names against this client's Blizzard_ScriptErrorsFrame.lua. Each stored entry has count, message, messageType and stack, so your code matches. There is also a small gain: a repeated error only raises errorData.count and never calls AddErrorData, so the old hook missed repeats. Your version records them.
Host test with a stand-in error window: two distinct errors, one repeated three times, one added after login. Both were recorded with the right counts, and the hook path is never used.
As you noted, it has not been tested in game with the gamepad. If the SetPreferredGamepadInteractTarget() popups or the hang come back, please reopen this with the taint log.
Closing, since the original gamepad issues are fixed on your side.
Thank you, eineath. **Your OctoErrorLog fix is merged** as you wrote it (source `cf6a8f24`). It is out in patch step `addon-errorlog-gitea1-20261130`, next to the batch from earlier today.
- The add-on no longer calls `hooksecurefunc(ScriptErrorsFrame, "AddErrorData", ...)`. An unparented frame reads the error window's own store through `GetCount()` / `GetErrorData()` once a second and again at logout.
- I checked your field names against this client's `Blizzard_ScriptErrorsFrame.lua`. Each stored entry has `count`, `message`, `messageType` and `stack`, so your code matches. There is also a small gain: a repeated error only raises `errorData.count` and never calls `AddErrorData`, so the old hook missed repeats. Your version records them.
- Host test with a stand-in error window: two distinct errors, one repeated three times, one added after login. Both were recorded with the right counts, and the hook path is never used.
As you noted, it has not been tested in game with the gamepad. If the `SetPreferredGamepadInteractTarget()` popups or the hang come back, please reopen this with the taint log.
Closing, since the original gamepad issues are fixed on your side.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Great Job! was able to login successfully using my account and saw the enormous improvements.
I know this is still in development, seeing this when trying to use my controller (nintendo switch pro) and trying to do some modifications from the menu:
Thanks for the report and the screenshot!
Cause: OctoMoveWindows hooked the game menu, the Options panel and the AddOns list to make them movable. With a controller, the client navigates those menus through protected Blizzard code, and the hooks made that code count as addon code, which gave the "blocked from an action" popup.
Fix (OctoMoveWindows 0.3): those three menus are no longer touched; all other windows stay movable. It is in the update
movewindows-resize-20261127. Run the updater (or start the game through it) to get it.If the popup still shows up with the controller after updating, please reopen this issue and say which menu you were in.
Still seeing this after assigning controller buttons with skills / spells from spellbook which then hangs/crashes the game:
Log In Successful in Linux using play-linux.shto Gamepad controller issuesThanks, that helps. This popup comes from a different part of WoWHybridUI than the menu fix: assigning spellbook spells to controller buttons goes through protected action-bar code, and one of our UI hooks taints it. It is queued as a priority fix. If you have a crash file from the hang (
_classic_beta_\Errors\*.txtfrom that time), please attach it or send it with OctoReport.WoWHybridUI bug report: blocked-action popup and talent load error
With the gamepad UI on, closing the spellbook raises "WoWHybridUI has been blocked from an action only available to the Blizzard UI". Turning off the Turtle talent adapter (
TurtleTalents.lua) stopped the popup in my test, but exposes a talent load error.Setup
TurtleTalents.luaSHA-256564bdff5a43ae5394441d5f9ac6207d5ec24cae7557695c4c87cbf6324efe6f4OctoMoveWindowswas disabled locally during the level 2 log and the test belowProblem 1: blocked-action popup
The blocked call is
SetPreferredGamepadInteractTarget():StaticPopupGamepad.lua) repeats the call, which raises the popup again.ON_BAR_HIGHLIGHT_MARKSandPET_ACTION_HIGHLIGHT_MARKS, which game code then reads.Likely cause and test
The likely cause is the talent adapter writing Lua functions onto the game's talent panel, which sits in the same window as the spellbook. This is inferred from code. Level 2 logging does not show which value first tainted the run.
armEarlyBinding(line 340) hooksTalentFrameBaseMixin.OnLoadand replacesframe.RefreshConfigID(line 347). The game calls it while still loading the window.install(line 177) then assigns many more methods onPlayerSpellsFrame.TalentsFrame(lines 182–305).ClearOnBarHighlightMarks, reached fromPlayerSpellsFrameOnShow. No tainted global read by WoWHybridUI comes before it.Local test: I disabled the early hook and the automatic
install, so the adapter attached only on/turtletalents. This was one tester, and the two changes were not tested separately./turtletalentsThe second result is weaker evidence: the slash command also calls
ShowUIPanelfrom add-on code.Problem 2: talent load error without the adapter
With the adapter not attached, the first spellbook open raised this Lua error (16:40:16). Later opens were fine.
Line 893 is
C_ClassTalents.GetActiveConfigID() or self.configIDs[1]. The likely reading is that the first returns nothing here andself.configIDsis not yet set. The early hook normally replaces this function before it can fail.Fix ideas (untested)
PlayerSpellsFrame, leaving the game's talent panel untouched.Possibly related:
OctoMoveWindowstriggered the same blocked call when the loot window closed, 1,026 times in about 11 seconds.Attached: the level 2 taint log (
4a063a90-taint-level2.log.gz) from the 16:20 session.I checked
_classic_beta_\Errorsand found no crash file from around the time of the hang. If it happens again, I'll note the time and attach any new file from that folder.Thank you, this is an excellent report. The A/B with the adapter detached, the exact call chain and the RefreshConfigID error together point to the real fix:
PlayerSpellsFrame.TalentsFrame.It is in progress now. I will post here when the update is out, and test it with a taint log first (open spellbook, place a spell on a bar, close: zero blocked actions).
Update is out (patch step
gitea1-talents-20261128, source commitc0dca66). Thank you for the detailed report: the adapter-attached vs. detached test pointed straight at the cause.What changed:
C_ClassTalents.GetActiveConfigID()returns a value and the game's own talents panel loads without help. The early hook onTalentFrameBaseMixin.OnLoadand theRefreshConfigIDreplacement are gone.TurtleTalents.luano longer writes anything ontoPlayerSpellsFrame.TalentsFrame. The Turtle talents now render in an add-on-owned copy of the talents frame, layered over the Talents tab. It follows the game's frame only throughHookScript(shown/hidden with it). The game's frame keeps running its own code untouched./turtletalentsno longer callsShowUIPanel; it only refreshes the open window.Tested on our local realm with
taintLog 2: open spellbook, drag a spell onto the bar, close, then open and close talents. Result: 0ADDON_ACTION_BLOCKED, and the taint log has no WoWHybridUI writes (noON_BAR_HIGHLIGHT_MARKS/PET_ACTION_HIGHLIGHT_MARKS). The only WoWHybridUI entries are its slash-command names, which are read whenever chat parses a command.I could not switch on the gamepad UI in my test, so the exact
SetPreferredGamepadInteractTargetpath is not verified. Could you repeat your gamepad test after updating and tell me if the popup is gone? I'll close the issue once you confirm.Retest after
gitea1-talents-20261128: with the gamepad UI on, the "blocked from an action" popup (SetPreferredGamepadInteractTarget()) was still there, now blamed on OctoMoveWindows. It showed after adding a spell to a bar and closing the spellbook, after/turtletalents, and later on almost every window opened from the + menu wheel. Opening the spellbook gave no Lua error.I tested changes to three files, and they cleared the popup in the wheel menu checks.
OctoMoveWindows.luaNativeSocialSimplify.luaNativeGuildSearch.luaFinal run with all three: guild search steps (sort, offline checkbox, search) passed with the gamepad off, and the wheel menu checks passed with it on, with no popup or Lua error.
Why each file
attempt to call a nil valueatCommunitiesMemberList.lua:411and:450, with the gamepad both on and off. Both lines callself:RefreshListDisplay(), which the guild search file hooks. I only saw it with that hook installed (the original file with gamepad on, and an interim version with the same hooks with gamepad off). It did not show after removing the hook. I don't know why the hooked call fails.Trade-offs and limits
/reload. Switching was not tested in detail.The diffs are against the files on
mainas of 29 November.OctoMoveWindows.lua diff
NativeSocialSimplify.lua diff
NativeGuildSearch.lua diff
Thank you, this is a very clear retest. Your three changes are now merged as they are (source commit
3798488) and are out in patch stepaddon-gamepad-gitea1-20261129:/reloadif you switch to the gamepad UI mid-session after hooks were already installed.CommunitiesMemberList.lua:411/450nil-call should be gone in both modes.On our local realm with mouse and keyboard: the guild search box shows on the Roster view and filters, with no Lua errors. I can't turn on the gamepad UI here, so the gamepad side relies on your test. Could you confirm after updating? I'll close the issue then.
As you noted, the trade-off is that with the gamepad UI on there are no saved window positions, no guild search and no simplified Social window. Once we know which single hook causes the taint, we can bring those back for gamepad users.
Retested after
addon-gamepad-gitea1-20261129: the three fixes work. Apart from the merchant (below), these passed:/turtletalents, the + menu wheel windows, looting, a mailbox and a quest giver./reload.New finding: opening a merchant
1. Lua error (shipped files)
Line 2897 calls
self:UpdateAddSlots(), whichWoWHybridUI/NativeBagSlots.luahooks withhooksecurefunc. This is the same pattern as the Guild error. I tried replacing that hook with a small watcher frame (diff below): the bags opened, the error did not show, and no extra add-slots button appeared. Why the hooked call fails is still unknown.2. aux-addon popup (still there with that change)
With the gamepad UI on, opening a merchant shows "aux-addon has been blocked from an action only available to the Blizzard UI."
I don't know which action is blocked. The taint log I saved has a single entry and no blocked-action line:
The diff is against
mainas of 29 November.NativeBagSlots.lua diff
The merchant popup is gone in my test after a one-line change in aux-addon. I had that change and the
NativeBagSlots.luachange from my last comment installed, gamepad UI on. Opening a merchant, buying or selling, closing with the close button, repeating that, and closing with B gave no popup and no Lua error. The popup was still there with only the bag change.Correction: I said the popup appears when opening a merchant. In the first log that caught the blocked call, it came from closing the merchant with the close button, with no blocked call logged before that.
The popup can hang the game
Clicking Ignore hung the game. The log has 4,102 blocked
SetPreferredGamepadInteractTarget()calls, all blamed on aux-addon (29 November):StaticPopup_OnClickStaticPopup_EscapePressedIn the last two rows, hiding the popup repeats the blocked call, and so does showing the next one, so it loops.
Likely cause (from reading the code)
aux-addon/core/cache.lua:31creates a frame as a child ofMerchantFrame. It uses aux'sCreateFramefromcompat.lua, which replaces several methods on the frame, includingGetScript.GetScript("OnMouseUp")on those that are not buttons (Blizzard_GamepadSmartNavigation/Utility.lua:202). On this child, that runs aux's Lua and taints the execution.Fix
Create the frame without a parent.
merchant_on_updateonly acts on a flag that is set by a bag update while the merchant is visible and cleared when it closes, so behaviour should be the same. I did not check aux's vendor price recording afterwards, or whether other aux frames sit inside game windows.Diff against
mainas of 29 November:Thank you again. Both of your changes are merged as you wrote them (source commit
23561c9) and are out in patch stepaddon-gitea1-merchant-20261129:UpdateAddSlotshook, so opening bags at a merchant no longer raises the nil-call error.MerchantFrameas its parent, so the gamepad navigation no longer runs aux's wrappedGetScript.On your open question, I checked aux for other frames parented to game windows. None are; every other aux frame is a child of aux's own frames. The merchant scan flag is only set while the merchant is visible and is cleared on close, so the unparented frame does nothing at other times.
On our local realm (mouse and keyboard) both files load with no Lua error. I could not drive a merchant with the gamepad UI here, so your gamepad merchant test is the proof. If the popup or the hang comes back, please send the taint log again.
Merchant retest: passed. With
addon-gitea1-merchant-20261129installed (both file hashes matched the merged fixes) and the gamepad UI on, buying and selling at a vendor worked. The taint log from that session blames nothing on aux-addon or WoWHybridUI. I have since re-downloaded the client; on that new copy, with the gamepad on, I bought and sold an item and got no Lua errors or popups.One new finding: OctoErrorLog. This was on the previous install, in the 29 Nov session where the shop add-on raised its load errors (since fixed by
addon-shopdata-20261129):attempt to call a nil value(count 3) atBlizzard_ScriptErrorsFrame.lua:121, which isindex = self:AddErrorData(...).taint.log, 20:50:33 to 20:51:28: 1,501 blockedSetPreferredGamepadInteractTarget()calls, all attributed to OctoErrorLog. One was on closing the vendor window. 1,488 ran throughStaticPopup1Button2:Click()between 20:51:10 and 20:51:28, which looks like the popup loop again. I haven't confirmed what was on screen then.OctoErrorLog does
hooksecurefunc(ScriptErrorsFrame, "AddErrorData", Record), and it still does on main (fd87ad92cb). I suspect that hook causes both, as with theUpdateAddSlotshook, but I have not proved it. It may only show once a Lua error reaches the error window, so a clean login would not exercise it.Suggested fix: read the error window's stored errors from an unparented frame instead of hooking it. This replaces everything from
local function Hook()to the end ofOctoErrorLog.lua. It passed a simulated test against a hand-typed copy of the file as it was before the text-size lines were added; it has not been tested in game.The gamepad popups originally reported here look fixed from my side, so I'm fine with you closing this once you've seen the note above.
Thank you, eineath. Your OctoErrorLog fix is merged as you wrote it (source
cf6a8f24). It is out in patch stepaddon-errorlog-gitea1-20261130, next to the batch from earlier today.hooksecurefunc(ScriptErrorsFrame, "AddErrorData", ...). An unparented frame reads the error window's own store throughGetCount()/GetErrorData()once a second and again at logout.Blizzard_ScriptErrorsFrame.lua. Each stored entry hascount,message,messageTypeandstack, so your code matches. There is also a small gain: a repeated error only raiseserrorData.countand never callsAddErrorData, so the old hook missed repeats. Your version records them.As you noted, it has not been tested in game with the gamepad. If the
SetPreferredGamepadInteractTarget()popups or the hang come back, please reopen this with the taint log.Closing, since the original gamepad issues are fixed on your side.