Bug 468173

Summary: Sent e-mail appears in outbox
Product: [Applications] kmail2 Reporter: Attila <bugs.kde.attila>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: jjm
Priority: NOR    
Version: 5.22.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Attila 2023-04-05 13:08:04 UTC
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.
Comment 1 Jonathan Marten 2024-09-15 11:26:15 UTC
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.