[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sylpheed
Subject:    [sylpheed:24996] Re: Sylpheed shows only 7~8 of the oldest messages in my folders
From:       Hiroyuki Yamamoto <hiro-y () kcn ! ne ! jp>
Date:       2005-05-27 8:12:56
Message-ID: 20050527171256.5d7ff7ec.hiro-y () kcn ! ne ! jp
[Download RAW message or body]

Hello,

On Fri, 27 May 2005 04:05:42 +0200
Hanno Meyer-Thurow <h.mth@web.de> wrote:

> I am using Sylpheed for some time now, actually 1.9.11, and at a
> certain point it started to show only seven or eight of the oldest
> messages in all folders. Now I got some time to investigate it and
> fixed it. Well, this fix I call an ugly hack because my programming
> knowledge is limited. I googled for this kind of bug but found no
> hit. So I guess I am the only one experiencing that behaviour.
> 
> First, I checked what the log said when I entered a folder.
> 
> [03:13:10] IMAP4> 20 UID SEARCH ALL
> [03:13:10] IMAP4< * SEARCH 201041486 201042136 201042407 201042682
> 201043148 201043194 201043518
> [03:13:10] IMAP4< * SEARCH 201043519
> 201043753 201044273 201045066 201045078 201045093 201045099
> [03:13:10] IMAP4< * SEARCH 201045117 201045405 201045407 201045444
> 201045556 201045816 201045875
> [03:13:10] IMAP4< * SEARCH 201045885 201045953 201046059
> [03:13:10] IMAP4< 20 OK UID SEARCH Completed
> 
> There were four answers, but only the seven oldest messages showed up
> in Sylpheed. If you count the UIDs of each answer there are seven. So
> I thought the code just checks the first answer and ignores the last
> three ones. After some time reading the source I found the code in
> src/imap.c, function imap_cmd_search, call 'str = search_array_str
> (argbuf, "SEARCH");'.

Thanks for pointing it out. I'll fix it soon.

-- 
Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic