Closed nicolas-pi closed 1 year ago
I thought the bug was coming from Debian testing but it does not seem to be the case. On some epubs, the highlighting button is grayed out and on others, it works properly. The epubs I’ve tested where all converted using Calibre and I don’t get why some work and others not. With Calibre E-book viewer highlighting tool, I can highlight on both kind of epubs. Any hint welcome.
Annotation is currently disabled for EPUB and Kindle files that do not have unique identifiers.
Thanks for the info. So I guess I would have to add a unique identifier and it should solve the problem. Is there a way (option somewhere) to enable annotation even for files without unique identifiers?
I plan to generate identifiers for those files, similar to how FB2, comic book, or plain text files are handled now. But I never got to implement that, so no, currently there's no such option. See FAQ: https://github.com/johnfactotum/foliate/wiki#how-are-identifiers-generated
Thanks a lot. I will try to add unique identifiers by hand and hope you will implement the auto-generation for epub identifiers some time in the future… Thanks also for this great app.
Highlighting works great once the content.opf metadata tags are made a bit cleaner, with a unique identifier generated through the MD5 method (see link above : https://github.com/johnfactotum/foliate/wiki#how-are-identifiers-generated).
In the gtk4 branch, it now generates identifiers for all formats. (Well, it doesn't save the annotations yet, but that's a different issue...)
Foliate is great, thanks for all the good work.
Recent issue When I first installed Foliate a few months ago, the highlighting button was working fine. Since around one month, the button is grayed out and cannot be used. It’s a shame because it’s a really great feature.
Version
Screenshot