How to close the settings panel?
Yet another question about wow 10.x...
Any idea about how to correctly close the settings panel - previously opened by Settings.OpenToCategory(addonName)? I tried SettingsPanel:Hide() but it's not the correct way! |
There's SettingsPanel:Close(). Be aware of taint issues.
|
Quote:
|
Quote:
Quote:
|
It also happens when not in combat.
In fact, it sometimes also happens when I manually close the Binding panel. There is something wrong with the bindings. I don't know if the binding rules/processes have been modified or if the PTR doesn't handle correctly some settings panel at his point. |
I reiterate...
Quote:
|
Quote:
The settings panel errors out even manually accessing it. I thought the problem I had with it the other day was because I was trying to use it and it went wrong. But it seems any loaded addon, so far, seems to trigger an error when you save .. every time .. but not if you unload all the addons, even bugsack/buggrabber. I am wondering if its because of what that part of the game does and if the addons in question does the same thing it interferes.. For example: nUI causes wow to have a hissy fit on both the settings panel and the edit mode system. nUI utilises saved variables and reparents blizzards frames. My action bar test addon doesn't have an issue with either of them as it doesn't do either of those My portal addon doesn't have problem with the edit mode system but does with the settings, because it uses the saved variables system. I'll have to do some more specific tests of this like just to see if my theory is correct with the same simple test addon and just see what happens. But that said, when I looked at my saved variables on a test addon I recently made that had the same settings error appear, the settings were written to the file. Something somewhere is just not liking it in Blizzards code somewhere. |
First test:
Simple addon of 3 lines Lua Code:
On its own, I can go into the settings and adjust anything and close it with no errors. Added Bugsack and Buggrabber to add a custom options frame and it then has problems. Now seeing most of us use these 2 addons I wouldn't be surprised if we will have to wait until they have updated their addons to fully work in 10.0 before those errors go away. Unfortunately it doesn't solve my nUI and editmode issues. But I suspect I know why but need to test that theory another time. |
Actually, it's a real mess in my addons and it's raining errors like a stormy day in Darkshore, but now I've rewrited accesses to Settings panel, the weird error came when opening Bindings panel.
Furthermore, HEADER tags in the Bindings.xml file don't seem to be interpreted. Maybe all we have to do is to wait and see (and cross our fingers). |
Ah cool the framexml stuff is back on Gethe's github for Dragonflight API
https://github.com/Gethe/wow-ui-sour...beta/Interface |
This worked without any errors or taint that I could see.
HideUIPanel(SettingsPanel) |
Quote:
Khartus, my main character is a hunter and I *love* your Hunters' Timer addon. I use it since many years but the version I have - 4.4.7 - causes errors with Dragonflight. :( |
I closed that frame right after so I didn't notice if anything was amiss.
HideUIPanel(SettingsPanel) HideUIPanel(GameMenuFrame) |
Quote:
|
All times are GMT -6. The time now is 02:26 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI