<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2897: message counts in mailbox view all zero (IMAP,



#2897: message counts in mailbox view all zero (IMAP, courier)
-----------------------------+----------------------------------------------
  Reporter:  sideshowbarker  |       Owner:  brendan             
      Type:  defect          |      Status:  new                 
  Priority:  major           |   Milestone:  1.6                 
 Component:  IMAP            |     Version:  1.5.19              
Resolution:                  |    Keywords:  message counts patch
-----------------------------+----------------------------------------------
Changes (by pebo):

 * cc: petar@xxxxxxxxxx (added)
  * status:  closed => new
  * version:  1.5.18 => 1.5.19
  * resolution:  fixed =>


Comment:

 I don't want to spoil the party, but since upgrading to 1.5.19 (from
 1.5.18) my mailbox view is broken in the same way (all message counts = 0)
 and somehow I think, that [5d1cc2f0c1c4] has something to do with it.

 Dovecot with Maildir++ (folder separator: '.')

 Since the upgrade all folders were delimited by a '/'.. which somehow
 didn't affect the general folder browsing but as I said crippled the
 mailbox view. My workaround was to drop the '/' from imap_delim_chars and
 leave only the dot.

 While I don't really understand the diff, the following piece seems
 strange to me:

 {{{
 +  if (idata)
 +    delim = idata->delim;
 +  else if (ImapDelimChars && ImapDelimChars[0])
 +    delim = ImapDelimChars[0];
 +  else
 +    delim = '/';
 }}}

 ImapDelimChars[0]? Well, that would be a slash, I guess. And in the case
 of ImapDelimChars being empty, it would be a slash anyway..

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2897#comment:26>
Mutt <http://www.mutt.org/>
The Mutt mail user agent