View Single Post
Old 11-17-2019, 01:33 AM   #672
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 Philantrop View Post
Thanks, David, this beta works fine here with Calibre 4.3.0 using a Kindle. If I edit fetched annotations in Calibre and re-fetch from the ebook, the edited annotations are indeed lost.

I'm wondering, though, if such a usecase is really important enough to warrant much effort: I for one take my notes, highlight stuff, etc. while reading a book. Once I'm finished with the entire book, I fetch the annotations and edit them. I never re-fetch from the Kindle and, thus, wouldn't be bothered if the annotations in Calibre were overwritten.If I really cared, I guess I'd just have two custom columns - one for the "raw" un-edited annotations and one for the edited version.
I certainly could be "special" in that, though. ;-)

Or you could issue a warning (with an option to cancel the operation) if there are existing annotations before overwriting them. Like that, people could "evacuate" their annotations and merge them manually and you'd have all the time in the world to find a good solution.
There is a fair amount of code in the plugin attempting to merge the annotations fetched at different times and from different devices. The intention of the plugins original author was that it would allow collecting and storing annotations in one place. With that, being able to edit them, either to remove an annotation, or change the comment is desirable. The current editor is terrible for this.

Having said that, I have considered an option to replace the annotations. My main use of annotations is to mark errors, or something to look up later. I don't tend to keep them at all. An option to replace rather than merge would work for me.

Another way would be to add the annotations to the end of the existing text if what is there cannot be identified. This is what is done if the comments column is used. If the annotations are edited, it could mean they get repeated.

The last option is to not update the annotations if there is any question about merging them. Or prompt for what to do, either individually or as list after the first pass of updating. This is probably the most work.
davidfor is offline   Reply With Quote