xfce4 battery monitor bar doesnt show correct height

Bug #318913 reported by BotLobsta
2
Affects Status Importance Assigned to Milestone
Xfce4-battery-plugin
Unknown
Unknown
xfce4-battery-plugin (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: xfce4-battery-plugin

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).

I am using the latest Jaunty amd64 with xfce4-battery-plugin version 0.5.1-0ubuntu1.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Thanks for your bug report. Forwarded upstream.

Changed in xfce4-battery-plugin:
importance: Undecided → Low
status: New → Triaged
Changed in xfce:
status: Unknown → Confirmed
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Any chance you're still reading this bug report and using xubuntu, and that you can try to reproduce with a newer version (e.g. 1.0.0 in natty)? Thanks.

Changed in xfce4-battery-plugin (Ubuntu):
status: Triaged → Incomplete
Changed in xfce4-battery-plugin (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.