Inhibit applet icon is not redrawn properly after inihibiting

Bug #139820 reported by Sitsofe Wheeler
6
Affects Status Importance Assigned to Milestone
gnome-power
Fix Released
Medium
gnome-power-manager (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gnome-power-manager

Description of the problem:
Clicking the inhibit applet to switching to inhibiting results in the applets icon not being redrawn correctly.

Steps to reproduce:
1. Press the right mouse button over an empty bit of top panel.
2. In the "Add to Panel" window that appears search for "inhibit". Add the "Inhibit Applet" to the panel.
3. Click the newly arrived blue power button icon.

Expected result:
Warning pop up, icon to show zzz?

Actual reslut:
Warning pops up, new icon overlaps old icon creating a mess.

Additional information:
Clicking a second time just causes an overlaying of icons. Using xrefresh seems to force a redraw.

How reproducible is the problem?
The problem is reproducible every time.

Version information:
Ubuntu Gutsy (development branch)
gnome-power-manager 2.19.92-0ubuntu2

Revision history for this message
Chris Jones (cmsj) wrote :

I see this in current gutsy too

Changed in gnome-power-manager:
status: New → Confirmed
Revision history for this message
Piotr Gawrysiak (pgawrysiak) wrote :

Yes, happens here (Gutsy) too - see attached image. BTW - A screen refresh (eg. VT switch and back to X) redraws the icon.

Changed in gnome-power:
status: Unknown → New
Revision history for this message
Chris Jones (cmsj) wrote :

Still happens in hardy

Revision history for this message
Martin Franco (mfranco-gmx) wrote :

only happens when gnome-panel uses theme. works ok with solid color or background image.

Revision history for this message
Martin Franco (mfranco-gmx) wrote :

calls gtk_widget_queue_draw when inhibitting

Changed in gnome-power:
status: New → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

comment from upstream:

"Does this stil apply to 2.22? If so, please commit to trunk."

Revision history for this message
Chris Jones (cmsj) wrote :

with Hardy I can no longer reproduce this.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

I cannot reproduce this with the latest Hardy either.

Version information:
Ubuntu hardy (development branch)
gnome-power-manager 2.22.0-0ubuntu2

Revision history for this message
Ted Gould (ted) wrote :

Yes. Sorry, I put a patch in for it and forgot to update the bug :) This should be fixed in Hardy.

Changed in gnome-power-manager:
status: Confirmed → Fix Released
Changed in gnome-power:
status: Confirmed → Fix Released
Changed in gnome-power:
importance: Unknown → Medium
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.