Unity launcher creates multiple instances of Xchat when it's in the background

Bug #634806 reported by Mark Shuttleworth on 2010-09-10
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xchat (Ubuntu)

Bug Description

Binary package hint: xchat

When using Xchat with Unity, launcher seems to start second and third instances of Xchat when the Xchat icon is clicked, rather than bringing an existing Xchat window to the foreground. I'm not sure whether this is an issue in Xchat or Unity, or both, so will create bug tasks against both.

David Barth (dbarth) wrote :

I'd suspect xchat, which doesn't seem to prevent the execution of multiple instances, by using libunique for example.
xchat is correctly matched by bamf and represented as running on the launcher, with the mini-expose properly representing the 2 distinct chat windows.

Changed in unity:
status: New → Invalid
David Barth (dbarth) wrote :

Hmm sorry, tested that a bit more.

I understand that the issue you're having is when the xchat window is either below other windows or mimized. I can't reproduce the issue with the current daily build of Unity. Ie, launching a 1st instance, and minimzing the window (or hiding it below a terminal for ex.), and then clicking on the xchat icon correctly results in the /existing/ xchat window being brought back to the front.

However, when starting multiple xchat instances from the command line, I can indeed get multiple instances, but they are still correctly matched and associated with the right launcher icon.

So in summary, Unity bamf and the launcher are behaving correctly afaict,

Changed in xchat (Ubuntu):
status: New → Confirmed
geekyboy (adamculp) wrote :

In 13.04 I am experiencing the same. When I click the X to close xchat the close dialog opens and I check the box to mimimize the tray, but instead it seems to go away. When I look in the notification area xchat is there, but not marked as already running. When I click xchat it opens a new window and logs in as one of my backup user. However, the previously opened xchat still seems to be running in the background somewhere. (In the new xchat instance I can see my other user still active, even after an hour or more of the previous xchat instance disappearing.)

geekyboy (adamculp) wrote :

This still exists in 14.04 LTS.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers