Color Picker for Buffs not working #1285


  • Invalid
Closed
  • hulaalol created this issue Feb 13, 2024

    What version of Grid2  are you using (Version is displayed in General/About Tab) ?

     Grid2-2.8.0-wrath.zip --> I did check all the way up to 2.8.4 beta versions, bug is on all versions.

     

    What game client version, classic or retail, windows or mac and language are you using ?

    Wotlk Classic, windows 10

     

    What steps will reproduce the problem?

    1. At Status --> create new Buff

    2. assign a color to it with the Color Picker tool

    3. The color picker ignores the selected color and the default white color is chosen.

      
    Did you try having Grid2 as the only enabled addon and everything else disabled?

      Yes.

     

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

    Yes - no problems in Totgc/Ulduar where I created new buffs with colors.

      

    Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (`/console scriptErrors 1`) or install [BugSack](https://mods.curse.com/addons/wow/BugSack).

     

    error log:

    Message: ...libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:64: attempt to call method 'GetColorAlpha' (a nil value)
    Time: Tue Feb 13 18:53:03 2024
    Count: 4
    Stack: ...libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:64: attempt to call method 'GetColorAlpha' (a nil value)
    [string "@Interface/AddOns/Bartender4/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua"]:64: in function `func'
    [string "*ColorPickerFrame.xml:157_OnColorSelect"]:3: in function <[string "*ColorPickerFrame.xml:157_OnColorSelect"]:1>
    [string "=[C]"]: in function `SetColorRGB'
    [string "@Interface/FrameXML/UIDropDownMenu.lua"]:1451: in function `OpenColorPicker'
    [string "@Interface/AddOns/BagBrother/libs/Sushi-3.2/classes/checks/Color.lua"]:23: in function `SetupColorPickerAndShow'
    [string "@Interface/AddOns/Bartender4/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua"]:85: in function <...libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:49>
    
    Locals: r = 1
    g = 1
    b = 1
    (*temporary) = nil
    (*temporary) = ColorPickerFrame {
     BottomLeftCorner = Texture {
     }
     OnBackdropLoaded = <function> defined @Interface/SharedXML/Backdrop.lua:152
     GetBackdropColor = <function> defined @Interface/SharedXML/Backdrop.lua:390
     TopLeftCorner = Texture {
     }
     RightEdge = Texture {
     }
     SetupColorPickerAndShow = <function> defined @Interface/AddOns/BagBrother/libs/Sushi-3.2/classes/checks/Color.lua:23
     ApplyBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:294
     SetBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:329
     ClearBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:282
     hasOpacity = true
     GetBackdropBorderColor = <function> defined @Interface/SharedXML/Backdrop.lua:409
     GetBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:347
     SetBorderBlendMode = <function> defined @Interface/SharedXML/Backdrop.lua:266
     opacity = 1
     func = <function> defined @Interface/AddOns/Bartender4/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:62
     backdropInfo = <table> {
     }
     OnBackdropSizeChanged = <function> defined @Interface/SharedXML/Backdrop.lua:182
     HasBackdropInfo = <function> defined @Interface/SharedXML/Backdrop.lua:278
     GetEdgeSize = <function> defined @Interface/SharedXML/Backdrop.lua:188
     cancelFunc = <function> defined @Interface/AddOns/Bartender4/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:76
     0 = <userdata>
     TopEdge = Texture {
     }
     previousValues = <table> {
     }
     TopRightCorner = Texture {
     }
     Center = Texture {
     }
     SetupTextureCoordinates = <function> defined @Interface/SharedXML/Backdrop.lua:214
     SetBackdropBorderColor = <function> defined @Interface/SharedXML/Backdrop.lua:422
     BottomEdge = Texture {
     }
     BottomRightCorner = Texture {
     }
     SetupPieceVisuals = <function> defined @Interface/SharedXML/Backdrop.lua:246
     SetBackdropColor = <function> defined @Interface/SharedXML/Backdrop.lua:399
     LeftEdge = Texture {
     }
     opacityFunc = <function> defined @Interface/AddOns/Bartender4/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:69
    }
    (*temporary) = "attempt to call method 'GetColorAlpha' (a nil value)"
    ColorCallback = <function> defined @Interface/AddOns/Bartender4/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:17
    self = <table> {
     a = 1
     b = 1
     parent = <table> {
     }
     g = 1
     OnAcquire = <function> defined @Interface/AddOns/Bartender4/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:120
     SetDisabled = <function> defined @Interface/AddOns/Bartender4/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:147
     userdata = <table> {
     }
     base = <table> {
     }
     HasAlpha = true
     type = "ColorPicker"
     SetHasAlpha = <function> defined @Interface/AddOns/Bartender4/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:143
     r = 1
     text = FontString {
     }
     colorSwatch = Texture {
     }
     events = <table> {
     }
     AceGUIWidgetVersion = 27
     frame = Button {
     }
     SetLabel = <function> defined @Interface/AddOns/Bartender4/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:131
     SetColor = <function> defined @Interface/AddOns/B

     

     

     

    Please provide any additional information below.

     

     

  • hulaalol posted a comment Feb 13, 2024

    nevermind, this is the cause:

    https://github.com/Jaliborc/Bagnon/issues/1875

  • michaelsp closed issue Feb 13, 2024
  • michaelsp added a tag Invalid Feb 13, 2024

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