Version: 0.10.5 OS: Linux Markup boxes containing text only show an empty box. They do show up correctly with Gnome document viewer (Evince 2.30.3) and with adobe reader. Markups were done with PDF-Xchange viewer under wine. Running Okular 0.10.5 under Gnome (2.30.2) on Ubuntu (10.04). Reproducible: Didn't try Steps to Reproduce: See attached file Expected Results: A red text box with a line with an arrow pointing to "New pages coming up soon". The box should contain the text "Check this". Evince shows how this should appear. OS: Linux (i686) release 2.6.32-32-generic Compiler: cc
Created attachment 60874 [details] PDF file with markups
Fabio can you have a look? Almost everything looks right except the "Draft" thing that seems to be painted twice.
Created attachment 78107 [details] Screenshot under 0.16 + Poppler 0.20 (In reply to comment #0) > Running Okular 0.10.5 under Gnome (2.30.2) on Ubuntu (10.04). Okular 0.10 is "old" and we have changed how we handle PDF annotations in 0.15 (for best results you also need poppler >= 0.20). I'm attaching a screenshot of how the document looks like now. (In reply to comment #2) > Fabio can you have a look? Almost everything looks right except the "Draft" > thing that seems to be painted twice. Yes, that's because Poppler has no support for drawing that kind of annotations (stamp) and thus Okular assumes that we have to draw it ourselves. But in this document the stamp annotation comes with an appearance stream, therefore Poppler *is* able to draw it. This is the reason why it is painted twice. We could add a method in Poppler to query if the annotation comes with an appearance stream or not, and mark such annotations as ExternallyDrawn. What do you think?
(In reply to comment #3) > We could add a method in Poppler to query if the annotation comes with an > appearance stream or not, and mark such annotations as ExternallyDrawn. What > do you think? I'd call it something like canIDrawMyself more than doIHaveAppearanceStream, but yeah, makes total sense
*** Bug 232058 has been marked as a duplicate of this bug. ***
I'm not sure whether this is exactly the same problem or not, but I have added another test file. It doesn't draw the stamp twice, it draws it once, then puts a ? graphic over the top of it. This is using Okular .20.2 and libpoppler-glib8-0.26.5-1.1.i586 from OpenSuse 13.2.
Created attachment 90800 [details] Hidden rubber stamp
*** Bug 352396 has been marked as a duplicate of this bug. ***
Still a problem with Okular 17.11.80 and Poppler 0.61. See also https://bugs.freedesktop.org/show_bug.cgi?id=23108 (Poppler should provide default appearance streams for annotations without).
The stamps look fine to me on both the attached PDFs with Okular 21.12.3 and Poppler 22.03.0 (certainly doesn't look like the attached screenshot), so I guess it's fixed now?
Awesome!