Bug 439552 - Missing StartupWMClass Entries
Summary: Missing StartupWMClass Entries
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 21.04.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-06 11:32 UTC by qoheniac
Modified: 2021-07-07 05:59 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qoheniac 2021-07-06 11:32:27 UTC
SUMMARY
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.

STEPS TO REPRODUCE
1. Run GNOME Shell
2. Open multiple instances of Okular
3. Look at GNOME Dash

OBSERVED RESULT
GNOME Dash shows one icon per Okular instance

EXPECTED RESULT
GNOME Dash shows one Okular icon

SOFTWARE/OS VERSIONS
Fedora 34
GNOME Shell 40.2
KDE Framework 5.83.0
Qt 5.15.2

ADDITIONAL INFORMATION
Okular is the KDE application I use most but I saw missing StartupWMClass entries for other KDE applications too (e. g. KBibTeX). I also reported the bug downstream:
https://pagure.io/fedora-kde/SIG/issue/97
https://bugzilla.redhat.com/show_bug.cgi?id=1979498
Comment 1 Albert Astals Cid 2021-07-06 22:40:10 UTC
You'll should really go and bug Gnome's dash to not be so broken.

Anyhow https://invent.kde.org/graphics/okular/-/commit/d8845025f2e43836411a079c05c98a6a9507c1a0
Comment 2 qoheniac 2021-07-07 05:59:24 UTC
Thanks!