Open ChristopherWalz opened 3 weeks ago
Client-side filters can't avoid the race condition where more than one client could see a new message before one of them is able to move the message to a different folder.
K-9 Mail should remove the notification for the message in the inbox once it has been moved to a different folder. However, if you enabled notifications for the folder the message is moved into, you will still get two notifications (with the first one being removed once the app gets notified that the message has been removed from the inbox).
Your options are:
Correct. The first notification should be removed, so we would only end up with one notification.
So you're saying the first notification is not removed for you? Can you please record a debug log while receiving a message that is moved to a different folder by a filter?
It is not removed. How to record a debug log? I will try tomorrow.
Sorry, but this seems to be quite difficult. I don't wanna install adb. There should be a way to extract the file from within the app.
The wiki page contains instructions on how to export the log from within the app.
If the app isn't crashing during startup, you can export the debug log from inside the app. Go to Settings → General settings → Debugging, then select Export logs from the menu. You'll be prompted for a location to save the log to.
Ok, here is the log file. I had to remove some lines in the beginning (hopefully nothing important) and anonymize everything else. I hope you will still be able to find the problem.
Mail info From: Foo Bar from@example.com To: to@example.com subject: test_mail_subject
App options:
Checklist
App version
6.802
Where did you get the app from?
Google Play
Android version
14
Device model
Samsung A52s
Steps to reproduce
IMAP account on my own website (email provider is all-inkl)
Expected behavior
Receive 1 notification
Actual behavior
Receive 2 notifications
Logs
No response