Bug 237042 - Reopening a draft marks it as new
Summary: Reopening a draft marks it as new
Status: VERIFIED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 00:56 UTC by Sabine Faure
Modified: 2010-05-13 00:26 UTC (History)
0 users

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 Sabine Faure 2010-05-10 00:56:45 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch Kmail
- Click on 'New' button
- Fill in the recipient's email address and write a few words of text
- Go to Message menu/Save as Draft
- The email is saved in the 'drafts' folder and a (1) appears next to the folder name
- Click onto the folder to see the mail
- Click once on the email in the Message list to make the (1) disappeared
- The email title is not displayed in red anymore
- Double click on the mail to open it.
- Close it using the cross button on the top right

The mail disappears from the Message list for a few second and then reappears as new (in red and there is a (1) in from of the 'drafts' folder again) whereas this should not happen.

Trunk, Svn Rev 1124682
Comment 1 Thomas McGuire 2010-05-10 21:36:18 UTC
SVN commit 1125143 by tmcguire:

Don't mark a draft as new when re-opening it.

BUG: 237042

 M  +4 -0      kmcomposewin.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1125143
Comment 2 Sabine Faure 2010-05-11 18:55:14 UTC
The email is not saved in the draft folder nor in any other folder atm so I cannot retest this properly.
I will retry later when bug #236790 is fixed

Trunk, Svn Rev 1125510
Comment 3 Sabine Faure 2010-05-11 20:15:51 UTC
In fact I reported a new bug about the fact that the draft is not saved in the draft folder see bug #237279.
I will retest this bug once it is corrected.

Trunk, Svn Rev 1125510
Comment 4 Sabine Faure 2010-05-13 00:26:54 UTC
It is corrected now.

A reopened draft email is not marked as new anymore.

Trunk, Svn Rev 1125914