Summary: | KMail forgets the compression setting after saving a mail in Drafts folder with compressed attachment(s) | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Daniel <leva> |
Component: | composer | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | kollix, montel, vitillo |
Priority: | NOR | ||
Version: | Git (master) | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Fix: if a new attachment that ends with .zip is created then the compress option gets checked |
Description
Daniel
2007-04-08 15:19:16 UTC
Exact same thing happens for me. Debian testing, kmail 1.9.5. Then in this case, a potential solution would be to check if the extension of the attachment is .zip. If it is, there's a chance it was compressed by KMail, and if it wasn't compressed by KMail, then compressing it won't do much (assuming it's a valid Zip Archive). still reproducible with kmail trunk 861109 Created attachment 27438 [details]
Fix: if a new attachment that ends with .zip is created then the compress option gets checked
Thanks for the patch, but looking into this more deeply I found it to be not so trivial, as clicking on the already checked "compress" to uncompress the draft mail attachment again (after! reopening the mail from the drafts folder) leads to the problem that the MIME type and charset is no longer known. It seems a more complex patch is needed ... Valid in master with the given steps I confirm it.Will look at it. This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input. |