X-Perl UnitFrames

279 - Player mana value sometimes doesn't show after res

Note that this seems to be an intermittent problem - it doesn't always happen, and I've been unable to work out what causes it.

What steps will reproduce the problem?
1. Tick the "display mana bar values" checkbox
2. Die
3. Get resurrected

What is the expected output? What do you see instead?
Occasionally after being resurrected the player's mana bar fails to show the value text.  The mana bar works fine, and the bar fills up and empties as normal, but there is no value displayed.

What version of the product are you using?
3.0.5g Release

Do you have an error log of what happened?
N/A

Please provide any additional information below.
When it happens this can be fixed by typing "/xperl" and immediately closing the configuration window, which makes the values return.  No configuration changes need to be made for the value text to reappear, just open and close the config window.

User When Change
CommandoXXX Thu, 17 Sep 2009 10:53:27 Create

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

  • 1 comment
  • Avatar of Asjaskan Asjaskan Sat, 24 Oct 2009 01:08:11

    Hi,

    looks like there's a fix for this issue already in r344 of XPerl_Player.lua, lines 375-378, but unfortunately it results in always displaying percent values for the players mana, even if this is deselected in the options. I had to comment out one line as my health and mana bars became very narrow (in my case, about one third of them was replaced by the black background for the mana percent value):

    if (not self.statsFrame.greyMana) then
    	mb.text:Show()
    --	mb.percent:Show()
    end
    

    Even with this change, it always displays mana values, regardless of the options - which doesn't bother me, as i have values switched on for all frames. But percent values i use only on the target frame ;)

    Greetings Asjaskan

  • 1 comment

Facts

Last updated on
24 Oct 2009
Reported on
17 Sep 2009
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees

Votes (Total: +1, Average: +1.0)