Bug 116471 - LO603a: On macOS export PDF generates empty comments
Summary: LO603a: On macOS export PDF generates empty comments
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2018-03-18 16:46 UTC by Martin Srebotnjak
Modified: 2023-08-06 09:27 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Comment in odt file (110.31 KB, image/png)
2018-03-18 17:48 UTC, Martin Srebotnjak
Details
Comment in generated PDF file (179.95 KB, image/png)
2018-03-18 17:49 UTC, Martin Srebotnjak
Details
Test document (8.20 KB, application/vnd.oasis.opendocument.text)
2018-03-18 17:55 UTC, Martin Srebotnjak
Details
Generated PDF file with empty comment (12.54 KB, application/pdf)
2018-03-19 22:31 UTC, Martin Srebotnjak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Srebotnjak 2018-03-18 16:46:12 UTC
In exported PDF on macOS, comments are empty.
Only empty (yellow) placeholders are positioned there that open upon a click.
Comment 1 Martin Srebotnjak 2018-03-18 16:48:10 UTC
Using 6.0.3 daily build with no langpack.
This bug, AFAICR, was present also in older macOS versions.

The only way to get comments in PDF on macOS is a workaround to print to file, where pdf is selected as a printer. Then again, you get only actual text/blob comments, not foldable markup.
Comment 2 Telesto 2018-03-18 17:36:33 UTC
Thanks for the bugreport. (A) A sample ODT file. (b) The exported PDF and (c) a screenshot showing the problem would make thing a little easier to confirm =).
Comment 4 Telesto 2018-03-18 17:47:40 UTC
(In reply to Martin Srebotnjak from comment #3)
> Here is the tested file:
> https://www.odfauthors.org/libreoffice/english/getting-started/feedback-lo-6.
> 0/gs6000-preface-2nd-revision-1/view

Thanks. However, the document isn't public ;-)
Comment 5 Martin Srebotnjak 2018-03-18 17:48:38 UTC
Created attachment 140689 [details]
Comment in odt file
Comment 6 Martin Srebotnjak 2018-03-18 17:49:09 UTC
Created attachment 140690 [details]
Comment in generated PDF file
Comment 7 Martin Srebotnjak 2018-03-18 17:50:45 UTC
No, it isn't.

But there is no need for that.
Create a new empty document, add a comment (some text), export as PDF (export of comments should be enabled in export settings).
Open generated PDF, you get the same result.
Comment 8 Martin Srebotnjak 2018-03-18 17:55:38 UTC
Created attachment 140691 [details]
Test document

Enjoy.
Comment 9 Telesto 2018-03-19 16:02:50 UTC
(In reply to Martin Srebotnjak from comment #8)
> Created attachment 140691 [details]
> Test document
> 
> Enjoy.

I can't repro it with LibO 6.1 build 08-03-2018 using Sierra 10.12.6.
It might be a PDF-reader issue.. The PDF is valid (in my case): https://www.pdf-online.com/osa/validate.aspx
Comment 10 Martin Srebotnjak 2018-03-19 22:30:54 UTC
I tried with 6.1.x master, it does the same, Preview on macOS shows empty comment.
Comment 11 Martin Srebotnjak 2018-03-19 22:31:26 UTC
Created attachment 140727 [details]
Generated PDF file with empty comment
Comment 12 Xisco Faulí 2018-03-20 14:09:26 UTC
Reproduced in

Version: 6.1.0.0.alpha0+
Build ID: 56fd575d5ee092436f5e864f457063d68b7a5b0a
CPU threads: 8; OS: Mac OS X 10.13.3; UI render: GL; 
Locale: en-US (en_ES.UTF-8); Calc: group
Comment 13 Xisco Faulí 2018-03-20 14:29:41 UTC
Ouch, I can see the comment of the attached PDF file in firefox ( mac and linux ) but not in Chrome ( linux ) or Safari ( mac ). Setting to All...
Comment 14 Telesto 2018-03-20 14:37:04 UTC
@Xisco
I'm probably on the wrong track, but what did you test:
* Opening the attached PDF ( Generated PDF file with empty comment)
* Or exporting the PDF and opening it

There something fishy with PDF, but I can't create one myself..
Comment 15 QA Administrators 2019-03-21 03:50:03 UTC Comment hidden (obsolete)
Comment 16 Martin Srebotnjak 2019-03-21 09:51:55 UTC
Reproduced in:

Build: 6.2.2.2
Build ID: 2b840030fec2aae0fd2658d8d4f9548af4e3518d
CPE Threads: 4; Op. sistem: Mac OS X 10.14.3; UI render: default; VCL: osx; 
Locale: sl-SI (sl_SI.UTF-8); UI language: sl-SI
Calc: threaded
Comment 17 QA Administrators 2021-03-21 04:17:29 UTC Comment hidden (obsolete)
Comment 18 Martin Srebotnjak 2022-07-11 10:46:11 UTC
I can still confirm with 7.4 B1.
Comment 19 Peter 2023-08-05 17:54:46 UTC
With 7.5.5.2 on MacOS 10.14 the comments appear blank in Preview, but when PDF is opened with Adobe Acrobat reader they do appear in full...

They also appear in Firefox's PDF viewer, so this might be resolved and just a Apple Preview incompatibility issue.
Comment 20 Martin Srebotnjak 2023-08-06 09:27:55 UTC
Well, most macOS and iOS users use Preview for opening PDF files.

If developers are conforming docx files with internal MS logic (and not everyone is using MSO), then this should be taken care of.

Also, PDF forms are not behaving nicely in Preview, but that is a Preview's known bug.