Frame Location Changing after Turning in / Picking up New Quest
jtmunn opened this issue ยท 10 comments
Please create a new issue, preferably with some screenshots or even a short low-res movie demonstrating the issue. I have to confess, I'm pretty dense when it comes to UI issues, so pictures and a step-by-step description has alot of value.
Originally posted by @Ludovicus-Maior in #443 (comment)
Thanks for the screenshots. Would you mind uploading a copy of your global state file?
On my Mac, it is located here: /Applications/World\ of\ Warcraft/_classic_/WTF/Account/XXX\#1/SavedVariables/WoWPro.lua
. I bet you are on windows, but once you find your wow client location and flip the slashes, it is pretty much the same.
It will have information in it that will tell me the anchoring point choice stored in the profile.
This is in TBC: Classic FYI.
-
Pickup a quest and align frame with something else in UI for reference (top aligned with right action bar):
-
After questing a while, turning in quests and picking up a new quest, the frame is no longer aligned:
-
My hunch is that the code is incorrectly capturing the origin point (top right) or that the frame is needing extra space after the origin point was set due to the size required for the current quest block (maybe due to quest-use items? since I only noticed after the item appeared for the quest?)
I had to change to .txt because it said the other file type was not supported. For what it's worth, this happens on each of my toons. It's not game breaking, I will continue to use the AddOn, it's just a little frustrating :)
@jtmunn I'm sorry to bother you again, but you gave me the state file for your character, not the global one.
Please look for the SavedVariables\WoWPro.lua
file that is not under the realm\character directory.
@Ludovicus-Maior - Sorry, I thought I followed the path you provided. Here it is:
WoWPro.lua (2).txt
Thanks. Inside is this tidbit:
["position"] = {
"RIGHT", -- [1]
nil, -- [2]
"RIGHT", -- [3]
-51.86966705322266, -- [4]
154.6867523193359, -- [5]
},
Which tells the anchor point the UI used was the right center of the window
Nope! That's why I need to add some code to let you set this, if you care.
This just let me confirm that it was working as designed, which is not what you want.
I understand. I really do appreciate your help. I have some dev experience myself so if there's anything I can do please let me know. I've never worked with LUA / Wow Addons before, but wouldn't mind getting my hands dirty if it helps out.