[Bug 334314] New: Nautilus: Shell: adds directory levels if activating a link that points to the folder it is located in .
https://bugzilla.novell.com/show_bug.cgi?id=334314 Summary: Nautilus: Shell: adds directory levels if activating a link that points to the folder it is located in. Product: openSUSE 10.3 Version: Final Platform: x86 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: casualprogrammer@yahoo.com QAContact: qa@suse.de Found By: Beta-Customer In openSuSE 10.3 GM, nautilus-2.20.0-5 ( as well as shell ) a level of directory is added each time a link is activated that points to the folder containing it. Instead it should stay at the level of the original folder. mkdir foo cd foo ln -s ../foo foo then either cd foo repetitively in a terminal or activate the link in nautilus repetitively. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334314 Matej Horvath <mhorvath@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |bnc-team-gnome@forge.provo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334314#c1 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |federico@novell.com --- Comment #1 from JP Rosevear <jpr@novell.com> 2007-10-17 11:44:17 MST --- Welcome back CJP! So, I think the fact that bash does this is pretty indicative of why nautilus follows suit. I could see how it would be nice for users to not have the lengthy list, OTOH double clicking on a directory and appearing not to change to it would also cause confusion. Federico, what do you think? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334314#c2 Federico Mena Quintero <federico@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #2 from Federico Mena Quintero <federico@novell.com> 2007-10-19 19:09:53 MST --- Yeah, this is done so that pwd -> gives "/home/federico" mkdir foo mkdir foo/bar ln -s foo/bar baz cd baz pwd -> gives "baz" cd .. pwd -> gives "/home/federico" Instead of cd .. pwd -> gives "foo" -> "what the hell!?" I.e. so that changing directories across symlinks doesn't confuse the user. See http://www.gnome.org/~federico/news-2004-08.html#10 for a comment about this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334314#c3 Casual J. Programmer <casualprogrammer@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #3 from Casual J. Programmer <casualprogrammer@yahoo.com> 2007-10-20 05:42:29 MST --- Not sure whether you actually took the time to read and digest comment#0, Federico, your example is a completely different pair of shoes from the example given. In your example the link is named "baz" _not_ "bar" and it resides one level _above_ the directory it's pointing to. In my example ( actually openSuSE 10.3 does this in /boot, which contains a link named boot pointing to /boot ) the link is located _within_ the directory it's pointing to and has the _same_ name. Not sure what your blog dated August 2004 does help in this context. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334314#c4 Federico Mena Quintero <federico@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |casualprogrammer@yahoo.com --- Comment #4 from Federico Mena Quintero <federico@novell.com> 2007-10-30 21:52:47 MST --- Hmm, maybe we are talking about different things :) If I do this as you suggested: mkdir foo cd foo ln -s ../foo foo Then I visit the first "foo" in Nautilus. Then, every time I double-click on the "foo" entry, I get one "foo" button appended to the path bar in the Nautilus window (that's the bar of buttons that lets you change to any directory from / up to $cwd). Then you mention /boot/boot, which is a symlink to ".". This has the same behavior as the case above. Nautilus makes both cases work in the same way, so that hitting the "Up" command in the toolbar is equivalent to going up one level in the path bar. That is, the "Up" command will take you to "parent" of the symlink, rather than "cd ..", which will take you to the real parent in the file system. What's the problem with this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334314#c5 Casual J. Programmer <casualprogrammer@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|casualprogrammer@yahoo.com | --- Comment #5 from Casual J. Programmer <casualprogrammer@yahoo.com> 2007-11-18 04:37:16 MST --- It is not really a problem, as this case is probably rare. It just doesnt look ( and feel ) right if level after level is added / removed while you stay at the _same_ location. Not sure what implications this could have if used in a script. BTW the much hated Windows handles this as I woul expect :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334314 Federico Mena Quintero <federico@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334314 User casualprogrammer@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=334314#c6 Casual J. Programmer <casualprogrammer@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |NORESPONSE --- Comment #6 from Casual J. Programmer <casualprogrammer@gmail.com> 2009-01-14 10:52:39 MST --- Well, this _is_ lack of interest. Closing after 14 month of inactivity. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334314 User federico@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=334314#c7 --- Comment #7 from Federico Mena Quintero <federico@novell.com> 2009-01-14 13:54:27 MST --- The easy way to solve this is to canonicalize each path before switching directories, so that there are no symlinks in the path. However, this has other problems. Say an admin symlinks /home to /mnt/hugedisk/user-homes. Now you go to $HOME and you get an ugly pathname in the path bar. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334314 User casualprogrammer@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=334314#c8 --- Comment #8 from Casual J. Programmer <casualprogrammer@gmail.com> 2009-01-14 14:06:02 MST --- OK interest raised :-) But is this a solution ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com