Re: odd display behavior

Jack via balsa-list <[email protected]> Tue, 26 Jan 2021 13:23:27 -0500
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
Thanks Pawel.

One additional note - after restarting Balsa, it again shows blanks  
instead of zeros for that newly (re)created maildir mailbox., which is  
currently empty.  I have no idea if that simplifies or confuses the  
issue.  It's obviously only a cosmetic issue, as long as it no longer  
shows explicitly wrong numbers.

Jack

On 2021.01.26 03:36, Pawel Salek wrote:
> Hi Jack,
> 
> balsa saves the last seen total and unread counts in
> src/save-restore.c:config_save_mailbox_view. It saves the last mod  
> time
> too, to refresh the counts if needed. It seems that in your case, it  
> has
> shown stale data read from config, instead of refreshing it correctly  
> from
> the actual mailbox data. I admit I haven't verified the sequence of  
> events
> that would lead to this behaviour.
> 
> Pawel
> 
> On Thu, Jan 21, 2021 at 9:52 PM Jack via balsa-list  
> <[email protected]>
> wrote:
> 
> > Happy New Year to all.
> >
> > I was just reviewing old mail in a bunch of MailDir folders all  
> under a
> > directory  I use to track different sites in a project with which I  
> am
> > involved.  In particular, one showed 0 unread but 20 total messages.
> > Opening that folder, it showed no messages, and looking in the  
> actual
> > folder on disk, it also showed no messages.  After lots of playing,  
> I
> > simply deleted the folder, but in Balsa and on the disk.  I  
> recreated
> > the MailDir mailbox, and Balsa showed blanks (not explicit 0's) for
> > number of messages.  Once I actually put a message in the mailbox,  
> and
> > then deleted it, it correctly showed 0 total and unread messages.
> >
> > Clearly a low priority, but I would think if there are no messages  
> in
> > either cur, new, or tmp subfolders of a MailDir folder, that would  
> be
> > taken and displayed as 0 messages, not just left blank.
> >
> > Can anyone confirm, and should I open an issue?
> >
> > Thanks.
> >
> > Jack
> > _______________________________________________
> > balsa-list mailing list
> > [email protected]
> > https://mail.gnome.org/mailman/listinfo/balsa-list
> >
>