Bug 1533 - Claws is unable to mark messages as "read" in IMAP shared folders
Summary: Claws is unable to mark messages as "read" in IMAP shared folders
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Folders/IMAP (show other bugs)
Version: 3.3.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2008-02-28 09:20 UTC by DragonK
Modified: 2008-02-29 08:12 UTC (History)
0 users

See Also:


Attachments
Log of claws --debug (114.35 KB, text/x-log)
2008-02-28 10:13 UTC, DragonK
no flags Details

Description DragonK 2008-02-28 09:20:36 UTC
I'm using claws to access some shared imap folders. Since version 3.3.1, I've noticed that all new mail coming to these folders can't be marked as "read" (at least it is marked, temporarily).

Steps to reproduce:

1) Have some unread mail in a shared IMAP folder.
2) Read it or mark all as read
3) Click on the Get Mail button or change to a different folder and back to the current one.
4) The mail is back, marked as unread.

This behaviour isn't present in thunderbird (so I don't think it's some server-side problem) and it was not present in the previous version of claws.

I've deleted my claws directory in my home and the problem still happens.

This is the network log for marking all as read, changing to a different imap folder and then re-entering the folder in which i've marked all as read (the mails will show up "unread").

[10:18:11] IMAP4> 590 UID STORE 2443:2446 +FLAGS.SILENT () 
[10:18:11] IMAP4< 590 OK STORE completed. 
[10:18:13] IMAP4> 591 NOOP 
[10:18:13] IMAP4< 591 OK NOOP completed 
[10:18:13] IMAP4> 592 STATUS "shared.avr.spam" (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[10:18:13] IMAP4< * STATUS "shared.avr.spam" (MESSAGES 0 UIDNEXT 65 UIDVALIDITY 1174285720 UNSEEN 0) 
[10:18:13] IMAP4< 592 OK STATUS Completed. 
[10:18:15] IMAP4> 593 STATUS "shared.avr.spam" (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[10:18:15] IMAP4< * STATUS "shared.avr.spam" (MESSAGES 0 UIDNEXT 65 UIDVALIDITY 1174285720 UNSEEN 0) 
[10:18:15] IMAP4< 593 OK STATUS Completed. 
[10:18:15] IMAP4> 594 NOOP 
[10:18:15] IMAP4< 594 OK NOOP completed 
[10:18:15] IMAP4- [fetching flags...]
[10:18:15] IMAP4> 595 UID FETCH 1:* (FLAGS UID) 
[10:18:15] IMAP4< [FETCH data - 4267 bytes]
Comment 1 Colin Leroy 2008-02-28 09:45:43 UTC
Can you show the network log of a SELECT command in this folder?
Comment 2 Colin Leroy 2008-02-28 09:55:37 UTC
or better, a complete --debug log :)
Comment 3 DragonK 2008-02-28 10:13:28 UTC
Created attachment 560 [details]
Log of claws --debug

A log of claws, slightly obfuscated and relatively addnotated with the operations performed, between empty lines and --- ---'s.
Comment 4 users 2008-02-28 18:01:02 UTC
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.colino.net/claws-mail/

2008-02-28 [colin]	3.3.1cvs5

	* src/compose.c
		Fix bug 1534, 'Segmentation fault when doing 
		some draft saving and then throwing away'
	* src/imap.c
		Fix bug 1533, 'Claws is unable to mark messages 
		as "read" in IMAP shared folders'
	* src/etpan/imap-thread.c
		Fix bug 1515, 'large messages crash claws when 
		syncing for offline mode'. This is rather a
		workaround, and mails > 64MB will still be
		problematic if there's less than 64MB available
		on the dataroot volume.
	* src/messageview.c
		MAEMO: Add information when fetching big messages
Comment 5 DragonK 2008-02-29 08:12:11 UTC
Yep, it seems to work now, with the latest cvs snapshot.
Thanks!

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