View Single Post
Old 04-03-2022, 09:19 AM   #18
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
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 .
NiLuJe is offline   Reply With Quote