WeakAuras

WeakAuras

206M Downloads

Renaming a Snippet causes Stack Overflows.

asaka-wa opened this issue ยท 0 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

Stack Overflows when the editbox for a Snippet name is hidden - this happens every time when adding a new Snippet as you are prompted to provide a name, but also when renaming an existing Snippet.

Apologies for not just providing a fix, as this was a feature I added, but this is a very busy time so I don't think I'll get to it before launch.

WeakAuras Version

5.14.1

World of Warcraft Flavor

Beta (WoW 11.0)

World of Warcraft Region

EU

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

5x C stack overflow
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:212: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:211>
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:212: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:211>
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:212: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:211>
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:212: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:211>
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:212: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:211>
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:212: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:211>
...
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:212: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:211>
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:212: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:211>
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:212: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:211>
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:212: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:211>
[string "=[C]"]: in function `ClearFocus'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua"]:62: in function <...eGUI-Widgets/AceGUIWidget-WeakAurasSnippetButton.lua:61>

Locals:
(*temporary) = EditBox {
 Right = Texture {
 }
 Left = Texture {
 }
 Middle = Texture {
 }
}
(*temporary) = true
(*temporary) = EditBox {
 Right = Texture {
 }
 Left = Texture {
 }
 Middle = Texture {
 }
}
(*temporary) = true

Reproduction Steps

Open a code editor
Open the Snippet side bar
Click Add Snippet
Press Enter to close the rename editbox.

Last Good Version

No response

Screenshots

No response

Export String

No response

Bisector Report

No response