Bug 2447 - Compose window crashes if moving a folder that is being replied to
Summary: Compose window crashes if moving a folder that is being replied to
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Folders (show other bugs)
Version: 3.7.9
Hardware: PC Linux
: P3 normal
Assignee: users
URL: https://bugzilla.redhat.com/710390
Depends on:
Blocks:
 
Reported: 2011-06-03 12:56 UTC by Michael Schwendt
Modified: 2014-05-22 22:47 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Schwendt 2011-06-03 12:56:05 UTC
http://bugzilla.redhat.com/710390
Backtrace: http://bugzilla.redhat.com/attachment.cgi?id=502771

What I could reproduce:

1. Reply to a mail in a folder
2. Keep compose window open
3. Move the folder
4. Revisit the open compose window and edit in e.g. external editor
5. crash
Comment 1 Ricardo Mones 2011-06-04 11:08:26 UTC
I've reproduced your steps with latest CVS version and it doesn't crash. As expected, changes made in the external editor are reflected in the compose window instead.

Any other detail about your setup which may help to reproduce this?
Comment 2 Michael Schwendt 2011-06-04 12:05:26 UTC
Can you reproduce it with 3.7.9 at least?


> Any other detail about your setup which may help to reproduce this?

What could be relevant?
Comment 3 Michael Schwendt 2011-06-04 12:13:47 UTC
Default account (the one that is used to reply) is an IMAP Google Mail account. This may be relevant, since it implies that the "Drafts" folder is accessed via IMAP.

The mail I reply to is stored in a local maildir folder, however.

When using a POP3 account to reply to, I cannot reproduce.
Comment 4 Michael Schwendt 2011-06-04 12:16:55 UTC
Hmm, scratch that. Also reproducible with a POP3 account. Please try 3.7.9.

1. Reply to a mail in a local maildir folder
2. Keep compose window open
  2.1. Keep external editor open
3. Move the folder
4. Revisit the open compose window and leave external editor
5. crash
Comment 5 Ricardo Mones 2011-06-04 14:10:44 UTC
Yep, I've been able to reproduce with 3.7.9 with imap accounts involved.

It's a bit strange but doesn't really depend if the imap account is the default or not, crashes with both settings.
Comment 6 Michael Schwendt 2011-06-04 18:20:07 UTC
Meanwhile, I've made a test-build of the 3.7.9cvs24 snapshot and can reproduce it with that one, too.

$ rpm -qa claws-mail\*
claws-mail-plugins-pgp-3.7.9-2.fc15.cvs24.x86_64
claws-mail-plugins-smime-3.7.9-2.fc15.cvs24.x86_64
claws-mail-3.7.9-2.fc15.cvs24.x86_64
Comment 7 users 2014-05-22 22:13:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2014-05-22 22:13:03.123249799 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=0e7317a2c56487cf054780a3ec2c23eb85388601
Merge: 1218f02 6086f18
Author: Colin Leroy <colin@colino.net>
Date:   Thu May 22 22:13:02 2014 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=6086f18b8586d0cf6fdcec0ed33809ae8636b3ec
Author: Colin Leroy <colin@colino.net>
Date:   Thu May 22 22:11:07 2014 +0200

    Fix bug #2447, "Compose window crashes if moving a folder that is being replied to". Also constify compose_get_compose_list()
Comment 8 Colin Leroy 2014-05-22 22:47:49 UTC
Fixed, thanks Michael.

Note You need to log in before you can comment on or make changes to this bug.