4 - Loses position after disabling and later reenabling addon
What steps will reproduce the problem?
1. Install TC, login, setup including non-standard positioning
2. Logout
3. Disable TC
4. Login
5. Logout
6. Enable TC
7. Login
What is the expected output? What do you see instead?
One would expect to see TC setup as it was in step 1, but all positioning has been reset.
What version of the product are you using?
1.5.3
Do you have an error log of what happened?
N/A
Please provide any additional information below.
After additional research I found how TC's position is normally remembered: via Blizzard's default layout mechanisms, in the file WTF/Account/[AccountName]/[ServerName]/[CharacterName]/layout-local.txt
TC loses its positioning after disabling and reenabling because this file is updated upon every logout (and the beginning of reloadui) with the current position of the *current frames*. And only the current frames. As such, the moment you logout (or start reloadui) when TC is not loaded, TC is not on screen and hence its position not remembered. Next time you load the plugin again, the position is reset to default since it was a goner.
The best way of dealing with this is probably to save the location yourself in your addon settings and reloading said location at each load of the plugin.
- 1 comment
- 1 comment
- Reply
- #1
Gander Dec 06, 2011 at 21:34 UTC - 0 likesIf I re-activate my wow account, I will fix these.