Empty bars aren't working #12


  • Accepted
  • Defect
Open
Assigned to _ForgeUser117199
  • _ForgeUser487755 created this issue Oct 14, 2010

    What steps will reproduce the problem?
    1. In unit configuration, bars tab, tick "enable empty bar"
    2. LUA error (below) is generated.
    3. Alternatively, attempt to import a SUF layout which uses empty bar.  Bar is not present.

    What version of the product are you using?
    r9.  Also had this problem with Shadowed UF on PTR.

    Do you have an error log of what happened?

    Message: ...rface\AddOns\SimplisticUnitFrames\modules\layout.lua:441: attempt to compare number with nil
    Time: 10/14/10 12:58:51
    Count: 1
    Stack: ...rface\AddOns\SimplisticUnitFrames\modules\layout.lua:441: in function `PositionWidgets'
    ...rface\AddOns\SimplisticUnitFrames\modules\layout.lua:113: in function `Load'
    ...erface\AddOns\SimplisticUnitFrames\modules\units.lua:225: in function `SetVisibility'
    ...rface\AddOns\SimplisticUnitFrames\modules\layout.lua:94: in function `Reload'
    Interface\AddOns\SimplisticUF_Options\config.lua:206: in function <Interface\AddOns\SimplisticUF_Options\config.lua:196>
    Interface\AddOns\SimplisticUF_Options\config.lua:241: in function <Interface\AddOns\SimplisticUF_Options\config.lua:222>
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[2]"]:9: in function <[string "safecall Dispatcher[2]"]:5>
    (tail call): ?
    ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:797: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:612>
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
    (tail call): ?
    Interface\AddOns\Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
    ...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:68: in function <...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57>

    Locals: <none>

    Please provide any additional information below.

    Empty bar is a very useful option, as it can be used as a location for player/target names and doesn't overlap with other text tags.

  • _ForgeUser487755 added the tags New Defect Oct 14, 2010
  • _ForgeUser487755 posted a comment Oct 14, 2010

    Duh... replace 'blank' with 'empty'... 'Empty' bars aren't working.


    Edited Oct 14, 2010
  • _ForgeUser487755 edited description Oct 14, 2010
  • _ForgeUser487755 posted a comment Oct 14, 2010

    s/blank/empty

  • _ForgeUser117199 removed a tag New Oct 14, 2010
  • _ForgeUser117199 added a tag Accepted Oct 14, 2010
  • _ForgeUser117199 posted a comment Oct 14, 2010

    I believe this error is in the original Shadowed Unit Frames also. If you export your Layout the bar attributes are not exported if the bar is deactivated. If you import such a layout it will cause errors when you enable the bar cause SUF can't find the settings for it. For a workaround go to Widget Size and reconfigure the values for that bar.

    I might fix this in the future but its a low priority.


To post a comment, please login or register a new account.