Annotations not readable in okular

Bug #1060202 reported by acar burak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Fix Released
High
Adam Reichold

Bug Description

On Kubuntu 12.10 (with Poppler 0.20+) I insert an annotation, but it's only readable in qpdfview and not (for example) in Okular, though Okular annotations are readable in both Okular and qpdfwiew.

Revision history for this message
Adam Reichold (adamreichold) wrote :

Ok, I'll try to reproduce this in a moment. By the way, after a comment on qt-apps.org, I tested this with Adobe's acroread under Ubuntu 12.10 and it worked correctly. I am sure we'll figure out the incompatibilities.

Revision history for this message
acar burak (acarbura) wrote :

Thank you, very kind of you.

Revision history for this message
Adam Reichold (adamreichold) wrote :

Ok, using a virtual machine running an up-to-date Kubuntu 12.10 and the daily builds of qpdfview, I was able to reproduce this: qpdfview is able to edit the annotations generated by Okular but Okular can not edit the annotations created by qpdfview. (I tested text annotations only for the moment.) (The annotation seems to be there but its contents is not accessible.)

Now I have to find out why...

Changed in qpdfview:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Adam Reichold (adamreichold)
Revision history for this message
acar burak (acarbura) wrote :

Yes, just as you described.

By the way, this feature of qpdfview will free me from KDE whose Okular is the main (if not the sole) reason I keep that bloated DE.

Revision history for this message
Adam Reichold (adamreichold) wrote :

Small update on this: Can you confirm that you can access the annotation using the navigation pane on the left? The annotation overview there should show the annotation and one can open it. What seems to be missing is just opening the annotation by double-clicking on the icon...

Revision history for this message
Adam Reichold (adamreichold) wrote :

Ok, I think I figured this one out: The problem is that Okular interprets the boundary of a text annotation differently from qpdfview. qpdfview activates the annotation if the user clicks somewhere in its boundary even though the icon is only visible in the lower left corner. Okular on the other hand activates the annotation if the user clicks the upper left corner of the boundary with the icon size. But the icons is drawn by Poppler in the lower left corner, so one clicks on the icon and nothing happens. But if one clicks on the empty space which is the upper left corner, Okular opens the annotation... Can you confirm this behaviour?

Revision history for this message
Adam Reichold (adamreichold) wrote :

Ok, I hopefully committed the necessary changes to trunk revision 635.

If you could test this, it would be very much appreciated. It will take a few hours for the dailydeb package to update though. But you could try building from source. If you need any help will this, feel free to ask here.

Changed in qpdfview:
status: Triaged → Fix Committed
milestone: none → 0.3.5
Revision history for this message
acar burak (acarbura) wrote :

Sorry for late response, have just sit in front of the computer.

This will sound dumb, but how can I download that trunk 635?

Revision history for this message
acar burak (acarbura) wrote :

The lates, 0.3.5beta1?

Revision history for this message
acar burak (acarbura) wrote :

Sorry, found 635 and downloaded it.

Revision history for this message
Adam Reichold (adamreichold) wrote :

As the dailydeb finished building trunk revision 637, you can also just try the PPA at "https://code.launchpad.net/~adamreichold/+archive/qpdfview-dailydeb". Other than that the current head of trunk can always be downloaded as a tarball at "https://bazaar.launchpad.net/~adamreichold/qpdfview/trunk/revision/head:". But you seem to be on your way...

Revision history for this message
acar burak (acarbura) wrote :

Thanks for dailydeb!

Yes, it works now.

Revision history for this message
Adam Reichold (adamreichold) wrote :

That's good to know. The fix will be part of release 0.3.5 and will hit the corresponding packages. Thanks for taking the time to report it.

Revision history for this message
acar burak (acarbura) wrote :

My pleasure.

Changed in qpdfview:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.