While I'm far from being an expert in the Unity source code, taking a
look at it (more precisely, file launcher/ApplicationLauncherIcon.cpp,
function ApplicationLauncherIcon::ActivateLauncherIcon in Vivid) it
seems this behaviour comes from a patch made to fix the bug #753938
"Launcher - Open Trash window prevents Nautilus being launched when a
user clicks on the Nautilus Launcher icon"[1]. That fix launches a new
Nautilus window if the currently opened Nautilus windows are the trash
or devices mounted in /media/<username>/.

But I think the previous behaviour is correct, i.e. the trash and
devices launcher icons should be thought as just shortcuts to the
Files/Nautilus application, not as separate applications; clicking on
the Trash icon opens a trash window *in Nautilus*, so when you click on
the normal Nautilus launcher icon it should bring that Trash window
back, not open a separate window with the Home folder. This is way is
done for example in Mac OS X, where clicking on the Trash icon on the
dock brings a Finder window, and if you click the Finder icon afterwards
it brings back the Trash window, not a new window.

This way may be annoying for some users that think of the Trash/Devices
icons as separate applications, but I think it's more consistent and
less workflow-disruptive when you are working with devices/trash
windows.

[1]: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/753938

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1170647

Title:
  After minimizing a Nautilus window of another partition or external
  media or Trash folder, clicking on the "Files" icon on the Launcher
  again doesn't restore the minimized window, but opens a new one

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to