View Single Post
Old 04-26-2021, 09:19 AM   #13
JLB14
Enthusiast
JLB14 ought to be getting tired of karma fortunes by now.JLB14 ought to be getting tired of karma fortunes by now.JLB14 ought to be getting tired of karma fortunes by now.JLB14 ought to be getting tired of karma fortunes by now.JLB14 ought to be getting tired of karma fortunes by now.JLB14 ought to be getting tired of karma fortunes by now.JLB14 ought to be getting tired of karma fortunes by now.JLB14 ought to be getting tired of karma fortunes by now.JLB14 ought to be getting tired of karma fortunes by now.JLB14 ought to be getting tired of karma fortunes by now.JLB14 ought to be getting tired of karma fortunes by now.
 
Posts: 45
Karma: 983236
Join Date: Aug 2016
Location: Caen, France
Device: Kobo Sage
Quote:
Originally Posted by davidfor View Post
When you change the font and other settings, the change is stored in two places. One is in the database and will be used for that book whenever you open it. The other is in the config file and will be used for the next book that you open that does not have saved font settings.

What happens if:
  • You close and reopen the book without powering off.
  • Close and open a new book with similar stylesheet.
  • Close the book, open another book and close that and then open this book.
  • Close the book, power off the device and then power it on and open the book.
  • You change all three settings even if you change them back to the original values.

For all the above, it should use the changed settings. The behaviour you are seeing is suggesting that the changes are not being saved. Or not being saved properly.

Are there any other problems that are noticeable after the poweroff? Such as losing the reading position or books disappearing. The problem you describe could be related to a database corruption. There could be an issue with the database that is preventing the settings being saved for the book in the database. When this happens, when you reboot the device and the database is read, old data is read from the database leading to issues like you are seeing. If this is the case for you, it suggests you had previously set the line height for the book and it is using that rather than getting it from the config file.

You can test the database by connecting to a PC and using an SQLite database manager. These will have a tool to do it. Or, if you are a calibre user, my Kobo Utilities plugin has the function.
Thanks for your answer.
I've done what you suggested, let me give you the results, point by point :

1) Back to home, and reopen -> CSS OK.
Back to home, set as unread, reopen -> CSS OK.
2) Back to home, new book freshly transferred and never read, neither transferred before -> CSS OK.
3) Book 1, Book 2, Book 3, Book 2, Book 1 -> CSS OK for all.
4) After shutdown, same issue for all, but correct it for one, then all are OK (touching "deactivate alignment", for example).
5) After doing all the recommended changes, same problem after shutdown.

I thought too it was database related, so yesterday I logged out, rebuilding the database, and it changed nothing.

I've just checked the database integrity with Calibre, and it's perfectly fine.

Last edited by JLB14; 04-26-2021 at 09:21 AM.
JLB14 is offline   Reply With Quote