Scroll bar and page scroll is not set to zero when changing pages in non-continuous mode
Hello!
When changing to the next page of a document in non-continuous mode, with a zoom level that has some remaining vertical space to scroll, the scroll bar and page isn't at the 0 scroll position. After for example ev_view_next_page (view);
is called.
Its offset by ~5 scroll units. Which means one has to press PAGE_UP two times to get to the previous page.
Selecting a page via the page numbers field also results in this offset scroll bar.
So the repro steps would be:
- multipage document
- disable continuous mode
- set a zoom level to leave some vertical space for scrolling
- go to a new page by typing a different page number in the field
- observe the scroll bar not being at 0
- hit PAGE_UP and see the scroll bar going to 0
I could not find the code that is responsible for this offset in listview, so maybe someone else has an idea whats responsible for this.
Edited by Riesi