Menu

#653 CT Unit Frames causes player and target frames to overlap Titan top bar

Resolved
nobody
None
2011-02-05
2010-12-08
Anonymous
No

Originally created by: wilyma...@gmail.com

What version of Titan Panel are you using and on what operating system?

Titan 5.0.1.40000 [r485]
Windows 7 Ultimate

What steps will reproduce the problem?
1.Install CT Unit Frames
2.Titan has failed to move to move Player and Target frames for a long time but CT Unit Frames button "reset positions" always moved 'em down. No longer works
3.

What is the expected output? What do you see instead?

All elements move down with addition of Titan top bar. Instead, Titan can move everything down but those two frames, player and target. Those frames move fine without CT Unit Frames

Please attach a screenshot if you believe that will assist.
Please provide any additional information below that you feel is relevant.

Related

Wiki: Titan_Panel_Version_History

Discussion

  • Anonymous

    Anonymous - 2010-12-08

    Originally posted by: Honor...@gmail.com

    (No comment was entered for this change.)

    Status: Accepted

     
  • Anonymous

    Anonymous - 2010-12-08

    Originally posted by: wilyma...@gmail.com

    I posted here and at CT. Here's what they said

    If CT_UnitFrames detects that you have Titan Panel loaded, then it will call one of Titan Panel's functions in order to find out how much of an adjustment needs to be made to account for the height of the Titan Panel frame.

    The problem is that in the new version of the addon (version 5), they have changed the function (which is called "TitanMovable_GetPanelYOffset") from a global one to a local one. This means that other addons can no longer access it in order to get the height information.

    The following are all of the Titan panel names used by the CT addons in order to determine the correct offset values, and detect when Titan Panel is repositioning the player and target frames. All of these are still global except for the one I mentioned above.

    TitanPanelGetVar
    TitanMovable_GetPanelYOffset
    TitanMovableFrame_MoveFrames
    TITAN_PANEL_PLACE_TOP
    TITAN_PANEL_PLACE_BOTTOM

    If they change TitanMovable_GetPanelYOffset back to a global function, then the current version of CT_UnitFrames will work properly with the new version of Titan Panel.

    An alternative solution, is for me to write a similar function and include it in CT_UnitFrames, CT_BarMod, and CT_BottomBar. Each of those addons make use of the Titan Panel function in order to reposition frames when you have Titan Panel installed.

     
  • Anonymous

    Anonymous - 2010-12-08

    Originally posted by: urn...@gmail.com

    We'll make the change for the next release.
    If you are comfortable you can open TitanMovable.lua and remove the keyword local from line 47.
    local function TitanMovable_GetPanelYOffset(framePosition)

    That should make the frames move properly.

    Where did you make your post? I'd like to let them know we'll make the the change.

     
  • Anonymous

    Anonymous - 2010-12-19

    Originally posted by: urn...@gmail.com

    (No comment was entered for this change.)

    Status: Fixed

     
  • Anonymous

    Anonymous - 2011-02-05

    Originally posted by: Honor...@gmail.com

    Released with version 5.0.2.

    Status: Resolved

     

Log in to post a comment.