[Goodies-dev] [Bug 5058] New: xfce4 battery monitor bar doesnt show correct height

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Mar 7 15:50:31 CET 2009


           Summary: xfce4 battery monitor bar doesnt show correct height
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: PC (x86)
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: Low
         Component: battery
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: mrpouit at ubuntu.com

This bug was reported on Ubuntu bugtracker, at

Version: 0.5.1

The bar that shows the percentage of battery life left does not visually
correlate with the percentage shown all of the time. For example, the maximum
height of the bar for me is 16 pixels. When I have 49% battery remaining, the
bar's height is only 7 pixels. I would think that it should be 8 pixels because
49% is much closer to 50% than it is to 43.75% (7/16). It appears that the
algorithm for determining the number of pixels is floor(percentage*16) instead
of round(percentage*16).

Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Goodies-dev mailing list