Bug 75534

Summary: File name extensions not preserved when saving and renaming attachments
Product: [Applications] kmail Reporter: Karl Huysmans <karl.huysmans>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Karl Huysmans 2004-02-18 17:39:24 UTC
Version:            (using KDE KDE 3.2.0)
Compiler:          gcc 3.3.2 
OS:          Linux

When saving attachments, the entire filename in the save dialog is highlighted, and will be changed when re-typed. 

Someone used to work with "the other OS" will blindly type a new name for the file, and forget about the extension. Could we highlight only the part before the dot in the save as dialog?

To give you an example, I just "converted" someone to Linux/KDE. For compatibility, I installed him Crossover Office from Codeweavers, and re-installed his existing MS Office 2K. 

He got a mail with an Excel file attached, clicked the attachment, chose "Save As", and just retyped the file name, as he was used to with Outlook. The .xls extension was lost. He then opened the file from the folder where he saved it, and the file was opened with OpenOffice instead of with MS Office, because Crossover needs the extension to associate the file to MS Excel. He was completely confused, because suddenly his well know "Excel" didn't work as he expected it to work ...
Comment 1 Ingo Klöcker 2004-02-18 18:10:15 UTC
We have to pass the mimetype of the attachment as filter to the file dialog in order to get the "Automatic selection of extension" functionality.
Comment 2 Thomas McGuire 2008-11-29 15:22:42 UTC
Assigning back bugs that weren't taken care of to kdepim-bugs.
Comment 3 Thomas McGuire 2008-11-29 15:30:32 UTC
This is fixed in the KDE4 file dialog, I think.