Originally Posted by Kai771
Maybe a default.lua option to make Home display crereader header in crereader instead of info would suffice?
I was playing with the code, making "CREReader:showInfo" call "CREReader:toggleCREHeader()" when I've detected an issue:
when toggling off CREHeader, it doesn't keep book position, showing some past lines at new page start. I.e., previous page start is now showed at last lines of the new shown page.
X X X 1 6 B X X X
1 5 9 2 7 C 1 5 9
2 6 A => 3 8 => 2 6 A
3 7 B 4 9 3 7 B
4 8 C 5 A 4 8 C
3 scenarios. Each column is a page. X means CREHeader
We are at line 9 with headers on (page 3), when toggling off headers, a new page is rendered and we have to search for our past position 9 in the new page. Toggling on CREHeader again shows page 2 starting at line 5, not 9 in page 3.
Because of it, we have 2 problems:
1. toggling header on or off make reader confused as he must search for his previous position
2. toggling off and then on again doesn't keep book page
I assume each page offset is calculated considering page heigth, so these values are different whether CREHeader is visible or not. Is there an easy way to solve?
Is it possible to render pages at different book offsets which are not pages start?
Regarding ScreenKB - Home does exit Librerator in Emulator. Why it doesn't on real K4NT - no idea, and I'm afraid I can't fix it without having the real K4NT myself.
It's ok when running Librerator from command line, but not when launching app from kindle interface using kite.
Also, running Librerator from kite does not go to last book (it opens folder view), and does not allows device go to sleep.