|
|
#16 |
|
Diligent dilettante
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,667
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
|
After my last post, I opened 6 different books for the first time each. All opened fine with no crashes. This was after enabling the standby, but without extracting the code snippet.
|
|
|
|
|
|
#17 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,165
Karma: 150263703
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
| Advert | |
|
|
|
|
#18 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@zwim: My guiess is the unblanace comes from the fact that `_reschedule_standby` will *NOT* call `preventStandby` if the timeoout is < 1; while `onCloseWidget` will *always* call `allowStandby` (even on devices without the canStandby cap, which is another unrelated issue ^^).
This is what the overengineering in https://github.com/koreader/koreader...cff9bbd417937a tries to account for .I'm open to simpler solutions , since you're more familiar with the flow of things there .
|
|
|
|
|
|
#19 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
This should be addressed by https://github.com/koreader/koreader/pull/8970 once it lands
.
|
|
|
|
|
|
#20 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The key was making sure the metadata generator runs, which leads me to another question for @Uncle Robin: were you testing this on directories with new books, or do you just happen, to, by chance, be in a directory where the metadata parser is looping on a broken file?
|
|
|
|
| Advert | |
|
|
|
|
#21 | |
|
Diligent dilettante
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,667
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
|
Quote:
|
|
|
|
|
|
|
#22 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The "previously unopened" bit was exactly what I was asking for, no worries
.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Night mode problem on PW1 after cover opening | LittleBiG | KOReader | 12 | 02-22-2021 07:55 PM |
| Kobo aura hd freezes when opening cover | Ech1965 | Kobo Reader | 29 | 03-21-2014 02:46 PM |
| When opening a new book, why doesn't Kindle start at the cover? | jpcapili | Calibre | 3 | 10-23-2011 06:05 PM |
| Showing book cover upon opening ebook? | marimorimo | Amazon Kindle | 31 | 08-08-2011 08:16 PM |
| Opening Cover First? [Kindle] | playful | Calibre | 1 | 10-12-2010 07:00 AM |