![]() |
Page remaining bug
When I have the page number display to show the pages remaining, the last page shows -0/XXX. There is no such thing as a negative 0. Can this please be fixed so the last page is shown as -1/XXX? Thanks.
|
Before another maths-inclined programmer jumps down your throat: yes, there is such a sign as a signed zero ;).
But, no, it doesn't make sense in this context ^^. |
Quote:
|
Can't think of a great way to handle this, though, because we can't just remove the hyphen, as that risks confusion with the page progress widget...
|
Short of actually using another glyph entirely than a hyphen as a prefix? (But which one ^^).
|
I'm not asking to show 0/XXX. I'm asking for -1/XXX for the last page in the eBook.
|
You already know that's going be a no, because it makes even less sense (but nice try ;p).
|
Quote:
The best thing to do would be to have the last pages be 1 or 0 with an option. I see no reason not to have such an option. |
Just a thought; if you are on the last page of a chapter, there are no more pages in that chapter. There is not one more till the end. As an indicator of how many pages are left to reach the end of the the chapter, zero makes a lot of sense. As a means to establish how many pages to go until a good point to take a break, get some refreshments, take care of some other business, ect..., the current approach seems fine, to me.
Luck; Ken P.S.; Is this your second thread on this? (Might be thinking of a Github issue.) |
@Ken Maltby: Exactly (and, yes ^^).
In fact, with the other "in chapter progress" FR implemented in https://github.com/koreader/koreader/pull/7807, it becomes even clearer when you show the two widgets: On a 10-page chapter, you go from 1 // 10 (=> 9) to 10 // 10 (=> 0). Remaining is *always* equal to total - pagenum (i.e., it's what's off-screen). |
Quote:
Now, what is wrong with an option to allow page numbers to be done either way? Nothing at all. So I don't see why there is such reluctance to add in such an option. So if you want it as page 1 or page 0, you get what you want. |
Quote:
|
Quote:
|
On the other hand, the last page of the chapter may be just 4-5 lines long, and the first page probably has a title that takes that much space. So over all, the count might be even more correct than if you add 1 ;)
|
To add to the confusion: Some books don't have a page break for a new chapter. A new chapter may begin in the middle of a page. Koreader then tells me I have 0 pages left when I'm on the last full page of the chapter, i.e. I have another half page on average to go. It would be much better in this situation if the 0 is shown on the page of the chapter break.
|
| All times are GMT -4. The time now is 09:01 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.