Bug 159390

Summary: when a comment box is made very wide, then it does not print properly,
Product: LibreOffice Reporter: vena.cava <vena.cava>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 24.8.0.0 alpha0+   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 106179    
Attachments: This is a PDF file. The right side of comment boxes is missing.
This is a odt file. The comment box is made extra wide when exported to PDF.

Description vena.cava@virgin.net 2024-01-26 16:59:08 UTC
Description:
as above

Steps to Reproduce:
1.  make a comment box and write in it.
2.  make the comment box wide by extending its right side
3.  export as PDF using the dropdown box after clicking "file"
4.  view the PDF file and the right side of the comment box is missing. There is no warning of that this is goes off the page

Actual Results:
The resulting PDF file shows comment boxes with the right side truncated (off the right side of the print area)

Expected Results:
I would have expected to see all of the comment box, but the right side of the comment box including writing on the right side of the comment box is missing.


Reproducible: Always


User Profile Reset: No

Additional Info:
Use the most up-to-date version of 24.8.
I do not know how long the bug has existed
Comment 1 vena.cava@virgin.net 2024-01-26 17:01:19 UTC
Created attachment 192185 [details]
This is a PDF file. The right side of comment boxes is missing.

This is a PDF file. The right side of comment boxes is missing.
Comment 2 vena.cava@virgin.net 2024-01-26 17:07:37 UTC
Created attachment 192186 [details]
This is a odt file. The comment box is made extra wide when exported to PDF.

Use this file to export to PDF.
Comment 3 Dieter 2024-02-12 11:41:39 UTC
I confirm it with

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: aa6d11771d085803cdb811579f47debc30c4d94b
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Steps:
1. Open attachment 192186 [details]
2. File -> Export As -> Export as PDF -> Print comments in Margin -> OK
Comment 4 vena.cava@virgin.net 2024-02-12 18:28:45 UTC
I just wanted to clarify what was confirmed above.  The bug that I reported, is not that the comment box is printed in the margin.  The problem is the the comment box is printed right across the margin and goes off the page, so that that the right side of the text box is not printed on the page nor the margin.
Comment 5 Dieter 2024-02-12 21:38:27 UTC
(In reply to vena.cava@virgin.net from comment #4)
> I just wanted to clarify what was confirmed above.  The bug that I reported,
> is not that the comment box is printed in the margin.  The problem is the
> the comment box is printed right across the margin and goes off the page, so
> that that the right side of the text box is not printed on the page nor the
> margin.

Yes, sure.