GNOME Bugzilla – Bug 206058
Mime types for mail attachments cannot be edited
Last modified: 2011-04-27 08:25:21 UTC
Package: Evolution Priority: Normal Version: 0.11 Synopsis: Mime types for mail attachments cannot be edited Bugzilla-Product: Evolution Bugzilla-Component: Mailer Description: Build a text file with a .dat extension - ie usage.dat Attache file to outgoing message, evo sets MIME type to mp3, won't allow editing to set to text/plain
I don't think we should have it editable... I can just piture some user going "oh, I dunno what application/octet-stream means so I'm gonna change it to 'mp3 file'" anyways, if you really want to be able to edit it... bring up glade on e-msg-composer-attachment.glade and make it editable. it'll just magically work.
Having it be editable would be nice, but we don't want to make the user type in a MIME type. A simple pop-up menu would get too big even with just the default gnome-vfs stuff though... Dunno what the right fix is. Nothing for 1.0 though.
I would definitely like to have the MIME-Type editable. just a text input will be enough, with an added check if the value typed in by the user really *is* a MIME-type. Also, I would be interested being able to specify the encoding of the MIME part to be used - for text/... it should be possible to chose between 7bit (with validity check), qp or base64. Specifying additional parameters like charset would be nice, too (ok, these could be just entered with the MIME-Type input field. cheers -- vbi
*** bug 257749 has been marked as a duplicate of this bug. ***
to quote jeff from bug 257749: "this is actually really trivial to make work. all one has to do is edit the composer's glade file and make the GtkEntry box editable." setting keyword easy_fix.
ok, so this would be "evolution/composer/e-msg-composer-attachment.glade". any decisions on this? i'd assume that a use that simply does not know what a mime type is also wouldn't edit it (hmm...now is that naive? ;-).
still in 2.4.0, sucks (e.g. bug 317239), our users aren't stupid (hopefully), am going to provide a patch for it, good night.
Created attachment 52706 [details] [review] untested patch to make mime type editable untested patch, does not include suggestions of comment #3. only refers to mail attachments but not to appointment or task attachments (same case)
Hmm....Althought the patch is fine, i really think it should not be editable. And for the bug 317239 refered to in comment #7 i dont think this is definitely _the_ solution.
parthasarathi: you're definitely right in your comment. no, it's not a solution and just a *very* bad workaround; and i think it's also totally ok that it should not be editable. i'd be also pleased if somebody set this to WONTFIX (i don't care at all about that stuff here, i never needed to edit the mime type), but i'd like to have a decision at all. :-)
I feel that we shouldn't make this editable. Im closing this as WONTFIX.
*** Bug 550139 has been marked as a duplicate of this bug. ***