Bug#626224: [Pkg-xfce-devel] Bug#626224: xfce4-power-manager: Empty spots in the notification area

2011-07-09 Thread Julien Valroff
Le jeudi 07 juil. 2011 à 21:13:12 (+0200 CEST), Julien Valroff a écrit :
 As explained in #632812, I have the same issue using openbox as WM and
 tint2 as a systray.
 
 This leads to think the issue is in xfpm and not in the systray.
 
 I have also noticed that the extra space gets larger each time the computer
 gets back from sleep.

I attach a debug log showing some glib warnings and gtk errors when
resuming in the hope this can help.

Cheers,
Julien

-- 
  .''`.   Julien Valroff ~ jul...@kirya.net ~ jul...@debian.org
 : :'  :  Debian Developer  Free software contributor
 `. `'`   http://www.kirya.net/
   `- 4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1
TRACE[xfpm-button.c:114] xfpm_button_filter_x_events(): Key press: 
((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-manager.c:259] xfpm_manager_button_pressed_cb(): Received button 
press event: ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-manager.c:287] xfpm_manager_button_pressed_cb(): Shutdown request : 
: ((XfpmShutdownRequest) XFPM_DO_SUSPEND)
TRACE[xfpm-battery.c:284] xfpm_battery_refresh_icon(): Battery state 4
TRACE[xfpm-power.c:1152] xfpm_power_refresh_adaptor_visible(): Tray icon 
configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
TRACE[xfpm-power.c:1117] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-power.c:1011] xfpm_power_add_device(): Battery device detected at : 
/org/freedesktop/UPower/devices/battery_BAT1: ((XfpmDeviceType) 
XFPM_DEVICE_TYPE_BATTERY)
TRACE[xfpm-battery.c:148] xfpm_battery_refresh_visible(): visible=TRUE: 
((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
TRACE[xfpm-battery.c:284] xfpm_battery_refresh_icon(): Battery state 4
TRACE[xfpm-power.c:1152] xfpm_power_refresh_adaptor_visible(): Tray icon 
configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
TRACE[xfpm-power.c:1117] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-battery.c:284] xfpm_battery_refresh_icon(): Battery state 4
TRACE[xfpm-battery.c:284] xfpm_battery_refresh_icon(): Battery state 4
TRACE[xfpm-power.c:1152] xfpm_power_refresh_adaptor_visible(): Tray icon 
configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
TRACE[xfpm-power.c:1117] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-power.c:1011] xfpm_power_add_device(): Battery device detected at : 
/org/freedesktop/UPower/devices/battery_BAT1: ((XfpmDeviceType) 
XFPM_DEVICE_TYPE_BATTERY)
TRACE[xfpm-battery.c:148] xfpm_battery_refresh_visible(): visible=TRUE: 
((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
TRACE[xfpm-battery.c:284] xfpm_battery_refresh_icon(): Battery state 4
TRACE[xfpm-power.c:1152] xfpm_power_refresh_adaptor_visible(): Tray icon 
configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
TRACE[xfpm-power.c:1117] xfpm_power_hide_adapter_icon(): Hide adaptor icon

(xfce4-power-manager:17595): GLib-GObject-WARNING **: invalid uninstantiatable 
type `invalid' in cast to `XfpmBattery'

(xfce4-power-manager:17595): GLib-GObject-WARNING **: invalid uninstantiatable 
type `invalid' in cast to `GtkStatusIcon'

(xfce4-power-manager:17595): GLib-GObject-WARNING **: invalid uninstantiatable 
type `invalid' in cast to `GtkStatusIcon'

(xfce4-power-manager:17595): Gtk-CRITICAL **: 
IA__gtk_status_icon_get_icon_name: assertion `GTK_IS_STATUS_ICON (status_icon)' 
failed

(xfce4-power-manager:17595): libnotify-CRITICAL **: 
notify_notification_attach_to_status_icon: assertion `status_icon == NULL || 
GTK_IS_STATUS_ICON (status_icon)' failed

(xfce4-power-manager:17595): xfce4-power-manager-WARNING **: Failed to close 
notification

TRACE[xfpm-battery.c:284] xfpm_battery_refresh_icon(): Battery state 4
TRACE[xfpm-battery.c:284] xfpm_battery_refresh_icon(): Battery state 4
TRACE[xfpm-battery.c:284] xfpm_battery_refresh_icon(): Battery state 4
TRACE[xfpm-battery.c:284] xfpm_battery_refresh_icon(): Battery state 4
TRACE[xfpm-battery.c:284] xfpm_battery_refresh_icon(): Battery state 4
TRACE[xfpm-manager.c:359] xfpm_manager_alarm_timeout_cb(): Alarm inactivity 
timeout id 2
TRACE[xfpm-polkit.c:239] xfpm_polkit_free_data(): Destroying Polkit data


Bug#626224: [Pkg-xfce-devel] Bug#626224: xfce4-power-manager: Empty spots in the notification area

2011-07-07 Thread Julien Valroff
Hi,

Le lundi 06 juin 2011 à 13:57:22 (+0200 CEST), Yves-Alexis Perez a écrit :
 On lun., 2011-06-06 at 12:00 +0200, Christophe TROESTLER wrote:
  Starting with kernel 2.6.38.8 (as opposed to 2.6.38.2 for which the
  bug does not occur), when the computer wakes up from suspend, the
  notification area shows two empty spots (see attached image).  A line
  Message: applet now removed from the notification area is present in
  .xsession-errors.  According to the tool-tip that displays when one
  moves the mouse on them, it seems that these empty spots are due to
  xfce4-power-manager.  And indeed, killing it removes them all.  They
  also got removed if I restart my window manager (fluxbox).  The same
  happens with version 0.8.5-2. 
 
 It'd help providing logs from xfpm (running using --no-daemon and
 --debug), but as you might have seen in this bug, I'm out of idea. I
 never reproduced it on xfce4-panel, so it might be a bug in the
 notification area code (either in awesome/fluxbox or, more probably, in
 xfpm, though I don't have a clue where).

As explained in #632812, I have the same issue using openbox as WM and
tint2 as a systray.

This leads to think the issue is in xfpm and not in the systray.

I have also noticed that the extra space gets larger each time the computer
gets back from sleep.

Cheers,
Julien

-- 
  .''`.   Julien Valroff ~ jul...@kirya.net ~ jul...@debian.org
 : :'  :  Debian Developer  Free software contributor
 `. `'`   http://www.kirya.net/
   `- 4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#626224: [Pkg-xfce-devel] Bug#626224: xfce4-power-manager: Empty spots in the notification area

2011-06-12 Thread Jonathan Ballet
On Mon, Jun 06, 2011 at 03:52:30PM +0200, Yves-Alexis Perez wrote:
 On lun., 2011-06-06 at 14:59 +0200, Christophe TROESTLER wrote:
  Also, if I ask to show the system tray icon when the battery is
  charging or discharging there is no problem (thus it is the presence
  of the icon during suspend that causes trouble).
  
  Let me know if I can run some more tests to help you finding the
  cause. 
 
 Hmhm, that's interesting. Jonathan, could you try tweaking those
 settings and report back? Afair I have chosen the icon to be always on,
 so I might have the bug but never saw it because of that, will try to
 reproduce.

My current option is set to always on and I have the problem.
If I set the option to Show only on battery mode:

 * if my compter is plugged on, I don't have the problem (and I don't
   have any icons)
 * if the compter is on battery, I have the problem

Hope it helps,

 Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#626224: xfce4-power-manager: Empty spots in the notification area

2011-06-06 Thread Christophe TROESTLER

Package: xfce4-power-manager
Version: 1.0.10-3
Severity: normal

Starting with kernel 2.6.38.8 (as opposed to 2.6.38.2 for which the
bug does not occur), when the computer wakes up from suspend, the
notification area shows two empty spots (see attached image).  A line
Message: applet now removed from the notification area is present in
.xsession-errors.  According to the tool-tip that displays when one
moves the mouse on them, it seems that these empty spots are due to
xfce4-power-manager.  And indeed, killing it removes them all.  They
also got removed if I restart my window manager (fluxbox).  The same
happens with version 0.8.5-2.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (400, 'unstable'), (300, 'stable'), 
(100, 'experimental')

Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.8 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) 
(ignored: LC_ALL set to en_US.UTF-8)

Shell: /bin/sh linked to /bin/dash

Versions of packages xfce4-power-manager depends on:
ii  libc62.13-4  Embedded GNU C Library: 
Shared lib
ii  libcairo21.10.2-6The Cairo 2D vector 
graphics libra
ii  libdbus-1-3  1.4.8-3 simple interprocess 
messaging syst
ii  libdbus-glib-1-2 0.92-1  simple interprocess 
messaging syst

ii  libgdk-pixbuf2.0-0   2.23.3-3GDK Pixbuf library
ii  libglib2.0-0 2.28.6-1The GLib library of C 
routines
ii  libgtk2.0-0  2.24.4-3The GTK+ graphical user 
interface
ii  libnotify1 [libnotify1-gtk2. 0.5.0-2 sends desktop 
notifications to a n

ii  libx11-6 2:1.4.3-1   X11 client-side library
ii  libxext6 2:1.3.0-1   X11 miscellaneous 
extension librar

ii  libxfce4ui-1-0   4.8.0-2 widget library for Xfce
ii  libxfce4util44.8.1-2 Utility functions 
library for Xfce
ii  libxfconf-0-24.8.0-3 Client library for Xfce4 
configure
ii  libxrandr2   2:1.3.1-1   X11 RandR extension 
library
ii  upower   0.9.11-1+b1 abstraction for power 
management
pn  xfce4-power-manager-data none  (no description 
available)


Versions of packages xfce4-power-manager recommends:
ii  consolekit0.4.5-1framework for defining 
and trackin


Versions of packages xfce4-power-manager suggests:
ii  udisks1.0.2-4storage media interface
pn  xfce4-power-manager-plugins   none (no description 
available)
inline: notification.png

Bug#626224: [Pkg-xfce-devel] Bug#626224: xfce4-power-manager: Empty spots in the notification area

2011-06-06 Thread Yves-Alexis Perez
On lun., 2011-06-06 at 12:00 +0200, Christophe TROESTLER wrote:
 Starting with kernel 2.6.38.8 (as opposed to 2.6.38.2 for which the
 bug does not occur), when the computer wakes up from suspend, the
 notification area shows two empty spots (see attached image).  A line
 Message: applet now removed from the notification area is present in
 .xsession-errors.  According to the tool-tip that displays when one
 moves the mouse on them, it seems that these empty spots are due to
 xfce4-power-manager.  And indeed, killing it removes them all.  They
 also got removed if I restart my window manager (fluxbox).  The same
 happens with version 0.8.5-2. 

It'd help providing logs from xfpm (running using --no-daemon and
--debug), but as you might have seen in this bug, I'm out of idea. I
never reproduced it on xfce4-panel, so it might be a bug in the
notification area code (either in awesome/fluxbox or, more probably, in
xfpm, though I don't have a clue where).

Regards,
-- 
Yves-Alexis




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#626224: [Pkg-xfce-devel] Bug#626224: xfce4-power-manager: Empty spots in the notification area

2011-06-06 Thread Yves-Alexis Perez
On lun., 2011-06-06 at 14:59 +0200, Christophe TROESTLER wrote:
 Also, if I ask to show the system tray icon when the battery is
 charging or discharging there is no problem (thus it is the presence
 of the icon during suspend that causes trouble).
 
 Let me know if I can run some more tests to help you finding the
 cause. 

Hmhm, that's interesting. Jonathan, could you try tweaking those
settings and report back? Afair I have chosen the icon to be always on,
so I might have the bug but never saw it because of that, will try to
reproduce.

Regards,
-- 
Yves-Alexis




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#626224: [Pkg-xfce-devel] Bug#626224: xfce4-power-manager: Empty spots in the notification area

2011-06-06 Thread Yves-Alexis Perez
On lun., 2011-06-06 at 22:07 +0200, Christophe TROESTLER wrote:
 On Mon, 06 Jun 2011 15:52:30 +0200, Yves-Alexis Perez wrote:
  
  On lun., 2011-06-06 at 14:59 +0200, Christophe TROESTLER wrote:
   Also, if I ask to show the system tray icon when the battery is
   charging or discharging there is no problem (thus it is the presence
   of the icon during suspend that causes trouble).
   
   Let me know if I can run some more tests to help you finding the
   cause. 
  
  Hmhm, that's interesting. Jonathan, could you try tweaking those
  settings and report back? Afair I have chosen the icon to be always on,
  so I might have the bug but never saw it because of that, will try to
  reproduce.
 
 The bug shows up when one selects always on.  Which kernel are you
 running ?
 
2.6.39, the standard sid kernel. Though in fact I use “when battery is
present”.

Regards,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part