Bug 343770

Summary: Messages list becomes empty after deleting one message
Product: [Applications] kmail2 Reporter: Freek de Kruijf <freekdekruijf>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: eric, gerdfleischer, info, robby.engelmann
Priority: NOR    
Version: 5.20.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Freek de Kruijf 2015-02-04 11:09:10 UTC
Especially in an inbox folder of an IMAP account, that was empty before fetching new messages, after reading a message in that folder and deleting that message, often, not always, the messages list becomes empty. Selecting another folder, any, and reselecting the previous folder shows the remaining messages in that folder in the messages list. One message in that folder is marked as read; the one next to the deleted message. This may repeat itself, not always, with the next read/deleted/moved message.

Reproducible: Sometimes

Steps to Reproduce:
1. Start Kontact with IMAP account with originally empty INBOX and fetch several messages.
2. Select one message to read and delete that message, it goes to the waste bin.
3. The messages list becomes empty.
4. Select another folder and reselect the INBOX folder, the remaining messages reappear.


Expected Results:  
The messages list should keep showing the remaining messages.
Comment 1 Eric Christensen 2015-05-27 15:14:06 UTC
Also seeing this in Fedora (kmail 4.14.7-2.fc20).
Comment 2 Freek de Kruijf 2017-02-13 14:16:17 UTC
Still present in kontact 5.4.1
Comment 3 Freek de Kruijf 2017-03-21 12:37:23 UTC
Still present in kmail version 16.12.3
Comment 4 Gerd Fleischer 2017-08-30 07:52:57 UTC
I have similar with 5.6.0

in the messages list,
view is current activity, flat, design intelligent,
if deleting the first message of a new day item with more then one message
the list gets blank.
Comment 5 Freek de Kruijf 2022-06-27 10:24:04 UTC
Still present in kontact 5.20.2 (22.04.2)
Comment 6 Robby Engelmann 2022-07-19 07:00:34 UTC
also true here using a EWS ressource under git master snapshots..

Operating System: openSUSE Tumbleweed 20220718
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.18.11-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO
System Version: Not Applicable
Comment 7 Freek de Kruijf 2022-08-19 08:45:43 UTC
Still present in kontact 5.20.3 (22.04.3)
Comment 8 Geert Janssens 2024-10-18 17:14:39 UTC

*** This bug has been marked as a duplicate of bug 331539 ***