Bug 522846 - Generic document icons inappropriately showing up in notification history popup
Summary: Generic document icons inappropriately showing up in notification history popup
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: 6.7.2
Platform: openSUSE Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-09 09:46 UTC by x0r
Modified: 2026-07-30 21:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.6.7
Sentry Crash Report:


Attachments
Notifications - Mimetypes Icons Missing (533.00 KB, image/png)
2026-07-09 09:46 UTC, x0r
Details
Video screencast about movie icon over document (2.38 MB, video/webm)
2026-07-17 20:13 UTC, x0r
Details

Note You need to log in before you can comment on or make changes to this bug.
Description x0r 2026-07-09 09:46:09 UTC
Created attachment 194141 [details]
Notifications - Mimetypes Icons Missing

For quite some time now, i've noticed that "mimetypes" icons on Notifications didn't show up correctly or at all. An static empty icon appears after the actions of Extracting from Archive, Copy/Paste files.

I think mimetypes icons here should correspond to the apps or actions performed.

Operating System: openSUSE Tumbleweed 20260707
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Graphics Platform: Wayland
Comment 1 Nate Graham 2026-07-15 20:40:11 UTC
Is that screenshot un-altered? Or did you composite the movie icon over the document icon? If you didn't, that's a very strange thing to be seeing.
Comment 2 x0r 2026-07-17 19:54:40 UTC
Hello Nate, the screenshot it's done as it comes out from Spectacle - Rectangular Region.

I didn't composite anything, The movie icon appears over blank document icon itself.

I simply made copy/paste different video formats from a USB Pendrive/HDD to a $HOME/Videos directory.
Comment 3 x0r 2026-07-17 20:13:39 UTC
Created attachment 194390 [details]
Video screencast about movie icon over document
Comment 4 x0r 2026-07-17 20:18:01 UTC
This test was done even on the current KDE Plasma release, also Stock Breeze icons + theme.

Operating System: openSUSE Tumbleweed 20260716
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Graphics Platform: Wayland
Comment 5 Nate Graham 2026-07-17 20:57:44 UTC
I can confirm it. I missed this because I tend to have history turned off for most things. But now I see every notification that doesn't display an icon in the popup will display the generic document in the history.
Comment 6 x0r 2026-07-18 05:25:50 UTC
Okay, thanks for checking it out.
Comment 7 Kai Uwe Broulik 2026-07-25 05:49:40 UTC
Git commit cf16ace940423672eb9ab63b2f0cc1cf568deb4b by Kai Uwe Broulik.
Committed on 25/07/2026 at 05:22.
Pushed by broulik into branch 'master'.

libnotificationmanager: Return empty icon name in jobs model

There is no job icon and the one at the end comes from JobDetails
and the FileInfo stuff, not the model.

This case was forgotten in the original fix for Qt 6.11.1 and
resulted in an "unknown" icon showing behind the job icon.
Most of the time this wasn't noticeable because it had the same
"file shape" of the finished icon, but was visible after e.g.
copying an image.

Amends commit faf0e944

M  +1    -0    libnotificationmanager/jobsmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/cf16ace940423672eb9ab63b2f0cc1cf568deb4b
Comment 8 Kai Uwe Broulik 2026-07-25 06:08:57 UTC
Git commit 796dd811aa46109ae32013be47008f8e0918a1f6 by Kai Uwe Broulik.
Committed on 25/07/2026 at 05:51.
Pushed by broulik into branch 'Plasma/6.7'.

libnotificationmanager: Return empty icon name in jobs model

There is no job icon and the one at the end comes from JobDetails
and the FileInfo stuff, not the model.

This case was forgotten in the original fix for Qt 6.11.1 and
resulted in an "unknown" icon showing behind the job icon.
Most of the time this wasn't noticeable because it had the same
"file shape" of the finished icon, but was visible after e.g.
copying an image.

Amends commit faf0e944


(cherry picked from commit cf16ace940423672eb9ab63b2f0cc1cf568deb4b)

Co-authored-by: Kai Uwe Broulik <kde@privat.broulik.de>

M  +1    -0    libnotificationmanager/jobsmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/796dd811aa46109ae32013be47008f8e0918a1f6
Comment 9 Kai Uwe Broulik 2026-07-25 06:39:27 UTC
Git commit b628a876a315b4ad6ffe7a6de0bcfa86350774ad by Kai Uwe Broulik.
Committed on 25/07/2026 at 06:15.
Pushed by broulik into branch 'Plasma/6.6'.

libnotificationmanager: Return empty icon name in jobs model

There is no job icon and the one at the end comes from JobDetails
and the FileInfo stuff, not the model.

This case was forgotten in the original fix for Qt 6.11.1 and
resulted in an "unknown" icon showing behind the job icon.
Most of the time this wasn't noticeable because it had the same
"file shape" of the finished icon, but was visible after e.g.
copying an image.

Amends commit faf0e944


(cherry picked from commit cf16ace940423672eb9ab63b2f0cc1cf568deb4b)

Co-authored-by: Kai Uwe Broulik <kde@privat.broulik.de>

M  +1    -0    libnotificationmanager/jobsmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/b628a876a315b4ad6ffe7a6de0bcfa86350774ad