Unable to highlight PDF across pages
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 45k
- Forks
- 2.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 105
Description
### Search first
- [x] I searched and no similar issues were found
### What Happened?
When highlighting text cross page in a PDF file, it can't correctly show highlighted text as shown in the below image. In my case, it happened in all pdf file in both english and chinese every time. But "copy text" and "copy ref" fuctions and "annotation page" shows that it correctly highlighted text.
### Reproduce the Bug
1. drag a pdf file to a block (the bug shows up in all pdf file in my case.)
2. click the corresponding link to open the pdf page
3. use highlight mode to highlight text that across two pages
### Expected Behavior
show highlight on only the text I selected.
### Screenshots

### Desktop or Mobile Platform Information
App Version: 0.10.9
Git Revision: c67b8b5
Platform: Mozilla/5.0 (Windows NT 10.0 Win64 x64) AppleWebKit/537.36 (KHTML like Gecko) Logseq/0.10.9 Chrome/118.0.5993.159 Electron/27.1.3 Safari/537.36
Language: zh-CN
Plugins: logseq-awesome-styler (v3.7.1), logseq-bullet-threading (v1.1.4), logseq-catppuccin (v0.6.3)
### Additional Context
It happened on all pdf files, i don't know whether it will happened on others' computer, but it do happen every time on mine.
### Are you willing to submit a PR? If you know how to fix the bug.
- [ ] I'm willing to submit a PR (Thank you!)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Logseq 0.10.9 on Windows by dragging a PDF into a block, opening its link, and highlighting text across two pages. Compare the highlight with the selected text and the working copy-text, copy-ref, and annotation-page behavior; done means only the selected text is highlighted consistently across PDF files.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100