Frame with the messages is scrolled to the top on message list update
On my main Roundcube window I have list of messages, 100 per page,
grouped by thread. When I read the messages one by one (I use arrow down
key) I go far beyond the initial visible portion of messages so the view
is scrolled to certain row. Then the automatic update of messages
happens. After that the view is scrolled to the top, and the selected
message is not visible anymore (one needs to scroll down for a while).
That is very annoying as it interrupts the reading. Could it be improved
so that if message list is refreshed, the scrolling position is
preserved? I would say the following logic should be applied:
Restore the scroll offset. If the selected message is in a viewport, do
nothing. Otherwise scroll the view so that the selected message appears
at the top – this situation may happen if a bulk of messages top the top
of selected one are deleted. It could be that the selected message is
deleted but I think there could be a "best effort" option here as well.