Project

General

Profile

Feature #42

More Sophisticated Scrolling When Moving Bookmarks

Added by Soren Stoutner almost 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Next Release
Start date:
07/12/2016
Due date:
% Done:

0%

Estimated time:

Description

Currently, when moving a bookmark the ListView is moved to `setSelection(selectedBookmarkNewPositon - 5)`. It would be nice to implement a more sophisticated scrolling, but it doesn't work well because `getFirstVisiblePosition()` and `getLastVisiblePosition()` are not always accurate with partially displayed bookmarks, especially with an overlayed AppBar, making the number of calculated visible bookmarks vary.

History

#1

Updated by Soren Stoutner almost 3 years ago

This could probably be accomplished by storing the scroll position and restoring it after a change rather than calculating it off of the ListView item position.

#2

Updated by Soren Stoutner about 2 years ago

  • Priority changed from 3.x to 3
#3

Updated by Soren Stoutner almost 2 years ago

  • Priority changed from 3 to 3.x

I am going to put this off for a while, and perhaps not make any changes at all. `setSelection(selectedBookmarkNewPositon - 5)` works well. Making changes could get complicated if the bookmark scrolls off the screen.

#4

Updated by Soren Stoutner over 1 year ago

  • Priority changed from 3.x to 3
#6

Updated by Soren Stoutner over 1 year ago

  • Priority changed from 3 to Next Release

Also available in: Atom PDF