| Summary: | Resending emails without attachment is broken | ||
|---|---|---|---|
| Product: | [Unmaintained] kmail | Reporter: | Jim Dabell <jim> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dennis, raphael.langerhorst |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jim Dabell
2004-08-26 21:00:22 UTC
*** Bug 90547 has been marked as a duplicate of this bug. *** *** Bug 87944 has been marked as a duplicate of this bug. *** CVS commit by kloecker: Fix message composition of editted messages where all attachments are removed or where the crypto format is changed from a MIME-format to inline or unsigned. As the comment in messagecomposer.cpp explains we can't blindly trust the content-type of the message . Instead we have to assume that the content-type is invalid as soon as the user made any change to the message. OTOH, we must not reset the content-type if the message wasn't modified in the composer which is for example the case if a groupware invitation is sent. The new parameter in KMComposeWin::slotSelectCryptoModule is necessary to detect changes of the crypto format. Add isModified() and setModified() to KMComposeWin to easily query and (re)set the modification status. In KMComposeWin::slotContinueDoSend() reset the modification status only if sending/saving as draft really succeeded. BUG: 88159 BUG: 93512 M +49 -27 kmcomposewin.cpp 1.892 M +11 -1 kmcomposewin.h 1.263 M +6 -0 messagecomposer.cpp 1.38 |