Awn

multiple window icons showing up on the bar - process matching

Bug #129753 reported by Andrew Starr-Bochicchio
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Medium
moonbeam

Bug Description

This is an old one that keeps popping up now and again. I still have this issue with Exaile. It occurs when reopening Exaile from the system tray. An Exaile icon is opened on the window list despite the fact that there is a launcher for it.

Issue 27 from old Google Code Site:

http://code.google.com/p/avant-window-navigator/issues/detail?id=27

Reported by MikeJones3, Feb 04, 2007

What steps will reproduce the problem?
1. drag banshee onto the dock to be a starter
2. click to launch banshee
3. now you will have two banshee icons

What is the expected output? What do you see instead?

the arrow should leave under the one you click, not open up another icon.

Revision history for this message
Miika-Petteri Matikainen (mpmatikainen) wrote :

I don't have this problem. Can someone confirm if this is still an issue?

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

It seems that it might be related to the AWN album art plugin of Exaile. I can consistently reproduce this only if a song is playing.

Revision history for this message
Sebastián Porta (sebastianporta) wrote :

I have this problem with Pidgin. I'm using svn 240 from reocard repository for Ubutu Feisty.

Revision history for this message
Marco A S Ribeiro (salsichad2) wrote :

I have the same problem with Swiftfox and Nautilus (home folder)

in the terminal:

(avant-window-navigator:6038): Wnck-WARNING **: Unhandled action type (nil)
[Q]

(avant-window-navigator:6038): Wnck-WARNING **: Unhandled action type (nil)
Launched application : 6118
[Q]

(swiftfox-bin:6126): Gtk-WARNING **: Não foi possível localizar a ferramenta de temas no module_path: "murrine",
[Q]

(avant-window-navigator:6038): Wnck-WARNING **: Unhandled action type (nil)
[Q]

(avant-window-navigator:6038): Wnck-WARNING **: Unhandled action type (nil)
Launched application : 6153
[Q]

(nautilus:6153): Gtk-WARNING **: Não foi possível localizar a ferramenta de temas no module_path: "murrine",
[Q]

(avant-window-navigator:6038): Wnck-WARNING **: Unhandled action type (nil)
[Q]

(avant-window-navigator:6038): Wnck-WARNING **: Unhandled action type (nil)

Changed in awn:
status: New → Confirmed
Revision history for this message
drekka (d4rkf1br3) wrote :

I have the same problem with an Eclipse icon and a bash command line option. Eclipse keeps trying to lauch a new instance, where as the cmd shell icon keeps resurfacing the started shell. I actually would prefer the eclipse icon to re-surface the currently running eclipse instance and the command shell to lauch new ones.

Revision history for this message
Krakatos (krakatos) wrote :

This behaviour happens when the name of the launcher differs from the name of the application.

Take firefox for example. The menu of your Linux distribution will likely have a menu lancher named Firefox Web Browser. if you create an AWN launcher by dragging and dropping firefox to AWN, it will never create a second icon.
But try to edit your menu, and rename the firefox menu link to something else, say firefox test launcher. And then drag this to AWN.

The launcher so created will always create a new instance of the program.

As a side note, I would actually prefer if there was an option that allowed to choose whether a launcher is supposed to create a new icon or not. To be honest, I really don't like the fact of having the task identified with the icon launcher. That because I use so often multiple program instances that it would be very impratical for me.

If by chance it becomes impossible to have a launcher that always create a new icon, I will have to stop using AWN launchers ans resort to normal desktop icons...

Revision history for this message
Rob Gill (gill-rob) wrote :

I have this issue with GIMP Image Editor (dragged from gnome-menu) and Link to Home Folder (opens nautilus in new icon)

Revision history for this message
Fedor Isakov (fisakov) wrote :

Same situation with zoiper (http://www.zoiper.com). The launcher created by AWN, name of the application "zoiper". Still another icon on the bar when launched.

Interestingly, with the previous version of zoiper (named idefisk) there were no such problems.

Neil J. Patel (njpatel)
Changed in awn:
milestone: none → 0.2.8
Revision history for this message
Jeremy Gove (jeremy-gove) wrote :

I actually have the opposite opinion of Krakatos, to a degree, in that I would prefer that my launchers consistently maintain only one instance of a running program. Unfortunately, AWN seems to behave randomly in this sense; sometimes when I click Firefox, it will just keep the same instance on the taskbar. Sometimes, though, it makes a new one on the right side, which I Don't want it to do. The same occurs with other programs at times, such as Deluge. It doesn't seem to matter what the name of the launcher is.

I wish that there were a solidly-working setting to choose whether or not clicking a task launcher makes a new instance of a program. Perhaps the task icons should be linked to PID rather than the task name. This way, the apparently random behaviour could be eliminated and people on both sides (those who want a task icon to always make a new instance of an application, and those who want each task launcher to launch only once instance and never make a second icon or instance) would be satisfied.

Revision history for this message
moonbeam (rcryderman) wrote :

Setting milestone to 0.4. This should be resolved with the 0.4 release as the taskmanager rewrite has been moved up.

Changed in awn:
milestone: 0.6.0 → 0.4.0
status: Confirmed → In Progress
Revision history for this message
Dragan Tomas (croatian-earthlink) wrote :

Folks, I'm not sure that this is the same bug you all are talking about, but it seems to me that the latest Avant Window Navigator 0.3.1-trunk-bzr-1-1 is having a major issue with "The main AWN Launcher/TaskManager applet" where it constantly creates new launchers by itself each time a new task is registered. For example, just try to launch your Evolution, Firefox or what have you from the standard main menu or your Desktop and within a minute or two a matching launcher will automatically appear to the left on the launcher area without any rime or reason. The launcher goes away by itself much the same way it came as soon as the task is closed. Aside from having the annoying AWN icon that sits useless in the launcher portion of Avant, I find this to be very irritating because the moment you either "Ungroup" it or "Deactivate" it - it comes back again within seconds!

Seriously, is this someone's way of joking with us like that old Windows joke with the 'Click me!' icon that the moment you try to click on it changes the location?

Revision history for this message
Mark Lee (malept) wrote :

This is unrelated. You seem to be (unknowingly) using the Standalone Launcher (and friends). Instructions for removal is here:

https://bugs.launchpad.net/awn-extras/+bug/319001/comments/3

Revision history for this message
Dragan Tomas (croatian-earthlink) wrote : Re: [Bug 129753] Re: multiple window icons showing up on the bar - process matching
Download full text (4.0 KiB)

Mark, I tried to follow those instructions, but the awn-manager refused to allow any deletion of those applets. All it says is: "Unable to delete applet". At first I did it without use of sudo, which in terminal window outputs this while launching awn-manager from the terminal window and removing the phantom launchers:

/usr/bin/awn-manager:68: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.wTree = gtk.glade.XML(self.GLADE_PATH, domain=defs.I18N_DOMAIN)

(awn-manager:14506): GConf-WARNING **: Directory `/apps/avant-window-navigator/applets/-71792140_1232572988' was not being monitored by GConfClient 0xa50e750
/usr/bin/awn-manager:213: Warning: invalid uninstantiatable type `(null)' in cast to `AwnConfigClient'
  gtk.main()

(awn-manager:14506): GConf-WARNING **: Directory `/apps/avant-window-navigator/applets/-31457284_1232574357' was not being monitored by GConfClient 0xa50e750

(awn-manager:14506): GConf-WARNING **: Directory `/apps/avant-window-navigator/applets/-83886090_1232574382' was not being monitored by GConfClient 0xa50e750

(awn-manager:14506): GConf-WARNING **: Directory `/apps/avant-window-navigator/applets/-85983236_1232574402' was not being monitored by GConfClient 0xa50e750

Then if I simply try to run it with sudo I get this instead and cannot launch the awn-manager at all:

/usr/bin/awn-manager:68: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.wTree = gtk.glade.XML(self.GLADE_PATH, domain=defs.I18N_DOMAIN)
Traceback (most recent call last):
  File "/usr/bin/awn-manager", line 216, in <module>
    awnmanager = AwnManager()
  File "/usr/bin/awn-manager", line 131, in __init__
    self.prefManager = awnPreferences(self.wTree)
  File "/usr/share/avant-window-navigator/awn-manager/awnPreferences.py", line 85, in __init__
    self.setup_autostart (self.wTree.get_widget("autostart"))
  File "/usr/share/avant-window-navigator/awn-manager/awnPreferences.py", line 510, in setup_autostart
    self.load_autostart(check)
  File "/usr/share/avant-window-navigator/awn-manager/awnPreferences.py", line 514, in load_autostart
    autostart_file = self.get_autostart_file_path()
  File "/usr/share/avant-window-navigator/awn-manager/awnPreferences.py", line 528, in get_autostart_file_path
    if os.environ['DESKTOP_SESSION'].startswith('kde'):
  File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'DESKTOP_SESSION'

(awn-manager:14491): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `AwnConfigClient'

I'm not even using KDE, but rather GNOME in Ubuntu Intrepid, so I don't know what's the whole fuss about desktop session starting in KDE.

-----Original Message-----
>From: Mark Lee <email address hidden>
>Sent: Jan 21, 2009 2:54 PM
>To: <email address hidden>
>Subject: [Bug 129753] Re: multiple window icons showing up on the bar - process matching
>
>This is unrelated. You seem to be (unknowingly) using the Standalone
>Launcher (and friends). Instructions for removal is here:
>
>https://bugs.launchpad.net/awn-extras/+bug/319001/comments/3
>
>--
>multiple window icons ...

Read more...

Revision history for this message
Mark Lee (malept) wrote :

The KeyError occurs because you are attempting to run awn-manager as root, which is not supposed to happen.

Do not attempt to "delete" applets, but rather "deactivate" them. "Delete" means remove the applet from the system, whereas "deactivate" means remove from the dock.

Revision history for this message
Dragan Tomas (croatian-earthlink) wrote :

That's exactly what I'm doing, I'm deactvating them using awn-managers button that's designed to do just that. Afterwards I use the trashcan icon in awn-manager to delete the applet, but that's when it tells me it's unable to do it.

-----Original Message-----
From: Mark Lee <email address hidden>
Sent: January 21, 2009 4:13 PM
To: <email address hidden>
Subject: [Bug 129753] Re: multiple window icons showing up on the bar - process matching

The KeyError occurs because you are attempting to run awn-manager as
root, which is not supposed to happen.

Do not attempt to "delete" applets, but rather "deactivate" them.
"Delete" means remove the applet from the system, whereas "deactivate"
means remove from the dock.

--
multiple window icons showing up on the bar - process matching
https://bugs.launchpad.net/bugs/129753
You received this bug notification because you are a direct subscriber
of the bug.

Status in Avant Window Navigator: In Progress

Bug description:
This is an old one that keeps popping up now and again. I still have this issue with Exaile. It occurs when reopening Exaile from the system tray. An Exaile icon is opened on the window list despite the fact that there is a launcher for it.

Issue 27 from old Google Code Site:

http://code.google.com/p/avant-window-navigator/issues/detail?id=27

[The entire original message is not included]

Revision history for this message
Mark Lee (malept) wrote :

> Afterwards I use the trashcan icon in awn-manager to delete the
> applet, but that's when it tells me it's unable to do it.

Right, because you're trying to delete an applet that's installed by the system.

Mark Lee (malept)
Changed in awn:
assignee: nobody → moonbeam (rcryderman)
importance: Undecided → Medium
moonbeam (rcryderman)
Changed in awn:
status: In Progress → Fix Committed
Mark Lee (malept)
Changed in awn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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