Bug 346622

Summary: notifications won't stop popping
Product: [Applications] muon Reporter: Abdeljalil <abdeljalil73>
Component: notifierAssignee: Jonathan Thomas <echidnaman>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aleixpol, amichai2, jr, kde, kontakt, mklapetek, plasma-bugs, sitter
Priority: NOR    
Version: 5.5.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
URL: http://imgur.com/d9CClDG
Latest Commit: Version Fixed In:

Description Abdeljalil 2015-04-25 07:47:47 UTC
a notification about system update has appeared, I clicked on closing button in the notification applet, the notification gone, but after nearly 2 or 3 seconds it shows again, and still popping and disappearing and can't stop it.
this is very annoying behaviour

Reproducible: Didn't try


Actual Results:  
The notification disappeared then pops out again after clicking on close button

Expected Results:  
The notification should go forever after clicking the close button

after a while, may be 10 minutes the notification disappeared and this behaviour stopped automatically
Comment 1 Martin Klapetek 2015-04-25 08:03:54 UTC
Thanks for the report.

First of all please always attach the images directly here, never use sites like imgur because then they can expire whenever and then this report would have no image :)

Second, I've noticed this in Kubuntu as well and I think this is a fault in some of their component which keeps emitting the notification.

Harald - which is the component emitting this and where can I look at the code?
Comment 2 Harald Sitter 2015-04-25 08:52:44 UTC
Muon.
Comment 3 Harald Sitter 2015-04-25 08:54:37 UTC
FWIW I am actually reasonable certain that the problem is muon monitoring some file to notice when there are changes on debian distros and that file gets touched more than once per apt update run, so muon notifies for each file modification.
Comment 4 Martin Klapetek 2015-04-27 09:50:12 UTC
Yeah I had a similar guess. It can be observed especially during "apt-get update".

I'm looking into this.
Comment 5 Jonathan Riddell 2015-04-27 09:52:05 UTC
ApplicationNotifier.cpp has a watch stampDirWatch which gets called a lot
ApplicationNotifier::distUpgradeEvent could also do with being called less often or checking the notification hasn't already been shown today
Comment 6 Jonathan Riddell 2015-04-27 09:53:02 UTC
they're both called stampDirWatch for some reason

recheckSystemUpdateNeeded is the system release upgrade notification and gets called lots
Comment 7 Aleix Pol 2015-04-27 14:02:54 UTC
Git commit 217834e6a20d07b7f99415525a27928329cae88c by Aleix Pol.
Committed on 27/04/2015 at 14:01.
Pushed by apol into branch 'Plasma/5.3'.

Only emit about found updates when they change

M  +11   -3    libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp
M  +2    -0    libmuon/backends/ApplicationBackend/ApplicationNotifier.h

http://commits.kde.org/muon/217834e6a20d07b7f99415525a27928329cae88c
Comment 8 Martin Klapetek 2015-04-27 14:11:43 UTC
Well, so much for "I'm looking into this" :P

/me drops it then
Comment 9 Aleix Pol 2015-04-27 17:04:25 UTC
Well, it's not fixed, it will still be called more times than needed (if it really does happen every now and then while upgrading).
Comment 10 Aleix Pol 2015-05-14 11:18:15 UTC
*** Bug 345823 has been marked as a duplicate of this bug. ***
Comment 11 Martin Klapetek 2015-06-08 22:13:29 UTC
*** Bug 348901 has been marked as a duplicate of this bug. ***
Comment 12 Martin Klapetek 2016-01-13 17:11:09 UTC
*** Bug 357935 has been marked as a duplicate of this bug. ***
Comment 13 Justin Zobel 2021-03-10 00:10:56 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 14 Justin Zobel 2021-03-10 00:12:26 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 15 soee 2021-03-13 17:53:01 UTC
This bug does not happen anymore for a long time.