spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.33k stars 1.61k forks source link

spyder.desktop doesn't contain WMClass variable for grouping windows #8290

Closed danieltomasz closed 5 years ago

danieltomasz commented 5 years ago

Desktop file delivered by Spyder after installation doesn't contain an entry for 'StartupWMClass'. In Ubuntu 18.04 & Gnome 3.28 it causes to grouping new instances of Spyder apart Spyder icon on dash. (the effect is two Spyder icon on Dash)

Adding entry StartupWMClass=Spyder to spyder.desktop file solve this issue. Could you try to update the desktop file in the new release of spyder (for example 3.3.2)

The issue is caused by the desktop entry say "Spyder3" but running instance window is called "Spyder" (tested by xprop WM_CLASS)

ccordoba12 commented 5 years ago

Ok, will do. Thanks for reporting and for giving us the solution.