Save un-named attachments doesn't add the file extension
I see that the newest version of Sylpheed properly saves un-named attachments (when i right-click and select "Save" or "Save all"), and it properly names them "Untitled-1", "Untitled-2", etc, which is great, but it doesn't automatically add the extension, such that the attachments end up saved but cannot be opened unless i rename them and give them the proper extension.
Can you please fix this and automatically add the file extension (taken from the MIME type) to the "Untitled-xxx" file names when saving them (ATT: for BOTH "Save" and "Save all" right-click menu on attachments)
#1 Updated by Kentaro HAYASHI about 2 years ago
- Status changed from New to Confirmed
I've just checked this issue on other platform such as Ubuntu 14.04 LTS.
% pkg-config --modversion gtk+-2.0 2.24.23
Currently, when I tried to save un-named attachment file, it seems that default file name is empty.
As previouly used folder is not remembered, so file name is empty in such a case, I guess.(filename and name are both empty case in mimepart)
#2 Updated by Kentaro HAYASHI about 2 years ago
I've attached the patch to fix missing file extension.
Note that it doesn't care sequential "Untitled-".