Bug 287821

Summary: Next/previous message shortcut keys should not loop around from end - start of message list.
Product: [Applications] kmail2 Reporter: Peter Lewis <pete>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: faure
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Lewis 2011-11-29 09:59:58 UTC
Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

When the last message in the message list is displayed, pressing the keyboard shortcut to go to the next message moves to the first message in the folder, looping around. (And vice versa for the previous message shortcut.) This isn't logical. When you're displaying the last message, there is no next message, so pressing the keyboard shortcut to move to the next message should do nothing.

Reproducible: Always

Steps to Reproduce:
Select the last message in a folder and press the next message keyboard shortcut.

Actual Results:  
The first message in the folder is displayed.

Expected Results:  
Nothing.
Comment 1 Peter Lewis 2011-11-29 10:01:05 UTC
Note that the next / previous *unread* message actions already have this functionality, it just needs to be applied to the next / previous message shortcuts too. Thanks.
Comment 2 David Faure 2012-10-08 08:08:22 UTC

*** This bug has been marked as a duplicate of bug 280841 ***