Edit mode not working when SUF is active #1993


Open
  • RaulFury created this issue Jul 11, 2023

    Since Dragonflight, the edit mode of Blizzard's UI does not allow the saving of changes if the Shadowed Unit Frames addon is enabled.

    Seems to be an issue present for many in the comments and in this issues log.

     

    Let me know if I can help to resolve, thank you for the addon!

  • mic_h_84 posted a comment Nov 16, 2023

    Please fix this :)

  • dodipumps posted a comment Nov 18, 2023

    the problem persists, pls fix this! I have to disable SUF everytime I need to change something on Blizz UI

  • roweysvn posted a comment Dec 26, 2023

    Same issue occurs with me, if I disable SUF, I am able to go into edit mode and move things around, however when re-enabled, I get the following LUA error when trying to move things in edit mode. 


    Message: Interface/FrameXML/EditModeSystemTemplates.lua:535: attempt to perform arithmetic on local 'left' (a nil value)
    Time: Wed Dec 27 15:04:38 2023
    Count: 1
    Stack: Interface/FrameXML/EditModeSystemTemplates.lua:535: attempt to perform arithmetic on local 'left' (a nil value)
    [string "@Interface/FrameXML/EditModeUtil.lua"]:130: in function `GetEligibleMagneticFrames'
    [string "@Interface/FrameXML/EditModeUtil.lua"]:283: in function `FindMagneticFrames'
    [string "@Interface/FrameXML/EditModeUtil.lua"]:367: in function `GetMagneticFrameInfo'
    [string "@Interface/FrameXML/EditModeManager.lua"]:1063: in function `RefreshSnapPreviewLines'
    [string "@Interface/FrameXML/EditModeManager.lua"]:170: in function <Interface/FrameXML/EditModeManager.lua:168>

    Locals: self = <table> {
    uiParentTop = 1200
    UpdateUIParentPoints = <function> defined @Interface/FrameXML/EditModeUtil.lua:80
    magneticGridLines = <table> {
    }
    GetEligibleMagneticFrames = <function> defined @Interface/FrameXML/EditModeUtil.lua:122
    uiParentBottom = 0
    uiParentRight = 2880.000244
    ShouldReplaceClosestCorner = <function> defined @Interface/FrameXML/EditModeUtil.lua:226
    ApplyMagnetism = <function> defined @Interface/FrameXML/EditModeUtil.lua:400
    magneticFrames = <table> {
    }
    UnregisterFrame = <function> defined @Interface/FrameXML/EditModeUtil.lua:102
    uiParentWidth = 2880.000244
    RegisterGrid = <function> defined @Interface/FrameXML/EditModeUtil.lua:106
    GetMagneticFrameInfo = <function> defined @Interface/FrameXML/EditModeUtil.lua:366
    uiParentHeight = 1200
    UnregisterGrid = <function> defined @Interface/FrameXML/EditModeUtil.lua:110
    uiParentCenterX = 1440.000122
    GetMagneticFrameInfoTable = <function> defined @Interface/FrameXML/EditModeUtil.lua:144
    RegisterFrame = <function> defined @Interface/FrameXML/EditModeUtil.lua:98
    RegisterGridLine = <function> defined @Interface/FrameXML/EditModeUtil.lua:114
    uiParentCenterY = 600
    GetMagneticCornerFrameInfo = <function> defined @Interface/FrameXML/EditModeUtil.lua:232
    sqrMagnetismRange = 64
    FindMagneticFrames = <function> defined @Interface/FrameXML/EditModeUtil.lua:282
    magnetismRange = 8
    uiParentLeft = 0
    sqrCornerMagnetismRange = 128
    CheckReplaceMagneticFrame = <function> defined @Interface/FrameXML/EditModeUtil.lua:148
    IsPotentialMagneticCornerFrame = <function> defined @Interface/FrameXML/EditModeUtil.lua:222
    SetMagnetismRange = <function> defined @Interface/FrameXML/EditModeUtil.lua:92
    FindClosestLine = <function> defined @Interface/FrameXML/EditModeUtil.lua:162
    }
    systemFrame = CompactRaidFrameContainer {
    0 = <userdata>
    GetUnitFrame = <function> defined @Interface/AddOns/Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameContainer.lua:341
    UpdateMagnetismRegistration = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:731
    GetSnapOffsets = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:609
    systemInfo = <table> {
    }
    IsFrameAnchoredToMe = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:694
    TrySetCompositeNumberSettingValue = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:212
    ApplyToFrames = <function> defined @Interface/AddOns/Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameContainer.lua:126
    alwaysUseTopLeftAnchor = true
    GetFixedSize = <function> defined @Interface/SharedXML/LayoutFrame.lua:156
    breakSnappedFramesOnSave = true
    resetToDefaultPositionButton = Button {
    }
    GetFixedWidth = <function> defined @Interface/SharedXML/LayoutFrame.lua:148
    SetBorderShown = <function> defined @Interface/AddOns/Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameContainer.lua:121
    UseCombinedGroups = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:1110
    ResetToDefaultPosition = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:254
    GetScaledSelectionSides = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:532
    SelectSystem = <function> defined @Interface/FrameXML/EditModeSystem


    Edited Dec 26, 2023

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