Bug 264274 - Next Unread (+) sometimes doesn't unselect previous email
Summary: Next Unread (+) sometimes doesn't unselect previous email
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 5.3.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 18:28 UTC by Thiago Macieira
Modified: 2017-01-14 14:06 UTC (History)
1 user (show)

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 Thiago Macieira 2011-01-25 18:28:32 UTC
Version:           2.0.89 (using Devel) 
OS:                Linux

Sometimes, when reading emails using the Next Unread Message (Plus) and Next Unread Folder (Ctrl+Plus), after a new folder is selected, the selection is stuck and won't unselect the first item that was selected with just the Next Unread Message command.

The selection clears with the Next Message (Right) or Previous Message (Left).

This has effects on the Forward, Delete/Trash, and Move/Copy commands, since they operate on multiple mails.

Reproducible: Sometimes

Steps to Reproduce:
1. Ensure you have a folder with more than one unread email
2. Select a folder that is sorted before it in the message list
3. Press Ctrl+Plus
   The folder with the unread email is selected
   The first unread email is selected (most of the time)
4. Press Plus

Actual Results:  
Both emails are selected. Pressing Plus again has two behaviours:
 a) the original email is kept selected, the one being viewed is unselected and a newly unread email is selected (selection count remains at 2)
 b) the original email, the one being viewed and a newly unread email are selected (the selection count increases to 3)

Expected Results:  
The original email is unselected and the new email is selected. The selection count is 1.

OS: Linux (i686) release 2.6.36.2-server-1mnb
Compiler: gcc

This does not happen all the time.

This was observed also in KMail 1.x, with variant (a) in behaviour. I have never observed more than 2 emails selected when doing this in KMail 1.x. However, this issue happened more frequently in KMail 1.x.
Comment 1 Denis Kurz 2016-09-24 18:22:52 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Thiago Macieira 2016-09-24 18:53:00 UTC
Still happens, KMail 5.3, Frameworks 5.26.