After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 643396 - Favourite icon and dock icon should be same
Favourite icon and dock icon should be same
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-27 07:18 UTC by LeDabe
Modified: 2011-03-16 14:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description LeDabe 2011-02-27 07:18:44 UTC
If I've a lot of favourite, and each of the are open, each icons appear twice.
One big for the launcher and one small in the bottom for windows switching

Before 2.91.90, the launcher and windows switcher was the same icon
and I prefer this way

Why this has changed ?
Is there any option to choose this behaviour ?
Comment 1 Jasper St. Pierre (not reading bugmail) 2011-02-27 08:19:02 UTC
This is a bug with the application tracking, not an intentional change.

If you start the applications from the shell itself, does it happen? If you restart the shell with Alt+F2 or through the command line, is that when it breaks? If so, what applications are experiencing this behavior, and can you let us know your distribution?
Comment 2 LeDabe 2011-02-27 09:02:39 UTC
In fact I found the problem only with firefox.
If I launch it from alt+F2, by the dash or application menu it's the same, I've a second little icon in the bottom oft the dash.

I don't restart the shell 

But firefox is launched by firefox-bin, and here are the process launched:
31356 pts/0    S+     0:00 /bin/sh /opt/firefox/firefox
31359 pts/0    S+     0:00 /bin/sh /opt/firefox/run-mozilla.sh /opt/firefox/firefox-bin
31363 pts/0    Sl+    0:00 /opt/firefox/firefox-bin

As for me the bug is here: the launcher start another program which has another name.
I'll try to build firefox thanks to what I'll have only firefox

My distro is gentoo

But as I'm remember, I didn't have this trouble before 2.91.90 and Firefox was bin and in favourite.
Comment 3 LeDabe 2011-02-27 09:33:12 UTC
I Didn't remember but I can't build firefox now.

The second (little) firefox icon asks me to add it in favorite, whereas Firefox is already in favorite
And with this little icon, "open new windows" doesn't work, it re-opens the last windows. but if I open another windows; they will correctly be tracked by this little icon
Comment 4 LeDabe 2011-02-27 09:41:07 UTC
There is also netbeans 6.9 IDE that shows the same bug
It's installed by the hands in opt, and present uin applicatin menu
Comment 5 Jasper St. Pierre (not reading bugmail) 2011-02-27 09:47:45 UTC
run-mozilla.sh shouldn't be a separate process. That was fixed upstream mid-2009[0].

Can you try upgrading to a newer version of Firefox? Can you try the steps listed here[1] to give us the WM_CLASS?

Either way, this is technically a distro bug.

[0] http://hg.mozilla.org/mozilla-central/rev/9ab3645be5aa
[1] https://live.gnome.org/GnomeShell/ApplicationBased#WM_CLASS
Comment 6 LeDabe 2011-02-27 10:37:17 UTC
There is no updated version of firefox in the tree.

Here is the WM_CLASS:

WM_CLASS(STRING) = "Navigator", "Firefox"

if needed, I'll fill a bug with gentoo
Comment 7 LeDabe 2011-03-16 14:18:54 UTC
Since last update from gentoo, I don't have the problem anymore

And the bug filled in on gentoo was closed too