GNOME Bugzilla – Bug 707438
Intellij Idea (Java application) window grouping does not work
Last modified: 2021-07-05 14:33:57 UTC
Using the free version of Intellij Idea[1] and GS 3.8.3. Starting multiple times Idea will result in multiple icons in the dash, they will not group correctly into one single icon corresponding to the application. I have installed cairo-dock and the grouping is correct in the dock. I have also tried setting the wm-class in the corresponding .desktop and used the java agent (see [2]) xprop shows the correct settings, but icons are still duplicated in the dash. [1] Idea can be downloaded from: http://www.jetbrains.com/idea/ [2] http://askubuntu.com/questions/36434/how-can-i-remove-duplicate-icons-for-launched-java-programs-in-the-launcher
Can you paste the content of xprop on the main window? Also, what are the names of the .desktop files? Do they contain StartupWMClass keys (note: they're not recognized in 3.8.3, but we may consider backporting the fix)?
Created attachment 254041 [details] xprop output
I created the .desktop file (Intellij_IDEA.desktop) myself with alacarte and added StartupWMClass by hand.
StartupWMClass won't help in 3.8.3. Also in 3.8.3 the .desktop file name must be lowercase, so it would be intellij_idea.desktop (again, fixed in master and not yet backported)
It would be nice if future version(s) could support StartupWMClass or provide a similar workaround.
(In reply to comment #5) > It would be nice if future version(s) could support StartupWMClass or provide a > similar workaround. Yeah, it's fixed in master, so it will be supported in 3.10. Also, starting from 3.10 will recognize capitalized .desktop files properly.
(In reply to Giovanni Campagna from comment #6) > (In reply to comment #5) > > It would be nice if future version(s) could support StartupWMClass or > > provide a similar workaround. > > Yeah, it's fixed in master, so it will be supported in 3.10. Also, starting > from 3.10 will recognize capitalized .desktop files properly. Does that mean this is fixed in recent GNOME Shell versions? Or are there still problems (which?)?
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.