roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.57k stars 1.6k forks source link

EMail list has a hidden email between page 1 and page 2 #9423

Open netchild opened 3 weeks ago

netchild commented 3 weeks ago

My message list is sorted descending, and in list view mode. Page 1 has all emails unread. Page 2 has all emails read. If I go to the last message on page 1 (the one on the bottom of the list) and delete it, a new unread message shows up as the last entry in the list on page 1, which was not listed on page 2 before the deletion of the email on page 1.

Example:

Before delete:

After delete of "H":

alecpl commented 3 weeks ago

It does not make sense. What Roundcube version? What plugins? What sorting column? How many messages in the folder? How many on one page?

netchild commented 2 weeks ago

Roundcube 1.6.6, no sorting order (right now... I was expecting sorted by receive-date, not sure when I changed that), right now with about 120 messages (read+unread) in the folder I can not reproduce, sometimes I have more than 400 unread messages in the folder (source commit notifications), so maybe more than 500 in total, and there I noticed it. 50 messages on one page.

I agree that it doesn't make sense, but when I wrote the bugreport, I was able to validate that behavior with multiple messages. I noticed it a while before, but didn't bother to make a bugreport. Recently I noticed it again, and I decided to report the bug. To make sure I really see that behavior, I tested this behavior several times by looking at the last mail in the first page and the first mail of the second page, and I validated 3 times that this was the behavior I was seeing. Right now I do not have that much messages in this folder, and I can not reproduce by deleting a message.

How is the sort order handled, does it depend on the IMAP server, or is it sorted locally by looking at all messages? I switched recently from the default imap_cache and default session_cache to a redis based cache. Can this have an influence on the outcome?

Extensions: extension version license --
additional_message_headers 1.2.1 GPL-3,0+  
archive 3.5 GPL-3,0+  
attachment_reminder 1.1 GPL-3,0+  
carddav v5.1.0 GPL-2,0
contextmenu 3.3.1 GPL-3,0+
debug_logger 1.0 GPL-3,0+  
emoticons 3.0 GPL-3,0+  
enigma 0.9 GPL-3,0+  
filesystem_attachments 1.0 GPL-3,0+  
gravatar   GPL-3,0+
help 1.4 GPL-3,0+  
hide_blockquote 1.0 GPL-3,0+  
html5_notifier   GPL-3,0+
identity_select 1.1 GPL-3,0+  
jqueryui 1.13.2 GPL-3,0+  
login_info 1.5.1 GPL-3,0+  
markasjunk 2.0 GPL-3,0+  
new_user_dialog 2.4 GPL-3,0+  
newmail_notifier 0.8 GPL-3,0+  
roundcube_caldav   GPL-3,0+
subscriptions_option 1.4 GPL-3,0+  
tls_icon   MIT
userinfo 1.2 GPL-3,0+  
vcard_attachments 4.2 GPL-3,0+  
zipdownload 3.4 GPL-3,0+