gnome-power-statistics shows info on first time launched from indicator-power, but not subsequent times

Bug #968383 reported by edu jose on 2012-03-29
This bug report is a duplicate of:  Bug #951827: Power Statistics window blank. Edit Remove
58
This bug affects 12 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Undecided
Unassigned

Bug Description

When I click the power indicator icon, and the "Battery (h:mm left)" menu entry, the "Power Statistics" window opens and shows info about power, battery and so on. But when I do the same a second, third, and subsequent times, the Power Statistics window opens with an empty panel, i.e. without content. See the two screenshots attached below (first-time normal window and second-time empty window).

The behavior is always consistent, across kernels (from *-18 to current one, *-20).

This is a fresh install using the precise beta 1 image.
Using Ubuntu 12.04 Precise Pangolin Beta 1 (64 bits) updated as of today. Computer is an HP Pavilion dm4-2120ss laptop with intel core i3 2330M CPU (Sandy Bridge) and intel graphics only (intel HD 3000 I believe).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: indicator-power 1.93-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
Date: Thu Mar 29 18:14:08 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
SourcePackage: indicator-power
UpgradeStatus: No upgrade log present (probably fresh install)

edu jose (pepinmore) wrote :
edu jose (pepinmore) wrote :

Uh-oh I wrote the bug description in a summary field that don't show up. Here is the bug description.

When I click the power indicator icon, and in the menu that appears click "Battery (xx% left)" the "Power Statistics" window opens and shows info about power, battery and so on. But when I do the same a second, third, and subsequent times, the Power Statistics window opens with an empty pane, i.e. without content. See two screenshots attached below (first-time window and second-time empty window).

This behavior is always consistent, across kernels (from *-18 to current one, *-20).

This is a fresh install using the precise beta 1 image.

edu jose (pepinmore) wrote :

Second (and subsequent) time, empty Power statistics window.

edu jose (pepinmore) on 2012-03-30
description: updated

From your screenshots, the issue is in gnome-power-statistics, not indicator-power, I'm moving this to reflect that. I should also add that it works for me. Are you seeing a crash?

summary: - indicator-power shows info on first time clic, but not subsequent times
+ indicator-power shows info on first time clicked, but not subsequent
+ times
Matt Fischer (mfisch) wrote :

screenshots indicate that the issue is in gnome-power-statistics

affects: indicator-power (Ubuntu) → gnome-power-manager (Ubuntu)
summary: - indicator-power shows info on first time clicked, but not subsequent
- times
+ gnome-power-statistics shows info on first time launched from indicator-
+ power, but not subsequent times
edu jose (pepinmore) wrote :

Thanks mfisch for the clarification. Didn't know it was gnome-power-statistics.

About a crash, I don't see any crash file in /var/crash for gnome-power-statistics. Should I look in other places?

edu jose (pepinmore) wrote :

Oh, I have run gnome-power-statistics from a terminal (window shows info normally), but when closing the power statistics window the terminal does not return to the prompt, as if gnome-power-statistics were still running. I opened System Monitor and the process is there indeed.

Also, while the process is running, a second call to the program (through indicator-power, for example) shows the window with no content. After killing the process (e.g. with Ctrl+C in the terminal, or in System Monitor), calling again gnome-power-statistics shows its window with the usual content, not empty.

So seems gnome-power-statistics does not finish normally after its window is closed, affecting all subsequent runs (not showing any info) until finished manually.

(this is using gnome-power-manager 3.4.0-0ubuntu1; didn't find version of gnome-power-statistics)

edu jose (pepinmore) wrote :

I noticed that when I close gnome-power-statistics pressing Esc on the keyboard, or just clicking the Close icon in the window decoration, window closes but the process remains running.

On the other hand, when using the Close button at bottom-right in the window, gnome-power-statistics window closes and process finishes as well.

So gnome-power-statistics is only happy when closing it through its very own Close button, sigh.

Using ubuntu 12.04 beta 2 now, fully updated.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-power-manager (Ubuntu):
status: New → Confirmed
M. Qasim Saharan (mqsaharan) wrote :

I am having exactly the same problem. I did not see this crash until I longged in with Unity 2D and it crashed there for the first time. Now it is crashing in Unity as well. I am using t60 with fresh install of 12.04 final.

Pablo (pjferra) wrote :

I have the same problem

Pablo (pjferra) wrote :

I've noticed that the bug occurs only if you close the power statistics window with the "x" in the title bar of the window. If you use the close button there's no problem.
Besides, I've killed the process with xkill and it restarted ok.

I have the same problem and solution (kill the process gnome-power-statistics)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers