Nautilus window not being matched to launcher icon in Ubuntu 15.04

Bug #1422466 reported by Benjamin Xiao on 2015-02-16
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
bamf (Ubuntu)
High
Unassigned

Bug Description

When I click on the Nautilus launcher icon in the Unity taskbar, it creates another icon for the window. Repeated clicks on the original launcher icon will just spawn more Nautilus windows instead of bringing up the current window.

Steps to reproduce:
1.) Drag Nautilus launcher from Applications to taskbar.
2.) Click on launcher.
3.) Notice that another Nautilus icon appears on the taskbar for the window, instead of being matched with the original icon.

WORKAROUND: Add to the end of the [Desktop Entry] section of /usr/share/applications/nautilus.desktop the line
StartupWMClass=nautilus

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: bamfdaemon 0.5.1+15.04.20150202-0ubuntu1
ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
Uname: Linux 3.18.0-13-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Feb 16 11:04:30 2015
InstallationDate: Installed on 2015-01-20 (27 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150119)
SourcePackage: bamf
UpgradeStatus: No upgrade log present (probably fresh install)

Benjamin Xiao (ben-r-xiao) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bamf (Ubuntu):
status: New → Confirmed
Colin Law (colin-law) wrote :

Note that in order to see this it is necessary to /drag/ the application from the dash into the launcher, not open it. The situation is also seen on the default install.
What seems to be happening is that the launcher icon is the file /usr/share/applications/nautilus.desktop, but when this is clicked it brings up in the launcher /usr/share/applications/org.gnome.Nautilus.desktop
It is important that the one in the launcher is nautilus.desktop as this is the one that gets populated with bookmarks for right click.

In order to see what is happening it is helpful to edit the desktop files and change the Name= line in each so they can be distinguished in the launcher.

Colin Law (colin-law) on 2015-03-03
description: updated
Colin Law (colin-law) on 2015-03-03
description: updated
Colin Law (colin-law) on 2015-03-03
description: updated
Changed in bamf (Ubuntu):
importance: Undecided → High
Benjamin Xiao (ben-r-xiao) wrote :

I should note that doing a "killall nautilus" seems to make the launcher binding work until I reboot.

Benjamin Xiao (ben-r-xiao) wrote :

Seems fixed with nautilus 3.14.2-0ubuntu6

Colin Law (colin-law) wrote :

But with version 3.14.2-0ubuntu6 bookmarks no longer appear when the launcher is right clicked. See bug #1436297 for a further workaround for that.

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

Other bug subscribers