Bug 138562

Summary: Writer: Export pdf comments gives different results depending on the pdf viewer used
Product: LibreOffice Reporter: Tom <mbox.789>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, dgp-mail
Priority: medium    
Version: 7.0.2.2 release   
Hardware: All   
OS: Linux (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=151642
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103378    
Attachments: Export as PDF options used
Results using Evince
Results using Master PDF Editor
Results using Okular
Results using Xreader
Original Writer file

Description Tom 2020-11-30 08:12:39 UTC
Description:
Exporting a Writer document enhanced with comments per "Export as PDF" gives different results depending on the pdf viewer used. Some show only the comment symbol overlapping the actual text, while others lack a symbol but show the comment when hovering over the comment location or double clicking at the comment location.

Steps to Reproduce:
1) New Writer document
2) Write some text
3) Mark word(s)
4) Open context menu > Insert Comment > Add some text
5) Save document
6) File > Export As ... > Export as PDF (Options see attachment)


Actual Results:
A pdf file is created with comments inconsistently treated by different pdf viewers.

Evince
------
- The comment symbol is placed directly at the comment location overlapping the actual text
+ A pop-up comment opens when hovering over the symbol
+ A comment window opens when double clicking on the comment symbol

Master PDF Editor
-----------------
- There is no comment symbol shown
+ A pop-up comment opens when hovering over the comment location
- No comment window opens when double clicking at the comment location


Okular
------
- The comment symbol is placed directly at the comment location overlapping the actual text
- No pop-up comment opens when hovering over the symbol
- No comment window opens when double clicking on the comment symbol


Xreader
-------
- The comment symbol is placed directly at the comment location overlapping the actual text
- No pop-up comment opens when hovering over the symbol
- No comment window opens when double clicking on the comment symbol


I will add some screenshots of these results in a follow-up comment.

Expected Results:
1) The comment symbol should be placed at the left or right of the marked text not overlapping the text
2) A pop-up comment should opens when hovering over the symbol
3) A comment window should open when double clicking on the comment symbol


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.0.2.2
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11
Locale: de-DE (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Tom 2020-11-30 08:13:15 UTC
Created attachment 167666 [details]
Export as PDF options used
Comment 2 Tom 2020-11-30 08:14:06 UTC
Created attachment 167667 [details]
Results using Evince
Comment 3 Tom 2020-11-30 08:14:39 UTC
Created attachment 167668 [details]
Results using Master PDF Editor
Comment 4 Tom 2020-11-30 08:15:01 UTC
Created attachment 167669 [details]
Results using Okular
Comment 5 Tom 2020-11-30 08:15:31 UTC
Created attachment 167670 [details]
Results using Xreader
Comment 6 Tom 2020-11-30 08:16:49 UTC
Created attachment 167671 [details]
Original Writer file
Comment 7 Iskander 2021-07-29 20:48:59 UTC
Confirm in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 0d4cbdbc9cd4ab06056cec66cffd292b41615b6e
CPU threads: 2; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: threaded