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

--- Comment #3 from Albert Vaca Cintora <[email protected]> ---
Git commit 5d8bbef44ac27d3b7d51af18eab9c27344c50eca by Albert Vaca Cintora.
Committed on 17/11/2026 at 11:26.
Pushed by albertvaka into branch 'master'.

notifications: track notifications waiting for their icon

Notifications whose icon is still downloading weren't tracked anywhere,
so if the phone sent the same notification again in the meantime, a second
Notification was created. It then replaced the first one under a new id.
Also, if the phone cancelled the notification during the download, it was
still shown once the icon arrived.

Keep pending notifications by internal id, so updates and cancellations
apply to them.

Since a pending notification can now be deleted before its icon arrives,
remove the entry from the downloads cache when the job finishes, instead of
in the Notification's handler. Otherwise the cache could keep a pointer to
the deleted job.

M  +5    -2    plugins/notifications/notification.cpp
M  +10   -1    plugins/notifications/notificationsplugin.cpp
M  +1    -0    plugins/notifications/notificationsplugin.h

https://invent.kde.org/network/kdeconnect-kde/-/commit/5d8bbef44ac27d3b7d51af18eab9c27344c50eca

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

Reply via email to