no close button on status window - Ubuntu Netbook Ed 10.04

Bug #668057 reported by RACooper
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Battery Status
Confirmed
Critical
Ivan Zorin

Bug Description

As the summary says, on Ubuntu 10.04 Netbook Edition, the battery status applet (battery-status 0.1.1) does not have a close button on the battery status window. It also does not have a "close" option on the right-click menu either on the window titlebar or on the taskbar. Basically, the only way to close the window is to reboot or log off.

dbus-send output:
method return sender=:1.16 -> dest=:1.70 reply_serial=2
   array [
      object path "/org/freedesktop/UPower/devices/line_power_AC0"
      object path "/org/freedesktop/UPower/devices/battery_BAT0"
   ]

Ivan Zorin (iaz)
Changed in battery-status:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Ivan Zorin (iaz)
Revision history for this message
Ivan Zorin (iaz) wrote :

Thank you for taking the time to report this bug and helping to make BatteryStatus better.
This is really pretty nasty bug - I've checked it on Lucid Netbook Edition, so I can confirm the issue.
I think, that fix will be committed at next week, but if you can't wait, you can easy fix it manually - just open Terminal and run:

$ sudo sed -i 's/message_battery_status.set_property("deletable", False)/message_battery_status.set_property("deletable", True)/' /usr/lib/battery-status/battery-status

Re-login after that, and now status window should have close button. However, let me know, if it's work or doesn't.

Revision history for this message
RACooper (racooper) wrote :

The sed script did not work but manually editing the file to change the "deletable" property to True did. I edited both instances (wasn't sure if the sed would do both, but I did anyway). Thanks for the quick fix, I can now close the status window!

Revision history for this message
Ivan Zorin (iaz) wrote :

> The sed script did not work

That's strange. However,

> manually editing the file to change the "deletable" property to True did. I edited both instances (wasn't sure if the sed would do both, but I did anyway)

you've got the point - that's right.

Revision history for this message
Giles Levy (gileslevy) wrote :

Just posting that this affected my Ubuntu 10.10 as well and that your fix (changing deletable properties) works and was simple (I was using xkill). Thanks for the applet and the fix!

Revision history for this message
Giles Levy (gileslevy) wrote :

Sorry for the additional post: I meant to write 10.10 Desktop Edition.

Revision history for this message
Cris Dywan (kalikiana) wrote :

I see the problem with wingpanel and for me replacing both occurances of 'set_property("deletable", False) ' solved it.

Revision history for this message
Cris Dywan (kalikiana) wrote :
Revision history for this message
Tianon Gravi (tianon) wrote :

I get the exact same problem after cloning the latest git on Gentoo. I've found that pressing "Escape" closes the window for me, so it's not a big deal.

Revision history for this message
jay (jadon) wrote :

i am running 10.10 desktop off a flash drive
the sed script followed by a logoff/login fixes it
thanks a lot

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.