SUMMARY Comments in PDF files created by latex/xelatex acro/pdfcomment do not display in Okular, although evince displays them. Such comments are useful to display acronyms. STEPS TO REPRODUCE 1. Write a TeX file using latex, acro, pdfcomment, that includes acronyms and pdfcomments. 2. Open it with okular. OBSERVED RESULT The acronym pdfcomment is not displayed when I hover the cursor over the acronym. The mouse cursor changes shape over acronyms, which implies that Okular identifies the string as an acronym. EXPECTED RESULT The acronym pdfcomment is displayed on hover over the acronym. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed (available in About System) KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0
Please provide a simple test file.
Created attachment 169257 [details] PDF file with 2 acronyms demonstrating the issue. The two acronyms are REST, SOAP.
Thank you! Please also attach the LaTeX source file.
Created attachment 169259 [details] LaTeX source
It's annoying, they are "fake buttons with tooltip". We could try to understand it and create fake areas that only show a tooltip and not the button (that shows if you press the show forms button in okular [no tooltip though])
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/1048
Git commit 07cde822a3aaba9070871bd64b93a76db478ae0d by Albert Astals Cid, on behalf of Antonio Gorga. Committed on 27/08/2024 at 23:12. Pushed by aacid into branch 'master'. Set the Form tooltip if there's one M +3 -0 part/formwidgets.cpp https://invent.kde.org/graphics/okular/-/commit/07cde822a3aaba9070871bd64b93a76db478ae0d
Git commit d4b9eb63e9bd59299c7b5f096970295dd62947b1 by Albert Astals Cid, on behalf of Antonio Gorga. Committed on 28/08/2024 at 06:48. Pushed by aacid into branch 'release/24.08'. Set the Form tooltip if there's one (cherry picked from commit 07cde822a3aaba9070871bd64b93a76db478ae0d) M +3 -0 part/formwidgets.cpp https://invent.kde.org/graphics/okular/-/commit/d4b9eb63e9bd59299c7b5f096970295dd62947b1