GNU bug report logs -
#10744
24.0.93; dbus notification callback error
Previous Next
Reported by: Ken Raeburn <raeburn <at> permabit.com>
Date: Tue, 7 Feb 2012 02:11:02 UTC
Severity: normal
Found in version 24.0.93
Fixed in version 24.0.94
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Sorry for the delay. I can confirm the patch works for me. (And my desktop is Debian Lenny w/notification-daemon 0.3.7.)
Ken
Sent from my iPhone
On Feb 7, 2012, at 4:09, Michael Albinus <michael.albinus <at> gmx.de> wrote:
> Ken Raeburn <raeburn <at> permabit.com> writes:
>
>> An error pops up indicating that notifications-on-closed-signal is
>> passed one argument instead of the expected two:
>>
>> Debugger entered--Lisp error: (wrong-number-of-arguments #[(id reason) ...] 1)
>> notifications-on-closed-signal(673)
>
> According to the spec, the NotificationClosed signal shall send 2
> arguments, the id and the reason. See
> <http://www.galago-project.org/specs/notification/0.9/x408.html#signal-notification-closed>.
>
> That's what `notifications-on-closed-signal' expects. And doesn't get.
>
>> dbus-handle-event((dbus-event :session 4 1352 ":1.12" "/org/freedesktop/Notifications" "org.freedesktop.Notifications" "NotificationClosed" notifications-on-closed-signal 673))
>
> The daemon sends only one argument, the id (673). I could reproduce the
> problem on an old RHEL system with:
>
> notification-daemon.x86_64 0.3.5-9.el5 installed
>
> Reading the NEWS entry of the notification-daemon sources, I've found
>
> version 0.4.0 (20-November-2008):
> * Send the reason code along with the NotificationClosed signal in order
> to indicate why the notification was closed. (Bug #137)
>
> So it is clearly a daemon error, which is corrected meanwhile. I've
> submitted a fix to the trunk, making the reason argument in
> `notifications-on-closed-signal' optional (assuming `undefined' as
> default). Could you, please, check?
>
> Best regards, Michael.
This bug report was last modified 13 years and 163 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.