Bug 509389

Summary: Missing desktop icons for Jetbrains IntelliJ IDEA in task manager, task switcher
Product: [Plasma] plasmashell Reporter: Raman Gupta <rocketraman>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, kde, kdedev, qydwhotmail
Priority: NOR    
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
URL: https://youtrack.jetbrains.com/issue/TBX-14554
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Cover switch missing icon
Thumbnail switcher missing icon

Description Raman Gupta 2025-09-11 17:44:31 UTC
SUMMARY

I have the following desktop file (created by Jetbrains Toolbox) at path /home/raman/.local/share/JetBrains/Toolbox/apps/jetbrains-idea-cd914c4e-c950-405b-ba44-8d0a6c89d04f.desktop:

[Desktop Entry]
Categories=Development;IDE;
Comment=The IDE for pro Java and Kotlin development
Exec=/home/raman/.local/share/JetBrains/Toolbox/apps/intellij-idea-ultimate-2/bin/idea %u
Icon=/home/raman/.local/share/JetBrains/Toolbox/apps/intellij-idea-ultimate-2/bin/idea.svg
Name=IntelliJ IDEA Ultimate 2025.2.2 Release Candidate
NoDisplay=false
Path=
PrefersNonDefaultGPU=false
StartupNotify=true
StartupWMClass=jetbrains-idea
Terminal=false
TerminalOptions=
Type=Application
Version=1.0
X-KDE-SubstituteUID=false
X-KDE-Username=

The icon file /home/raman/.local/share/JetBrains/Toolbox/apps/intellij-idea-ultimate-2/bin/idea.svg exists and is valid -- the icon shows properly in the KDE menu editor.

However, the icon when the program is launched does not show at all in the Icons-only Task Manager panel, nor does the icon show in the task switchers (both my primary cover switch and secondary thumbnail switcher are missing the application icon). Present windows is also missing the application icon.

STEPS TO REPRODUCE
1.  Install IntelliJ IDEA from Jetbrains Toolbox
2.  Launch it

OBSERVED RESULT
No icon visible for application.

EXPECTED RESULT
Icon visible for application.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.15.9-201.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × 12th Gen Intel® Core™ i9-12900KS
Memory: 128 GiB of RAM (124.8 GiB usable)
Graphics Processor: AMD Radeon RX 6600 XT

ADDITIONAL INFORMATION
I created this Toolbox issue but I'm not sure it is a Jetbrains Toolbox problem. Other applications installed by Toolbox (e.g. Android Studio) show their icons properly. However, if Toolbox appears to be doing something incorrectly we can update this issue with the relevant information.

https://youtrack.jetbrains.com/issue/TBX-14554
Comment 1 TraceyC 2025-09-17 22:15:24 UTC
I'm not able to reproduce this on Plasma 6.4.5, with Intellij IDEA Community, installed via flatpak.
The icon shows in the task manager, overview and grid view.
How did you install Jetbrains Toolbox initially?

Also, I'm not sure what you're referring to when you say
" task switchers (both my primary cover switch and secondary thumbnail switcher are missing the application icon)"

Can you send a screenshot so we can make sure we understand what you're seeing?

This is probably an issue with the installer from Jetbrains, but we'll see what they say.

Thanks.
Comment 2 Raman Gupta 2025-09-18 04:44:49 UTC
(In reply to TraceyC from comment #1)
> I'm not able to reproduce this on Plasma 6.4.5, with Intellij IDEA

It does seem to be somewhat random. I actually can't reproduce it at the moment either, on Plasma 6.4.4. However, I've had the same situation in the past and then at some point the icon disappears again. Will see if that happens again.

> Community, installed via flatpak.
> The icon shows in the task manager, overview and grid view.
> How did you install Jetbrains Toolbox initially?

I installed it from the .tar.gz downloaded from https://www.jetbrains.com/toolbox-app/. I don't use Flatpak for it.

> Also, I'm not sure what you're referring to when you say
> " task switchers (both my primary cover switch and secondary thumbnail
> switcher are missing the application icon)"

The task switchers do not show the icon. This is reproducible right now even though the icon is at the moment showing in the icons-only task bar. So it seems to be a related issue, but clearly different in some way.

> Can you send a screenshot so we can make sure we understand what you're
> seeing?

I have attached two screenshots, showing the bottom of the screen during the cover switch, and the thumbnail switcher.

> This is probably an issue with the installer from Jetbrains, but we'll see
> what they say.

If so, presumably we should be able to see evidence of this in the desktop file? But the desktop file seems fine.

> Thanks.

Thank you.
Comment 3 Raman Gupta 2025-09-18 04:46:08 UTC
Created attachment 185033 [details]
Cover switch missing icon

Screenshot of cover switch -- not showing icon next to the window description at the bottom of the screen
Comment 4 Raman Gupta 2025-09-18 04:47:15 UTC
Created attachment 185034 [details]
Thumbnail switcher missing icon

Screenshot of thumbnail task switcher -- not showing icon on the IDEA window thumbnails. Note that the task switcher *does* show the icon for Android Studio, which is also installed via Jetbrains Toolbox.
Comment 5 TraceyC 2025-09-18 23:12:34 UTC
Thank you for the additional details and the screenshots. Those are helpful.

Since you say this happens intermittently, that rules out an installer or app issue. I'll let the developers take a closer look from here.
Comment 6 David Redondo 2025-09-19 07:46:02 UTC
please run

 busctl --user call org.kde.KWin /KWin org.kde.KWin queryWindowInfo 

and click on the window when it has no icon and paste the output here
Comment 7 Raman Gupta 2025-09-19 19:20:01 UTC
(In reply to David Redondo from comment #6)
> please run
> 
>  busctl --user call org.kde.KWin /KWin org.kde.KWin queryWindowInfo 
> 
> and click on the window when it has no icon and paste the output here

After an application restart, IDEA is again back to having no icon in the task bar, in addition to no icons in the cover switch, thumbnail switch, and present window views.

Here is the output of the requested command:

a{sv} 27 "activities" as 1 "0d8a320a-7bbf-4f83-8352-05903e49324b" "caption" s "Trails" "clientMachine" s "" "desktopFile" s "jetbrains-idea" "desktops" as 1 "dc15fb44-47a0-46cb-a418-f812ac131814" "fullscreen" b false "height" d 1612.31 "keepAbove" b false "keepBelow" b false "layer" i 2 "localhost" b true "maximizeHorizontal" i 2 "maximizeVertical" i 1 "minimized" b false "noBorder" b false "resourceClass" s "jetbrains-idea" "resourceName" s "idea" "role" s "" "shaded" b false "skipPager" b false "skipSwitcher" b false "skipTaskbar" b false "type" i 0 "uuid" s "{7e732df7-0e18-4538-813a-cb30246df6e1}" "width" d 2953.85 "x" d 2954 "y" d 0

I note here the `desktopFile` value of `jetbrains-idea.desktop` appears to be incorrect. It is 

$ find /home/raman -iname "jetbrains-idea*.desktop"
find: /home/raman/.local/share/applications/jetbrains-idea-cd914c4e-c950-405b-ba44-8d0a6c89d04f.desktop

And the menu is confirmed to point to that file -- if I open the KDE Menu Editor and right-click on the application and choose Properties, I see that it indeed references `/home/raman/.local/share/applications/jetbrains-idea-cd914c4e-c950-405b-ba44-8d0a6c89d04f.desktop`.

When I run the same busctl command with Android Studio (where the icon works), the desktopFile is correct.
Comment 8 David Redondo 2025-09-20 06:23:36 UTC
This means this is an idea bug, if tells KWin the wrong app id
Comment 9 Raman Gupta 2025-09-20 12:05:17 UTC
(In reply to David Redondo from comment #8)
> This means this is an idea bug, if tells KWin the wrong app id

Thank you David. What technical details can I provide them that can help them solve the issue? For example specific API calls or settings?
Comment 10 David Redondo 2025-09-22 07:46:47 UTC
run it with
 WAYLAND_DEBUG=1  and filter for "app_id"
Comment 11 Raman Gupta 2025-09-22 12:18:48 UTC
(In reply to David Redondo from comment #10)
> run it with
>  WAYLAND_DEBUG=1  and filter for "app_id"

Thank you, I see the relevant information. I've added that to the upstream bug report.

Until that is fixed, I've worked around the issue by symlinking the desktop file to the "expected" name based on the app_id being set.

Cheers