Can't pin QtCreator 4.5.2-3ubuntu2 to dash (add to favorites) in Ubuntu 18.04

Bug #1808857 reported by Valentin Gorelov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qtcreator (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm unable to pin QtCreator to the dash (add to favorites) in Ubuntu 18.04.
This problem is probably caused by the absence of StartupWMClass in the desktop file, located in
/usr/share/applications

Could be fixed with this patch:

diff -uN old/org.qt-project.qtcreator.desktop new/org.qt-project.qtcreator.desktop
--- old/org.qt-project.qtcreator.desktop 2018-03-02 15:33:32.000000000 +0300
+++ new/org.qt-project.qtcreator.desktop 2018-12-17 22:15:57.561828923 +0300
@@ -8,4 +8,5 @@
 Terminal=false
 Categories=Development;IDE;Qt;
 MimeType= text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;
+StartupWMClass=QtCreator

System info:
$ lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04

Package info:
$ apt-cache policy qtcreator
qtcreator:
  Installed: 4.5.2-3ubuntu2
  Candidate: 4.5.2-3ubuntu2
  Version table:
 *** 4.5.2-3ubuntu2 500
        500 http://ru.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

Tags: bionic patch
tags: added: bionic patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtcreator (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.