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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-13-2021, 12:22 AM   #1
vendetta
Junior Member
vendetta began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2021
Device: Calibre Ebook viewer on PC
Issues with highlighting in the Calibre viewer

I'm having issues with highlighting in the calibre viewer.

Most of them work fine however some of the highlights after closing and opening the book again do not appear in the text. However they are still present in the highlight viewer (both in the reader and the annotation browser). If I right click the highlight and select modify, sometimes the following error appears:
Traceback (most recent call last):
at IframeClient.handle_message (userscript:viewer.js:16690:21)
at IframeBoss.annotations_msg_received (userscript:viewer.js:27686:29)
at select_crw (userscript:viewer.js:18505:19)
TypeError: Failed to execute 'setStart' on 'Range': parameter 1 is not of type 'Node'.

Sometimes this error appears:
Error: Highlight text missing
The text associated with this highlight could not be found in the book. This can happen if the book was modified. This highlight will be automatically removed.

Moreover, when I click on some of the highlights it leads to other text in the book.

(Also this is my first post so any tips would be appreciated)
vendetta is offline   Reply With Quote
Old 09-13-2021, 12:25 AM   #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: 39,816
Karma: 17764952
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Make sure you are running an up to date version of calibre, and if you are still experiencing the issue open a bug report and attach an ebook file in which the issue reproduces alongwith a set of steps to reproduce the issue.
kovidgoyal is offline   Reply With Quote
Old 09-13-2021, 12:36 AM   #3
vendetta
Junior Member
vendetta began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2021
Device: Calibre Ebook viewer on PC
Could you please guide me on how to do that?
vendetta is offline   Reply With Quote
Old 09-13-2021, 12:37 AM   #4
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: 39,816
Karma: 17764952
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://calibre-ebook.com/bugs
kovidgoyal is offline   Reply With Quote
Old 09-17-2021, 06:20 AM   #5
nqk
Evangelist
nqk doesn't litternqk doesn't litter
 
Posts: 421
Karma: 182
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Dear Kovid,

I noticed now on two devices, one is Samsung Galaxy A51, "long tap" doesn't activate the Selection Bar (chrome), so highlights are impossible.

What do you suggest?

(it works fine with other websites)
nqk is offline   Reply With Quote
Old 09-17-2021, 07:09 AM   #6
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: 39,816
Karma: 17764952
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No idea, it works fine for me both in chrome on desktop and on android.
kovidgoyal is offline   Reply With Quote
Old 09-17-2021, 09:42 AM   #7
nqk
Evangelist
nqk doesn't litternqk doesn't litter
 
Posts: 421
Karma: 182
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Quote:
Originally Posted by kovidgoyal View Post
No idea, it works fine for me both in chrome on desktop and on android.
Yes. It does on most of my devices, only not these two phones. Weird.
nqk is offline   Reply With Quote
Old 09-17-2021, 10:29 AM   #8
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: 39,816
Karma: 17764952
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you can setup developer tools you might be ble to get some debug output in the console.
kovidgoyal is offline   Reply With Quote
Old 09-17-2021, 01:42 PM   #9
WHY
Enthusiast
WHY began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2021
Device: none
Quote:
Originally Posted by nqk View Post
Yes. It does on most of my devices, only not these two phones. Weird.
I have the same problems with my both Samsung phone and tablet.

https://www.mobileread.com/forums/sh...d.php?t=338540

My current workaround is using firefox mobile instead. I tried Chrome, Safari and many other browsers on my Samsung devices, highlighting does not work reliably with any of them. Only firefox does!. But on the ios device, there is no issue at all. Still don't know why...

Last edited by WHY; 09-18-2021 at 12:36 PM.
WHY is offline   Reply With Quote
Old 09-19-2021, 04:08 AM   #10
vendetta
Junior Member
vendetta began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2021
Device: Calibre Ebook viewer on PC
Hey Kovid
I reported the issue as a bug about 10 days ago. Any idea when I should be able to get a fix?

https://bugs.launchpad.net/calibre/+bug/1943517
vendetta is offline   Reply With Quote
Old 09-19-2021, 08:00 AM   #11
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: 39,816
Karma: 17764952
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
When I find the time to look at it.
kovidgoyal is offline   Reply With Quote
Old 09-20-2021, 12:07 AM   #12
nqk
Evangelist
nqk doesn't litternqk doesn't litter
 
Posts: 421
Karma: 182
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Quote:
Originally Posted by WHY View Post
I have the same problems with my both Samsung phone and tablet.

https://www.mobileread.com/forums/sh...d.php?t=338540

My current workaround is using firefox mobile instead. I tried Chrome, Safari and many other browsers on my Samsung devices, highlighting does not work reliably with any of them. Only firefox does!. But on the ios device, there is no issue at all. Still don't know why...
I can confirm this. The selection works on Firefox.

But I prefer Chrome because I add the Content Server link to Home Screen, and it works like an app, with full screen and no address bar. So far I don't know how to hide the Firefox address bar

Last edited by nqk; 09-20-2021 at 12:30 AM.
nqk is offline   Reply With Quote
Old 09-20-2021, 10:28 AM   #13
WHY
Enthusiast
WHY began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2021
Device: none
Quote:
Originally Posted by nqk View Post
I can confirm this. The selection works on Firefox.

But I prefer Chrome because I add the Content Server link to Home Screen, and it works like an app, with full screen and no address bar. So far I don't know how to hide the Firefox address bar
You could enable the full screen from the menu of the viewer

Last edited by WHY; 09-20-2021 at 10:41 AM.
WHY is offline   Reply With Quote
Old 09-20-2021, 12:44 PM   #14
nqk
Evangelist
nqk doesn't litternqk doesn't litter
 
Posts: 421
Karma: 182
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Quote:
Originally Posted by WHY View Post
You could enable the full screen from the menu of the viewer
I know that. You have to do that every time you resume reading. With Chrome, the experience is much better.
nqk 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
Highlighting text in Viewer :OnceAgain: The_Ad Viewer 2 07-18-2020 10:42 AM
Calibre/macos 4.5 issues with ebook-viewer anywho Calibre 6 12-04-2019 12:22 PM
E-book viewer issues after 3.16 ozron Calibre 9 04-05-2018 06:34 AM
A couple issues with the Viewer dan2the6th Calibre 5 06-19-2015 11:10 AM
Weird formatting issues - Sigil .epub in Calibre viewer december Sigil 9 06-18-2010 04:04 PM


All times are GMT -4. The time now is 04:33 AM.


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