help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: notifications-notify resets idle-time


From: Peter Münster
Subject: Re: notifications-notify resets idle-time
Date: Mon, 13 Feb 2012 09:29:02 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

On Sun, Feb 12 2012, Michael Albinus wrote:

> xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 2
> org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameAcquired
> (:1.240)
> idle time: 1.297380

Thanks! The only difference is, that you don't get a NotificationClosed
signal, but on my system I do:

--8<---------------cut here---------------start------------->8---
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 1773 :1.10
/org/freedesktop/Notifications org.freedesktop.Notifications
NotificationClosed (221 1)
xd_read_message_1: Event stored: (:session 4 1773 :1.10
/org/freedesktop/Notifications org.freedesktop.Notifications
NotificationClosed notifications-on-closed-signal 221 1)
DBus-Event (dbus-event :session 4 1773 :1.10
/org/freedesktop/Notifications org.freedesktop.Notifications
NotificationClosed notifications-on-closed-signal 221 1)
idle time: 0.498186
--8<---------------cut here---------------end--------------->8---

So there are 2 issues:

- The NotificationClosed signal resets the idle-time, and IMO it should
  not. (emacs issue)

- You don't get the NotificationClosed signal and that's probably a bug
  of your notification system, perhaps this one:
  https://bugs.kde.org/show_bug.cgi?id=228743

  On my system, it's the notification-daemon-0.5.0.

  According to the spec, the NotificationClosed signal should be sent:
  
http://www.galago-project.org/specs/notification/0.9/x408.html#signal-notification-closed

Should I make an emacs bug report?

Does anyone know a workaround?

-- 
           Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]