Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-17974

Qt Creator window is not associated to its .desktop application correctly in GNOME Shell

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.2.1
    • Installer
    • None

      Right now it is not possible to add Qt Creator to favorites, because of this.
      It fails to match because desktop file has the name "org.qt-project.qtcreator.desktop", but window WM_CLASS is "qtcreator".

      Here is the relevant logic in the GNOME Shell source:
      https://github.com/GNOME/gnome-shell/blob/2ebac8c186e9a03574b116f737734eee3acb5c48/src/shell-window-tracker.c#L136

      Simply adding "StartupWMClass=qtcreator" to the .desktop file solves the problem.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            con Eike Ziller
            oleksandr oleksandr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes