Re: [MlMt] Possible bug: switching into Markdown mode saves a draft without prompting
Thanks everyone. In a former life I worked as a software developer in an organization with an _incorrigible_ QA department, so I learned firsthand the value of good bug reports and the vexation caused by bad ones. -sam On 30 Oct 2017, at 20:59, Paul Sture wrote: On 18 Oct 2017, at 20:21, John Cooper wrote: Now this is a great bug report! Takes me back to my early career as a tester on Aldus PageMaker 5. :) It takes me back to middleware and OS bugs. Providing the developer(s) with a simple means of reproducing the problem has resulted in many a swift fix over the years. ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Possible bug: switching into Markdown mode saves a draft without prompting
On 18 Oct 2017, at 20:21, John Cooper wrote: Now this is a great bug report! Takes me back to my early career as a tester on Aldus PageMaker 5. :) It takes me back to middleware and OS bugs. Providing the developer(s) with a simple means of reproducing the problem has resulted in many a swift fix over the years. ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Possible bug: switching into Markdown mode saves a draft without prompting
On 18 Oct 2017, at 20:09, Sam Hathaway wrote: ### Actual result ### * There is a new message in the Drafts folder that contains the state of the message _at the time that it was converted to Markdown format._ In this example, it will contain `Hello, *world!*` but _not_ `Goodbye, world!`. Thanks for the detailed report. It's a known (and old) issue related to the somewhat hack'ish way I implemented the message preview in the Composer. Essentially, anything triggering the MIME structure of a message to change also triggers an unsolicited save. It's a bug, but it's not a quick fix. (But something that should be fixed -- also for various other reasons.) -- Benny ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Possible bug: switching into Markdown mode saves a draft without prompting
On 18 Oct 2017, at 14:21, John Cooper wrote: Now this is a great bug report! Takes me back to my early career as a tester on Aldus PageMaker 5. :) a PageMaker… now we’re both dating ourselves! v ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Possible bug: switching into Markdown mode saves a draft without prompting
Now this is a great bug report! Takes me back to my early career as a tester on Aldus PageMaker 5. :) Sam Hathaway wrote (at 11:09 on 18 Oct 2017): ## Scenario 1: No Markdown, works as expected ## ### Steps to replicate ### 1. Reply to a text-only message. 2. Type some non-Markdown text. 3. Hit Cmd-W to close. 4. Click “Don’t Save”. ### Expected/actual result ### * No message is added to the Drafts folder. ## Scenario 2: Markdown, draft is silently saved ## ### Steps to replicate ### 1. Reply to a text-only message. 2. Type some Markdown text, e.g. `Hello, *world!*` 3. Type some more text, e.g. `Goodbye, world!` 4. Hit Cmd-W to close. 5. Click “Don’t Save”. ### Expected result ### * No message is added to the Drafts folder. ### Actual result ### * There is a new message in the Drafts folder that contains the state of the message _at the time that it was converted to Markdown format._ In this example, it will contain `Hello, *world!*` but _not_ `Goodbye, world!`. ## Notes ## * If you close the message right after it switches into Markdown mode, MailMate doesn’t prompt for whether to save the message, but the draft is created anyway. * This probably happens with new messages (not replies) as well. I haven’t checked. * You probably need to have Markdown turned on in the first place for this to happen. ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
[MlMt] Possible bug: switching into Markdown mode saves a draft without prompting
## Scenario 1: No Markdown, works as expected ## ### Steps to replicate ### 1. Reply to a text-only message. 2. Type some non-Markdown text. 3. Hit Cmd-W to close. 4. Click “Don’t Save”. ### Expected/actual result ### * No message is added to the Drafts folder. ## Scenario 2: Markdown, draft is silently saved ## ### Steps to replicate ### 1. Reply to a text-only message. 2. Type some Markdown text, e.g. `Hello, *world!*` 3. Type some more text, e.g. `Goodbye, world!` 4. Hit Cmd-W to close. 5. Click “Don’t Save”. ### Expected result ### * No message is added to the Drafts folder. ### Actual result ### * There is a new message in the Drafts folder that contains the state of the message _at the time that it was converted to Markdown format._ In this example, it will contain `Hello, *world!*` but _not_ `Goodbye, world!`. ## Notes ## * If you close the message right after it switches into Markdown mode, MailMate doesn’t prompt for whether to save the message, but the draft is created anyway. * This probably happens with new messages (not replies) as well. I haven’t checked. * You probably need to have Markdown turned on in the first place for this to happen. ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate