Description: When a file with comments is exported as PDF the comments are correctly presented in margins BUT the places in the text commented upon are covered with small rectangles with lines inside. These ugly rectangles disappear when the same file is printed as PDF. Steps to Reproduce: 1. Create a file with three lines (see the file "comments.odt) 2. Create two comments, in the second and third line of the file. 3. Export the file as PDF. The result: "comments.pdf" -- the "ugly" file. 4. Print the same file using "save as PDF". The result: "correct comments.pdf". Actual Results: See the attachment. Expected Results: The "comments.pdf" file must be the same as the "correct comments.pdf" Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:48.0) Gecko/20100101 Firefox/48.0
Created attachment 128479 [details] The original file with comments
Created attachment 128481 [details] The ugly comments -- using "export as PDF"
Created attachment 128482 [details] The correctly presented comments -- using "print" as PDF
Created attachment 128538 [details] Result of PDF-export I can confirm it with LO 5.2.3.3. Personally I think it's not a bug, because the rectangles represents the comments an you can open the comments in the margin by clicking on them (see attachemnts 1 and 2.) But I agree, that this ist not the result somebody expects, when he uses the PDF-Export. And it causes misunderstandings. So I suggest to rename this bug (for example "PDF Export: Allow printing comments in margin") and see it es an enhancement.
Created attachment 128539 [details] Document after opening the rectangles.
I beg to disagree with Dieter. While indeed "the rectangles represents the comments an you can open the comments in the margin by clicking on them", the comments are _already visible_ in margins when you set this in preferences. Therefore there is no need to show these rectangles. Note that "print as PDF" (unlike "export as PDF") works correctly.
The rectangles only appear if you enable "export comments" in the PDF-export-options. If you disable this option and enable "print comments in margin" in the preferences, you get a sufficient result. So I think the "export comments" option in the PDF-export causes some confusion and might be renamed.
"So I think the "export comments" option in the PDF-export causes some confusion and might be renamed." I completely agree. This is an example of feature interaction... I think that enabled "print comments in margin" in preferences takes care of the need to correctly export comments in PDF; and that the rectangles in this case are not needed at all. Thus, if "print comments in margin" is enabled in preferences there is no need even to look at the corresponding option in the PDF export options: it has already been properly set. Therefore I think that in this case such an option should not be available.
Design team: what do you think of all this?
(In reply to dieterp from comment #7) > The rectangles only appear if you enable "export comments" in the > PDF-export-options. What is the use-case for these rectangles? Why is the result of export and print different? (Doesn't happen to me.) (In reply to haim kilov from comment #8) > "So I think the "export comments" option in the PDF-export causes some > confusion and might be renamed." The user expects an on/off option from "Export comments" and not any duplication to tools > options > writer > print. Solution 1 is to neither show comments nor the rectangle when this option is unchecked, and otherwise a result that corresponds to the print settings (margins, bottom...). That also means to disable the checkbox when None is chosen in tools > options. Please always add tooltips that explain the features. In particular, when the checkbox is disabled it is crucial to inform the user why she never is able to export comments since we default to None. Alternatively we show all these options at the print dialog, for instance in a dropdown. And None would be the replacement for the current default of the unchecked "[ ] Export comments". The ordinary print dialog goes this way and doubles what has been entered at tools>options, which makes no sense to me, btw. I suggest to remove the options there.
(In reply to Heiko Tietze from comment #10) > What is the use-case for these rectangles? Double-click opens the comments. You can also edit them within PDF-document. Every solution should include this possibility. Still them same in Version: 7.1.0.0.alpha0+ (x64) Build ID: 41d8b41767032681a9897b7551f011d450e3725e CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: threaded
I don't know why this bug was confirmed. attachment 128481 [details] The ugly comments -- using "export as PDF" is the same as attachment 128482 [details] The correctly presented comments -- using "print" as PDF Dieter's attachment 128538 [details] Result of PDF-export is not the result of LO but of PDF viewer, all render comments differently. I'll close. If you disagree, please explain objectively, test LO 7.1+ master and different PDF viewers. Note: to have exports options in PDF we have bug 77650.