Bug 364558

Summary: Flagging as "unread" triggers multiple-selection
Product: [Applications] kmail2 Reporter: Tim Holy <holy>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: herzenschein
Priority: NOR    
Version: 5.1.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tim Holy 2016-06-20 18:28:05 UTC
I use threaded display, and I typically go through my mails hitting "+" to advance to the next unread message. I've had a long-standing bug that causes kmail to (unexpectedly) selected multiple messages, which can be dangerous: if you hit delete, then it affects all selected mails, not just the one you're reading now. Moreover, if there is more than a screenfull of messages between the initially-selected message and the next unread one, you may not even realize that multiple messages have been selected.


Reproducible: Always

Steps to Reproduce:
- Select 2 consecutive mails in your inbox, hit "Ctrl-U" to flag them as unread
- Select a message above the 2 unread message
- Hit "+" to advance to the first unread message
- Say to yourself, "hmmm, I'll deal with this later" and hit "Ctrl-U" to re-mark it as unread
- Hit "+" to advance to the next unread message

Actual Results:  
You should notice that both messages are selected. 


Expected Results:  
Only the 2nd message should be selected.
Comment 1 Thiago Sueto 2020-12-15 00:48:04 UTC
Hello Tim, is this still reproducible for you?
If so, could you please provide a quick video or screenshots showcasing what you mean just to make sure? I didn't manage to reproduce it here on KMail from master.
Comment 2 Tim Holy 2020-12-22 19:59:21 UTC
Apologies, but I now use my institution's webmail rather than kmail. Sounds like it may have been fixed, though, thanks!
Comment 3 Thiago Sueto 2020-12-22 23:25:44 UTC
Thank you for replying :)
Marking this as fixed. If you ever come back to using KMail and experience this again, please file a new bug report.