Claws Mail Bugzilla – Bug 221
Deleting messages from the Message View gives incorrect new/unread message counts in the folder view
Last modified: 2003-07-22 05:41:29
You need to log in before you can comment on or make changes to this bug.
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.
works for me. what kind of folder?
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?
yeah, i saw the same thing for a short time. perhaps resizing vertically triggers it.
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?
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.
| 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?
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. :)
fixed in 0.9.3claws36 * src/procmsg.c fix wrong flags in MsgInfo returned by procmsg_msginfo_get_full_info()
Nabbed a copy from CVS and it appears to be working properly. Thanks for the fix.