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

List:       kmail-devel
Subject:    Bug: Ghost messages after a crash
From:       Ingo =?iso-8859-1?q?Kl=F6cker?= <ingo.kloecker () epost ! de>
Date:       2001-12-31 15:28:11
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

additionally to the problem that some messages aren't automatically 
marked as read anymore after a crash I found another problem.

To reproduce all this
- - create a folder aaa with subfolders bbb and ccc
- - put some message into bbb and mark some of them unread
- - restart KMail (to make sure all indeces are written)
- - move some read and some unread messages from bbb to ccc
- - crash KMail (e.g. with killall -6 kmail)
- - start KMail

Observation no. 1:
Unread messages which have been moved from bbb to ccc are not 
automatically marked read if they are selected.

Observation no. 2:
Now select folder aaa and search (including sub folders) for something 
which appears in the subject of some moved messages. Now double click 
on some of the found messages. Although moved messages are found in bbb 
as well as in ccc double clicking on any of these messages will always 
select the messages in folder ccc. The ghost messages in folder bbb 
have to be searched manually.

Most likely all this is caused by duplicated messages with the same 
serial numbers. To circumvent this a version number might be added to 
the serial number which (the version number) is increased every time a 
message is moved to another folder. This should effectively prevent 
multiple messages with the same serial number. Using the lower 4 bit of 
the serial number as version number might be a good solution. This 
would still leave 28 bit for the serial number (-> max. 2^28 = 256 
MegaMessages).

Regards,
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8MIQOGnR+RTDgudgRAgF+AJ0abVmmBKVmViKkdUxsQ2LCEH2EVgCeO/px
xF89gNWNezrfyclWgqevHGg=
=UEKz
-----END PGP SIGNATURE-----
_______________________________________________
kmail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

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