Created attachment 121648 [details] I can't click on the reference if I mark it with Okular tool SUMMARY I have a PDF file that has many references (urls and pages) but if I mark that reference with a color/line I can not click on the reference STEPS TO REPRODUCE 1. Click on a reference 2. Mark the sentence that contains the reference OBSERVED RESULT Can not click on the reference EXPECTED RESULT The reference should be clickable SOFTWARE/OS VERSIONS Linux/KDE Plasma: Manjaro KDE 4.19-59-1 KDE Plasma Version: 5.16.3 KDE Frameworks Version: 5.60.0 Qt Version: 5.13.0 ADDITIONAL INFORMATION
Does right click help?
(In reply to Albert Astals Cid from comment #1) > Does right click help? Right click opens the highlighter context menu. It would be great if it opens the link context menu.
The context menu should mention both the link and the higlighter. Can you please add the file you're having trouble with?
Created attachment 122050 [details] test PDF file with highlights Text in file contains references and links. If I highlight a reference, it can't be clicked.
Created attachment 122051 [details] Text without highlighter You can see a context menu that allows you to follow the link
Created attachment 122052 [details] After applying a highlighter If you highlight a reference, then it can be accessed in the context menu.
(In reply to Albert Astals Cid from comment #3) > The context menu should mention both the link and the higlighter. > > Can you please add the file you're having trouble with? Done. I also upload two screenshots. The one before applying the highlighter and the other after highlight was applied. Thanks
I got mistaken, we're not doing what I said we do. We need to merge the handling of rightclick in mousePressEvent and mouseReleaseEvent. I have the feeling there's some code around that was trynig to do that? Anyone remembers?