Bug 280841

Summary: next/previous message wrap around
Product: [Applications] kmail2 Reporter: tim blechmann <tim>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: pete
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.3
Sentry Crash Report:

Description tim blechmann 2011-08-26 16:12:17 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

not sure, if it is done intentionally, but `next message' and `previous message' wrap around: `next message' on the last message selects the first message (likewise for `previous message'). 
this is different than with kmail1 and i prefer the old behavior because i can just press `left' to quickly skip through mails without worrying if i return to an old mail (iirc this is the behavior of any other email client that i have ever used)
  

Reproducible: Always

Steps to Reproduce:
select last message of a folder

Actual Results:  
`next message' on last message of a folder selects first message


Expected Results:  
`next message' on last message should have no effect
Comment 1 Torgny Nyblom 2011-08-26 17:35:54 UTC
If you would like to use one key to visit all new mails then use the "+" or "-" keys to navigate, they select the next and previous unread message. The exact behavior can be selected using the settings under "Misc -> Folders".
Comment 2 tim blechmann 2011-08-26 17:40:18 UTC
i do not only want to navigate *new*, but *all* mails.
Comment 3 Mara Raram 2012-01-11 10:41:59 UTC
Why is this marked as invalid?

The described behaviour is a real annoyance and there is no configuration option available to stop it.
Comment 4 tim blechmann 2012-04-06 10:01:54 UTC
mara, i think you have to file a new bug report as closed reports usually do not get any attention
Comment 5 tim blechmann 2012-09-19 09:00:13 UTC
reopening. i'd ask the devs to re-think this behavior, as it is quite an annoyance for people who are used to the behavior that was implemented in kmail1 as well as in all other email clients that i know of.
Comment 6 David Faure 2012-10-08 08:08:22 UTC
*** Bug 287821 has been marked as a duplicate of this bug. ***
Comment 7 Laurent Montel 2012-10-15 08:17:09 UTC
Git commit 58a02470b001b4722395cbda4ae201faa8c9601d by Montel Laurent.
Committed on 15/10/2012 at 10:16.
Pushed by mlaurent into branch 'KDE/4.9'.

Apply patch from Stefan Fuchs Next/Previous keyboard shortcuts not

looping anymore
FIXED-IN: 4.9.3
REVIEW: 106820

M  +2    -2    kmail/kmmainwidget.cpp

http://commits.kde.org/kdepim/58a02470b001b4722395cbda4ae201faa8c9601d