Thread: Kobo Bug thread
View Single Post
Old 06-19-2013, 11:16 PM   #151
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by patrik View Post
Hmm, I'm not sure really. When I do the highlight it may or may not cross a paragraph. What happens is that it all suddenly looks highlighted.
The problem I have seen is for sentences in the same paragraph. If the highlight covers part of the first or last sentence and any other in the same paragraph, I see what you described. Its a fault in how the kepub was generated and in how the reader app handles the highlighting.
Quote:
Are the annotations/highlights for a book kept in Kobos own database? Shouldn't it be clean uped if a book is deleted? It doesn't. If I delete the book and then add it again, all annotations (including the errornous highlighting) is still there.
Yes and no. Annotations are stored in the internal database. But, for epubs on the main memory, they are also written to a file. This file is read when the epub is opened and replaces whatever is in the database. I am pretty sure the database is cleaned up up when the book is deleted, but I haven't checked recently. The file is left behind, so putting an epub on again with exactly the same path will reuse it.
Quote:
Also, it seems that after I disabled the exended driver, removed the book, and then added it and sent it to the device, it still looks like "kepub" with the features only in kepub.
I see Peter got you sorted out on that one. I suspect he knew the answer from experience. I know I've fallen for it a few times.
Quote:
Where can I read up on how Kobos database works?
In far to many of my posts I've been playing with the database for a year or so as I updated the driver in calibre and wrote my utilities plugin. The code for both of those will give you some hints. There are a few notes in them, but not many. And as the posts show, I'm always willing to discuss it.
davidfor is offline   Reply With Quote