X-Perl UnitFrames

1600 - Target Indicator Border Not Fitting Focus Frame

What steps will reproduce the problem?
1. Enable General->Status Highlighting->My Target
2. Configure the Focus Frame tab to show ONLY the focus health bar & percent frame
3. Set a player focus target
4. Target the focus

What is the expected output? What do you see instead?
I expected the focus frame to have a "snap to" kind of effect with the gold border that indicates that I'm currently targeting that player. If I have mana bars disabled in my raid frames, the gold target indicator frame will adjust its dimensions and "hug" the health bar accordingly. Focus frame does not do this. It leaves empty space between the health bar and where the level indicator and class icon would be. If I'm doing end game content, everyone is level cap and my focus target is almost always a tank (so I know what their class is). Showing these elements in my focus frame is not necessary and would take up a small amount of space (admittedly very small but superfluous information isn't something I'm interested in).

What version of the product are you using?
7.3.1 r851 Though I've had this issue through a couple expansions. I think I'm just an odd duck when it comes to configuring my focus frame as nobody else noticed this to report it by now.

Do you have an error log of what happened?
No error pops up. I think this may just be an oversight with a snapping command. It has been around for quite some time. I just never did my part and report it.

Please provide any additional information below.
I hope photobucket is acceptable for these things.

Pic of normal resting UI with focus frame configured the way I like it.

Translation of what frame is what:
Focus Frame
Player Frame,  Target Frame

http://s923.photobucket.com/user/Azzido/media/World%20of%20Warcraft%20UI%20Problems/RestingUI.jpg.html?sort=3&o=0

Pic of normal BG UI with focus frame configured the way I like it (see pic one) but with the target indicator enabled. You should be able to see a space between the gold frame and the far right side of the health bar. There is also a space between the bottom of the bar and the gold frame. It is because of the vertical space that I have a weird gold line through my personal player frame where my name is. This is why the indicator is a problem for me. It overlaps with my player frame as well as my target frame (target frame is just a smidge overlap in the upper left corner but it still overlaps).

http://s923.photobucket.com/user/Azzido/media/World%20of%20Warcraft%20UI%20Problems/NormalUISetup.jpg.html?sort=3&o=1

This is I assume what was in mind when the gold border was written for the focus frame. This is a screenshot with the focus target level, class icon, AND resource bar enabled. The gold frame of the target indicator fits the focus frame perfectly but ONLY when all these things are enabled. I moved the focus frame up vertically a bit so that there wouldn't be frame overlap with the resource bar and my player name frame so you could better see how it fits properly.
 
http://s923.photobucket.com/user/Azzido/media/World%20of%20Warcraft%20UI%20Problems/Focusshowinglevelclassandresourcebar.jpg.html?sort=3&o=2

User When Change
Asixandur Oct 06, 2013 at 07:21 UTC Changed status from Replied to Declined
AzzidoDruid Sep 16, 2013 at 01:41 UTC
Asixandur Sep 15, 2013 at 11:20 UTC
AzzidoDruid Aug 21, 2013 at 12:14 UTC Create

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

  • 3 comments
  • Avatar of AzzidoDruid AzzidoDruid Sep 16, 2013 at 01:41 UTC - 0 likes

    @Asixandur: Go

    There isn't really anything in my screenshot that causes an error (minus the problem I have with PoM mentioned in my other ticket and the unit indicators in this one). X-Perl works perfectly for what I need. The border glow/frame highlight colors don't "snap to" the unit frames if I have the class resource bar disabled along with their level and class icons. It's like it's not registering that those elements are disabled and snapping to the visible part of the frame.

    If we have a focus frame that is 500 pixles wide and 100 pixles high (just an example, I'm pulling sizes out of my rear right now), the target indicator glow would be 500x100 pixles to snugly fit around the frame. If I took the same focus frame and simply disabled the mana bar and the level and class icons, the frame would now be 450 pixles by 85 pixles (while retaining the same size scale wise which I think I have mine set to 85%). In the case of my "error" the target indicator would still be acting as though the focus frame is 500x100 and not the adjusted size of 450x85 after disabling the mana/class/level information.

    If I have the same focus frame and have it with the starting 500 pixles by 100 pixles with everything enabled (mana, level, class) but I change the scale from 85% to 95%, the highlight border WILL properly scale with the unit frame.

    So I need some formula that calculates the size of the class icon column and have it set to subtract that amount from the highlight graphic if the class icon is disabled. Have a separate formula that calculates the height of the mana bar and when the mana bar is disabled, subtract that amount of height from the highlight glow. Maybe these formulas or conditions were in the addon to begin with and got disabled somewhere down the road.

    To be honest this may end up being more confusing than my initial post. I don't really know how to better word it than my first run. Hoping the example with measurements makes it easier to understand.

  • Avatar of Asixandur Asixandur Sep 15, 2013 at 11:20 UTC - 0 likes

    In your first screenshot, there are a few errors related to XPerl that may be causing this issue. Can you please try to fix them or to write them here clearly?

  • Avatar of PlayerLin PlayerLin Aug 25, 2013 at 02:39 UTC - 0 likes

    It looks like the code didn't/got broken(by patches) detecting the disabled frame elements in focus frame so it still showed original size of border......

  • 3 comments

Facts

Last updated
Oct 06, 2013
Reported
Aug 21, 2013
Status
Declined - We decided not to take action on this ticket.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees