https://bugs.kde.org/show_bug.cgi?id=464612
Bug ID: 464612 Summary: Discover creates repeated notifications of ongoing tasks when you open and close its window Classification: Applications Product: Discover Version: 5.26.5 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: discover Assignee: plasma-b...@kde.org Reporter: eduardosare...@gmail.com CC: aleix...@kde.org Target Milestone: --- SUMMARY Discover creates many repeated notifications of "installing updates" with the progress bar when you open and close its window repeatedly. A recent KDE update made Discover able to be closed while installing updates or apps, and a pending notification will appear with the current status. If a user closes the window while it has some ongoing action a notification will be shown with the current progress. However, if the user decides to "go check the progress" in Discover itself, or go do anything else that he reopens Discover window, and then closes it again, a new additional ongoing will be created, even though there was already one. You can spam this and create as many ongoing notifications you like. When Discover finishes its work, all these repeated notifications, as many as there are, will all spam you desktop again telling you they finished their work. The Discover icon in the taskbar also shows the number of notifications, that keeps increasing too as new notifications are created. Basically everything works as expected, except that Discover shouldn't create a new "installing stuff" notification if there was already one. Added an attachment that tries to show exactly what happens after I closed and opened Discover window many times (3 times, in the case of the attachment) while a long update was installing. (confused about if this bug report should go into "discover" component or "notifier"). STEPS TO REPRODUCE 1. Make Discover do some work that takes some time: install many updates, or many apps in a row. 2. Close Discover window, an ongoing notification will be created, as expected. 3. Open Discover window again while it hasn't finished its work, and then close it again. 4. Another additional notification will be created, not removing the old one. 5. Repeat this as many times as you want, you will created dozen of them. 6. All of this ongoing notifications will spam your desktop with "finished" when Discover completes its tasks. OBSERVED RESULT Repeated similar ongoing notifications. EXPECTED RESULT Discover should maybe check if there is already an ongoing notification similar to what it is trying to create, and not create a new one. Or remove the old one and create a new one. SOFTWARE/OS VERSIONS Linux: 6.1.4 64 bits - OpenSUSE Tumbleweed KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.8 -- You are receiving this mail because: You are watching all bug changes.