Normally saving new files goes into the contextually appropriate folder.
For example, when I use Sublime Text, and I click on one of the folders in my project in the sidebar, choose
New file, then go to save that file with
Ctrl+S, it should by default offer the folder on which i clicked, when asking me to enter the name of the new file.
But in Elementary, the default folder in which it offers to save the file in this case, will be the latest viewed folder that i had open the last time the file browser was used. So if i last opened a song from
~/Music, then it'll offer my
~/Music folder for saving the file from Sublime, regardless that that's not even inside my project.
And it doesn't seem to be the Pantheon Files' latest used directory... but the save/open dialog component itself. Like, if i were to browse to a file in my documents using Pantheon Files, let's say
~/Documents/file.txt, click on it to edit it in Code, then do
Ctrl+Shift+S to save, it won't offer
~/Documents (where Pantheon Files was last pointed to), but it will open the last location of the open/save dialog (in my example, the
So I have no idea if this is even connected to Pantheon Files, or the save/open dialog uses something else, and I don't see anyone else complaining about this issue.
But how would i go about fixing this behaviour?