Interface Options Cancel button taint without any addons
When I open the interface options and then click cancel while in combat I get taint errors, but this time it even happens without any addons enabled?!
Nameplates (Ctrl-V) were toggled off, and both the options for [Personal Resource Display] and [Always Show Nameplates] were turned off I don't understand anything of it :confused: http://forums.wowace.com/showthread.php?t=20880 Build 21973 (June 16) I managed to get a stack trace with Swatter since it conveniently gave an error. BugSack didn't give any error Code:
Date: 2016-06-17 07:04:32 taint.log with the taintLog CVar set to 2 Code:
6/17 07:34:51.816 An action was blocked in combat because of taint from (null) - SetNamePlateOtherSize() I tried the temporary solution in the linked WowAce thread but it didn't prevent it, and even gave an error when /reloading while in combat Code:
Date: 2016-06-17 07:21:32 (Edit 6/26) Thanks, Gello for vaing posted on Legion Beta Bug Report http://us.battle.net/wow/en/forum/topic/20745136783 |
I hate that bug so much. It makes me reluctant to use the interface options panel in my addons.
However, I can confirm it's tainting even without any addons. That's a genuine bug and there may be hope to get it fixed at last. I recommend posting this (or getting this thread moved) to the bug forum, and maybe post on the official legion bug forum too. Anyway this fix appears to work in Legion still: Code:
-- Remove the cancel button The OnClick script handler is there (even with the button removed) because ToggleGameMenu() does a InterfaceOptionsFrameCancel:Click(). So hitting ESC to close options will click Okay instead of Cancel. |
Does pressing ESC have the same effect?
|
Quote:
Yes, it does. Gello also mentioned it |
It's because the cancel button should revert a lot of secure changes you made, and it' not handled properly and securely just a hurrdurr Blizzard method.
|
Quote:
I tried reproducing it and can confirm that also taints Code:
Date: 2016-06-18 00:13:26 |
Also stumbled upon that in alpha when I was starting with my nameplate modifications.
I reported it when addons were officially enabled. |
No idea how, but both of the previous taint errors seem to be gone :)
There only is the usual interface options taint now when config panels have been added, and you press cancel/escape (twice ?) http://forums.wowace.com/showthread.php?t=20880 Build 22019 (June 22) Code:
/run local p=CreateFrame("Frame");p.name="Test";InterfaceOptions_AddCategory(p) /taintlog 1 Code:
6/23 20:45:35.693 Global variable UIDROPDOWNMENU_MENU_LEVEL tainted by MACRO_TAINT - Interface\FrameXML\UIDropDownMenu.lua:38 |
All times are GMT -6. The time now is 09:02 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI