Page up and page down keys scroll one book too much
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Calibre 1.9
Windows 7 Home Premium SP1
Virtual libraries tabs visible, although it happens too when they're hidden.
This is better explained with an example, I think. The example is real, based upon my system.
Suppose you can see books 1 to 23 on the current library. That's the "page" size, then. Cursor is at book 1, and then you hit the "PageDn" key. The cursor should end:
- On book 23 if PageDn first goes to the end of the current "page" and then scrolls.
- On book 24 if PageDn just scrolls (but IMHO, in this case book 24 should be visible at the top of the current "page").
Instead, cursor ends up in book 25. The same happens in the opposite direction. If the cursor is, let's say, at book 90, PageUp should put the cursor at book 67 (remember, 23 books per "page", instead it ends up on book 66.
With this problem, if you are checking for some books having a mark, or whatever, every time you hit PageDn you're skipping a book.
Exactly the same happens when "Virtual libraries tabs" are visible, but then the skipped book is half visible.
Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.
status fixreleased