Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 10-02-2017, 03:14 PM   #2851
Alan_S
Addict
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 284
Karma: 1012866
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Sony PRS650, Kobo Aura H2O
For me, it takes some time to start, but it is always related to time to open book (as I use in option to open last read book).

So, sometimes it can be relatively long time (but not as long as a minute, or at least I didn't read book that will take so much time to open), sometimes is much faster. I would say, between 5-20 seconds. On average of course, as I said, it depends on a current book.

But, I also must say, I'm not on last nightly (but relatively close to it, maybe 2-3 weeks behind) so there may be something changed in that regard.

Maybe try to open last read book if you don't use that option? This may speed things up. Or, maybe even slow it down considerably.
Alan_S is offline   Reply With Quote
Advert
Old 10-02-2017, 04:55 PM   #2852
Frenzie
Addict
Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.
 
Posts: 305
Karma: 106200
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
Originally Posted by gerhaher View Post
Before (with the latest release from 20170821):
KOReader started immediately. The first time I searched in the dictionary took almost a minute (I have three dictionaries installed).

After:
Now it is the opposite: KOReader takes almost a minute to start. First search in dictionary takes no time at all.
If I delete the dictionaries, KOReader starts as before.
Neither of those scenarios sound normal to me. I dropped a quick note in https://github.com/koreader/koreader...ment-333645475

What Alan_S says is very true of course, though I'd say most books load in under ten seconds for me.

First search in dictionary could be slightly slower, but I doubt some caching could make the difference between a couple of seconds and 20+ seconds.

Edit: copying reply for convenience
Quote:
Originally Posted by poire-z
I don't know.
This change will indeed have the dictionary directory browsed on startup, just to read the .ifo files in there.
sdcv would do the same on each call.

It could have that effect if the dict directory on this user's device was "hard" to physicaly read on the sdcard: first time walking the directory hierarchy + reading the ifo could take some time - but once it's done, it's cached in RAM and the following attempts at that (by sdcv or by a restart of koreader) would have a reason to be fast.

The user could check if it's still the same after a koreader restart (without a reboot).
(Or there could be a really bad and huge .ifo, but that would mean not only the first search in dictionary with old version would take a minute, they would all do).
I can't think of anything else.

Last edited by Frenzie; 10-02-2017 at 05:14 PM. Reason: added reply
Frenzie is offline   Reply With Quote
Old 10-03-2017, 04:15 AM   #2853
gerhaher
Enthusiast
gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.
 
Posts: 27
Karma: 111666
Join Date: Oct 2014
Device: Kobo Aura, Kobo Aura One
I'm a KOReader user for 9 months or so and the slow first search has always been there.

The size of my 3 dictionaries are 482 MB altogether. Is that unusually large? If so, maybe I should reconsider my dictionary choice...

And to correct myself: the first search/startup takes 45 seconds.

However, poire-z confirmed what I suspected: now the dictionary browse on startup.

Last edited by gerhaher; 10-03-2017 at 04:54 AM.
gerhaher is offline   Reply With Quote
Old 10-03-2017, 10:14 AM   #2854
Frenzie
Addict
Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.
 
Posts: 305
Karma: 106200
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
It's probably more about the .ifo files than the size of the dictionary in total, but I suppose their size is highly correlated.

I don't know what's usual among users as we don't collect statistics or anything, but I would imagine that is indeed unusually large. The biggest dictionaries I can think of from the top of my head are the GNU Collaborative Dictionary and XML Littré, which top out at a little over 30 MB iirc.
Frenzie is offline   Reply With Quote
Old 10-03-2017, 10:42 AM   #2855
gerhaher
Enthusiast
gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.gerhaher knows the difference between a duck.
 
Posts: 27
Karma: 111666
Join Date: Oct 2014
Device: Kobo Aura, Kobo Aura One
Quote:
Originally Posted by Frenzie View Post
It's probably more about the .ifo files than the size of the dictionary in total, but I suppose their size is highly correlated.
I tried with a 36MB dictionary and it took only 5-6 seconds. So yes, there is a correlation.

Last edited by gerhaher; 10-03-2017 at 11:04 AM.
gerhaher is offline   Reply With Quote
Old 10-03-2017, 11:12 AM   #2856
Frenzie
Addict
Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.
 
Posts: 305
Karma: 106200
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I meant a correlation between the size of the ifo files and the size of the dictionary, but I just realized I confused them with the idx files. The ifos are minuscule and should take milliseconds. There really is something quite odd going on in your case.

Edit: also, 5-6 seconds is not "only" but an eternity all by itself.
Frenzie is offline   Reply With Quote
Old 10-09-2017, 02:44 PM   #2857
ebrahimpak
Zealot
ebrahimpak began at the beginning.
 
Posts: 102
Karma: 10
Join Date: Jul 2011
Location: Gētīg
Device: Kobo Aura HD / Kobo Aura ONE
Hi everybody,

When I highlight the texts in any PDF, the highlighted text is kind of too dark, to the extent that reading the lightened text gives the impression of reading a darkened one! Is there a method for lessening the hue of highlights?

Thanks for taking the time,
Abe

Last edited by ebrahimpak; 10-09-2017 at 03:28 PM.
ebrahimpak is offline   Reply With Quote
Old 10-11-2017, 03:24 PM   #2858
Frenzie
Addict
Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.
 
Posts: 305
Karma: 106200
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
It seems to be hard-coded around here: https://github.com/koreader/koreader...ew.lua#L36-L39

But note that you can also choose other highlight options in the "Highlighting" menu (under the second icon from the left).
Frenzie is offline   Reply With Quote
Old 10-11-2017, 05:00 PM   #2859
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,109
Karma: 6220224
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite (retired), AuraHD, PDA,
OT:
That makes me wonder, I seem to remember Coolreader having a selection of background color "papers" that you could have under the text. Now that there is color rendering for Android versions, I wonder if the CR3 engine also supports that?

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 10-12-2017, 09:26 AM   #2860
ebrahimpak
Zealot
ebrahimpak began at the beginning.
 
Posts: 102
Karma: 10
Join Date: Jul 2011
Location: Gētīg
Device: Kobo Aura HD / Kobo Aura ONE
Thanks to Frenzie and Ken. I still have problem with the dark hue of highlighted texts. The code is too lengthy to inspect, so I have to underline them all until someone provides more option on the 'darkenss' intensity to be reduced.
ebrahimpak is offline   Reply With Quote
Old 10-12-2017, 06:27 PM   #2861
Frenzie
Addict
Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.
 
Posts: 305
Karma: 106200
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Too lengthy to inspect? But I linked straight to the line that you can change to 0.1, 0.05, etc.!

Could you describe the problem in a little more detail though? I'm not sure I quite understand it.
Frenzie is offline   Reply With Quote
Old 10-13-2017, 05:36 AM   #2862
ebrahimpak
Zealot
ebrahimpak began at the beginning.
 
Posts: 102
Karma: 10
Join Date: Jul 2011
Location: Gētīg
Device: Kobo Aura HD / Kobo Aura ONE
Quote:
Originally Posted by Frenzie View Post
Too lengthy to inspect? But I linked straight to the line that you can change to 0.1, 0.05, etc.!

Could you describe the problem in a little more detail though? I'm not sure I quite understand it.
The problem is that the highlighting color is very dark, and it's contrast to the text which is embedded within is not too much, hence reading the highlighted text would be difficult.
ebrahimpak is offline   Reply With Quote
Old 10-13-2017, 10:24 AM   #2863
Frenzie
Addict
Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.
 
Posts: 305
Karma: 106200
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I guess I would personally set the highlighting color a touch lighter but it doesn't seem problematic to me the way it is. :-)

If you could play around a little with the value we can see if there's a good solution.
Frenzie is offline   Reply With Quote
Old 10-13-2017, 12:18 PM   #2864
ebrahimpak
Zealot
ebrahimpak began at the beginning.
 
Posts: 102
Karma: 10
Join Date: Jul 2011
Location: Gētīg
Device: Kobo Aura HD / Kobo Aura ONE
Quote:
Originally Posted by Frenzie View Post
I guess I would personally set the highlighting color a touch lighter but it doesn't seem problematic to me the way it is. :-)

If you could play around a little with the value we can see if there's a good solution.
Thanks dear Frenzie! You saved the day. By changing the "lighten_factor" into "1.17" I reached the normal highlight-level.
ebrahimpak is offline   Reply With Quote
Old 10-13-2017, 12:25 PM   #2865
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,109
Karma: 6220224
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite (retired), AuraHD, PDA,
Quote:
Originally Posted by ebrahimpak View Post
Thanks dear Frenzie! You saved the day. By changing the "lighten_factor" into "1.17" I reached the normal highlight-level.
I wonder if there might be, in part, an A1 issue here?
Ken Maltby is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Native KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1112 11-08-2017 07:07 AM
Touch Using two Kobos tkavan Kobo Reader 4 06-23-2017 03:47 AM
2 kobos at once tsarinaerika Kobo Reader 14 06-03-2013 05:13 AM
Syncing between two Kobos fx3000se Kobo Reader 4 01-24-2013 03:10 PM
2 kobos 1 account retired05 Kobo Reader 9 05-05-2012 09:25 AM


All times are GMT -4. The time now is 12:15 AM.


MobileRead.com is a privately owned, operated and funded community.