File selector should remember last selected folder #31314

Closed
opened 2012-05-05 10:18:08 +02:00 by Gaia Clary · 9 comments
Member

%%%first: This is not a bug but more something of the kind "unexpected interface behaviour" . Please advise if there is a better location for this kind of report.

Whenever i open a file selector for exporting/importing something from/to Blender the file selection box starts at a fixed location (c:\ for me on windows).
I think that the default folder given now is in almost every case NOT what the user wants. On the other hand i have the very strong impression that in almost every case a revisit of the previous selected folder is much more convenient.

Of course i can quickly select a previous location from the "Recent" section. But setting the default to the most recent used folder would be "less wrong" IMHO :)%%%

%%%first: This is not a bug but more something of the kind "unexpected interface behaviour" . Please advise if there is a better location for this kind of report. Whenever i open a file selector for exporting/importing something from/to Blender the file selection box starts at a fixed location (c:\\ for me on windows). I think that the default folder given now is in almost every case NOT what the user wants. On the other hand i have the very strong impression that in almost every case a revisit of the previous selected folder is much more convenient. Of course i can quickly select a previous location from the "Recent" section. But setting the default to the most recent used folder would be "less wrong" IMHO :)%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%File selector is using current .blend file folder by default and stores last folder during single blender session. If you'll quit and run blender again, folder of current .blend file would be used again. For unsaved files it'll be / on linux and c:\ on windows.
Don't actually think changing it to use previous location by default would be nice idea. In you case it'll help, but in other cases it might be more annoying than using / or c:.
Thanks for the report, but this is that kind of things which can not fit all audience and using recent location seems to be better compromise.%%%

%%%File selector is using current .blend file folder by default and stores last folder during single blender session. If you'll quit and run blender again, folder of current .blend file would be used again. For unsaved files it'll be / on linux and c:\ on windows. Don't actually think changing it to use previous location by default would be nice idea. In you case it'll help, but in other cases it might be more annoying than using / or c:\. Thanks for the report, but this is that kind of things which can not fit all audience and using recent location seems to be better compromise.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

%%%Sergey, IMHO "remember last folder" is better. You can always find another folders b'coz there are quick links to all drives and recent locations. But when you're working on the same project again and again and also need to distract your attention on some other blends - it's really better to have this behavior of remembering the last place. Time saver IMHO.%%%

%%%Sergey, IMHO "remember last folder" is better. You can always find another folders b'coz there are quick links to all drives and recent locations. But when you're working on the same project again and again and also need to distract your attention on some other blends - it's really better to have this behavior of remembering the last place. Time saver IMHO.%%%

%%%Project you're working on might consist of several .blend files in different locations and every location will have textures/bake data just near .blend files which are using it. When you'll be switching working on such files you'll probably want faster access to that textures/bake/etc data which is relevant for current file. Current behavior of file browser deals with this in a best way. But if you'll be switching between different files and file browser will continue remembering location from previous location it'll be more annoying than it is currently.%%%

%%%Project you're working on might consist of several .blend files in different locations and every location will have textures/bake data just near .blend files which are using it. When you'll be switching working on such files you'll probably want faster access to that textures/bake/etc data which is relevant for current file. Current behavior of file browser deals with this in a best way. But if you'll be switching between different files and file browser will continue remembering location from previous location it'll be more annoying than it is currently.%%%
Author
Member

%%%After some more thoughts i think that the current setting is 99.99% wrong.
I mean... whoever would want to store production data on the system folder ?

So in 99.99 percent of all possible cases a user is highly recommended
to change the folder every time when the he/she starts a new blend file
or reopens an existing blend file.

I guess the following proposal could be a good way to solve this problem
and make it 80% correct which would be a vast improvement IMHO :)

1.) Store the last used folder in the current blend file.

 So when i reopen the blend file then i get back to my previous
 used settings in the current blend file context instead of the 
 default settings.

2.) Use a more adequate location for the default folder,

/tmp or %TMP% comes to mind ...

3.) Add user preference for the default folder

So i can define my personal default export folder for
fresh projects (surely weak, but better than using "/" )

%%%

%%%After some more thoughts i think that the current setting is 99.99% wrong. I mean... whoever would want to store production data on the system folder ? So in 99.99 percent of all possible cases a user is highly recommended to change the folder every time when the he/she starts a new blend file or reopens an existing blend file. I guess the following proposal could be a good way to solve this problem and make it 80% correct which would be a vast improvement IMHO :) 1.) Store the last used folder in the current blend file. ``` So when i reopen the blend file then i get back to my previous used settings in the current blend file context instead of the default settings. ``` 2.) Use a more adequate location for the default folder, ``` /tmp or %TMP% comes to mind ... ``` 3.) Add user preference for the default folder ``` So i can define my personal default export folder for fresh projects (surely weak, but better than using "/" ) ``` %%%

%%%It's system folder only if current file is not saved. If it's saved folder with current .blend file would be used, which is not so wrong.
I'm not actually sure if suggested ways would be much more helpful than using recent locations/bookmarks. Storing folder in blend file might make sense but it's still tricky. You might want to store audio/video/bakes in different locations, so at least to be more expected this default paths better be separated somehow? user preference is not good either, it's still kind of silly.
But well, it's not actually a bug and it's in our TODO page http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Editors#File_Selector%%%

%%%It's system folder only if current file is not saved. If it's saved folder with current .blend file would be used, which is not so wrong. I'm not actually sure if suggested ways would be much more helpful than using recent locations/bookmarks. Storing folder in blend file might make sense but it's still tricky. You might want to store audio/video/bakes in different locations, so at least to be more expected this default paths better be separated somehow? user preference is not good either, it's still kind of silly. But well, it's not actually a bug and it's in our TODO page http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Editors#File_Selector%%%
Member

%%%Couldn't it be made an option in User preferences?

UserPreferencesFilePaths
.use_last_used_path --> checkbox
.default_directory --> string property

use_last_used_path would open the file dialog with the remembered directory

default_directory would be used instead of C: by default (just in case it doesn't exists, e.g. removable drive, fallback to C: on windows)%%%

%%%Couldn't it be made an option in User preferences? UserPreferencesFilePaths .use_last_used_path --> checkbox .default_directory --> string property use_last_used_path would open the file dialog with the remembered directory default_directory would be used instead of C: by default (just in case it doesn't exists, e.g. removable drive, fallback to C: on windows)%%%

%%%@sebastian-4,
It's still far away from ideal situation. Which directory should i set? What if i'm working on several projects at the same time? And what should be there by default? Don't think that options would be so much useful. And still can not see why configurable single default folder is better than a bit smarter bookmarks (like allow custom names for them)?%%%

%%%@sebastian-4, It's still far away from ideal situation. Which directory should i set? What if i'm working on several projects at the same time? And what should be there by default? Don't think that options would be so much useful. And still can not see why configurable single default folder is better than a bit smarter bookmarks (like allow custom names for them)?%%%
Sign in to join this conversation.
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
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#31314
No description provided.