[BUG] ViewFrame would cause Compile Template Frame to be in wrong place.
Comicus opened this issue Β· 9 comments
π΅ Describe the bug:
A clear and concise description of what the bug is.
after looking at Raw Edit (and making no changes), I then attempt to look at Compiles Template and I get an error.
π΅ To reproduce: (Steps to reproduce the behavior)
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
π΅ The error:
Paste the error message in this blockquote.
5x GSE_GUI\MacroPreview.lua:43: attempt to call method 'GetWidth' (a nil value)
[string "@GSE_GUI\MacroPreview.lua"]:43: in function `GUIShowCompiledMacroGui'
[string "@GSE_GUI\Editor.lua"]:1188: in function <GSE_GUI\Editor.lua:1186>
[string "=[C]"]: ?
[string "@Atlas\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <Atlas\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Atlas\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@Altoholic\libs\AceGUI-3.0-41\widgets\AceGUIWidget-Button.lua"]:22: in function <...olic\libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>
[GSE.lua.txt](https://github.com/TimothyLuke/GSE-Advanced-Macro-Compiler/files/6904864/GSE.lua.txt)
π΅ Screenshots:
If applicable, add screenshots to help explain your problem.
π΅ Expected behavior:
A clear and concise description of what you expected to happen.
π΅ GSE.lua file:
Please provide your GSE.lua
file or the export string for the specific macro that is causing an issue.
- To find the GSE.lua file:
- First, make sure you have enabled the "File Name Extensions" checkbox in Explorer (View tab)
- Browse to
C:\path\to\wow\_retail_\WTF\Account\YourAccountName\SavedVariables\
or/path/to/WoW/_retail_/WTF/Account/YourAccountName/SavedVariables
- Copy the
GSE.lua
file to your Desktop - Rename this copy to
GSA.lua.txt
- Then just drag it here in your message
GSE.lua.txt
- Note: If you do not include your GSE.lua file you are wasting your time and mine. 90% of the time, the first thing I will ask for is "Can you please upload your GSE.lua file?". This file is needed with the error to work out Why that error occured for you.
π΅ Desktop (please complete the following information):
- OS: Windows 10 64bit
- Game Version BCC
π΅ GSE Version:
- Version: 3.0.39
- Downloaded From https://www.curseforge.com
π΅ Additional context:
Add any other context about the problem here.
I tried it without Atlas and no change same error, I then tried it without Altoholic and the error did not occur.
I did notice when I looked at Edit Raw the page generated would show up and also the Sequence Menu would open at same time.
I think I can create the error every time if I do a save after opening and closing the Raw Edit then attempting to open Compiled Template...
Which macro/class - and are you able to make it happen repeatedly? and if so does it still happen with 3.0.40?
If i perform the steps you are describing ("after looking at Raw Edit (and making no changes), I then attempt to look at Compiles Template and I get an error.") I do not get the same error.
Setting it to force initialise GSEOptions.menuWidth in case it hasn't been initialised
I started getting same error again with 3.0.42.
I think it has something to do with Altoholic, I disabled Atlas and Altoholic and got no errors. When I enabled Altoholic is when I started getting errors again.