Ctrl-N (New File) opens file selector dialog, instead of simply creating the file #5141
Open
2 of 5 tasks
Labels
bug
A bug that affects the functionality of Zettlr.
Description
If this was an intentional change, it'd be great to at least get the option to change it back.
I'm accustomed to being able to quickly create a file via
Ctrl-N
, and immediately start adding contents. The file name is not a concern, since I name 100% of my files according to theYYYYMMDDHHMMSS
schema. However, now when I do this, I get a "save file" dialog, which forces me to use the mouse.Worse, the default location appears to be my Documents folder, which is not the folder I'm using for Zettlr. The result is that I had been creating files in the wrong folder for a while before I realized it!
Reproducing
Ctrl-N
to make a new markdown file.Observe that this produces a dialog, whose default folder is
~/Documents
.What it should do instead is to simply create a file with the correct ID, and store it in the active folder that Zettlr is using. This was the behaviour in 2.3.x, which I was using before.
The desired behaviour is also what happens when I make a link to a nonexistent file, such as
[[20240506170920]]
, and then follow the link. (Note that I have the "Automatically create non-existing files in this folder when following internal links" option enabled.)Curiously, there does appear to be a setting for this! Under "Advanced", the first option is "Pattern for new file names", which has a checkbox "Do not prompt for filename when creating new files". This doesn't seem to have any effect that I can see. This makes it feel like this is just a bug and not an intentional change.
Zettlr Version
Stable (most recent version)
Specify version
3.1.1
Installation Method
From the Website or GitHub
Your Platform
Architecture
Operating System Version
Ubuntu 22.04
Additional Information
No response
The text was updated successfully, but these errors were encountered: