Ace3

136 - Code that relied on some Frame members is broken

I labeled it a defect because I had to choose, but it's actually a cleanup of your code which breaks addons which relied on the un-clean version.

More specifically: in the Constructor() for the Frame widget, the old code (present in Release 907) created members for each of the elements it created (closebutton, statusbg, sizer_se and so on). My code relied on some of those members to adjust the functionality of the Frame. The new Constructor() (from Alpha 936) no longer creates those members, thus breaking my code.

To get a feeling what my code does you can download the last version of my addon that relies on those members  from http://wow.curseforge.com/addons/rmi/files/39-0-22-beta/ (the code is in createUI.lua and is related to building the side-frame that opens and closes like a drawer to the right of the main frame).

Could you please leave those members in the Frame object? Thanks a lot.

User When Change
Nevcairiel May 24, 2010 at 15:33 UTC Changed status from New to Declined
paladyin May 24, 2010 at 14:19 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Nevcairiel Nevcairiel May 24, 2010 at 15:33 UTC - 0 likes

    No.

    You are violating our widget sandbox by accessing those members, and due to that, most likely create a mis-behaving widget when you release it back in the pool.

    If you access internal functions, we will not guarantee that they will stay. We've always said, if you want to request a specific function thats missing on the widgets, simply ask for it.

  • 1 comment

Facts

Last updated
May 24, 2010
Reported
May 24, 2010
Status
Declined - We decided not to take action on this ticket.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0
Component
AceGUI-3.0

Reported by

Possible assignees