From kmail-devel Mon Dec 31 15:28:11 2001 From: Ingo =?iso-8859-1?q?Kl=F6cker?= Date: Mon, 31 Dec 2001 15:28:11 +0000 To: kmail-devel Subject: Bug: Ghost messages after a crash X-MARC-Message: https://marc.info/?l=kmail-devel&m=100981241722920 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, additionally to the problem that some messages aren't automatically=20 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=20 automatically marked read if they are selected. Observation no. 2: Now select folder aaa and search (including sub folders) for something=20 which appears in the subject of some moved messages. Now double click=20 on some of the found messages. Although moved messages are found in bbb=20 as well as in ccc double clicking on any of these messages will always=20 select the messages in folder ccc. The ghost messages in folder bbb=20 have to be searched manually. Most likely all this is caused by duplicated messages with the same=20 serial numbers. To circumvent this a version number might be added to=20 the serial number which (the version number) is increased every time a=20 message is moved to another folder. This should effectively prevent=20 multiple messages with the same serial number. Using the lower 4 bit of=20 the serial number as version number might be a good solution. This=20 would still leave 28 bit for the serial number (-> max. 2^28 =3D 256=20 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=3D =3DUEKz -----END PGP SIGNATURE----- _______________________________________________ kmail Developers mailing list kmail@mail.kde.org http://mail.kde.org/mailman/listinfo/kmail