-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect order of extracted highlights #8601
Comments
I guess the bookmark No 2 was added first on this page? (Check time) |
The highlights were made in the order they appear on the page (as they are numbered in the first screenshot). |
Can you share a metadata.*.lua file of this book (it is in the .sdr folder that is near the book). |
It's 1.26 MB and it seems difficult to be uploaded... :-) |
The limit should be something like 10 MB. Maybe if you zip it? |
There are no bookmarks in that file. |
Excuse me, my false. Wrong file. By the way, have a blessed year with good health! |
Thank you for the file. I see that the bookmarks of page 261 are in good order. It seems that the issue occurs in the Exporter plugin that tries to finally sort the list to be exported koreader/plugins/exporter.koplugin/clip.lua Line 286 in 6c9e222
taking into account page numbers only. When page numbers of several elements are the same, we cannot get the correct order of the bookmarks of this page. I'm now working on fixing the bookmark module to get bookmarks of one page correctly sorted depending on their position in the text (now they are sorted in order of adding). |
For some reason, after having installed the last nightly versions (v2021.12.1-29 and v2021.12.1-41), highlights are not extracted from the book given above as example. The process takes place, but I cannot find the file in the clipboard folder. This problem doesn't exist for other pdf files. Any idea? |
@NiLuJe mentioned a conversion might still be missing in current nightlies or something? |
That was an opds server added to the default list, IIRC, nothing to do with this ;). |
Fixed by #8616. |
@hius07 , @Frenzie , @poire-z |
Issue
Some times the extracted highlights don't follow the order of the highlights in the book. You can see this in the following screenshots. (Sorry that they are from a Greek book).
The text was updated successfully, but these errors were encountered: