DESCRIPTION The new "background apps" in system tray "feature" introduced in plasma 6.7 causes duplicate entries in (at least some) applications such as deskflow (install via flathub). STEPS TO REPRODUCE 1. run plasma 6.7 2. install deskflow via flathub 3. start deskflow and minimize to tray OBSERVED RESULT Observe two deskflow icons in system tray. One that matches the theme colors (what was present in 6.7 and earlier plasma versions) and the new colored icon (new in plasma 6.7) EXPECTED RESULT only one deskflow icon is present (don't really care which one) SOFTWARE/OS VERSIONS Operating System: KDE Neon KDE Plasma Version: 6.7.0 KDE Frameworks Version: 6.27.0 Qt Version: 6.11.1 ADDITIONAL INFORMATION
Also, please add 6.7.0 as a supported version to the "version first reported in" section so I can accurately record this issue.
I can't repro with Deskflow, I only see one tray item. Might be fixed in 6.7.1? Operating System: KDE Linux 2026-06-18 KDE Plasma Version: 6.7.80 KDE Frameworks Version: 6.28.0 Qt Version: 6.11.1 Kernel Version: 7.0.12-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 16 GiB of RAM (15.5 GiB usable) Graphics Processor: AMD Radeon RX 6600
*** Bug 521609 has been marked as a duplicate of this bug. ***
In the duplicate, the user observed this with non-Electron apps installed from flatpak - Telegram and Remmina I was not able to reproduce this with flatpak apps on Plasma built from git-master, so this likely is fixed in 6.7.1 Please let us know if this still happens in that version. If so, please change this to CONFIRMED. Thanks!
Like Akseli and Tracey, I can't reproduce the issue as written, at least not with current git master. Nor for the apps in the duplicate report.
Created attachment 193398 [details] deskflow preferences as I have them set (I believe the default) please see the attached picture for the deskflow preferences as I have them set (I believe these are the defaults). I'll also note, you need to have deskflow CLOSED (ie: running in notification area) in order for the colorful second tray icon to appear.
I will also note that setting it to the "colorful" icon in the preferences (see screenshot again) will make it only show the "colorful" icon. so really it is the default monochrome icon that is now broken in plasma 6.7 (6.7.1 has not released yet, I'll test again when it releases on ~Tuesday)
Created attachment 193486 [details] System tray how it appears in 6.7 in X11, plus settings
Created attachment 193487 [details] System tray how it appears in 6.7 in Wayland, plus settings
I think this is the same problem I'm seeing in 6.7 (I haven't got 6.7.1 yet), although in my case I wouldn't call it "duplicate entries". In my case, I am seeing new system tray icons for apps that never had them before and have no need for such an icon, such as Firefox, VSCodium, Ungoogled Chromium, and KDE's own ISO Image Writer. These are all apps that I have installed as (user) Flatpaks. The icons don't seem to appear for non-Flatpak apps. I think it is relevant that this seems to (mostly) only happen in X11. In Wayland, the icons don't appear for most of the time, although they do appear briefly when logging in while a session is being restored (once the session is restored, the icons disappear). Surely related, in X11, in System Tray Settings, there are entries for each of these apps. These entries don't appear in Wayland. Operating System: openSUSE Tumbleweed 20260618 KDE Plasma Version: 6.7.0 KDE Frameworks Version: 6.27.0 Qt Version: 6.11.1 Kernel Version: 7.1.0-1228-gff5ccdb8d5bd-1.g586796e-vanilla (64-bit) Graphics Platform: X11
(In reply to dofficialgman from comment #0) dofficialgman, did you see the bug with X11 or Wayland or both?
On a tangential note, is there a way to force the use of background app indicators instead of system tray icons for certain applications ? I prefer the consistency, and am tired of looking at those thousand red dots screaming "unread messages" at me :)
(In reply to Lurux from comment #12) > On a tangential note, is there a way to force the use of background app > indicators instead of system tray icons for certain applications ? I prefer > the consistency, and am tired of looking at those thousand red dots > screaming "unread messages" at me :) Please ask on https://discuss.kde.org/
(In reply to TraceyC from comment #11) > (In reply to dofficialgman from comment #0) > dofficialgman, did you see the bug with X11 or Wayland or both? I only run wayland systems, so that is what I am reporting the bug on. I should note, in order to reproduce, you need to actually connect a client to the deskflow server before minimizing/closing to the tray. If you close the application to the tray with no client connected, you only get the colorless icon. So you are all probably testing incorrectly without a client connected which is why you haven't been able to reproduce.
Same issue appears when using easyeffects (flatpak)
Duplicate of bug 522230?
I have the same issue with the following Flatpaks from Flathub: Easy Effects (com.github.wwmm.easyeffects) qBittorrent (org.qbittorrent.qBittorrent) Steam (com.valvesoftware.Steam) OS: CachyOS KDE Plasma Version: 6.7.2 KDE Frameworks Version: 6.27.0 Qt Version: 6.11.1
Setting to confirmed, since multiple people have seen the same thing I still can't reproduce here.
I'll try and see if I can get some more diagnostic info sometime soon
If you/your distro are using apparmor it's likely caused by apparmor, see https://bugs.kde.org/show_bug.cgi?id=522230. Plasmashell is denied to check if the pid of sni is from inside a flatpak. We need to do this to not show a icon if an app has a SNI. If not, we need to debug a bit more. An important hint is if plasmoidviewer -a org.kde.plasma.systemtray shows duplicate icons.
I think we're going to need people to open individual bug reports when they see this, because in principle it could happen for multiple reasons. And people will need to mention which distro they're using, since some come with AppArmor. I just noticed one source of the issue when compiling apps using flatpak-builder! See Bug 522862. dofficialgman, can you reproduce your issue if you remove or disable AppArmor on your system? IIRC Neon ships with it turned on.
I've created BUG 522864 for my experience with this issue.
Can confirm that disabling the plasmashell profile in AppArmor (which I am using) fixes the issue on my end.
Here is what I tried: moved the "plasmashell" file in /etc/apparmor.d to the /tmp folder restarted the apparmor service with sudo systemctl restart apparmor.service tried launching one of the apps with the known issue (eg: deskflow) the issue still occurs
the issue also still occurs with the apparmor service stopped entirely (eg: sudo systemctl stop apparmor.service)
(In reply to David Redondo from comment #20) > If not, we need to debug a bit more. An important hint is if plasmoidviewer > -a org.kde.plasma.systemtray shows duplicate icons. unsure what this was supposed to prove. after installing plasmoidviewer as part of the plasma-sdk package (which was provided by the kde neon apt repos). running the command you suggest opens a "plasmoidviewer" window (see attached below). Closing the window with the X in the top right causes the application to core dump.
Created attachment 194251 [details] plasmoidviewer -a org.kde.plasma.systemtray
> unsure what this was supposed to prove. if the systemtray in the panel shows duplicate icons whether it also shows duplciate icons in plasmoidviewer, as such your test outside this situation indeed doesnt prove much.
I have the same issue with the following Flatpaks from Flathub: Telegram Desktop Proton Pass OS: KDE Neon Session: Wayland KDE Plasma Version: 6.7.2 KDE Frameworks Version: 6.28.0 Qt Version: 6.11.1
I just want to note while we are looking into this, you should be able to hide one of the duplicates manually.
Marking confirmed, since this has been reported by multiple users.
I'm experiencing this issue with Discord and Heroic Games Launcher. Both applications run in background when their main window is closed. For me, each have the original monochrome icon that follows my theme for tray icons, and a duplicate coloured icon that's shown in the application launcher menu. The coloured icons only show the option to quit the app when I right-click on them, whereas the other ones show all the relevant options like showing acknowledgements for Discord and launching a game for Heroic. The option to quit the application through the duplicate icons do work. I noticed that when I open the application's main window using the duplicate icons, they disappear but reappear after few seconds when the window is closed. When main window is opened with the original icon, the duplicates stay. I also noticed that Flatpaks of Firefox and Floorp (based on Firefox) also show icons when launched, but they disappear after a second because of the pattern with open main window mentioned earlier, and they don't run in background when the window is closed.
Hello, Created an account to leave a bug report. I have had the same issue, with multiple apps, all Flatpak installs: Betterbird ClamUI KTailCtl Syncthing Tray I found the comment https://bugs.kde.org/show_bug.cgi?id=521540#c23 from Joëlle van Essen. I disabled PlasmaShell in AppArmor, and the duplicate icons vanished after restarting plasma. My system: OS: Manjaro Linux x86_64 Kernel: Linux 7.1.4-1-MANJARO DE: KDE Plasma 6.7.3 Qt: 6.11.1 AppArmor: 4.1.7 Profile name on your system: /etc/apparmor.d/plasmashell
That means you were experiencing Bug 522230, which is a separate issue.
See a new example in Bug 524006.
Another example with Signal Desktop flatpak, where I think the new Plasma-created icon is actually *replacing* the app-created icon, and has significantly less functionality: see Bug 525998.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7169