SUMMARY Some e-mails which are sent, appear in the folder outbox. A click on the e-mail shows a message in the status bar like: Item query returned empty result set. STEPS TO REPRODUCE 1. Launch KMail 2. Write a new e-mail 3. Send the e-mail and wait until it has been sent 4. Navigate to the folder outbox 5. Click on the e-mail which is already sent OBSERVED RESULT The status bar shows the message: Item query returned empty result set. EXPECTED RESULT E-mails that are sent should not appear in the folder outbox. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Operating System: Fedora Linux 37 KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.8-200.fc37.x86_64 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-4770T CPU @ 2.50GHz Memory: 7.2 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 4600 ADDITIONAL INFORMATION This bug is perhaps not always reproducible. It happened for the first time, but the message "Item query returned empty result set" comes up every day when I click on new e-mails to read them.
Confirmed, not reliably reproducible but happens fairly frequently, with current PIM Git master. Have also oberved that, if the folder that the sent copy should end up in - either the global sent folder or an identity-specific one - is displayed at the time of sending, the mail can appear briefly in that folder but then disappears again and reappears in the outbox.