Bug 221 - Deleting messages from the Message View gives incorrect new/unread message counts in the folder view
: Deleting messages from the Message View gives incorrect new/unread message co...
Status: VERIFIED FIXED
: Sylpheed-Claws (GTK1)
User Interface/Message View
: 0.9.3
: PC Linux
: P2 minor
Assigned To:
:
:
:
  Show dependency treegraph
 
Reported: 2003-07-14 00:24 by
Modified: 2003-07-22 05:41 (History)


Attachments
Negative count on the folder display (74.49 KB, application/octet-stream)
2003-07-14 14:52, Steve Lamb
no flags Details


Note

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


Description From 2003-07-14 00:24:39
Open a new or unread message in the Message View Window.  Delete it there.  The
Folder will now have a count one lower than it should.  IE if you delete the
only new/unread message in a folder the result will go from 1:1 to -1:-1.  Each
deleted new/unread after that will decrease the count further.  I've had my
inbox as low as -29:-29.  This is in 0.9.3 however the bug database doesn't yet
have that as an option.  It first showed up, for me, in 0.9.0.
------- Comment #1 From 2003-07-14 01:32:52 -------
works for me.  
what kind of folder? 
------- Comment #2 From 2003-07-14 12:26:58 -------
I was going to get screenshots of this one as well for you but Claws has taken
to being uncoperative in reproducing the bug.  I did go in and clean out some
old files that looked like Claws used (context?) which might have corrected it.
 Who knows.  If it pops up again I'll be sure to get screenshots.

If I attach screenshots again sould I tgz them together into a single sequence
send them in as images with individual comments?
------- Comment #3 From 2003-07-14 12:41:59 -------
yeah, i saw the same thing for a short time. perhaps resizing vertically 
triggers it. 
------- Comment #4 From 2003-07-14 13:43:35 -------
Ok, may we keep this bug open for, say, a week?  If I see it again in that time
I'll try to grab screenies.  If not I'll close it from my end?
------- Comment #5 From 2003-07-14 14:52:22 -------
Created an attachment (id=81) [details]
Negative count on the folder display

Here's two screen shots, before and after.  Before, 5 new messages, 5 unread
messages.  After, deleted all 5 through the external message view.  Shows -1
new messages, -1 unread messages.
------- Comment #6 From 2003-07-17 19:12:04 -------
| through the external message view 
 
Sorry, "external message view"? You mean a detached message view (with 
the message view being the lower right pane)? This reproducable? 
------- Comment #7 From 2003-07-17 19:30:14 -------
Yes, and yes.  Use the detached view on new mail, use the delete from the
detached view, you'll end up with negative numbers in the count at the end.  

To reset the counts just have Claws check for new mail in all folders.  I
generally let claws get to about -5 or -6 on some folders before resetting them
again.  :)
------- Comment #8 From 2003-07-20 18:59:58 -------
fixed in 0.9.3claws36

* src/procmsg.c
        fix wrong flags in MsgInfo returned by
        procmsg_msginfo_get_full_info()
------- Comment #9 From 2003-07-22 05:41:29 -------
Nabbed a copy from CVS and it appears to be working properly.  Thanks for the 
fix.