Move cursor to the next message after current one disappears
commit7179c38fbff9c5e881112e381731bdc29b0530d5
authorRoland Pallai <dap78@magex.hu>
Sat, 18 Mar 2017 20:57:52 +0000 (18 21:57 +0100)
committerJan Kundrát <jkt@kde.org>
Fri, 21 Apr 2017 20:05:17 +0000 (21 22:05 +0200)
tree3335b1d5d372f151b90c8ff9e080350c09679feb
parentd3267f72b656ea582e7fc911237633352ff4c8ba
Move cursor to the next message after current one disappears

A big inconvience for keyboard usability if the cursor forgets last
position when the current message disappeared from message list. It
also prevents next/previous message actions to function.
This patch using an unobtrusive approach to this problem, moves the
cursor to the next message but does not activate it. The user can
activate with return key or can navigate towards. This way it does not
interfere with automatic read marking nor habits of users.

CCBUG: 360091
CCBUG: 321387
Change-Id: Ic823c2c9d0bba9de65d01fb0e72b91093f233f7e
src/Gui/MsgListView.cpp
src/Gui/MsgListView.h