After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 707438 - Intellij Idea (Java application) window grouping does not work
Intellij Idea (Java application) window grouping does not work
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: overview
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-09-04 04:48 UTC by Clerc Mathias
Modified: 2021-07-05 14:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
xprop output (36.64 KB, text/plain)
2013-09-04 07:58 UTC, Clerc Mathias
Details

Description Clerc Mathias 2013-09-04 04:48:37 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
Comment 1 Giovanni Campagna 2013-09-04 07:46:12 UTC
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)?
Comment 2 Clerc Mathias 2013-09-04 07:58:32 UTC
Created attachment 254041 [details]
xprop output
Comment 3 Clerc Mathias 2013-09-04 07:59:32 UTC
I created the .desktop file (Intellij_IDEA.desktop) myself with alacarte and added StartupWMClass by hand.
Comment 4 Giovanni Campagna 2013-09-04 08:03:59 UTC
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)
Comment 5 Clerc Mathias 2013-09-05 04:59:12 UTC
It would be nice if future version(s) could support StartupWMClass or provide a similar workaround.
Comment 6 Giovanni Campagna 2013-09-05 07:40:01 UTC
(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.
Comment 7 André Klapper 2017-08-15 23:17:47 UTC
(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?)?
Comment 8 GNOME Infrastructure Team 2021-07-05 14:33:57 UTC
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.