Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2021, 06:24 PM   #1
strangelove42
Member
strangelove42 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2021
Device: Kobo Clara HD
What is causing highlighting issues?

I'm using the Kobo Clara HD. I've had two ebooks that produce the same visual bug when highlight text at the end of certain paragraphs. The highlighting remains in the annotations list but the visual highlighting disappears. I tried to edit the first ebook as it seems to happen at coded page breaks. I tried to get rid of everything related to page breaks but the problem still persisted. Now I've run into the problem on a second ebook and there are no visible css for page breaks or anything else that seems to distinguish the end of a problem paragraph to a normal one.

Are there any common ways to deal with an issue like this?
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2021-09-29 at 3.14.50 PM.png
Views:	178
Size:	350.2 KB
ID:	189445   Click image for larger version

Name:	Screen Shot 2021-09-29 at 3.16.44 PM.png
Views:	170
Size:	91.7 KB
ID:	189446   Click image for larger version

Name:	Screen Shot 2021-09-29 at 3.19.59 PM.png
Views:	172
Size:	141.7 KB
ID:	189447   Click image for larger version

Name:	Screen Shot 2021-09-29 at 3.20.12 PM.png
Views:	166
Size:	46.5 KB
ID:	189448  
strangelove42 is offline   Reply With Quote
Old 09-29-2021, 09:22 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are talking about highlighting on the Kobo or in calibre's viewer?
kovidgoyal is online now   Reply With Quote
Advert
Old 09-29-2021, 09:49 PM   #3
strangelove42
Member
strangelove42 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2021
Device: Kobo Clara HD
On the Kobo
strangelove42 is offline   Reply With Quote
Old 10-01-2021, 01:34 AM   #4
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
Are you adding these as epub or kepub? If the latter, how are you doing it. If you manage to get the books on the device as kepubs but do not get the spans that Kobo requires added, you would get the behaviour you are describing.

Looking at the code, I don't see anything obvious that would cause problems. The self-closing span is not something I can think of having seen, so I'm not sure how it would affect things. I don't think any of the CSS will affect it.

Are the books anywhere we can look at them? If they are legally downloadable somewhere, I can have a look. Or you can use the ScambleBook plugin to produce a version you can safely upload here for others to test with.
davidfor is offline   Reply With Quote
Old 10-01-2021, 08:46 PM   #5
strangelove42
Member
strangelove42 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2021
Device: Kobo Clara HD
I've been encountering this problem on epubs.

Here is one of the ebooks scrambled.
Attached Files
File Type: epub screbook.epub (2.78 MB, 133 views)
strangelove42 is offline   Reply With Quote
Advert
Old 10-01-2021, 09:00 PM   #6
strangelove42
Member
strangelove42 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2021
Device: Kobo Clara HD
If it helps, I'll point out a few parts where the problem appears. When I try to highlight the end of the previous paragraph at these points, the annotation is created but the visual highlighting disappears.

Text File: Mang_9780307364197_epub_c01_r1

Line 18
Line 36
Line 44
strangelove42 is offline   Reply With Quote
Old 10-02-2021, 02:01 AM   #7
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
That does help, but, as much help was when I did some highlighting last night while reading and remembered a known bug.

Line 18 in that file is the second paragraph. When I read the book, this paragraph went over the page break. And there is a long standing bug in the firmware with annotations that include the last word in a paragraph that goes over page break. If you try to long-press on that word, it won't select or show the dictionary, it will turn the page or show the menu bars depending on where the word is on the screen. If you start selecting from earlier in the paragraph up until the end of the paragraph, the highlight menu will be shown and save, but not shown in the book. If you change the settings (font size, line spacing or margins) so that the paragraph is on one page, the highlight will be shown properly.

It is a little more complicated by exactly what is at the end of the paragraph. If there is only a single punctuation mark, you will see this problem. If there a multiple, usually a full-stop and a quote, the selection works properly.

This bug only affects epubs. And it is a long-standing bug. Kobo should know about it, but, I always recommend reporting them so that they know people are concerned about them.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with highlighting in the Calibre viewer vendetta Viewer 16 10-22-2023 07:22 PM
Are there keyboard shortcuts for highlighting & de-highlighting davidhcje Viewer 10 04-17-2021 09:26 AM
dc:language causing issues opening certain ePUBS on android mightymouse2045 Calibre 7 11-21-2013 06:14 AM
iPhone AllThingsD: Apple Confirms iOS 5 Bugs Causing Battery Issues for Some iPhones kjk Apple Devices 2 11-03-2011 01:37 AM
Troubleshooting Highlighting causing crashes caleb72 Amazon Kindle 10 02-02-2011 03:10 AM


All times are GMT -4. The time now is 01:17 PM.


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