662 - GridPetBatleHider Location

WoW 5.0.5 English/NA

Would it be possible to anchor GridPetBattleHider directly above GridLayoutFrame? I maintain an addon called Kong Automatic UI Hider that allows users to apply custom fading to children of UIParent, but the new setup with GridPetBattleHider prevents grid from appearing in Kong's config GUI.

Thanks for your consideration,

  • Grid.png
User When Change
Phanx Nov 13, 2012 at 04:20 UTC Changed status from Replied to Declined
xentaros Nov 12, 2012 at 13:47 UTC Changed status from Waiting to Replied
Phanx Nov 12, 2012 at 02:07 UTC Changed status from New to Waiting
xentaros Nov 11, 2012 at 13:26 UTC

Added attachment Grid.png

xentaros Nov 11, 2012 at 13:25 UTC Create

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

  • Avatar of xentaros xentaros Nov 13, 2012 at 02:12 UTC - 0 likes

    @Phanx: Go

    Kong doesn't actually hide frames; it just gradually fades them out using SetAlpha(), then fades them back in when they are moused over or other conditions are met. It's pretty noninvasive. That said, I can understand if you want to defer/postpone/close this ticket until you are ready to remove GridPetBattleHider.

  • Avatar of Phanx Phanx Nov 12, 2012 at 22:23 UTC - 0 likes

    Part of the reason I put GridPetBattleHider off-screen was to avoid precisely the situation you're describing, where third-party addons are adding visible things to it to let users move, scale, or otherwise manipulate it. It's never intended to be visible to users, and in fact only exists because I can't use Show and Hide directly on GridLayoutFrame without breaking the None layout.

    In the future I'll probably rework the None layout to change the visibility states instead of calling Show and Hide, and then there won't be any need for a separate frame to handle pet battle hiding, but I don't have any ETA on that.

    Out of curiosity, how does Kong hide/fade frames? Does it use Show and Hide? If so, it wouldn't work with GridPetBattleHider anyway, since the state driver will override manual calls whenever the specified states (in this case, just [petbattle]) change.

  • Avatar of xentaros xentaros Nov 12, 2012 at 13:47 UTC - 0 likes

    @Phanx: Go

    Kong is designed to work with any addon - it doesn't have any specific code for Grid. The Kong config GUI just makes a config frame above each child frame of UIParent. Usually, the location of these frames coincide with the addons themselves.

    I would understand if for some reason it is too much trouble to move it though. I will probably end up adding a workaround for off screen frames at some point anyway.

  • Avatar of Phanx Phanx Nov 12, 2012 at 02:06 UTC - 0 likes

    Is there some reason you can't just apply the fading to the GridLayoutFrame, as you (presumably) always have?



Last updated
Nov 13, 2012
Nov 11, 2012
Declined - We decided not to take action on this ticket.
Enhancement - A change which is intended to better the project in some way
Medium - Normal priority.

Reported by

Possible assignees