Created attachment 104291 [details] Icon with and without menu It's been working fine in 5.9.2, there was one icon with recent documents under right click. Now when I pin Krita from launcher icon is doubled, one that starts app (and keeps recent docs menu) and second one after starting app without menu. When I pin only icon created after startup documents menu isn't there.
Please provide the following info: (a) the .desktop file name for Krita on your system (likely in /usr/share/applications) (b) the launchers=... line from your $HOME/.config/plasma-org.kde.plasma.desktop-appletsrc (c) xprop output for the Krita window
Created attachment 104344 [details] file:///usr/share/applications/org.kde.krita.desktop
Created attachment 104345 [details] xprop from krita window
launchers=file:///usr/share/applications/krita_odg.desktop,file:///usr/share/applications/org.kde.krita.desktop
Created attachment 104347 [details] file:///usr/share/applications/krita_odg.desktop
Menu is shown with this launcher: file:///usr/share/applications/org.kde.krita.desktop
So according to your config, you simply have two launchers for Krita on your TM, one to that weird "odg" .desktop file ... remove one of the launchers?
Sure I did, but when I start krita second icon appears so I pin second one and remove other but then I loose menu. So choice is: two icons or one without menu.
I can reproduce this problem now, for some reason when pinning we pick krita_odg.desktop over the other .desktop file.
Patch under review: https://phabricator.kde.org/D4928
Fixed by 8028a500e3b2 (and up-merges) in plasma-workspace. The fix will be in the next round of 5.8.x and 5.9.x bugfix releases.