← Back to team overview

desktop-packages team mailing list archive

[Bug 1441111] Re: Clicking the launcher icon for Nautilus opens a 2nd window when a device is attached

 

Expected:
 Starting with no open application:
 1) Attach an external drive (usb pen for example)
 2) Click on the external drive icon on the unity launcher to open Files (Nautilus) on the usb drive path
 3) Open another app (a browser for example)
 4) Click on the Files (Nautilus) icon to get it in focus

What happens:
 Starting with no open application:
 1) Attach an external drive (usb pen for example)
 2) Click on the external drive icon on the unity launcher to open Files (Nautilus) on the usb drive path
 3) Open another app (a browser for example)
 4) Click on the Files (Nautilus) icon to get it in focus, but instead a NEW instance of Files (Nautilus) is opened (the default behaviour when Files (Nautilus) is closed and you open it first)

Additional informations:
If you have both a Nautilus window under "~", and another under the path of the external drive, when you click on the nautilus icon it behaves correctly and make you choose which of the two you want to focus. This doesn't happen if both windows are under an external drive (or partition) path, as in this case it opens a third Nautilus window instead (under ~).

It seems like Nautilus (or maybe Unity)  is not able to recognize the
windows of the external drives as instances of Nautilus itself.

** Also affects: nautilus
   Importance: Undecided
       Status: New

** Summary changed:

- Clicking the launcher icon for Nautilus opens a 2nd window when a device is attached
+ Clicking the nautilus icon for focusing a window of an external device opens a new window instead

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dp-unity
https://bugs.launchpad.net/bugs/1441111

Title:
  Clicking the nautilus icon for focusing a window of an external device
  opens a new window instead

Status in Nautilus:
  New
Status in Unity:
  New
Status in unity package in Ubuntu:
  Confirmed

Bug description:
  The Launcher icon for Nautilus (whether clicking on the icon or using
  the shortcut 'Super+1') does not work properly in Ubuntu 14.04 when an
  external Device is attached to the computer [i.e., when an item
  appears under the "Devices" heading in Nautilus' Sidebar (e.g., USB
  drive).]

  With all applications except Nautilus, clicking a Launcher icon results in this behavior: 
  1) if the application is not open, the application is opened. 
  2) if the application is opened, focus is given to the already opened window. 

  Yet Nautilus does NOT behave this way when an external device is
  attached to the computer and Nautilus is viewing the contents of that
  device. For example, if a USB thumb drive is attached to the computer
  and user is viewing the contents, pressing Super+1 (or clicking the
  Nautilus icon) to bring focus to an already opened Nautilus window
  results in a new window being opened so there are a total of 2
  Nautilus windows.

  Some side-effects of this include making it IMPOSSIBLE to close the
  Nautilus application by clicking the X in the upper left corner of the
  window unless the user makes use of Alt+Tab to get to the already
  opened Nautilus window. To illustrate this, do the following:

  1) Attach a USB thumb drive to the computer. (I have "Never start
  programs on media insertion" enabled so no windows automatically open
  on my computer).

  2) To access the USB drive I just attached, I open Nautilus by
  clicking the icon in the Launcher. My HOME folder opens. I click on
  the USB device (that lists under DEVICES in Nautilus' Sidebar) to see
  what is on the USB drive.

  3) I open Firefox by clicking on the Firefox icon in the Launcher.

  4) I want to return to the Nautilus window I previously opened, so I
  click on the Nautilus icon in the Launcher. A NEW NAUTILUS WINDOW
  OPENS. The correct behavior here is for Ubuntu to give focus to the
  already opened Nautilus window.

  5) If I then click the X in the upper left corner of the window to
  close nautilus, the window closes but Nautilus is still open. If I
  click the Nautilus icon to give focus to the open Nautilus Window, IT
  OPENS A NEW NAUTILUS WINDOW. Clicking the X in this window puts me
  back where I started.

  A second window of an application should only be opened 1) if user
  right-clicks the Launcher icon and selects "Open a New Window" or 2)
  if user makes use of the Super+Shift+# shortcut. New windows should
  NOT be opened from standard left-clicks on the icon.

  I am reporting this bug on a fully up to date version of Ubuntu 14.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/1441111/+subscriptions