06-05-2021, 11:41 AM | #1 |
Resident Curmudgeon
Posts: 74,033
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
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.
|
06-05-2021, 11:44 AM | #2 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
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 ^^. |
Advert | |
|
06-05-2021, 11:47 AM | #3 |
Resident Curmudgeon
Posts: 74,033
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-05-2021, 11:52 AM | #4 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
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...
|
06-05-2021, 11:53 AM | #5 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Short of actually using another glyph entirely than a hyphen as a prefix? (But which one ^^).
|
Advert | |
|
06-05-2021, 12:01 PM | #6 |
Resident Curmudgeon
Posts: 74,033
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I'm not asking to show 0/XXX. I'm asking for -1/XXX for the last page in the eBook.
|
06-05-2021, 12:15 PM | #7 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
You already know that's going be a no, because it makes even less sense (but nice try ;p).
|
06-05-2021, 04:53 PM | #8 | |
Resident Curmudgeon
Posts: 74,033
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
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. |
|
06-06-2021, 11:22 AM | #9 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
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.) |
06-06-2021, 01:30 PM | #10 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@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). |
06-06-2021, 01:42 PM | #11 | |
Resident Curmudgeon
Posts: 74,033
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
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. |
|
06-06-2021, 03:57 PM | #12 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I see the footer when I finish reading the page, by then I have already read the page on display and I have indeed 10 left to read. When I page forward, I don't care what the footer says, my eyes go to the top of the page and only after reading the page I see the footer, and it says 9 pages left.
|
06-06-2021, 05:08 PM | #13 | |
Resident Curmudgeon
Posts: 74,033
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-07-2021, 02:53 AM | #14 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
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
|
06-07-2021, 03:55 AM | #15 |
Guru
Posts: 612
Karma: 2031728
Join Date: Jan 2010
Device: PocketBook Touch (622), PocketBook Touch Lux 2, Pocketbook Touch HD 3
|
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.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
remaining long term bug | roycymru | Kobo Reader | 10 | 03-24-2017 09:26 AM |
Touch Bug when turn a PDF Page? | momogod | Kobo Reader | 6 | 08-14-2012 12:56 PM |
Touch Page Turning Bug | filmo | Kobo Reader | 2 | 04-09-2012 01:48 PM |
@page bug | JSWolf | Calibre | 3 | 11-28-2010 10:16 PM |
Page Number bug | tompe | Bookeen | 8 | 04-03-2008 12:14 PM |