I originally reported this at https://bugzilla.gnome.org/show_bug.cgi?id=643029 The relevant file is at https://bugzilla.gnome.org/attachment.cgi?id=181664. Carlos already analyzed the following: That annotation has a 0 size rectangle: /Rect [ 55.0306 782.177 55.0306 782.177 ] I see the annotation icon, but can't open the popup window, maybe we should always force note annotations to have the same size than the icon. In any case it's not an evince issue, but poppler, could you please forward this bug report to freedesktop.org bugzilla? Thanks for reporting. I think it might make sense to use the icon size in case of zero size ...
Created attachment 116108 [details] Example file showing the problem
Strange. I cannot reproduce the problem with the given test file and today's git master of poppler & okular on a Debian Jessie machine. However, I can reproduce the problem using a pdf file I created myself, using LaTeX and the 'fixme' package (attached). It's clearly the same issue, because I can fix my file by manually editing the /Rect entry in the file. AcroRead on Windows 8 shows my file just fine.
Just a comment. I do not think fixing this belongs in poppler. Poppler is just responsible for providing an API to access PDF documents and assisting in rendering PDF pages. A PDF having an annotation with a very small or 0-size /Rect entry is perfectly legal and a valid PDF file. So i think the question how to deal with such annotations is the job of the viewer application using the poppler library (okular, evince or something else). Speaking about applications: Both, the PDF of the original BUG report https://bugzilla.gnome.org/show_bug.cgi?id=643029 and the PDF attach to this BUG report work fine in evince since the following commit: https://git.gnome.org/browse/evince/commit/?id=3710f078b9f3df433489ca3da6f8182e1dc8520c. So maybe okular could take a similar approach.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/585.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.