Bug#601097: /usr/bin/gnome-power-manager: icon is not displayed, but place in tray is preserved on Fluxbox

Mirosław Zalewski miniopl at gmail.com
Sat Oct 23 10:43:16 UTC 2010


Package: gnome-power-manager
Version: 2.30.1-1
Severity: minor
File: /usr/bin/gnome-power-manager

As it is visual issue, it's best to descript on screenshots. I am
attaching an image made out of few screenshots, which presents this
issue.

1. This is Fluxbox's system tray. As you can see, between vertical line
and date there is some empty place. I'm using an laptop with AC adapter
plugged in, and battery physically taken out.

2. After clicking on it, an Preferences dialog is shown

3. In general tab, there is an radio buttons list about notification
area (or tray). As you can see, an icon should be displayed only when
battery is present. Since battery isn't present, there is no icon. It
seems to be okay, but...

4. After checking "Always display icon", an icon is shown

5. After switching it back to display icon only when battery is present,
not only icon disappears, but also that empty space is hidden.

So, couldn't it hid itself after running? It does it on GNOME (i.e. when
"only display an icon when a battery is present" option is checked,
after running g-p-m it does not take any place in system tray).

I'm not really sure if that bug report should be filled against g-p-m 
package or fluxbox package.

Cheers

-- Package-specific info:
Distro version:       squeeze/sid
Kernel version:       2.6.32-5-amd64
g-p-m version:        2.30.1
HAL version:          0.5.14
System manufacturer:  missing
System version:       missing
System product:       missing
AC adapter present:   yes
Battery present:      no
Laptop panel present: yes
CPU scaling present:  yes
Battery Information:
DeviceKit data:
Device: /org/freedesktop/UPower/devices/line_power_ADP0
  native-path:          /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ADP0
  power supply:         yes
  updated:              Sat Oct 23 10:45:09 2010 (6276 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Daemon:
  daemon-version:  0.9.5
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:   yes
GNOME Power Manager Process Information:
HAL Process Information:
108      20636  0.0  0.1  44432  4992 ?        Ssl  12:20   0:00 /usr/sbin/hald
root     20637  0.0  0.0  22172  1388 ?        S    12:20   0:00  \_ hald-runner
root     20666  0.0  0.0  24288  1320 ?        S    12:20   0:00      \_ hald-addon-input: Listening on /dev/input/event12 /dev/input/event1 /dev/input/event9 /dev/input/
root     20670  0.0  0.0  24280  1268 ?        S    12:20   0:00      \_ /usr/lib/hal/hald-addon-rfkill-killswitch
root     20671  0.0  0.0  24280  1272 ?        S    12:20   0:00      \_ /usr/lib/hal/hald-addon-leds
root     20679  0.0  0.0  24280  1288 ?        S    12:20   0:00      \_ /usr/lib/hal/hald-addon-generic-backlight
root     20681  0.0  0.0  24284  1304 ?        S    12:20   0:00      \_ hald-addon-storage: polling /dev/sdc (every 2 sec)
root     20691  0.0  0.0  24284  1304 ?        S    12:20   0:00      \_ hald-addon-storage: polling /dev/sr0 (every 2 sec)
root     20692  0.0  0.0  24296  1316 ?        S    12:20   0:00      \_ /usr/lib/hal/hald-addon-cpufreq
108      20693  0.0  0.0  26100  1240 ?        S    12:20   0:00      \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-power-manager depends on:
ii  consolekit             0.4.1-4           framework for defining and trackin
ii  dbus-x11               1.2.24-3          simple interprocess messaging syst
ii  gconf2                 2.28.1-5          GNOME configuration database syste
ii  libbonobo2-0           2.24.3-1          Bonobo CORBA interfaces library
ii  libc6                  2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii  libcairo2              1.8.10-6          The Cairo 2D vector graphics libra
ii  libcanberra-gtk0       0.24-1            Gtk+ helper for playing widget eve
ii  libcanberra0           0.24-1            a simple abstract interface for pl
ii  libdbus-1-3            1.2.24-3          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.88-2            simple interprocess messaging syst
ii  libdevkit-power-gobjec 1:0.9.5-3         abstraction for power management -
ii  libgconf2-4            2.28.1-5          GNOME configuration database syste
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines
ii  libgnome-keyring0      2.30.1-1          GNOME keyring services library
ii  libgtk2.0-0            2.20.1-1+b1       The GTK+ graphical user interface 
ii  libnotify1 [libnotify1 0.5.0-2           sends desktop notifications to a n
ii  libpanel-applet2-0     2.30.2-2          library for GNOME Panel applets
ii  libpango1.0-0          1.28.1-1          Layout and rendering of internatio
ii  libunique-1.0-0        1.1.6-1.1         Library for writing single instanc
ii  libx11-6               2:1.3.3-3         X11 client-side library
ii  libxext6               2:1.1.2-1         X11 miscellaneous extension librar
ii  libxrandr2             2:1.3.0-3         X11 RandR extension library
ii  notification-daemon    0.5.0-2           daemon to displays passive pop-up 
ii  notify-osd [notificati 0.9.23-2          daemon that displays passive pop-u
ii  upower                 0.9.5-3           abstraction for power management

Versions of packages gnome-power-manager recommends:
ii  udisks               1.0.1+git20100614-3 abstraction for enumerating block 

Versions of packages gnome-power-manager suggests:
ii  hal                           0.5.14-3   Hardware Abstraction Layer

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-power-manager-icon-bug.jpg
Type: image/jpeg
Size: 172243 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20101023/3a54bb4d/attachment-0001.jpg>


More information about the pkg-gnome-maintainers mailing list