-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Feature: Add TreeView #1928
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
-treeview in sidebar helps to quickly move files b/w folders. |
UI mockups are fine, but I am more concerned about the UX. In case of macos, open Finder, press "Down" key, and now file selector(Highlighted in blue) appears. You can select any drive. We can have similar experience in Community Files. In screenshots below, grey icons represents different drives (C:, D: in case of Windows) |
This is the top missing feature for me as I navigate using the keyboard a lot |
I think it should be clarified wether this issue is asking for:
Personally I'd much rather have the macOS Finder style view but I still think it would be better to split the issue to clarify which one has more interest. |
I would prefer macos finder style |
Agreed, Marcos finder tree view is better. |
The spirit of this issue was to have a tree view of files and directories as macOS does. Not a tree view of directories. I agree that it's two separate issues. Am I alone in thinking this is a killer feature. I'd never not use it on macOS. Strange it's missing from the windows eco-system. I wonder why that is. |
@mileyvirus the plan for Files is to add a tree view layout similar to the one in Finder. |
I have been wanting this on Windows ever since I had to leave Mac OS. So I add my vote for a Mac OS style tree view. |
That's the only thing preventing me from being in love with Files. For me, it's really a deal breaker. Any timeline for an implementation? |
@charlau I'm not a contributor but 8 days ago @yaichenbaum - the lead dev - moved this issue from the To do list to the Backlog list so I don't think they plan to work on it for some time, correct me if I'm wrong. Maybe there's a way to sponsor this issue in particular to push its priority up? Is there, @yaichenbaum? |
@mileyvirus I only put it in the todo column to remind myself to give an update on the issue but by all means, if someone wants to work on this or help sponsor the project, we can try working on the feature quicker. |
Unfortunately, performance remains the primary obstacle. The core challenge lies in the tree view structure, where each tab can have a distinct state with its own set of expanded or collapsed folders. This requires individual tree view instances for each tab, which substantially raises the system’s resource consumption—this increase is proportional to the number of active tabs. In contrast, the current sidebar’s static nature permits the use of a single shared instance across all tabs. I hope this comment provides a bit of a window into what's taking so long. |
Could a tree refresh/poll load on one tab once at a time? Instead of feature instance? Basically a redraw of the breadcrumb draw? I'll trust you on it! I am sure the wait will be perfect. |
That's definitely an approach, the concern is that it won't happen fast enough but it could still be worth it to investigate this idea. |
Yes, I'm missing a treeview too. I'm using folder trees since over 40 years now and I'm lost without any optical orientation, where I am in a directory structure. For the moment I'm using the Dolphin file manager for Windows (yes, this exists ...), but for some reason, only a part of it's famous posibilities were ported from Linux. Thats one reason why I'm working mostly on Linux. Unfortunately the stability of Linux is no more as good as of Windows. I'm sure, Files would be a great tool without to let many wishes open, if this tree view for folders could be added. |
In Dolphin, there is only one tree view instance. The files views in tabs will then expand the treeview to the open location and pointing there to the actual position. If a tab is changed, simply the position in the tree view is updated, no need to handle a separate tree for every tab. This improves the performance with a little lack in navigation, but it might be a possibility for easier integration in Files too. (just only as possibility...) |
maybe there's a perfect plan,the disk's file system is NTFS or REFS on most of windows pc ,so you can use USN journal to build a database,instead of Iterating through all files on disks. Translated with DeepL.com (free version) |
I have been patiently waiting for a treeview like Windows Explorer has to offer. All they need to do is added it to the options on the left where they have Pinned, Drives, Cloud Drives, etc. Just convert those from being shortcuts ot being actual tree views like Windows does. That alone would win so many people over and is one of the only things holding me back from using it. I download it from time to time to see if things feel natural yet during use and that is always the thing that chases me away. Without the tree view, everything just feels so one-dimensional. |
@jh20001 thank you for your feedback. Unfortunately it's not as simple as you make it out to be, if it were, we would have implemented this a long time ago. Please see my earlier comments for a better understanding on the challenges and what we're doing to overcome them. |
That's too bad, but it does make sense. I wish I could afford to sponsor something on such a level. Patience is everything I guess. One of these days, I will completely free myself from File Explorer :) |
wow SgtSweetieBelle thx so much for sharing this find. You're right, this is indeed extremely performant. Dolphin's UI and performance is way way better than Files. Dolphin has a 'Duplicate' file/folder function, again useful direct function, The 'one dimensional' Windows developers can't think of these things, lets copy then paste the file in the same location...lol silly and over complicated. Dolphin just needs to calculate folder sizes and implement a macOS Quicklook...i'll be using it full time. thx again |
Maybe it's a Windows thing that makes it hard. In comparison though, Apple did it on MacOS since early 1990's. |
The challenge we face is also what makes Files unique. Creating a modern file manager without compromising performance is tough. Modern frameworks struggle with large collections and memory leaks, and this is multiplied across multiple tabs. If users were satisfied with the existing solutions, they wouldn't be looking for alternatives such as Files. In any event, we're committed to building a tree view when the time is right. Our next step in this direction is enabling Native AOT, and we hope to share more regarding this improvement in the coming months. |
To be fair, file sizes were much smaller back then 🙂 |
oh yes much smaller, But Microsoft's excuse has always been disk i/o is too slow, which never washed back then and now we have NVMe Gen4 does 7,000MB/sec peak. |
Which again comes back to M$'s API's etc, check out Spacedrive, they use Tauri app with Rust: https://github.com/spacedriveapp/spacedrive While it's early days, and still alpha it's super fluid.
The requests like this one are the main reasons users looking for alternatives to Explorer are mostly other platform users who for work don't have an OS choice so must use Windows. We're the ones suffering on this backward platform with poor file managers in comparison to what we're used to, Finder, Path Finder, Forklift etc.
Thanks for making it known the state of the project, It helps us understand what is going on with this project. |
We're not Microsoft here so let's try and keep a positive vibe. We love the excitement and we're looking forward to implementing it when the time comes (hopefully in the not so distant future). |
Here's the pains we have in our codebase. As this application was an UWP, which limits us to fully access your storages and run in a virtualized sandbox, the application still has a lot of leftovers that were to cope with that limitation that can't be got rid of easily even though we now build on win32 desktop app. Plus, the development has been "just adding new things on what we have now" instead of thinking about what codebase architecture we want to build the app on because it's hard thing to foresee what we will have and this is one of the very features we haven't foreseen. How do you sort or group in a tree view, how do we keep compatibility with CollectionViewSource? How do you expand a folder and enumerate items in it (ShellViewModel does? Nah it makes it more complicated, abstracted storable should do)? How do we keep the expand/collapse state? Where are we gonna implement, the sidebar or the folder view? |
Important
Current status: #1928 (comment)
Is your feature request related to a problem? Please describe.
Typically, I work in a project folder. That folder might have multiple sub folders like:
images
,src
,prints
,presentations
. With Windows Explorer and Files, I must keep navigating in and out of folders. I want a view of all my files and folders in one view. Much like how VS Code's 'Explorer' handles files display and navigation, or how Mac's Finder handles.Describe the solution you'd like
In list view, I'd like a tree navigation component for files allowing me to expand a folder to list is child files and folders (which can be expanded too)
Describe alternatives you've considered
None. I've tried for years now without this feature on Windows. Still miss it sorely from Mac.
Additional context
There is discussion on Reddit where someone looks for this feature on Windows.
Here is a found image of Finder on Mac.
The text was updated successfully, but these errors were encountered: