WeakAuras

WeakAuras

206M Downloads

Slider with min value greater than max value bricks custom options tab

johanmsk opened this issue · 1 comments

commented

Describe the bug
Title. Making a custom options slider with a min value greater than the max value will remove the button to go back into author mode once you go into user mode.

Do you have an error log of what happened?

14x ...Libs\Ace3\AceGUI-3.0-36\widgets\AceGUIWidget-Slider.lua:184: Usage: <unnamed>:SetMinMaxValues(min, max)
[C]: in function `SetMinMaxValues'
...Libs\Ace3\AceGUI-3.0-36\widgets\AceGUIWidget-Slider.lua:184: in function `SetSliderValues'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-69.lua:1166: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1059>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-69.lua:1585: in function `FeedGroup'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-69.lua:1510: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1494>
[C]: ?
...ddOns\AddOnSkins\Libs\Ace3\AceGUI-3.0\AceGUI-3.0-36.lua:71: in function <...ddOns\AddOnSkins\Libs\Ace3\AceGUI-3.0\AceGUI-3.0.lua:69>
...ddOns\AddOnSkins\Libs\Ace3\AceGUI-3.0\AceGUI-3.0-36.lua:285: in function `Fire'
...Ace3\AceGUI-3.0-36\widgets\AceGUIContainer-TabGroup.lua:156: in function `SelectTab'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-69.lua:1621: in function `FeedGroup'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-69.lua:1865: in function `Open'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-69.lua:819: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:610>
[C]: ?
...ddOns\AddOnSkins\Libs\Ace3\AceGUI-3.0\AceGUI-3.0-36.lua:71: in function <...ddOns\AddOnSkins\Libs\Ace3\AceGUI-3.0\AceGUI-3.0.lua:69>
...ddOns\AddOnSkins\Libs\Ace3\AceGUI-3.0\AceGUI-3.0-36.lua:285: in function `Fire'
...Libs\Ace3\AceGUI-3.0-36\widgets\AceGUIWidget-Button.lua:22: in function <...Libs\Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>

To Reproduce

  1. Make a new weakaura, mine was a text one
  2. Go to custom options tab
  3. Select option type slider
  4. Click the min field and enter a number greater than the value in the max field.
  5. Click the user mode, and get locked out of author mode

Screenshots
Slider: https://i.imgur.com/rJjgFtU.png
Locked out: https://i.imgur.com/uoOJJDF.png

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
No

Which version of WeakAuras are you using?
2.11.3

Was it working in a previous version? If yes, which was the last good one?
No clue

Additional context

No

commented

🤔 I guess it never occured to me that anyone would make that mistake