Bug 240025 - Notification manager stores too many unneeded obsolete notifications
Summary: Notification manager stores too many unneeded obsolete notifications
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: notifications (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-29 22:42 UTC by anton
Modified: 2010-06-08 14:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
long list of useless notifications (84.05 KB, image/png)
2010-05-29 22:43 UTC, anton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description anton 2010-05-29 22:42:05 UTC
Version:           unspecified (using Devel) 
OS:                Linux

Platform Version 4.4.81 (KDE 4.4.81 (KDE 4.5 >= 20100527)) "release 3" from opensuse unstable

See attached screenshot to see what I mean. In short, notification manager is spammed with messages like "wlan connected to network1"/"wlan disconnected from network1"/"wlan connected to network1"/... and also tons of other zero-importance messages like errors from kopete. I have to click "close" on each one of them which seems to be rather annoying.

Reproducible: Didn't try

Steps to Reproduce:
try to connect/disconnect from wifi multiple times

Actual Results:  
notification manager would pedantly store the history of each one of such attmpts

Expected Results:  
such kind of notifications should pop up for some time and then go away forever, or at least override the old ones of same type.
Comment 1 anton 2010-05-29 22:43:11 UTC
Created attachment 47465 [details]
long list of useless notifications
Comment 2 Aaron J. Seigo 2010-06-08 01:47:20 UTC
there's a limit of 15 historical notifications
Comment 3 anton 2010-06-08 14:56:20 UTC
Thank's for this fix.

I still think that having 15 wlan connected/wlan disconnected items is evident overhead, and they actually migt hide more important notifications (for example like from kopete).

For some types of notifications there might be a timeout after which they would be dismissed automatically. And there also should be notification groups in which the new notification once appeared would replace the old one (in the above example, "wlan connected" would replace "wlan disconnected" and vice versa).