![]() |
#601 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 2731310
Join Date: Jan 2013
Device: Kobo Aura
|
Quote:
Code:
input_event == "Suspend" then UIManager:show(InfoMessage:new{ text = _("Standby"), timeout = 1, }) Device:prepareSuspend() UIManager:scheduleIn(0.5, function() Device:Suspend() end) elseif (input_event == "Power" and Device.screen_saver_mode) or input_event == "Resume" then Device:Resume() else self:sendEvent(input_event) end end end end Code:
input_event == "Suspend" then UIManager:show(InfoMessage:new{ text = _("Standby"), timeout = 4, }) Device:prepareSuspend() UIManager:scheduleIn(2, function() Device:Suspend() end) elseif (input_event == "Power" and Device.screen_saver_mode) or input_event == "Resume" then Device:Resume() else self:sendEvent(input_event) end end end Hope this helps. |
|
![]() |
![]() |
![]() |
#602 |
Enthusiast
![]() ![]() Posts: 30
Karma: 192
Join Date: Sep 2013
Location: Italy
Device: AuraHD
|
It not seems to work.
Initially and strangely it has worked, but now it isn't working anymore, only statement "stand-by" that remains for more seconds but then it vanishes as before and touch still usable. EDIT: I have had another two cases where it has worked. Sometime it works but more often times it not works Last edited by Fabry; 10-01-2013 at 07:20 AM. |
![]() |
![]() |
![]() |
#603 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 415
Karma: 469928
Join Date: Feb 2012
Device: Kobo Clara BW, Moaan Inkpalm 5.
|
|
![]() |
![]() |
![]() |
#604 |
Time Waster
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
I have the feeling that standby starts misbehaving when resume is triggered before the value in "scheduleIn" is reached, so I'd try to lower it, rather than increasing it. The only problems I had happened when I was playing crazily with sleep cover and power button together, something a user should not be prone to do.
|
![]() |
![]() |
![]() |
#605 |
Enthusiast
![]() ![]() Posts: 30
Karma: 192
Join Date: Sep 2013
Location: Italy
Device: AuraHD
|
I have now tried
Code:
timeout = 2, }) Device:prepareSuspend() UIManager:scheduleIn(0.25, function() Device:Suspend() end) I slide the button and then I do nothing, but it not goes to stand-by (only statement for 2 secs) Last edited by Fabry; 10-01-2013 at 01:33 PM. |
![]() |
![]() |
![]() |
#606 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 35064
Join Date: Jan 2012
Location: Hungary
Device: Kindle Paperwhite 2013, Kobo Mini, iPad Mini
|
Quote:
Standby works fine on Kobo Mini. Thanks! |
|
![]() |
![]() |
![]() |
#607 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
|
![]() |
![]() |
![]() |
#608 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Suspend was giving me the same problems, the message would popup then go away and the pages could be turned, so not in suspend mode.
I changed the "timeout = 1" to timeout=0 and it works with just a screen refresh and then it is in suspend mode. Don't need a temporary message anyway. Luck; Ken PS; I am really liking this "no message" version of suspend. You could call it "Locking the screen" as you have the whole page display that isn't effected by any touching of the screen. Also, it is really fast, you just get a screen refresh and your screen is locked. The same coming out of suspend. It's just a quick flick of the slide switch. Last edited by Ken Maltby; 10-02-2013 at 09:50 AM. |
![]() |
![]() |
![]() |
#609 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 35064
Join Date: Jan 2012
Location: Hungary
Device: Kindle Paperwhite 2013, Kobo Mini, iPad Mini
|
|
![]() |
![]() |
![]() |
#610 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
Quote:
|
|
![]() |
![]() |
![]() |
#611 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
|
![]() |
![]() |
![]() |
#612 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
I am having problems with the landscape function on my Mini with build 545 (my firmware is 2.6.1): first of all, while reading in landscape mode, every now and then the device just reboots (it seems totally random); secondly, trying to put the book back in portrait mode from inside Koreader also triggers a reboot.
Also, I thought the dictionary function was working, but I cannot use it: I can select a word (indeed, whole lines and groups of lines), but nothing happens. |
![]() |
![]() |
![]() |
#613 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 35064
Join Date: Jan 2012
Location: Hungary
Device: Kindle Paperwhite 2013, Kobo Mini, iPad Mini
|
Hmm, I've experienced a weird problem. I have a clean install of KoboLauncher and Koreader on my Mini. Everything works fine except one thing: 'Library/Books' menu automatically starts Koreader. It's not a problem for me (I'm not using the native KEPUB or EPUB reader at all), but would be an issue for others.
|
![]() |
![]() |
![]() |
#614 | |
Time Waster
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#615 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 415
Karma: 469928
Join Date: Feb 2012
Device: Kobo Clara BW, Moaan Inkpalm 5.
|
Giorgio, here is a list of things that I consider would make koreader perfect:
A battery icon. Being able to set a timeout to suspend. More control of margins. It is already great, and very stable, many thanks for all the effort that you have put into it. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1289 | 04-07-2025 10:18 AM |
Touch Using two Kobos | tkavan | Kobo Reader | 4 | 06-23-2017 02:47 AM |
2 kobos at once | tsarinaerika | Kobo Reader | 14 | 06-03-2013 04:13 AM |
Syncing between two Kobos | fx3000se | Kobo Reader | 4 | 01-24-2013 02:10 PM |
2 kobos 1 account | retired05 | Kobo Reader | 9 | 05-05-2012 08:25 AM |