Open tom-seddon opened 1 week ago
Should probably be specifying GTK_FILE_CHOOSER_ACTION_SAVE
here: https://github.com/tom-seddon/b2/blob/a8b4f2aa87aa5823b8168de8cf9a6cdaa7c32071/src/b2/native_ui_gtk.cpp#L193
Suggested patch here: https://www.stardot.org.uk/forums/viewtopic.php?p=439030#p439030
I think this actually needs a separate create file dialog type - to be continued.
The suggested patch looks good enough to be getting on with.
The Windows default extension stuff has never worked right either... and when creating a new file, it should supply a suggested file name...
Patch has been applied, so the worst of it is fixed. But I think this does need a certain amount of looking at, across all platforms.
Poked about on Windows, and eyed the GTK docs. macOS... unknown.
Reported here: https://www.stardot.org.uk/forums/viewtopic.php?p=438465#p438465