Feature: Open full path in column layout when opening items from the sidebar
Resolved / Related Issues
- Closes #7589
Details of Changes
- In Appearance Settings: Added the option "Open Complete Path in Column Layout"
- In Resources.resw (en-US): Added the title for this option
- In ColumnViewBrowser: When opening a Path, if the option is enabled, the whole path of the folder is displayed. To achieve this I split the destination path in its directories, and I navigate through them until I reach my destination.
Validation
- Built and ran the app
@ferrariofilippo instead of a setting, I think an option in the extended right click context menu will be enough. Feel free to ping me before starting on a new issue and we can come up with a plan to avoid extra work 🙂
@ferrariofilippo can you resolve the merge conflicts?
I had problems with the merge so I deleted old commits and pushed a new one.
@yaichenbaum is it ok now?
I took some time to play around with this option and found a couple of issues with the UX. If we have a menu item to open items in the column layout users would expect the same for other layout as well and there really is any reason to do this. We could work around this by reverting to your original implementation that added a setting for this, but too many settings can make it hard to find what users are looking for. I think we can solve these issues by removing the context menu option (apologies for requesting it), and automatically opening the full path whenever the clicked item is set to use the column layout.
What are your thoughts on this?
You're right about the fact that users will expect the feature for all layouts, so having it in the context menu might be confusing. I didn't think of it in first place. The reason I first placed this as a setting is that this feature might slow the workflow. Now, after some use of the feature, I changed my mind: the advantage of the column layout is that it lets you interact with directories much faster than others (eg. If I have to navigate 4 folders backwards I can do that in just 1 click, instead of 4). Opening from a specific folder makes column layout half-useless. As you proposed, I'd like the feature to be always active.
@yaichenbaum is this ok now?
@yaichenbaum is this ok now?
I still need to test it on my end but it sounds like the behavior is good 👍
@ferrariofilippo is this for all sidebar items or just for pinned favorites?
@ferrariofilippo is this for all sidebar items or just for pinned favorites?
I implemented it as the default opening mode for ColumnLayout so it works for all sidebar items too. Anyway, I've just tested it again and I noted a bug when you try to open a Drive (two equal columns are opened), so now I'll work on that
Sorry for the delay reviewing this, I'm going to review some of the other PRs before coming back to this.
@ferrariofilippo we're putting this feature request on hold as we get a better understanding of the use case and how it's handled on other platforms.
Ok
I investigated the behavior in macOS Finder. When a directory is opened in column view, Finder in principle opens columns starting from the root. The exception, however, seems to be for some directories, it opens columns starting from that directory. e.g. Documents, Downloads, Applications, etc.
Other differences I have noticed:
- The navigation history also records directory moves within column view.
- When a parent directory is selected, the columns of the child directories is dismissed.
When a directory is opened in column view, Finder in principle opens columns starting from the root. The exception, however, seems to be for some directories, it opens columns starting from that directory. e.g. Documents, Downloads, Applications, etc.
We should probably do the same, any folder pinned to favorites will start from the directory and everything else from root.
When a parent directory is selected, the columns of the child directories is dismissed.
Don't we do this?
We should probably do the same, any folder pinned to favorites will start from the directory and everything else from root.
Yes, I think so and #11274 would need to be closed and implemented differently.
Don't we do this?
Probably not. The Finder implementation is simpler, but the Files implementation is more convenient.
I see what you're saying, I'm in favor of using the simpler implementation because it's pretty hard to maintain what we have today, but I agree that it's more convenient.
So I think we should leave it as it is. If we change it, we will definitely get requests to change it back.