Bug 128557 - naming of opened attachments should reflect original document name for saving
Summary: naming of opened attachments should reflect original document name for saving
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 128558 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-03 13:38 UTC by Ferdinand Gassauer
Modified: 2012-08-19 00:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferdinand Gassauer 2006-06-03 13:38:39 UTC
Version:           1.9.3 (using KDE 3.5.3 Level "a" , unofficial build of SUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.16.13-4-default

for opening an attachment a temporary file is used.

IMHO for saving such a file, the original name should be restored and the default location should be proposed.

it does not make sense to store the document in the temp area.

if the problem could be solved in the kfile module it could be also used by OO and others.

all file names seem to 
start with:
/tmp/kde-<LOGINNAME>
and end with:
_[<random extension>].<doctype>

so converting to a meeningfull name should be possible.
Comment 1 Rex Dieter 2006-06-03 13:42:00 UTC
*** Bug 128558 has been marked as a duplicate of this bug. ***
Comment 2 Ingo Klöcker 2006-06-03 23:27:15 UTC
I don't understand. We have to append a random extension to the file name to prevent problems with equally-named files. Imagine you want to open two different files which for whatever reason are both named brief.doc.

What do you mean by "saving such a file"? Saving from where? Saving from within KMail is working as you say for me. Or do you mean saving from within, let's say, OpenOffice.org? How are we supposed to change the location and/or filename OpenOffice.org proposed if you save the document from within OpenOffice.org?
Comment 3 Ferdinand Gassauer 2006-06-04 00:09:52 UTC
open an attachment, example pdf or doc file.
it gets the necessary extension as you explained.
you want to save it out of this application (to make it editable - kword, OO). (instead of cloosing it, saving the attachment out from kmail and open it from the new location)
in this case the pre and postpended parts of the file name could be removed again to recover the original file name. the default (or last) location for saving files should be used, but never /tmp/kde-<username>
Comment 4 Björn Ruberg 2009-12-26 16:48:35 UTC
In Bug #107958 I suggested opening its own (randomly named) folder for each mail in /tmp. So you won't have the problem with doubled names.
Comment 5 Myriam Schweingruber 2012-08-18 08:58:00 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 6 Luigi Toscano 2012-08-19 00:33:56 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.