New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resolve aliases when browsing in the 3rd pane (by type). Fixes #1484 #1485
Conversation
I'm not seeing any difference in behavior here. Does it literally have to be an HFS+ alias? Because I'm testing with a symbolic link.
I think you made the right choice here for the right reason. |
I'm using a soft link (created with Just to clarify: this doesn't fix the problem for the initial objects in edit On 30 April 2013 02:30, Rob McBroom notifications@github.com wrote:
|
I had created a folder and a symlink to it in my home directory, so I was going to |
resolve aliases when browsing in the 3rd pane (by type). Fixes #1484
Already merged, but FYI, I can get to symlinks if I search for them directly in the third pane, but if I search for the parent folder of a symlink, then navigate to its children, the symlink doesn't appear. |
Great, thanks Rob
Really, works fine for me? On 11 Meh 2013, at 04:05, Rob McBroom notifications@github.com wrote:
|
OK, I see what's going on. I had something like this:
I just tried creating
and the symlink appears now when I navigate into my home directory, but it appears with the name and location of the real folder. Better than nothing, but probably not what people expect. I think there's already an issue open for that. When I had a link to a folder in the same directory, the "resolved" path would have been a duplicate of the real thing, which was already included, which is why I never saw it. |
I got started on fixing this the other day, then looked at how Finder does this… (turn on "View" > "Show Path Bar") username > Uni the path bar actually shows: username > Documents > School So I decided that we should be consistent with what Finder shows, although it is still confusing (you hit ← and you end up in ' On 12 Meh 2013, at 01:24, Rob McBroom notifications@github.com wrote:
|
Does what it says on the tin.
I created a new method for file objects to easily get the resolved object of an alias object. It can be used 'blindly' to resolve objects (i.e. if the object isn't an alias then calling
[anObj resolvedAliasObject]
just returnsanObj
I contemplated changing
isDirectory
andisFolder
to look at the resolved object (since they fail for file objects that are aliases to folders), but thought that it would be better to let the developer make the decision as to whether they want to distinguish folders and aliases (if not then just callresolvedAliasObject
on the object)