KoHighlights: Highlight notes not getting synced
Symptom
Some highlights’ notes don’t get synced.
- ver: 2.3.0.0
- platform: windows 10
I think this is what happened
- Create a highlight with no note on device A.
- Sync highlights between device A and B. The highlight is copied to B. These copies have the same
datetime. - Add add a note on the highlight on device A (or B, doesn’t matter). Apparently this does NOT update the
datetime. - Sync highlights again. KoHighlights sees they have the same
datetimeand thus doesn’t try to sync the note.
I checked the code and I see it chooses to not sync as long as the highlights have the same datetime.
Suggestion
Even if two highlights have the same datetime, I want KoHighlights to check the notes and if one of them is empty the non-empty note should be copied. If both have notes then… maybe show a popup window and let the user resolve the conflict.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 38 (29 by maintainers)
Thanks. I just tested and it seems to be working correctly.
If I manage to build one tomorrow (I’m having some strange scripting problems ATM), I’ll upload it here…
Thanks a lot. No KOReader release yet since
datetime_updatedgot added so I’ll build the master and tryCreated a issue here: https://github.com/koreader/koreader/issues/12957
Yes. The set of source
texts (str) and the set of targettexts, specifically.That’d be nice. Or I could do it, too.