@@ -28,6 +28,75 @@ Kpdfsync
2828 ByteOrderMarkTypes enum. It is now separe in
2929 ByteOrderMark file.
3030# BUGS:
31+ [X] (GitHub Issue #9)
32+ Book: Steve Jobs (MOBI)
33+ Highlights and notes are not getting automatically mapped
34+
35+ On some pages, getting the yellow exclamation point,
36+ indicating that there are nore notes than highlight.
37+ However that is not the case in the Clippings file.
38+
39+ Cause:
40+ HighlightNotePairManager.pairAutomatic() loops though each PageResource
41+ and calls pairAutomatic on it. This loop stops at the 1st error, so if
42+ a pairAutomatic call fails, all subsequent page resources are not paired
43+ automatically.
44+ This came to light due to the below `#8` bug. Because that exception
45+ is thrown before, no page resource after that is paired automatically.
46+
47+ Solution:
48+ 1. Do not break the loop on exception. Skip the page resource which
49+ cannot be mapped and go to the next. The message box with the error
50+ will not appear at that point, but the `Bug` icon will be there.
51+
52+ 2. Have a method in PageResource to dry run automatic pairing, if
53+ this function returns false, skep it.
54+
55+ [ ] (GitHub Issue #8)
56+ Book: Steve Jobs (MOBI)
57+ Invalid. There are more notes than highlights
58+
59+ Invalid. There are more notes than highlights is wrongly
60+ reported even when there is no issue in the Clippings.txt
61+ file.
62+
63+ Cause:
64+ On multi page highlights, there are two location numbers in
65+ the clippings file. If there is also a note associated with
66+ the highlight, it however has only one page in the clippings
67+ file.
68+ Say the highlights are on page 1107-1108 and the note is on
69+ 1108. Kpdfsync will parse and read the 1st location number
70+ of the highlight and the only location number of the note.
71+ Which means, highlight location will be 1107 and note
72+ locaiton will be 1108. Thus the error - A single note in a
73+ page.
74+
75+ Note that, if there was one highligh in 1108-1108 page, then
76+ the user will see no error message, but 1108 will have note
77+ whose assiciated highlight is in page 1107. See solution.
78+
79+ [Kindle does not do multipage highlights on PDF files, so this
80+ issue not possible in PDF files]
81+
82+ Solution:
83+ 1. When double clicking on a highlight, allow notes from other
84+ pages to be associated with - in which case move the note to the
85+ page of the highlight.
86+
87+ 2. When clicking a page which more notes than highlights, we get
88+ an error. After the error, show the NotesHighlights Map dialog and
89+ which will show the notes in the page, then allow selected notes
90+ to be moved to a different page.
91+
92+ Both this options will move the note to a different page and this
93+ solving the error. Option 1 starts which the highlight, option 2
94+ starts from the note, thats all the difference. In both cases the
95+ user need to know the page of the offending note or the correct
96+ page where the associated highlight resides.
97+ I prefer the 1st option, because it is easy to know the page of the
98+ offending note.
99+
31100[ ] The string matching algo is too simple, and gives wrong match
32101 percentage, if the strings being compared differ in the number
33102 of non-whitespace characters. The two indexes get out of sync
@@ -277,4 +346,8 @@ java.io.EOFException
277346
278347 Solution:
279348 Modifed pdfclown to treat 'name' and 'post' tables as optional. It is
280- released with kpdfsync 0.8.2-alpha.
349+ released with kpdfsync 0.9.0-alpha.
350+
351+ [ ] Book: Rust Programming Language (Duplicate issue)
352+ Highlight is not visible on the output PDF file. The 'Annotations' list shows that the
353+ highlights and comments exits (comments contents match) but are not visible.
0 commit comments