Bug 407148 - Mail actions in message viewer sometimes apply to wrong email
Summary: Mail actions in message viewer sometimes apply to wrong email
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 5.11.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-02 08:16 UTC by Kishore Gopalakrishnan
Modified: 2019-05-02 08:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2019-05-02 08:16:58 UTC
SUMMARY
If we try to apply an action (I've checked for mark as unread / important) to an email which was opened from a new mail notification, the action is applied to the last mail which was selected in the main kmail window.

STEPS TO REPRODUCE
1. Wait to receive a new email. Click on the 'view mail' button in the notification that appears.
2. In the window that is opened, try to mark the mail as important.
3. Close the window and open the main Kmail window

OBSERVED RESULT
The 'important' tag is applied to the last mail that was selected in the kmail message list, but not the mail which you were viewing.

EXPECTED RESULT
The 'important' or 'unread' actions should be applied only to the message that is currently being viewed.

SOFTWARE/OS VERSIONS
Distribution: Arch Linux
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.3
Akonadi version: 0.99

ADDITIONAL INFORMATION
I'm not sure if this is important to reproduce this bug, but I usually have Kmail running in the background and minimized to the system tray. This happens with multiple IMAP Gmail inboxes. I don't have inboxes with any other providers to check.