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

Bug #1170647 reported by Steffen Krumbholz on 2013-04-19
This bug affects 342 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Medium
Unassigned
unity (Ubuntu)
Medium
Marco Trevisan (Treviño)
Nominated for Utopic by Alberto Salvia Novella
Trusty
Medium
Unassigned

Bug Description

*******
 ISSUE
*******

HOW TO REPRODUCE

1. Connect a removable media to the computer.
2. On the launcher, click on the "Files" icon.
3. On the left sidebar, click on the removable media icon or the trash.
4. Minimize the window.
5. Click on the "Files" icon.

EXPECTED BEHAVIOUR

- The Files window to be maximized.

REAL BEHAVIOUR

- A new window is opened.

RELEVANT DETAILS

- One way to navigate between windows at this moment is to use the "control + tabulation" key combination, or to click again on the "Files" icon so windows are exposed.

Otherwise the minimized window Can be restored by clicking on the Volume's launcher icon or scrolling on the Files icon

**********
 SOLUTION
**********

WORK-AROUND

- On the launcher, left click on the "Files" icon and select the "unlock from Launcher" option.

- Or hover the mouse over the Nautilus icon in the launcher, and roll the mouse wheel down/up, it should switch to the Naulitus window without open new instance of it.

FIX

- The launcher icon for "Files" to be treated the same way as if it was unlocked.

REGRESSION POTENTIAL

- Clicking on the "Files" icon won't send the user to its home folder, but to the latest opened Files window.

****************
 TECHNICAL INFO
****************

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: nautilus 1:3.6.3-0ubuntu16
ProcVersionSignature: Ubuntu 3.8.0-18.28-generic 3.8.6
Uname: Linux 3.8.0-18-generic i686
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
Date: Fri Apr 19 11:33:13 2013
EcryptfsInUse: Yes
GsettingsChanges:
 b'org.gnome.nautilus.window-state' b'geometry' b"'814x493+136+38'"
 b'org.gnome.nautilus.window-state' b'sidebar-width' b'182'
InstallationDate: Installed on 2011-07-23 (635 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110426)
MarkForUpload: True
SourcePackage: nautilus
UpgradeStatus: Upgraded to raring on 2013-04-14 (4 days ago)

Related branches

lp:~genius12a/unity/unity
Rejected for merging into lp:unity
Marco Trevisan (Treviño): Disapprove on 2014-06-28
Steffen Krumbholz (skrumbholz) wrote :
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, is that under unity? Do you have specific steps to reproduce?

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Steffen Krumbholz (skrumbholz) wrote :

Sebastien, thank you for your response. Please read my bug report carefully. :) I think I provided the informations already.

Sebastien Bacher (seb128) wrote :

ok, fair enough ;-)

Changed in nautilus (Ubuntu):
status: Incomplete → New
Changed in nautilus (Ubuntu):
status: New → Confirmed
1 comments hidden view all 175 comments
aguzers (aguzers) wrote :

kinda annoying,
i dual boot ubuntu 13.04 with win7 , nautilus attempt to open new window when i click the nautilus (nautilus in minimize mode), it happen when i browse win7 data drive but if i acces my home folder (or ubuntu drive) n minimize it, this problem not appear.
sorry about my english :D

Mario (mario-mds) wrote :

Yes. The same happens to me: Any folder different from /home/myuser does that.

By the way: Can this new version of Nautilus show the status bar (in the lower right area, right under the list of files)?

Also: Can I set the 'tree view' in the folders located to the left?

Thanks in advance guys.

Steffen Krumbholz (skrumbholz) wrote :

There's a workaround for this issue. Hover over the Nautilus launcher icon and scroll the mouse wheel. :)

Mario (mario-mds) wrote :

Too late now. Using Thunar. Has no bugs (at least no Nautilu's ones), it's fast, has tree-view, shows previews of photos and videos...
Who needs Nautilus?

benjamin villanueva (itagomo) wrote :

thanks for the tip skrumbholz . =)

Leonardo Donelli (learts92) wrote :

I tried to give a look into the problem, even though i'm not expert in unity internals, GTK, desktop files, ecc. There is a big chaos. There is a transition going on between using nautilus.desktop and nautilus-home.desktop (apparently Unity used to use nautilus-home.desktop but is converging to the "standard" nautilus.desktop), as a result there are various .desktop files. There are also .desktop files for the mounted external drives (and launcher icons for external drives have strange / incosistent behaviour, by the way: when clicking on them the nautilus window that opens is 'assigned' to the nautilus launcher [the small arrow is on that] but the drive launcher still controls it: it can bring the window on foreground if it isn't).
On top of that, nautilus already has functions to determine if a specific location is already open, and in that case it avoids opening a new window for it (unless you use the --new-window parameter).

AlmogBaku (almog-baku) wrote :

it happend to me too..
There is no any solution yet?

AlmogBaku (almog-baku) wrote :

Also, when two windows is opened, it works as excepted

Edwin Pujols (edwinpm5) wrote :

Just now I noticed that with directories mounted on /media (via a direct invokation of udisks in a script) nautilus works as expected. Well, at least for me, at least right now.

Bruce (brunces) wrote :

This bug also affects me when I have a Nautilus window of my external drive minimized. If I click the Nautilus icon, it simply opens a new window, instead of showing that minimized one. I'm not quite sure, but it seems to happen frequently with mounted devices.

Shukhrat Mukimov (mukimov) wrote :

I can confirm, that this bug can be reproduced in latest 13.04. Nautilus opens second instance, instead to recover the old one. It's always reproduced for me.

Vahid Mardani (vahid-mardani) wrote :

I have the same problem, in 13.04. i decided to use another file manager.until debug

Adolfo Jayme (fitojb) on 2013-07-18
Changed in bamf (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Changed in nautilus (Ubuntu):
importance: Low → Medium
Adolfo Jayme (fitojb) wrote :

I can no longer reproduce this bug in Saucy, the icon now works as expected. Can anyone else confirm this?

On 9/11/2013 5:44 AM, Adolfo Jayme Barrientos wrote:
> I can no longer reproduce this bug in Saucy, the icon now works as
> expected. Can anyone else confirm this?
>
Can't confirm, see the same in updated saucy,
To refresh -
Open nautilus, browse to any dir. mounted in /media/<username>/,then
minimize nautilus.
Clicking on the launcher icon opens a new nautilus window at user Home
instead of minimized window

In my saucy install this is still present. Just to confirm it is present in saucy.

Adolfo Jayme (fitojb) on 2013-09-17
summary: - Nautilus opens new window instead of restoring the minimized window
+ Clicking on Nautilus’ launcher icon opens new window instead of
+ restoring the minimized one when browsing external drives/locations
Changed in bamf (Ubuntu):
status: Confirmed → Triaged
Changed in nautilus (Ubuntu):
status: Confirmed → Triaged
Changed in unity (Ubuntu):
status: New → Triaged
importance: Undecided → Medium

Hey, all. I have a workaround on this. Try this. (Feedback, Please. I may lost some step.)
1. Use fstab to mount your (external) disk into another directory on /media . For example /media/disk
   a. Please use auto, (if ntfs) ntfs-3g as mount option.
2. Create a link of /media/disk and give it a name based on your username. Put this link on the same directory (e.g. /media/)
3. Well, try it now.
Well, I don't know that the bug I reported already exist.

This bug exists only if you pin Nautilus to panel.

Michal Grňo (michal-grno) wrote :

I noticed this bug *after* the update to Saucy.

Кирилл (kirill-myxa) wrote :

I noticed that if open at least 2 tabs in window (even if both tabs show contents of an external hard drive) - it will open and minimized as it should.
(Ubuntu 13.10)

Ricardo Graça (devius) wrote :

Actually there is no need to minimize the original Nautilus window to reproduce this bug. All it takes is the Nautilus window loosing focus, e.g. when changing to another application and then attempting to get back to the Nautilus window showing an external drive.

Adam Niedling (krychek) on 2013-10-24
tags: added: saucy
Michal Grňo (michal-grno) wrote :

Recently I've found that this bug also affects process windows while copying from an external drive - those windows cannot be accessed by clicking on nautilus' icon. Sometimes it gets focus when I click on external drive icon, sometimes it doesn't. Strange.

Vahid Mardani (vahid-mardani) wrote :

The same problem always happens to me. on 13.04 and after upgrade to 13.10. so always i have two nautilus windows. its hurt me.

Sebastien Bacher (seb128) wrote :

Hey Marco, you worked on similar issues with the nautilus copy dialog in the past, do you want to have a look to this one?

Changed in unity (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
EliCoten (launchpad-elicoten) wrote :

I'm using 13.10. It seems to be somewhat related to this: http://askubuntu.com/q/235805/38137

If you click on the Hard Drive launcher icon, a folder window appears but the indicators show that it is a file window. If you then minimize this window, it appears to go to the "Files" launcher, but actually the correct way to restore it is to click on the Hard Drive launcher icon again.

This is ok (ok, perhaps a little confusing for the user - the indicator should really point to the Hard Drive launcher not the Files launcher when such a window is open) provided that the hard drive icon remains docked to the launcher. The real problem comes when you undock the Hard Drive/Partition's icon from the launcher - then you have the same behaviour with no reasonable alternative.

I hope this explanation makes sense.

I can confirm this bug is present also in Ubuntu 14.04 64 bit

tags: added: amd64 trusty

I have 3 other partitions apart from Ubuntu 14.04 one, one of which is set in fstab to be automatically mounted at startup (and not by gvfsd). I've noticed the behavior mentioned in this bug applies for the other partitions, but not for this one. Maybe this info could be useful. Here is the relative fstab line:

UUID=4031F06913658C89 /mnt/DATI auto nosuid,nodev,nofail,x-gvfs-show 0 0

Adolfo Jayme (fitojb) on 2014-02-26
Changed in unity (Ubuntu):
importance: Medium → High
tags: added: ubuntu-desktop-trusty
removed: trusty
Boza (nemanja-boki92) wrote :

This bug exists in 14.04 (64 bit).
If I UNPIN nautilus from Launcher, it works like it should work.

And now.. In 13.10 workaround was to hover with mouse and scroll. But now that not possible for unfocused windows. Fkkk.

Adolfo Jayme (fitojb) wrote :

@Boza: See bug 1098578, that behavior is coming back as an option.

Adolfo Jayme (fitojb) wrote :

(Sorry, I meant bug 1288957.)

Luigi R. (xluigi84) wrote :

I can confirm what reported by EliCoten, If we click on the drive icon we get the last window minimized although there is no pointer on it.

tags: added: trusty
OerHeks (oerheks) wrote :

Bug still exists in 14.04 64bit, no way to bring minimized nautilus to front

Jorge Rodríguez (yitano) wrote :

I can also confirm this is happening on 14.04 x64

Michal Polovka (miskopo) wrote :

I also confirm this bug on 14.04

Boza (nemanja-boki92) wrote :

Well, on my 14.04 (13.04->13.10->14.04) it's now working properly.

Tamir (sugip) wrote :

Bug still exists in 14.04 64 bit and very annoying.

Adolfo Jayme (fitojb) on 2014-06-23
Changed in bamf (Ubuntu):
importance: Medium → High
Changed in nautilus (Ubuntu):
importance: Medium → High
tags: added: patch
Changed in unity:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
importance: Undecided → High
status: New → Triaged
Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Changed in gnome-shell (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
status: Triaged → Confirmed
description: updated
no longer affects: gnome-shell (Ubuntu)
summary: - Clicking on Nautilus’ launcher icon opens new window instead of
- restoring the minimized one when browsing external drives/locations
+ After minimizing an external location, clicking on the "Files" icon on
+ the Launcher doesn't restore the minimized window, but opens a new one
no longer affects: nautilus (Ubuntu)
no longer affects: bamf (Ubuntu)
affects: nautilus → hundredpapercuts
no longer affects: hundredpapercuts
description: updated
tags: added: utopic
Changed in unity (Ubuntu):
importance: High → Medium
Changed in hundredpapercuts:
importance: Undecided → Medium
status: New → Triaged
summary: - After minimizing an external location, clicking on the "Files" icon on
- the Launcher doesn't restore the minimized window, but opens a new one
+ After minimizing an external media, clicking on the "Files" icon on the
+ Launcher doesn't restore the minimized window, but opens a new one
description: updated
Doug McMahon (mc3man) on 2014-11-30
description: updated
tags: removed: amd64 saucy ubuntu-desktop-trusty
Changed in unity (Ubuntu Trusty):
status: New → Confirmed
Sadi Yumuşak (sa-yu) on 2015-05-07
summary: - After minimizing an external media, clicking on the "Files" icon on the
- Launcher doesn't restore the minimized window, but opens a new one
+ After minimizing Nautilus window of Trash folder or any folder in
+ another partition as well as external media, clicking on the "Files"
+ icon on the Launcher doesn't restore the minimized window, but opens a
+ new one
summary: - After minimizing Nautilus window of Trash folder or any folder in
- another partition as well as external media, clicking on the "Files"
- icon on the Launcher doesn't restore the minimized window, but opens a
- new one
+ After minimizing a Nautilus window of another partition or external
+ media or Trash folder, clicking on the "Files" icon on the Launcher
+ doesn't restore the minimized window, but opens a new one
summary: After minimizing a Nautilus window of another partition or external
media or Trash folder, clicking on the "Files" icon on the Launcher
- doesn't restore the minimized window, but opens a new one
+ again doesn't restore the minimized window, but opens a new one
Rodrigo (rodhos-hp) on 2015-07-22
Changed in vivid:
status: New → Confirmed
Rodrigo (rodhos-hp) on 2015-07-26
tags: added: regression-release vivid
Rodrigo (rodhos-hp) on 2015-10-10
no longer affects: wily (Ubuntu)
no longer affects: wily (Ubuntu Trusty)
Changed in unity (Ubuntu):
status: Triaged → Opinion
status: Opinion → Confirmed
Will Cooke (willcooke) on 2015-10-15
tags: added: will-test
Will Cooke (willcooke) on 2015-10-15
tags: removed: will-test
Rodrigo (rodhos-hp) on 2015-10-15
tags: added: launcher wily
Changed in unity:
status: Triaged → Opinion
status: Opinion → Confirmed
96 comments hidden view all 175 comments
Sadi Yumuşak (sa-yu) wrote :

@Rodrigo : I don't remember now maybe I've got it after I manually adding it to Launcher (drag&drop a .desktop file), anyway one can simply copy "/usr/share/applications/org.gnome.Nautilus.desktop" to "~/.local/share/applications/files.desktop" and add it to Launcher after getting rid of the original Launcher icon (i.e. Unlock from Launcher).

@Yonatan @Rodrigo : Sorry I actually meant my comments no. 109 & 110.
Also I currently use this autostart script:

sleep 10
nautilus -q
sleep 5
nautilus -q

(Yes, I need to restart nautilus twice, and even first click the new Files icon in Launcher before using any other nautilus window ;-)

As a result, I now have the Files icon behaving as expected -- but still with one exception; nautilus root is represented a separate icon in the "running apps" section.

Igor Martins (igor-pm) on 2015-11-01
no longer affects: wily (Ubuntu)

@Igor : Why did you set "no longer affects: wily (Ubuntu)"? This bug is very much still present in 15.10.

Not fixed for me on Wily, either. Also, I noticed that if you already have a Nautilus window open on another workspace (even not for a drive), unlike most other apps (where it switches to the workspace with that app open and brings the window to the foreground), Nautilus will instead open a new window on that workspace. I'm pretty sure that this is the same bug, as unlocking Files from the launcher will also fix this.

yasomal (yasomal) wrote :

I also confirm that this still happen on my 14.04 x64.

Rodrigo (rodhos-hp) wrote :

Relax. Is still present. It was a mistake.
Probably he tried to add a package called wily, then he realised and deleted it. It doesn't exist a project called wily, we can't add an Ubuntu version: when the package Unity was added it automatically added the Trusty link.
Also, the vivid project is a mistake. It was created in 2011, just one package is mantained and it is not related with Unity nor Vivid Vervet.
I think we need to add every package of every distro version and the links to the versions will appear.

I propose to add this info to the triage guide in the wiki because it was confusing for me too.

Rodrigo (rodhos-hp) wrote :

I finally find the answer. There is another button only available for administrators called: Nominate for release.
askubuntu.com/questions/511878/how-to-add-another-ubuntu-version-to-affects-list-on-launchpad-bug

Rodrigo (rodhos-hp) wrote :

I recommend you to read this: https://answers.launchpad.net/launchpad/+question/152525
Is very educative.

Seth Johnson (sethj) on 2015-11-05
tags: added: desktop-bugscrub-triaged
Rodrigo (rodhos-hp) on 2015-11-07
tags: removed: patch
Rodrigo (rodhos-hp) wrote :

The fix submitted by Anish Dowlut (genius12a) on 2014-06-26 was disapproved by Marco Trevisan (Treviño) on 2014-06-28.
I told you this just in case you was wondering what happened with the fix.

Marco assigned this bug to himself on 2014-07-23.
Are you still working on this? Can you tell us something about the problem? Maybe some of us can give you a hand.

Rodrigo (rodhos-hp) on 2015-11-07
affects: vivid → killbill
Rodrigo (rodhos-hp) wrote :

I get the code (corresponding to my distro series), commented the section indicated in the diff file then compiled Unity with this guide: https://unity.ubuntu.com/getinvolved/development/unity/
And is working like a charm. If you are impatient like me I recomend you to do this. It's pretty easy.

*facepalm*

CzBiX (gliuwr) wrote :

For the guys who can‘t compile Unity, I just made a binary patch to fix this. It's safe and fast to use without side effects.
Please comment on the gist if you have any suggest.

https://gist.github.com/CzBiX/8608f3520b92a77c79e0

PS: This patch only support 15.10 64bit right now.

Sadi Yumuşak (sa-yu) wrote :

This annoying problem has been finally solved for me; THANKS A MILLION TO CzBix :-)
I hope the developers up there incorporate this soon.

Rodrigo (rodhos-hp) on 2015-11-08
tags: added: xenial

[angry rant]
I'm really getting sick of people fighting about whether this is a bug or not (despite there being no other application that I've seen that has this behavior), and changing tags, and submitting patches, and rejecting patches, and there being like 20 duplicate bugs of this and over 300 affected people, AND YET IT'S STILL NOT FIXED. This bug has existed for over TWO YEARS.

Does Canonical even TRY to fix bugs? For instance, the bug where Unity freezes when dragging windows between workspaces (https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1301623)? Also, since I've upgraded to 15.10, there's been a double menu bar thing in VLC (https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1510624), as well as another issue (not sure if it's just me or what) where VLC seems to crash sometimes when opening files in VLC from Nautilus too fast. (I would say I'm just opening files too fast except that this worked fine in 15.04.) As well as BREAKING NANO (!) in 15.10 because of something with the new file locking system that no one really needs (https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081). (Also, yay, more hidden crap in my home directory to make the list of hidden files there even longer than it already is.) That one appears to have been fixed upstream but not yet released to the channels as an update. And in Ubuntu 15.04, removing "Open in new tab" from Terminal and replacing this with a "New terminal" option that you need to change what it does in the preferences in order to be able to open a new tab without having to use keyboard shortcuts, what the hell? Same reaction for no longer being able to bookmark something by dragging it to the sidebar in Nautilus and instead having to go to the Bookmarks menu. And LOL the Jayatana thing that they eventually had to disable in an update. I already had disabled that myself and manually re-enabled it in Eclipse when I got sick of seeing spam in my output console whenever I launched any Java program I had written.
Additionally, it seems random when I open a text file as to whether it opens in a new tab inside the currently open gedit window or in a new separate gedit window instead. Same for opening tabs in incognito mode in Chromium.

I really do like the Unity concept and the way it was intended to work, but it's stupid crap like this that ruins the whole experience. Please, someone explain to me why, when there are hundreds of Ubuntu-based spinoffs, there is only ONE (Leeenux, which appears to use a DE based on a continuation of the Ubuntu Netbook Remix that eventually turned into Unity) that uses Unity as the default desktop environment.
[/angry rant]

Rodrigo (rodhos-hp) wrote :

I will give you my "Unity Team's study" plus a link to the Big Bug Bonanza initiative:
https://drive.google.com/file/d/0BxrljVxXN2upRERERWRJcmdtY1U/view?usp=sharing
http://www.whizzy.org/2015/09/big-bug-bonanza-16-04-lts/

Read this:
"Over the years the bug lists for Unity 7 and Compiz have grown to become unmanageable. To make sure we are focusing on the most important issues we have to do some serious tidying up of the bug lists and we need some help.

At the time of writing there are 2680 open bugs for Unity 7 ...."

I hope this answer your question. Regards.

Changed in unity (Ubuntu):
status: Confirmed → In Progress
Changed in unity:
status: Confirmed → In Progress
tags: added: rls-x-incoming
tags: removed: rls-x-incoming
Changed in unity (Ubuntu):
milestone: none → ubuntu-16.04
Changed in unity:
milestone: none → 7.4.0
Yonatan (yonatankahana-il) wrote :

I fount temporarily solution, which is not fix the source of the problem, yet at least improves the user experience...
Hover the mouse over the Nautilus icon in the launcher, and roll the mouse wheel down/up, it should switch to the Naulitus window without open new instance of it.

tags: added: unity-backlog
Vladimir Scherbaev (zemik) wrote :

omg, it's still here

MrRomanze (mrromanze) wrote :

This behaviour is very annoying.

Valentin Crone (va-crone) wrote :

Yes it's still here.....

Rodrigo (rodhos-hp) wrote :

Please indicate the version you are using. This will be probably fixed in 16.04. I'm afraid it won't be fixed in older versions.

For more info see bugs:

#1063838
#1161323

florians (flo-rianstein-er) wrote :

So, no chance getting it fixed for 14.04 LTS ?
it's a pain if you have to work with external harddrives a lot ...

Rodrigo (rodhos-hp) wrote :

Marco Trevisan wrote:

"Now the launcher will link each nautilus window to the related volume or trash
icon, while the Nautilus launcher icon will only be active if the file manager is
browsing other locations.
It's now possible to manage sub-windows from the parent icon like it happens for
every other application (so even spreading them or select from QL)"

@florians I do not know. Just update in april.

description: updated
Changed in unity (Ubuntu Trusty):
importance: Undecided → Medium
affects: killbill → ubuntu-translations
no longer affects: ubuntu-translations
Mathew Hodson (mathew-hodson) wrote :

It seems like this was fixed in Xenial with unity 7.4.0+16.04.20160209.3-0ubuntu1

---------------
unity (7.4.0+16.04.20160209.3-0ubuntu1) xenial; urgency=medium

  [ Didier Roche ]
  * debian: Recommends session-shortcuts, prodiving easy way to
    shutdown, reboot and logout from dash

  [ Marco Trevisan (Treviño) ]
  * CMake: use GNUInstallDirs with native multi-arch support
    (LP: #1508635, #1485668)
  * Launcher: add FileManager, Trash and Volume icons integration
    (LP: #1524721, #1161323, #1063838, #1063823)
  * SwitcherModel: avoid to access to invalid selection or to divide by
    zero (LP: #1537524)

  [ handsome_feng ]
  * Extend the lockscreen theme for kylin.

 -- Marco Trevisan (Treviño) <mail@3v1n0.net> Tue, 09 Feb 2016 12:21:15 +0000

Changed in unity (Ubuntu):
status: In Progress → Fix Released
Adam Niedling (krychek) wrote :

It might be fixed now but not in a very good way.
Now a new launcher item gets created every time I change the location in Nautilus to another partition. And that item dissapears when I move to a location on the root partition. So one second I have the focus on the top of the launcher the other second I have on the bottom of it. It keeps changing all the time depending on the partition that I'm on.
Usabilitiy-wise it's pretty bad and frustrating.

Download full text (3.8 KiB)

Well, this is a mess. I use a NTFS partition for my files and if I open
Trash I have 3 differents icons for the same program.
Files, or Nautilus, it's one program and should work like any other
program. 1 icon for each program instead of 1 icon for each windows of the
same program.
El abr. 26, 2016 13:16, "Mathew Hodson" <email address hidden> escribió:

It seems like this was fixed in Xenial with unity
7.4.0+16.04.20160209.3-0ubuntu1

---------------
unity (7.4.0+16.04.20160209.3-0ubuntu1) xenial; urgency=medium

  [ Didier Roche ]
  * debian: Recommends session-shortcuts, prodiving easy way to
    shutdown, reboot and logout from dash

  [ Marco Trevisan (Treviño) ]
  * CMake: use GNUInstallDirs with native multi-arch support
    (LP: #1508635, #1485668)
  * Launcher: add FileManager, Trash and Volume icons integration
    (LP: #1524721, #1161323, #1063838, #1063823)
  * SwitcherModel: avoid to access to invalid selection or to divide by
    zero (LP: #1537524)

  [ handsome_feng ]
  * Extend the lockscreen theme for kylin.

 -- Marco Trevisan (Treviño) <mail@3v1n0.net> Tue, 09 Feb 2016 12:21:15
+0000

** Changed in: unity (Ubuntu)
       Status: In Progress => Fix Released

--
You received this bug notification because you are subscribed to a
duplicate bug report (1173223).
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

Status in One Hundred Papercuts:
  Triaged
Status in Unity:
  In Progress
Status in unity package in Ubuntu:
  Fix Released
Status in unity source package in Trusty:
  Confirmed

Bug description:
  *******
   ISSUE
  *******

  HOW TO REPRODUCE

  1. Connect a removable media to the computer.
  2. On the launcher, click on the "Files" icon.
  3. On the left sidebar, click on the removable media icon or the trash.
  4. Minimize the window.
  5. Click on the "Files" icon.

  EXPECTED BEHAVIOUR

  - The Files window to be maximized.

  REAL BEHAVIOUR

  - A new window is opened.

  RELEVANT DETAILS

  - One way to navigate between windows at this moment is to use the
  "control + tabulation" key combination, or to click again on the
  "Files" icon so windows are exposed.

  Otherwise the minimized window Can be restored by clicking on the
  Volume's launcher icon or scrolling on the Files icon

  **********
   SOLUTION
  **********

  WORK-AROUND

  - On the launcher, left click on the "Files" icon and select the
  "unlock from Launcher" option.

  - Or hover the mouse over the Nautilus icon in the launcher, and roll
  the mouse wheel down/up, it should switch to the Naulitus window
  without open new instance of it.

  FIX

  - The launcher icon for "Files" to be treated the same way as if it
  was unlocked.

  REGRESSION POTENTIAL

  - Clicking on the "Files" icon won't send the user to its home folder,
  but to the latest opened Files window.

  ****************
   TECHNICAL INFO
  ****************

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: nautilus 1:3.6.3-0ubuntu16
  ProcVersionSignature: Ubuntu 3...

Read more...

no longer affects: unity
martincasc (martincasco) wrote :

So, what is affected. If we open Home, a pendrive volumen and Trash we have
3 icons for the same program. Files in tip of laincher and the rest at the
end. It's insane.
El abr. 26, 2016 13:41, "Marco Trevisan (Treviño)" <mail@3v1n0.net>
escribió:

> ** No longer affects: unity
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1233147).
> 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
>
> Status in One Hundred Papercuts:
> Triaged
> Status in unity package in Ubuntu:
> Fix Released
> Status in unity source package in Trusty:
> Confirmed
>
> Bug description:
> *******
> ISSUE
> *******
>
> HOW TO REPRODUCE
>
> 1. Connect a removable media to the computer.
> 2. On the launcher, click on the "Files" icon.
> 3. On the left sidebar, click on the removable media icon or the trash.
> 4. Minimize the window.
> 5. Click on the "Files" icon.
>
> EXPECTED BEHAVIOUR
>
> - The Files window to be maximized.
>
> REAL BEHAVIOUR
>
> - A new window is opened.
>
> RELEVANT DETAILS
>
> - One way to navigate between windows at this moment is to use the
> "control + tabulation" key combination, or to click again on the
> "Files" icon so windows are exposed.
>
> Otherwise the minimized window Can be restored by clicking on the
> Volume's launcher icon or scrolling on the Files icon
>
> **********
> SOLUTION
> **********
>
> WORK-AROUND
>
> - On the launcher, left click on the "Files" icon and select the
> "unlock from Launcher" option.
>
> - Or hover the mouse over the Nautilus icon in the launcher, and roll
> the mouse wheel down/up, it should switch to the Naulitus window
> without open new instance of it.
>
> FIX
>
> - The launcher icon for "Files" to be treated the same way as if it
> was unlocked.
>
> REGRESSION POTENTIAL
>
> - Clicking on the "Files" icon won't send the user to its home folder,
> but to the latest opened Files window.
>
> ****************
> TECHNICAL INFO
> ****************
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.04
> Package: nautilus 1:3.6.3-0ubuntu16
> ProcVersionSignature: Ubuntu 3.8.0-18.28-generic 3.8.6
> Uname: Linux 3.8.0-18-generic i686
> ApportVersion: 2.9.2-0ubuntu8
> Architecture: i386
> Date: Fri Apr 19 11:33:13 2013
> EcryptfsInUse: Yes
> GsettingsChanges:
> b'org.gnome.nautilus.window-state' b'geometry' b"'814x493+136+38'"
> b'org.gnome.nautilus.window-state' b'sidebar-width' b'182'
> InstallationDate: Installed on 2011-07-23 (635 days ago)
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110426)
> MarkForUpload: True
> SourcePackage: nautilus
> UpgradeStatus: Upgraded to raring on 2013-04-14 (4 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hundredpapercuts/+bug/1170647/+subscriptions
>

Sadi Yumuşak (sa-yu) wrote :

In deed it's got very... interesting:

1) I right click the Home/Files icon on Launcher and click Documents (which is a bookmark for "/home/sadi/Documents" which is simply a symbolic link to folder named Documents on my NTFS partition), and I have the Home (nautilus) icon displayed as active.

2) I right click the Home/Files icon again and this time click a quicklist item for a subfolder of Documents but this time entered as "/media/sadi/Data/Documents/Archive", and then an icon for the Data partition appears below the "Show Desktop" icon with nautilus window having two tabs -- thanks to a script to prevent opening a new window) and Home icon is no longer displayed as active.

3) I click the Trash icon, and a new nautilus window opens with the Trash icon at the very bottom displayed as active (which is the only good thing in this new design it seems)

4) I right click the Home/Files icon once again and this time click a quicklist item for a subfolder under home folder (e.g. "~/.local/share/applications"); suddenly nautilus surrenders and decides to merge all in one window, with only the Home/Folder icon displayed as active... but wait, the Trash contents is displayed nowhere... So I have to click the Trash icon again, and finally everything (almost) looks more sensible: Trash icon is shown active, and Home/Files icon is shown active, with 3 tabs for 3 folders on 2 partitions (as long as you don't attempt to open a folder on a 3rd partition ;-)

I don't think this issue can be ignored at all although I'm not sure who should solve it: Gnome or Ubuntu developers?

@Adam Niedling - I agree that even though it's slightly less annoying than before, the new 16.04 behavior is still not very good.

martincasc (martincasco) wrote :

Under Ubuntu 15.10 (15.04 too) the bug can be solve changing the mount
setting from Disc Utility app.
El abr. 26, 2016 21:50, "Hitechcomputergeek" <email address hidden>
escribió:

> @Adam Niedling - I agree that even though it's slightly less annoying
> than before, the new 16.04 behavior is still not very good.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1233147).
> 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
>
> Status in One Hundred Papercuts:
> Triaged
> Status in unity package in Ubuntu:
> Fix Released
> Status in unity source package in Trusty:
> Confirmed
>
> Bug description:
> *******
> ISSUE
> *******
>
> HOW TO REPRODUCE
>
> 1. Connect a removable media to the computer.
> 2. On the launcher, click on the "Files" icon.
> 3. On the left sidebar, click on the removable media icon or the trash.
> 4. Minimize the window.
> 5. Click on the "Files" icon.
>
> EXPECTED BEHAVIOUR
>
> - The Files window to be maximized.
>
> REAL BEHAVIOUR
>
> - A new window is opened.
>
> RELEVANT DETAILS
>
> - One way to navigate between windows at this moment is to use the
> "control + tabulation" key combination, or to click again on the
> "Files" icon so windows are exposed.
>
> Otherwise the minimized window Can be restored by clicking on the
> Volume's launcher icon or scrolling on the Files icon
>
> **********
> SOLUTION
> **********
>
> WORK-AROUND
>
> - On the launcher, left click on the "Files" icon and select the
> "unlock from Launcher" option.
>
> - Or hover the mouse over the Nautilus icon in the launcher, and roll
> the mouse wheel down/up, it should switch to the Naulitus window
> without open new instance of it.
>
> FIX
>
> - The launcher icon for "Files" to be treated the same way as if it
> was unlocked.
>
> REGRESSION POTENTIAL
>
> - Clicking on the "Files" icon won't send the user to its home folder,
> but to the latest opened Files window.
>
> ****************
> TECHNICAL INFO
> ****************
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.04
> Package: nautilus 1:3.6.3-0ubuntu16
> ProcVersionSignature: Ubuntu 3.8.0-18.28-generic 3.8.6
> Uname: Linux 3.8.0-18-generic i686
> ApportVersion: 2.9.2-0ubuntu8
> Architecture: i386
> Date: Fri Apr 19 11:33:13 2013
> EcryptfsInUse: Yes
> GsettingsChanges:
> b'org.gnome.nautilus.window-state' b'geometry' b"'814x493+136+38'"
> b'org.gnome.nautilus.window-state' b'sidebar-width' b'182'
> InstallationDate: Installed on 2011-07-23 (635 days ago)
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110426)
> MarkForUpload: True
> SourcePackage: nautilus
> UpgradeStatus: Upgraded to raring on 2013-04-14 (4 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hundredpapercuts/+bug/1170647/+subscriptions
>

Rodrigo (rodhos-hp) wrote :

If you are unsatisfied, file a new bug as a feature request.

martincasc (martincasco) wrote :

Well, me and another users like me are unsatisfied. And I've files this bug
a few years ago and now the bug as become a feature. And 3 icons for the
same program it's a pretty extrange "feature".
El abr. 29, 2016 13:36, "Rodrigo" <email address hidden> escribió:

> If you are unsatisfied, file a new bug as a feature request.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1173223).
> 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
>
> Status in One Hundred Papercuts:
> Triaged
> Status in unity package in Ubuntu:
> Fix Released
> Status in unity source package in Trusty:
> Confirmed
>
> Bug description:
> *******
> ISSUE
> *******
>
> HOW TO REPRODUCE
>
> 1. Connect a removable media to the computer.
> 2. On the launcher, click on the "Files" icon.
> 3. On the left sidebar, click on the removable media icon or the trash.
> 4. Minimize the window.
> 5. Click on the "Files" icon.
>
> EXPECTED BEHAVIOUR
>
> - The Files window to be maximized.
>
> REAL BEHAVIOUR
>
> - A new window is opened.
>
> RELEVANT DETAILS
>
> - One way to navigate between windows at this moment is to use the
> "control + tabulation" key combination, or to click again on the
> "Files" icon so windows are exposed.
>
> Otherwise the minimized window Can be restored by clicking on the
> Volume's launcher icon or scrolling on the Files icon
>
> **********
> SOLUTION
> **********
>
> WORK-AROUND
>
> - On the launcher, left click on the "Files" icon and select the
> "unlock from Launcher" option.
>
> - Or hover the mouse over the Nautilus icon in the launcher, and roll
> the mouse wheel down/up, it should switch to the Naulitus window
> without open new instance of it.
>
> FIX
>
> - The launcher icon for "Files" to be treated the same way as if it
> was unlocked.
>
> REGRESSION POTENTIAL
>
> - Clicking on the "Files" icon won't send the user to its home folder,
> but to the latest opened Files window.
>
> ****************
> TECHNICAL INFO
> ****************
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.04
> Package: nautilus 1:3.6.3-0ubuntu16
> ProcVersionSignature: Ubuntu 3.8.0-18.28-generic 3.8.6
> Uname: Linux 3.8.0-18-generic i686
> ApportVersion: 2.9.2-0ubuntu8
> Architecture: i386
> Date: Fri Apr 19 11:33:13 2013
> EcryptfsInUse: Yes
> GsettingsChanges:
> b'org.gnome.nautilus.window-state' b'geometry' b"'814x493+136+38'"
> b'org.gnome.nautilus.window-state' b'sidebar-width' b'182'
> InstallationDate: Installed on 2011-07-23 (635 days ago)
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110426)
> MarkForUpload: True
> SourcePackage: nautilus
> UpgradeStatus: Upgraded to raring on 2013-04-14 (4 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hundredpapercuts/+bug/1170647/+subscriptions
>

Adam Niedling (krychek) wrote :

martincasc: could you just stop including the whole bug report in every single one of your posts? Just look at how ugly you're making this page: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1170647

Gregory Kramida (algomorph) wrote :

@Rodrigo, I don't think that whatever was done truly fixes the bug. This was a very bad GUI interface issue to begin with, i.e. users have expected behavior A, got behavior B instead, there was not an actual crash involved. What the users expected in this case was for the Trash, Files, and Media icons to lead to an already-opened window of Nautilus / file browser, opening a new tab when necessary. Instead of implementing behavior A, the fix came up with behavior C, which is somewhere in-between behaviors A and B, but it doesn't resolve the original issue, i.e. a separate window is still opened in many cases.

I propose to keep this bug open and revert the status to in-progress for unity, until the *desired* behavior is fully implemented. I think it would be very bad if unity developers don't take into account the wishes of the community in this case. If the unity team doesn't think this should be the default behavior, then they should provide an option to easily switch from what they think the behavior should be to this one, and let people know, and only then mark this as resolved/fixed.

All, please let us know if you think what I'm proposing is reasonable.

Sadi Yumuşak (sa-yu) wrote :

I think the new behavior to treat the Trash different from any other nautilus window(s) does make sense.

In addition, treating each removable media likewise (with appropriate "removable media icon" displayed on the Launcher" might also make sense (unless opened from within an existing window).

However, opening a new window for any folder in any part of the fixed disk(s) although there's already a window open (although minimized) is too much IMHO, and I'm in favor of regarding this behavior as a bug.

martincasc (martincasco) wrote :

Well, treating the trash different from any other nautilus windows could
make sense, but not in the rest of cases. Open your home folder, mount your
NTFS partition (a lot of users like me does) and mount your pendrive unit
and you'll have 3 icons for the same windows.-
This behavior IMHO it's too far from been user friendly, to far for be
coherent.

​​

Gregory Kramida (algomorph) wrote :

Let's see if we can reach a consensus.

***Desired default behavior:***

Files icon -> switches to existing window if one is open
Trash -> opens new window
Removable media (flash drives, cameras, etc.) -> opens new window
Hard drive partitions -> opens new tab in existing window

***+ Options in the settings:***
-What does the files icon do: maximize existing window if possible | open a new tab with home folder in existing window | opens a new window with home folder
-What does the trash icon do: open trash in new tab of existing window | open trash in new window
-What do removable media icons do: open media in new tab of existing window | open media in new window
-What do hard drive partition icons do: open partition in new tab of existing window | open partition in new window

If anyone disagrees that this would be a true fix for this 'bug', please let us know!

Adam Niedling (krychek) wrote :

I only know that I don't want the nautilus icons jump all around the place depending on the currently selected partition. I made a video about this too!

martincasc (martincasco) wrote :

Agree.
Actually Nemo works better, coherente and more consistent.
I'm not saying you have to install it, I'm saying that after install it you
will have only one icon on the launcher, except if you open another windows.
That's the correct and normal behavior, IMHO.

Adam, that's because you blacklisted that device icon from staying pinned to the launcher.

But as it was an un-pinned app, once you open it it has to stay to the launcher. The same behavior would apply to an app that you open and close.
I don't think that grouping it with nautilus is the right solution in that case... It would probably easy to do it (patches with optional settings welcome, and I can help you guys to go through the codebase), but I don't see this as being coherent.

As general consideration, I think the simple association is:

The fact that nautilus can have a tabbed view makes things harder. I actually supported tabs in my initial implementation, but there was the problem where a window was matched by multiple icons, and I think this was wrong (what to do if you had multiple locations opened, from the same devices, spread around multiple windows and tabs, when activating the "app/device" window spread/scale?).
So the thing was just simplify it by considering only the main (active) view of a nautilus window.

The fact that there are multiple launcher icons for different device locations, it's just as it has to be. We didn't want to patch nautilus aggressively in order to be more "locked" in this scenario, thus there could be some odd behaviors, but I think all this allows to manage things quite well for the average user.

Adam Niedling (krychek) wrote :

Marco: Yes, if I pin it to the launcher then it won't dissapear. But. The behaviour remains the same, the focus will still jump back and forth between the top Nautilus icon and the lower HDD icon. And if the focus is on the Nautilus icon and if I click on the HDD icon then a new window will open.
This isn't good anyhow.

Changed in unity (Ubuntu Trusty):
status: Confirmed → Fix Committed
Displaying first 40 and last 40 comments. View all 175 comments or add a comment.