Bug 419532 - Inline annotations are not properly saved to be visible in (some) other PDF viewers
Summary: Inline annotations are not properly saved to be visible in (some) other PDF v...
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 1.9.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-02 10:11 UTC by smihael
Modified: 2020-04-05 17:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A sample file before annotation. (20.04 KB, application/pdf)
2020-04-05 12:50 UTC, smihael
Details
The same file after anotation. (21.63 KB, application/pdf)
2020-04-05 12:51 UTC, smihael
Details
File as rendered in Android pdf viewer. (566.50 KB, image/jpeg)
2020-04-05 12:52 UTC, smihael
Details
File as rendered in Adobe Reader on Android. (475.92 KB, image/jpeg)
2020-04-05 12:52 UTC, smihael
Details
Note is shown only after opening the comment list, but in wrong formatting. (552.08 KB, image/jpeg)
2020-04-05 12:53 UTC, smihael
Details
The document with annotations as rendered in Okular. (184.45 KB, image/png)
2020-04-05 12:55 UTC, smihael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smihael 2020-04-02 10:11:22 UTC
SUMMARY
Inline annotations are not properly saved to be visible in (some) other PDF viewers. related to https://bugs.kde.org/show_bug.cgi?id=353400

STEPS TO REPRODUCE
1. Open pdf file
2. Press F6 to show annotation tools, select Inline Note. 
3. Add some text
4. Save pdf
5. Open pdf in other viewer 

I tested Google PDF viewer on Androd and Microsoft Edge on Windows (being the default preinstalled tools most people use on other systems). I remember once having the same issue with Adobe Acrobat, but couldn't test it now.  

OBSERVED RESULT

The inline note is ignored. Other annotations such as freehand line and text markup are shown properly.

EXPECTED RESULT

The inline note should be shown. Alternatively, a subtle notification should appear to user that inline notes are not compatible features (e.g. when hovering over inline note icon in the annotations toolbar). If I may add here, to improve UI and usability, the same goes for the stamp tool. For stamps is stated under Settings, Annotation options that "stamps inserted in PDF documents are not visible in PDF readers other than Okular" but this text should be shown to user when they are up to use it.


SOFTWARE/OS VERSIONS
Okular 1.9.3 using Poppler 0.77.0
KDE Frameworks 5.68.0
Qt 5.14.1 (built against 5.14.1)
The xcb windowing system
ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2020-04-02 21:43:35 UTC
Please attach the pdf before doing the anotation and after.
Comment 2 smihael 2020-04-05 12:50:45 UTC
Created attachment 127294 [details]
A sample file before annotation.
Comment 3 smihael 2020-04-05 12:51:22 UTC
Created attachment 127295 [details]
The same file after anotation.
Comment 4 smihael 2020-04-05 12:52:24 UTC
Created attachment 127296 [details]
File as rendered in Android pdf viewer.
Comment 5 smihael 2020-04-05 12:52:49 UTC
Created attachment 127297 [details]
File as rendered in Adobe Reader on Android.
Comment 6 smihael 2020-04-05 12:53:58 UTC
Created attachment 127298 [details]
Note is shown only after opening the comment list, but in wrong formatting.
Comment 7 smihael 2020-04-05 12:55:29 UTC
Created attachment 127299 [details]
The document with annotations as rendered in Okular.
Comment 8 Albert Astals Cid 2020-04-05 17:46:50 UTC
Adobe Reader DC on Windows shows both annotations for that file you attached.

To me says the bug is mostly probably on the other viewers not showing things correctly.

Anyway if you're convinced this is still a bug, it's not really a bug in Okular either since Okular doesn't do any PDF writing, that's done in poppler, so if you feel like poppler could try to somehow write "better" PDF people open a and issue in the poppler bug tracker.