Project

General

Profile

Actions

Feature #42

closed

More Sophisticated Scrolling When Moving Bookmarks

Added by Soren Stoutner almost 8 years ago. Updated about 6 years 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.

Actions #1

Updated by Soren Stoutner over 7 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.

Actions #2

Updated by Soren Stoutner almost 7 years ago

  • Priority changed from 3.x to 3
Actions #3

Updated by Soren Stoutner over 6 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.

Actions #4

Updated by Soren Stoutner over 6 years ago

  • Priority changed from 3.x to 3
Actions #6

Updated by Soren Stoutner about 6 years ago

  • Priority changed from 3 to Next Release
Actions

Also available in: Atom PDF