{"action":"created","issue":{"url":"https://api.github.com/repos/k9mail/k-9/issues/3561","repository_url":"https://api.github.com/repos/k9mail/k-9","labels_url":"https://api.github.com/repos/k9mail/k-9/issues/3561/labels{/name}","comments_url":"https://api.github.com/repos/k9mail/k-9/issues/3561/comments","events_url":"https://api.github.com/repos/k9mail/k-9/issues/3561/events","html_url":"https://github.com/k9mail/k-9/issues/3561","id":351826080,"node_id":"MDU6SXNzdWUzNTE4MjYwODA=","number":3561,"title":"Deleted emails prevent other emails from showing up (using IMAP)","user":{"login":"gergelyimre","id":6577944,"node_id":"MDQ6VXNlcjY1Nzc5NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6577944?v=4","gravatar_id":"","url":"https://api.github.com/users/gergelyimre","html_url":"https://github.com/gergelyimre","followers_url":"https://api.github.com/users/gergelyimre/followers","following_url":"https://api.github.com/users/gergelyimre/following{/other_user}","gists_url":"https://api.github.com/users/gergelyimre/gists{/gist_id}","starred_url":"https://api.github.com/users/gergelyimre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gergelyimre/subscriptions","organizations_url":"https://api.github.com/users/gergelyimre/orgs","repos_url":"https://api.github.com/users/gergelyimre/repos","events_url":"https://api.github.com/users/gergelyimre/events{/privacy}","received_events_url":"https://api.github.com/users/gergelyimre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-18T14:49:12Z","updated_at":"2018-09-11T03:29:37Z","closed_at":null,"author_association":"NONE","body":"I'm sorry for the convoluted explanation :)\r\n\r\nI'm using K9-Mail to read my emails on my own mailserver, with IMAP. I have the app configured to show the last 10 emails (Local folder size = 10 messages, Sync messages from = any time).\r\nWhen I delete one or more emails from a folder (INBOX, or other folders), the emails disappear from the list, but the number of emails seens does not equal to 10 anymore, no matter how many times I press refresh. Only after I do an \"Expunge\" and then press Sync, I'm getting the list populated with 10 emails.\r\n\r\n### Expected behavior\r\nAfter deleting the emails, the list should populate with other emails, up to the set limit (10 in my case). You should not have to expunge first.\r\n\r\n### Actual behavior\r\nThere are only 10-X emails shown (where X is the number of deleted emails)\r\n\r\n### Steps to reproduce\r\n1. see 10 emails in Inbox (say email1, email2, ... email10)\r\n2. delete 2 emails (say email5 and email6)\r\n3. now you see email1,2,3,4,7,8,9,10 (8 emails)\r\n4. you need to \"Expunge\" the deleted emails if you want to see 10 emails\r\n\r\nThis is especially annoying when you have say a lot of automated emails coming in. Say you get 20 emails, from which only the latest 10 are shown. You delete these 10, they disappear from the list and now the list is empty, and you have to expunge these 10 deleted ones first, before seeing the next 10.\r\n\r\nThe deleted emails are not really deleted, they are just marked as deleted on the server (checking with Thunderbird there are clearly there), but they occupy \"slots\" from the list of 10 emails but they are not shown anymore.\r\n\r\n### Environment\r\nK-9 Mail version: 5.403\r\nAndroid version: 8.0.0\r\nAccount type (IMAP, POP3, WebDAV/Exchange): IMAP\r\n\r\nThank you for a great app, I'm really loving it!"},"comment":{"url":"https://api.github.com/repos/k9mail/k-9/issues/comments/420134641","html_url":"https://github.com/k9mail/k-9/issues/3561#issuecomment-420134641","issue_url":"https://api.github.com/repos/k9mail/k-9/issues/3561","id":420134641,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDEzNDY0MQ==","user":{"login":"tidux","id":1330562,"node_id":"MDQ6VXNlcjEzMzA1NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/1330562?v=4","gravatar_id":"","url":"https://api.github.com/users/tidux","html_url":"https://github.com/tidux","followers_url":"https://api.github.com/users/tidux/followers","following_url":"https://api.github.com/users/tidux/following{/other_user}","gists_url":"https://api.github.com/users/tidux/gists{/gist_id}","starred_url":"https://api.github.com/users/tidux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidux/subscriptions","organizations_url":"https://api.github.com/users/tidux/orgs","repos_url":"https://api.github.com/users/tidux/repos","events_url":"https://api.github.com/users/tidux/events{/privacy}","received_events_url":"https://api.github.com/users/tidux/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T03:29:37Z","updated_at":"2018-09-11T03:29:37Z","author_association":"NONE","body":"I had the same experience on the same version of K-9 mail with a Dovecot-hosted inbox, on Android 7.1."}}
{"actor":{"display_login":"tidux"}}