UI: Windows "Quick Access" items to File Browser System List #108431
No reviewers
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#108431
Loading…
Reference in New Issue
No description provided.
Delete Branch "RedMser/blender:quick-access-fs-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On the Windows platform add any Explorer "Quick Access" items to the
bottom of the File Browser "System" List in the sidebar.
Resurrection of D13971
Adds the Quick Access list of Windows Explorer to the file browser.
TODO
.zip
files.UI: Add Quick Access to System List for Windowsto File Browser: Add "Quick Access" items to sidebar on Windows0a21c70331
to2ad0b76c13
There's a few technical problems, the printf's, the goto's etc, but nothing unsurmountable, before we spend time on that i'd like the UI people to sign off on this first.
cc: @pablovazquez
Interesting, but might need some thought.
Windows does put the "Quick Access" items at the top of the Navigation Pane (left side of Explorer windows). And also calls them "Frequent Folders" at times too.
But it is also variable in length and Windows treats it as a separate list that can be closed/open and we don't really have that option. So my initial gut feeling is that these items might be better appended to the end of the System list, not prepended to the top. That way they can get as long as you want but we'd continue to show consistent items at the top of the list.
Whenever this topic comes up about adding to these lists I start thinking about how I would prefer that "Volumes" and "System" were combined into a single list with a curated order. It would use some valuable space (the current gap between the two lists), and would allow to more quickly close them to better view the lists below.
Another reason to append the Quick Access items to the System list is because the current items area added with appropriate icons. When these items are added first they will get generic folder icons, even if you have Desktop or Documents in your list. When added afterward the items check for duplicates and icons.
Here is a quick (and barely tested) attempt to remove the "gotos":
2ad0b76c13
to75ae4e8e25
@Harley Thanks for fixing up the code! I carried over your changes, as well as adding a bit of logic to filter out library folders (
.library-ms
) since those show up as greyed-out files.Can someone test if this works on Windows 11 (or start buildbot)? I can't copy my Win10 build to my Win11 PC and don't have a development environment set up there either.
UPDATE: Tried on Windows 11, and it seems to include recently opened
.zip
files as well which should probably be filtered out.@blender-bot package windows
Package build started. Download here when ready.
Just wanted to expound a bit more on why I like this.
I personally feel that the immediate user benefit is relatively minor. But I REALLY like idea of having this code in. First because others might later disagree with me that the benefit is minor and/or might want to make these items more prominent. The code would be in place and there aren't that many people familiar with the Windows API.
But the second reason is that this also fits with my desire to eventually, one day, get a "computer home" listing in the main area of File Browser. In a nutshell this means that the ultimate parent of all drives would a single listing of all drives, shares, bookmarks, etc. Similar to the "This PC" list on Windows. This way the File Browser could, be used without the left-side panels if the available area is constrained.
This works quite well.
@LazyDodo - What do you think of the code?
Will we ever be able to rearrange those panels and keep Bookmarks or Recent permanently at the top?
Given this is a C++ file now, some more cleanups can be done, WRL was already used in the trackpad code, so that be safe to use, comutil for the
_variant_t
and_bstr_t
types is new (but should be safe), we'd definitely have to check with the bots@blender-bot build
Thanks @RedMser !!
File Browser: Add "Quick Access" items to sidebar on Windowsto UI: Windows "Quick Access" items to File Browser System ListThanks for the review and also for updating my very rudimentary code! Exciting to get to use this feature myself :D