Bug 158523 (TJH) - Whole pages of Comments are not PRINTING or exported to PDF in margins
Summary: Whole pages of Comments are not PRINTING or exported to PDF in margins
Status: NEEDINFO
Alias: TJH
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.8.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-04 16:39 UTC by tim
Modified: 2024-01-19 12:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Attached PDF fiile exported with 7.5.9.2 (3.71 MB, application/pdf)
2023-12-07 15:11 UTC, m_a_riosv
Details
Screenshot with the file and the pdf (653.58 KB, image/png)
2023-12-08 12:19 UTC, m_a_riosv
Details
screenshot of page 62 (161.11 KB, image/png)
2023-12-09 22:46 UTC, tim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tim 2023-12-04 16:39:21 UTC
Entire pages of comments will not be printed and will not be exported to PDFs when the export page has the "comments to margins" checked. There will be many pages that have comments, but then one page is missing all comments. The next pages will then have comments for awhile, and then another page of missing comments will appear. The pages of missing comments are random. The rest of the document is fine.

I currently have:
LibreOffice 7.5.8.2(X86_64)
Linux Kernel 6.6.2-1
OS Linux Manjaro
Comment 1 m_a_riosv 2023-12-05 00:53:30 UTC
Please attach a sample file to test.
Comment 2 m_a_riosv 2023-12-07 15:11:34 UTC
Created attachment 191293 [details]
Attached PDF fiile exported with 7.5.9.2

Please verify, but looks fine for me with
Version: 7.5.9.2 (X86_64) / LibreOffice Community
Build ID: cdeefe45c17511d326101eed8008ac4092f278a9
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

Please test in safe mode, Menu/Help/Restart in Safe Mode
Comment 3 tim 2023-12-07 21:12:12 UTC
The attached file did not fix the problem. There are a couple of issues with that file. If you look carefully, you will find that the file has 61 pages, but the last page says it is page 64. So the conversion to PDF left the blank pages out. Also, the original file had only 58 pages, including blank pages, so the ODT file did not export properly. It looks like it changed all of the fonts. (Note: I sent the ODT file with embedded fonts. It should have opened properly with 58 pages, but I might have done something wrong there.)

None-the-less, you can see the problem in the file you created. You will see on page 59 (labeled page 62) that there are no comments in the margin. There should be three comments there. This page corresponds with the original ODT file page 56, which has three comments. So, despite the fact that the page numbers and fonts are mess up, you can see that the problem still exists.
Comment 4 QA Administrators 2023-12-08 03:15:17 UTC Comment hidden (obsolete)
Comment 5 m_a_riosv 2023-12-08 12:19:10 UTC
Created attachment 191312 [details]
Screenshot with the file and the pdf

It is the same for me in both.
But I don't have installed your font(s), you can see it as italic on the top of writer the font name in the screenshot.
Comment 6 tim 2023-12-09 22:31:03 UTC
(In reply to m.a.riosv from comment #5)
> Created attachment 191312 [details]
> Screenshot with the file and the pdf
> 
> It is the same for me in both.
> But I don't have installed your font(s), you can see it as italic on the top
> of writer the font name in the screenshot.

Your attachment shows page 61, but the bottom of the page says page 64. If you look at my comment (#3) it says in the second paragraph: "You will see on page 59 (labeled page 62) that there are no comments in the margin." Please look at it again. The problem is still there.
Comment 7 tim 2023-12-09 22:46:49 UTC
Created attachment 191338 [details]
screenshot of page 62

I have attached a screenshot of page 62.
Comment 8 m_a_riosv 2023-12-09 23:02:48 UTC
As I said I don't have the font installed, that's why the number of pages I see doesn't match the number of pages you see. But there is a correspondence between how I see the odt and how the pdf looks like, as shown in the screenshot I attached.
Comment 9 tim 2023-12-09 23:23:59 UTC
(In reply to tim from comment #6)
> (In reply to m.a.riosv from comment #5)
> > Created attachment 191312 [details]
> > Screenshot with the file and the pdf
> > 
> > It is the same for me in both.
> > But I don't have installed your font(s), you can see it as italic on the top
> > of writer the font name in the screenshot.
> 
> Your attachment shows page 61, but the bottom of the page says page 64. If
> you look at my comment (#3) it says in the second paragraph: "You will see
> on page 59 (labeled page 62) that there are no comments in the margin."
> Please look at it again. The problem is still there.

See my comment above. Will you please send a side-by-side screen shot of the pdf file you created page 59 and the odt file page 59. These should both say "page 62" at the bottom of their pages. It does not matter if you have the correct font.
Comment 10 Buovjaga 2024-01-16 17:11:26 UTC
Can the ODT be attached to this report? It seems to have been emailed privately.
Comment 11 tim 2024-01-19 12:03:02 UTC
(In reply to Buovjaga from comment #10)
> Can the ODT be attached to this report? It seems to have been emailed
> privately.

The ODT was sent privately because it has proprietary fonts in it. Even though m_a_riosv's ODT does not seem to contain the fonts (I must not have attached them properly), the problem still shows up on page 59 (labeled page 62).

My original document (a book that I wrote and that I'am updating) is over 200 pages. I was adding a comment to every paragraph to give an overview of the flow of the book. When printing with comments in the margin, I noticed that some pages did not have the comments. When I got about a third of the way through the book, the ODT became so unstable that text would blink and it crashed Writer, so I had to delete the comments. Without the comments the ODT is stable.

Go back and look at all of the attachments. Mr. m_a_riosv did not seem to understand what I was saying, and he did not think there is a problem. He never responded to my request to post an image of page 59 with the PDF and ODT side by side. I think he just does not want to deal with it.
Comment 12 Buovjaga 2024-01-19 12:13:16 UTC
(In reply to tim from comment #11)
> (In reply to Buovjaga from comment #10)
> > Can the ODT be attached to this report? It seems to have been emailed
> > privately.
> 
> The ODT was sent privately because it has proprietary fonts in it. Even
> though m_a_riosv's ODT does not seem to contain the fonts (I must not have
> attached them properly), the problem still shows up on page 59 (labeled page
> 62).
> 
> My original document (a book that I wrote and that I'am updating) is over
> 200 pages. I was adding a comment to every paragraph to give an overview of
> the flow of the book. When printing with comments in the margin, I noticed
> that some pages did not have the comments. When I got about a third of the
> way through the book, the ODT became so unstable that text would blink and
> it crashed Writer, so I had to delete the comments. Without the comments the
> ODT is stable.
> 
> Go back and look at all of the attachments. Mr. m_a_riosv did not seem to
> understand what I was saying, and he did not think there is a problem. He
> never responded to my request to post an image of page 59 with the PDF and
> ODT side by side. I think he just does not want to deal with it.

Please be kind to Miguel, he has done his best. It would be helpful, if you could create a minimal example with a font that can be shared in public. The development is done in the open here. Otherwise you can contract professional support: https://www.libreoffice.org/get-help/professional-support/