During Android studio installation there is a desktop icon created. But it cannot be grouped with application icon in taskbar in such DE's like Unity, Plasma, maybe others. Reproducible: Always Steps to Reproduce: 1. Install (emerge) any Android studio version 2. Launch it. The icon will appear in taskbar (in Plasma, Unity, etc..) 3. Lock the icon to taskbar (via pop-up menu) Actual Results: Locked icon can't be used as launcher icon (it just tries to run java) Expected Results: Locked icon can be used as launcher icon The problem is because .desktop file for Android Studio doesn't defines StartupWMClass property. Some discussion about the issue is here: https://askubuntu.com/questions/367396/what-represent-the-startupwmclass-field-of-a-desktop-file The solution: Use in ebuild's: make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio" instead of: make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" in src_install() function.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e120551fbca899370335da1185fe94dba7b4466 commit 6e120551fbca899370335da1185fe94dba7b4466 Author: Jason Zaman <perfinion@gentoo.org> AuthorDate: 2017-11-27 03:07:16 +0000 Commit: Jason Zaman <perfinion@gentoo.org> CommitDate: 2017-11-27 03:08:45 +0000 dev-util/android-studio: bump to 3.0.1 and fix desktop entry Closes: https://bugs.gentoo.org/637304 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-util/android-studio/Manifest | 3 +- .../android-studio-3.0.1.0.171.4443003.ebuild | 108 +++++++++++++++++++++ 2 files changed, 110 insertions(+), 1 deletion(-)