Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-25-2021, 11:12 AM   #1
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
CSS not correctly applied after shutdown and reopening

⚠️[Problem solved thanks to Semwize]⚠️

Hi guys,

When I shutdown my Kobo Forma, start it again, and reopen the .epub I was reading, line-height property adjusted by the slider isn't properly applied (see by yourselves, two attached pictures showing what happens).

I don't find any long-term solution, considering I already removed any line-height property of the book by conversion (double-checked the book stylesheet, no line-height property remaining).
I did find a temporary solution, which is touching anything on the Kobo slider, forcing the epub reader to refresh, and everything is back to normal (until next shutdown).

Did I miss something ? Thanks for any help.
Attached Thumbnails
Click image for larger version

Name:	20210425_170714_resize_97.jpg
Views:	186
Size:	262.1 KB
ID:	186770   Click image for larger version

Name:	20210425_170921_resize_40.jpg
Views:	184
Size:	271.9 KB
ID:	186771  

Last edited by JLB14; 04-27-2021 at 07:05 PM.
JLB14 is offline   Reply With Quote
Old 04-25-2021, 11:16 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Why are you shutting down your Forma?
JSWolf is online now   Reply With Quote
Advert
Old 04-25-2021, 11:20 AM   #3
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 JSWolf View Post
Why are you shutting down your Forma?
Less energy allegedly consumed (despite not supposed to, my Aura One, even in flight mode, tended to drain very quickly in sleep mode, and shutting it down after reading sessions solved that issue).
I assumed it'd be the same with the Forma.
JLB14 is offline   Reply With Quote
Old 04-25-2021, 12:16 PM   #4
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 13,465
Karma: 239219453
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by JLB14 View Post
Less energy allegedly consumed (despite not supposed to, my Aura One, even in flight mode, tended to drain very quickly in sleep mode, and shutting it down after reading sessions solved that issue).
I assumed it'd be the same with the Forma.
Not an issue with my Libra, so try just putting your Forma to sleep for a while and see what happens.
Sirtel is online now   Reply With Quote
Old 04-25-2021, 12:21 PM   #5
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 Sirtel View Post
Not an issue with my Libra, so try just putting your Forma to sleep for a while and see what happens.
I'll surely do that, thanks for the advice.
Otherwise, no idea why the Kobo config file (and inherent line-height value) isn't properly applied, for line-height only, when opening an epub ?
JLB14 is offline   Reply With Quote
Advert
Old 04-25-2021, 12:24 PM   #6
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,505
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Just curious as to whether or not you have any patches or modifications to the Kobo firmware installed?
PeterT is offline   Reply With Quote
Old 04-25-2021, 12:25 PM   #7
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 PeterT View Post
Just curious as to whether or not you have any patches or modifications to the Kobo firmware installed?
I do indeed, last firmware and patched
JLB14 is offline   Reply With Quote
Old 04-25-2021, 12:55 PM   #8
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,505
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Sigh. So what patches ARE installed? For all we know it might be an issue with one of the patches?
PeterT is offline   Reply With Quote
Old 04-25-2021, 02:01 PM   #9
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 PeterT View Post
Sigh. So what patches ARE installed? For all we know it might be an issue with one of the patches?
Sigh. You didn't ask for it in your previous message.
By the way, I did check my enabled / disabled patches too, before posting, and I didn't see anything irregular.
Nonetheless, I gladly post my patches' list (please see the two attached files).
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2021-04-25-19-49-28 (2).png
Views:	154
Size:	175.5 KB
ID:	186782   Click image for larger version

Name:	Screenshot_2021-04-25-19-49-48 (2).png
Views:	138
Size:	162.1 KB
ID:	186783  
JLB14 is offline   Reply With Quote
Old 04-25-2021, 05:31 PM   #10
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,505
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I've no interest in applying patches. I'd suggest you unpatch and test again
PeterT is offline   Reply With Quote
Old 04-25-2021, 05:52 PM   #11
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
@JLB14

Try changing the font and testing again. This could be due to the line-height of the font.
Semwize is offline   Reply With Quote
Old 04-26-2021, 01:43 AM   #12
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 JLB14 View Post
Hi guys,

When I shutdown my Kobo Forma, start it again, and reopen the .epub I was reading, line-height property adjusted by the slider isn't properly applied (see by yourselves, two attached pictures showing what happens).

I don't find any long-term solution, considering I already removed any line-height property of the book by conversion (double-checked the book stylesheet, no line-height property remaining).
I did find a temporary solution, which is touching anything on the Kobo slider, forcing the epub reader to refresh, and everything is back to normal (until next shutdown).
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.
davidfor is offline   Reply With Quote
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
Old 04-26-2021, 11:05 AM   #14
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The suggestion is to do what everyone else does and don't shutdown. Put your Forma to sleep. I never shut down my H2O. I just put it to sleep when I am done using it. I've had my H2O for 6 years 5 months.
JSWolf is online now   Reply With Quote
Old 04-26-2021, 11:15 AM   #15
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 JSWolf View Post
The suggestion is to do what everyone else does and don't shutdown. Put your Forma to sleep. I never shut down my H2O. I just put it to sleep when I am done using it. I've had my H2O for 6 years 5 months.
I will change my old habits, and proceed like that (as previously mentioned, Aura One had issues with sleep mode, that's why I did that, "just in case").
JLB14 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reopening CC loses position, and reader app doesn't reopen at current position iatheia Calibre Companion 9 11-13-2015 08:20 PM
Free (nook/Kindle/Kobo/iTunes) Grand Reopening of Dandelion Café [Chick-Lit Business] ATDrake Deals and Resources (No Self-Promotion or Affiliate Links) 0 11-02-2015 06:49 AM
Font from extra-css is not looked-up correctly iliakan Conversion 1 01-11-2015 07:59 AM
CSS not applying correctly in E-Book Viewer. therealdrag0 Calibre 6 10-20-2011 11:19 AM
Inline css not handled correctly by HTML to epub? kiwidude Conversion 7 04-04-2011 09:59 AM


All times are GMT -4. The time now is 05:42 AM.


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