Skip to content

Tooltips not working anymore? #2391

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

Open
kalekje opened this issue Mar 4, 2022 · 4 comments
Open

Tooltips not working anymore? #2391

kalekje opened this issue Mar 4, 2022 · 4 comments

Comments

@kalekje
Copy link

kalekje commented Mar 4, 2022

On an older version of Sumatra, I had no issues with tooltips (plain text). With the new version (or with beta), I am not seeing them.

See the last page of this document for examples: https://muug.ca/mirror/ctan/macros/latex/contrib/pdfcomment/doc/example.pdf

@GitHubRulesOK
Copy link
Collaborator

There are a few annotations in that sample that are not "normal" for example the highlight that straddles two pages since annotation should be confined to one page at a time, although hyperlinks will be in one pointing to another page.

However the latex use of tooltips is another offbeat application and reported already in #2083 thus closing as a duplicate extension of that issue

@kjk kjk reopened this Mar 5, 2022
@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Mar 31, 2023

I dont see an issue in pre-release with normal annotation tooltips that are listed as standard annotations, these are classed like AcroForm fields so highlight as pale blue
image

The issue here are the latex less common ones which are NOT listed in Tracker as annotations.
image
image
image

@tobidelbruck
Copy link

Yes, 3.4.6 still has broken tooltip popups. See e.g. https://www.overleaf.com/read/fyvbnxpwwjss where the overleaf PDF built in viewer shows them, and so does Adobe Acrobat Reader and Acrobat DC.
You need to revert back to SumatraPDF 3.0 to get them to work again.
Apparently it is a regression in the underlying PDF engine that Sumatra uses that I could not figure out how to patch with my limited coding skills. See #2083 for details.

@GitHubRulesOK
Copy link
Collaborator

Overleaf has them defined by repetition
image
we can see there are 8 of those
image

Looking at PDF we see there are 8 entries of this format

8 0 obj
<</BS<</W 0>>/C[]/F 768/FT/Btn/Ff 65536/H/N/Rect[410.476 654.247 427.22 662.416]/Subtype/Widget/T(tooltip zref@0)/TU(Optical Flow)/Type/Annot/AP<</N 28 0 R/D 29 0 R>>>>
endobj

the point to note is these are tagged /Btn widget which MuPDF seems to have stated they did but do not / wont support as per #1914 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants