Skip to content

xfce4-power-manager - notifications timeout is hardcoded / not managed by xfce4-notifyd

Submitted by Devuan

Assigned to Ali Abdallah @ali

Link to original bug (#15470)

Description

Notifications time out values are hard coded into the code when this should be (?) handled by the 'dissapear after' value setting in xfce4-notifyd.

See:

https://git.xfce.org/xfce/xfce4-power-manager/tree/src/xfpm-battery.c#n189

[code] xfpm_notify_show_notification (battery->priv->notify, _("Power Manager"), message, xfpm_battery_get_icon_name (battery), 8000, XFPM_NOTIFY_NORMAL); [/code]

and:

[code] https://git.xfce.org/xfce/xfce4-power-manager/tree/src/xfpm-power.c#n354

xfpm_notify_show_notification (power->priv->notify,
			   _("Power Manager"),
			   error,
			   icon_name,
			   10000,
			   XFPM_NOTIFY_CRITICAL);

[/code]

Pertinent data:

uname -a Linux devuan 4.9.0-9-686-pae #1 (closed) SMP Debian 4.9.168-1+deb9u2 (2019-05-13) i686 GNU/Linux


apt-cache policy xfce4-power-manager xfce4-power-manager: Installed: 1.4.1-1+devuan1.1 Candidate: 1.4.1-1+devuan1.1 Version table: *** 1.4.1-1+devuan1.1 500 500 http://deb.devuan.org/merged ascii/main i386 Packages 100 /var/lib/dpkg/status


xfce4-power-manager -V Xfce Power Manager 1.4.1

Part of the Xfce Goodies Project http://goodies.xfce.org

Licensed under the GNU GPL.


xfce4-notifyd-config -V xfce4-notifyd-config 0.3.4 Copyright (c) 2010 Brian Tarricone bjt23@cornell.edu Copyright (c) 2010 Jérôme Guelfucci jeromeg@xfce.org Copyright (c) 2016 Ali Abdallah ali@xfce.orgcode Copyright (c) 2016 Simon Steinbeiß simon@xfce.org Released under the terms of the GNU General Public License, version 2 Please report bugs to http://bugzilla.xfce.org/enter_bug.cgi?product=Xfce4-notifyd.


apt-cache policy xfce4-notifyd xfce4-notifyd: Installed: 0.3.4-1 Candidate: 0.3.4-1 Version table: *** 0.3.4-1 500 500 http://deb.devuan.org/merged ascii/main i386 Packages 100 /var/lib/dpkg/status


Thanks in advance.

D.

Version: 1.4.x