Can't find an issue tab in your pfQuest fork so I'm posting this in here:
"pfquest has been blocked" popup when opening/closing the world map (Forever client 0.9.6, OctoWoW gateway)
Opening and closing the world map brings up "pfquest has been blocked from an action only available to the Blizzard UI". It happens with only pfQuest, pfQuest-loader and pfQuest-turtle enabled. ADDON_ACTION_BLOCKED names the call as SetPreferredGamepadInteractTarget(). pfQuest seems to be calling it on map open/close, possibly through Blizzard's map code after pfQuest reparents its pins to WorldMapButton or changes frame levels on WorldMapFrame's children.
A second thing I found: route.SetTarget sets pfMap.queue_update = true, and map.lua then adds a number to it (the error is at map.lua line 2411). Everywhere else it holds GetTime().
Can't find an issue tab in your [pfQuest fork](https://octowow.st/git/praxis/pfQuest) so I'm posting this in here:
"pfquest has been blocked" popup when opening/closing the world map (Forever client 0.9.6, OctoWoW gateway)
Opening and closing the world map brings up "pfquest has been blocked from an action only available to the Blizzard UI". It happens with only pfQuest, pfQuest-loader and pfQuest-turtle enabled. ADDON_ACTION_BLOCKED names the call as SetPreferredGamepadInteractTarget(). pfQuest seems to be calling it on map open/close, possibly through Blizzard's map code after pfQuest reparents its pins to WorldMapButton or changes frame levels on WorldMapFrame's children.
A second thing I found: route.SetTarget sets pfMap.queue_update = true, and map.lua then adds a number to it (the error is at map.lua line 2411). Everywhere else it holds GetTime().
Second issue (queue_update = true): fixed in praxis/pfQuest f92390b. route.SetTarget now stores GetTime() like every other caller, so map.lua:2411 no longer does arithmetic on a boolean. Pull the repo or reinstall the add-on to get it.
Blocked popup (SetPreferredGamepadInteractTarget): not reproduced yet on our test client with keyboard and mouse, including with GamePadEnable 1 and only pfQuest, pfQuest-loader and pfQuest-turtle loaded. That API is only reached on the gamepad interaction path. Are you playing with a controller connected (or Gamepad mode enabled in options)? A /console taintLog 2 session that ends with the popup, then the Logs/taint.log file, would name the exact tainting line. We are also checking the map code paths on our side. The issue stays open until it is fixed and you confirm.
Thanks for the detailed report.
**Second issue (queue_update = true):** fixed in praxis/pfQuest `f92390b`. `route.SetTarget` now stores `GetTime()` like every other caller, so `map.lua:2411` no longer does arithmetic on a boolean. Pull the repo or reinstall the add-on to get it.
**Blocked popup (SetPreferredGamepadInteractTarget):** not reproduced yet on our test client with keyboard and mouse, including with `GamePadEnable 1` and only pfQuest, pfQuest-loader and pfQuest-turtle loaded. That API is only reached on the gamepad interaction path. Are you playing with a controller connected (or Gamepad mode enabled in options)? A `/console taintLog 2` session that ends with the popup, then the `Logs/taint.log` file, would name the exact tainting line. We are also checking the map code paths on our side. The issue stays open until it is fixed and you confirm.
Confirmed: it only happens with gamepad enabled. Excerpt of the taint log attached (taintLog 2, only pfQuest, pfQuest-loader and pfQuest-turtle).
The chain is: the map key runs ToggleWorldMap → ShowUIPanel → WorldMapFrame:Show → SetMapID → OnMapChanged. The OnMapChanged hook (compat/forever.lua:611 → fire → call → map.lua:2304) then runs pfquest-turtle's pfQuestMap:UpdateNodes, which reads pfQuest_config and pfQuest_colors through forever.lua:63. That makes execution tainted by pfquest. About 65 ms later, SmartNavigation:UnregisterCallback (CallbackRegistry.lua:236) runs, then GamepadMainActionBarFrame:UpdateInteractIcons calls SetPreferredGamepadInteractTarget(), and the game blocks it. The popup's own gamepad focus handling then hits it again.
Maybe moving the node update out of the OnMapChanged/OnShow hooks (set a flag there and update on pfQuest's next frame) would avoid it. Also seen earlier in the log: UIDROPDOWNMENU_MENU_LEVEL gets tainted by pfquest (UIDropDownMenu.lua:44).
Confirmed: it only happens with gamepad enabled. Excerpt of the taint log attached (taintLog 2, only pfQuest, pfQuest-loader and pfQuest-turtle).
The chain is: the map key runs ToggleWorldMap → ShowUIPanel → WorldMapFrame:Show → SetMapID → OnMapChanged. The OnMapChanged hook (compat/forever.lua:611 → fire → call → map.lua:2304) then runs pfquest-turtle's pfQuestMap:UpdateNodes, which reads pfQuest_config and pfQuest_colors through forever.lua:63. That makes execution tainted by pfquest. About 65 ms later, SmartNavigation:UnregisterCallback (CallbackRegistry.lua:236) runs, then GamepadMainActionBarFrame:UpdateInteractIcons calls SetPreferredGamepadInteractTarget(), and the game blocks it. The popup's own gamepad focus handling then hits it again.
Maybe moving the node update out of the OnMapChanged/OnShow hooks (set a flag there and update on pfQuest's next frame) would avoid it. Also seen earlier in the log: UIDROPDOWNMENU_MENU_LEVEL gets tainted by pfquest (UIDropDownMenu.lua:44).
Fix is on Gitea now: pfQuest 980f3bc5 and pfQuest-turtle ea67312f (update both; pfQuest-turtle first). Opening and closing the world map no longer routes pfQuest through the protected gamepad-interact path, and the queue_update arithmetic error in map.lua is gone. This also includes two other map fixes from today: quest pins no longer vanish on zoom, and the Show/Hide/Clean/Reset buttons no longer stay on screen. Tested on our side with gamepad mode enabled but without a physical controller. Could you retest with your controller and confirm? I will keep this open until you do.
Fix is on Gitea now: pfQuest 980f3bc5 and pfQuest-turtle ea67312f (update both; pfQuest-turtle first). Opening and closing the world map no longer routes pfQuest through the protected gamepad-interact path, and the queue_update arithmetic error in map.lua is gone. This also includes two other map fixes from today: quest pins no longer vanish on zoom, and the Show/Hide/Clean/Reset buttons no longer stay on screen. Tested on our side with gamepad mode enabled but without a physical controller. Could you retest with your controller and confirm? I will keep this open until you do.
Retested with pfQuest 980f3bc5 and pfQuest-turtle ea67312f (pfQuest-turtle updated first), with gamepad mode both on and off: opening and closing the world map no longer brings up the "pfquest has been blocked" popup, and the queue_update error is gone too. Confirmed fixed, thanks!
Retested with pfQuest 980f3bc5 and pfQuest-turtle ea67312f (pfQuest-turtle updated first), with gamepad mode both on and off: opening and closing the world map no longer brings up the "pfquest has been blocked" popup, and the queue_update error is gone too. Confirmed fixed, thanks!
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.
Can't find an issue tab in your pfQuest fork so I'm posting this in here:
"pfquest has been blocked" popup when opening/closing the world map (Forever client 0.9.6, OctoWoW gateway)
Opening and closing the world map brings up "pfquest has been blocked from an action only available to the Blizzard UI". It happens with only pfQuest, pfQuest-loader and pfQuest-turtle enabled. ADDON_ACTION_BLOCKED names the call as SetPreferredGamepadInteractTarget(). pfQuest seems to be calling it on map open/close, possibly through Blizzard's map code after pfQuest reparents its pins to WorldMapButton or changes frame levels on WorldMapFrame's children.
A second thing I found: route.SetTarget sets pfMap.queue_update = true, and map.lua then adds a number to it (the error is at map.lua line 2411). Everywhere else it holds GetTime().
Thanks for the detailed report.
Second issue (queue_update = true): fixed in praxis/pfQuest
f92390b.route.SetTargetnow storesGetTime()like every other caller, somap.lua:2411no longer does arithmetic on a boolean. Pull the repo or reinstall the add-on to get it.Blocked popup (SetPreferredGamepadInteractTarget): not reproduced yet on our test client with keyboard and mouse, including with
GamePadEnable 1and only pfQuest, pfQuest-loader and pfQuest-turtle loaded. That API is only reached on the gamepad interaction path. Are you playing with a controller connected (or Gamepad mode enabled in options)? A/console taintLog 2session that ends with the popup, then theLogs/taint.logfile, would name the exact tainting line. We are also checking the map code paths on our side. The issue stays open until it is fixed and you confirm.Confirmed: it only happens with gamepad enabled. Excerpt of the taint log attached (taintLog 2, only pfQuest, pfQuest-loader and pfQuest-turtle).
The chain is: the map key runs ToggleWorldMap → ShowUIPanel → WorldMapFrame:Show → SetMapID → OnMapChanged. The OnMapChanged hook (compat/forever.lua:611 → fire → call → map.lua:2304) then runs pfquest-turtle's pfQuestMap:UpdateNodes, which reads pfQuest_config and pfQuest_colors through forever.lua:63. That makes execution tainted by pfquest. About 65 ms later, SmartNavigation:UnregisterCallback (CallbackRegistry.lua:236) runs, then GamepadMainActionBarFrame:UpdateInteractIcons calls SetPreferredGamepadInteractTarget(), and the game blocks it. The popup's own gamepad focus handling then hits it again.
Maybe moving the node update out of the OnMapChanged/OnShow hooks (set a flag there and update on pfQuest's next frame) would avoid it. Also seen earlier in the log: UIDROPDOWNMENU_MENU_LEVEL gets tainted by pfquest (UIDropDownMenu.lua:44).
Fix is on Gitea now: pfQuest 980f3bc5 and pfQuest-turtle ea67312f (update both; pfQuest-turtle first). Opening and closing the world map no longer routes pfQuest through the protected gamepad-interact path, and the queue_update arithmetic error in map.lua is gone. This also includes two other map fixes from today: quest pins no longer vanish on zoom, and the Show/Hide/Clean/Reset buttons no longer stay on screen. Tested on our side with gamepad mode enabled but without a physical controller. Could you retest with your controller and confirm? I will keep this open until you do.
Retested with pfQuest 980f3bc5 and pfQuest-turtle ea67312f (pfQuest-turtle updated first), with gamepad mode both on and off: opening and closing the world map no longer brings up the "pfquest has been blocked" popup, and the queue_update error is gone too. Confirmed fixed, thanks!