Bug 465262

Summary: Closing and re-opening Discover multiple times while jobs are in progress causes duplicate notifications
Product: [Applications] Discover Reporter: rosswzyang
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: aleixpol, leonard.menzel, nate, plata.hill
Priority: NOR    
Version First Reported In: 5.27.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Sentry Crash Report:
Attachments: Reproduce video

Description rosswzyang 2023-02-04 09:12:43 UTC
Created attachment 155931 [details]
Reproduce video

SUMMARY
The counter in notification will increase wrongly after minimizing/closing discover when installing apps


STEPS TO REPRODUCE
1. open discover then install a app
2. close discover
3. open discover again by clicking discover in kickoff
4. close discover

OBSERVED RESULT
The counter in notification will increase wrongly after minimizing/closing discover when installing apps

EXPECTED RESULT
correct counter

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230202
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11320H @ 3.20GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: TIMI
Product Name: A18R

ADDITIONAL INFORMATION
Comment 1 Leonard Menzel 2023-02-04 11:44:26 UTC
it seemes every time the discover window is closed a new notification spawns no matter if there is already one. it stacks up. closing discover 3 times gives 3 times the same notification. 

happens on my device too:
Betriebssystem: KDE neon 5.26
KDE-Plasma-Version: 5.26.5
KDE-Frameworks-Version: 5.102.0
Qt-Version: 5.15.8
Kernel-Version: 5.15.0-58-generic (64-bit)
Grafik-Plattform: Wayland
Prozessoren: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Speicher: 62,2 GiB Arbeitsspeicher
Grafikprozessor: AMD Radeon Graphics
Hersteller: TUXEDO
Produktname: TUXEDO Pulse 15 Gen2
Comment 2 Nate Graham 2023-02-06 22:22:27 UTC
Fixed in Plasma 5.27 already.
Comment 3 rosswzyang 2023-03-11 01:52:26 UTC
still exists in plasma 5.27.2

Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.14-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 4 rosswzyang 2024-05-04 15:08:54 UTC
(In reply to Nate Graham from comment #2)
> Fixed in Plasma 5.27 already.

still exists on plasma 6 actually
Comment 5 rosswzyang 2024-05-04 15:21:45 UTC
(In reply to rosswzyang from comment #4)
> (In reply to Nate Graham from comment #2)
> > Fixed in Plasma 5.27 already.
> 
> still exists on plasma 6 actually

https://drive.google.com/file/d/1SXafQC_h0-uLuuwc93JuDZBs1Il_WH3M/view?usp=sharing

reproduce steps
Comment 6 Nate Graham 2024-05-06 20:46:19 UTC
*** Bug 486612 has been marked as a duplicate of this bug. ***