https://bugs.kde.org/show_bug.cgi?id=513275

--- Comment #4 from [email protected] ---
(In reply to equeim from comment #3)
> Now I wonder, should we show two entries in history if user lets this second
> notification expire too? I.e. should it act as a new notification or not?
> 
> There may be trouble with notification ids. We keep track of notifications
> by their ids, and that includes notifications in history too. So if we want
> to show this new notification separately then it must have a different id.
> However we can't do that because notifications spec says that Notify method
> returns replaces_id if it wasn't zero.

Maybe we should just return an error over D-Bus in such cases? The spec says
that you should do so in CloseNotification if it doesn't exist but we don't do
that either. It says nothing what to do if replaces_id refers to non-existent
notification. Looking through GNOME's source code it seems that's what they do.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to