Description of problem: Okular's desktop files are missing the StartupWMClass entry and because of this multiple instances of these applications aren't grouped together in GNOME's dash. Version-Release number of selected component (if applicable): 21.04.1 How reproducible: Follow the steps below. Steps to Reproduce: 1. Install Fedora 34 2. Install Okular 3. Open multiple instances of Okular 4. Look at GNOME's dash Actual results: Multiple Okular icons in GNOME's dash Expected results: One Okular icon in GNOME's dash Additional info: I also mentioned this issue here: https://pagure.io/fedora-kde/SIG/issue/97 And I also filed a bug report upstream here: https://bugs.kde.org/show_bug.cgi?id=439552
I am experiencing this problem too on Fedora 33. Adding StartupWMClass=okular in the file /usr/share/applications/org.kde.okular.desktop solves the issue. I checked https://invent.kde.org/graphics/okular/-/blob/master/shell/org.kde.okular.desktop, which I guess is the source fo the *.desktop and the StartupWMClass attribute seems to be present.
Yes, I also opened an issue over at KDE (see the last link in my post above) and they added it to the .desktop file. So it is only a matter of time until it reaches Fedora's repository and I will close the issue here.