Widget annotations used as tooltip don't work
Submitted by Reuben Thomas
Created attachment 360926 Sample PDF with widget annotation
Widget annotations used as tooltips don't work in Evince.
The latest version I was able to try easily is 3.24, in Fedora 26.
I attach a sample PDF file. In Acrobat Reader, if I mouse over the word "popup", it pops up a tooltip saying "tooltip". In Evince, it doesn't seem to recognise anything is there (the mouse cursor does not change).
In ev-poppler.cc, there's some code that mentions this annotation type:
case POPPLER_ANNOT_LINK: case POPPLER_ANNOT_WIDGET: case POPPLER_ANNOT_MOVIE: /* Ignore link, widgets and movie annots since they are already handled */ break;
I am unclear what "already handled" means here; I can't find any other mention of POPPLER_ANNOT_WIDGET in Evince. I looked in poppler's source code, and I can find anything that handles it there either; it is only generated when a PDF is parsed.
I tried building poppler from current git, and in poppler-glib-demo, the only other place in the source code that mentions POPPLER_ANNOT_WIDGET, it shows that it finds the widget annotation.
Attachment 360926, "Sample PDF with widget annotation":