psi-plus.desktop misses entry StartupWMClass

Bug #894585 reported by Bernhard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
psi-plus (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

the excellent instant messenger psi-plus, uses the window class "psi". Thus, after launch it will be displayed as an extra icon in both unity and gnome-shell.

This can be easily fixed by adding the following entry to the psi-plus.desktop file:

StartupWMClass=psi

regards,
Bernhard

LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch

psi-plus:
  Installed: 0.15~svn3910-1ubuntu1
  Candidate: 0.15~svn3910-1ubuntu1
  Version table:
 *** 0.15~svn3910-1ubuntu1 0
        500 http://at.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages
        100 /var/lib/dpkg/status

Tags: oneiric
Revision history for this message
Tehnick (tehnick) wrote :

I have no Unity or Gnome 3. Could you make two screenshots to show the difference? Thanks.

Revision history for this message
Bernhard (xro) wrote :
Revision history for this message
Bernhard (xro) wrote :
Revision history for this message
Bernhard (xro) wrote :

in the screenshot you can clearly see, that without StartupWMClass=psi set in /usr/share/applications/psi-plus.desktop, psi-plus show's up as two icons in the gnome-shell as opposed to just one as it should.

Revision history for this message
Tehnick (tehnick) wrote :

These are two different windows:
1) window with roster
2) window with chats

Do you really want to miss possibility of switching between them?
I do not think that other people will be agree with you...

Revision history for this message
Bernhard (xro) wrote :
Revision history for this message
Bernhard (xro) wrote :

you misunderstand how window switching in gnome-shell and unity are supposed to work. The dock on the left is not a windows switching mechanism but application specific.
You switch to an application, then you switch between it's windows. Or directly to a window of an app by right-clicking its dock icon (see screen-shot). Showing two windows of an app as separate icons is definitely wrong.

Also, setting StartupWMClass is just a workaround, the real problem is that the psi-plus executable is not named psi, or alternatively psi-plus claims its X WindowClass to be "psi" when it shouldn't.

two quick links with more detail:
http://live.gnome.org/GnomeShell/Tour
http://live.gnome.org/GnomeShell/CheatSheet

Revision history for this message
Tehnick (tehnick) wrote :

I've tested it in my KDE and LXDE. And there is no difference to me.
Also this key is valid [1] in the freedesktop.org standard.
So I am going to add this option in the next upload.
Thank you for the bug report.

[1] http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package psi-plus - 0.15.5333-1

---------------
psi-plus (0.15.5333-1) unstable; urgency=low

  * New upstream release.
  * debian/rules was updated: fixed FTBFS with new build-arch handling
    (Closes: #673340)

 -- Boris Pek <email address hidden> Fri, 18 May 2012 21:40:24 +0300

Changed in psi-plus (Ubuntu):
status: New → Fix Released
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.