Bug 152474

Summary: PDF export fails when "comments as PDF annotations" is enabled and there are comments
Product: LibreOffice Reporter: Jason Spitzak <jason.spitzak>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTOURBUG    
Severity: normal CC: 79045_79045
Priority: medium    
Version: 7.3.7.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103378    
Attachments: this was the error shown in the terminal when I used the "open" command
the .pdf that was exported, GUI file preview works but viewing application doesn't
a simple presentation that has this problem

Description Jason Spitzak 2022-12-12 00:23:34 UTC
Created attachment 184101 [details]
this was the error shown in the terminal when I used the "open" command

I am using Pop OS (Ubuntu based) and had an error where any program with comments would give a PDF that wouldn't open when "comments as PDF annotations" was on in the settings menu, that setting is on by default when comments are in the file. The export would finish and the preview would try to open but instead would show nothing, glitch out and close. When I used the "open" command in the terminal it gave me an error talking about alpha values (image included). And one of the weirdest things was that the preview in my GUI file manager would display what looked like my page but no comments can be seen.
Comment 1 Roman Kuznetsov 2022-12-12 08:41:32 UTC
Could you please attach here your file that you exported to PDF?
Comment 2 Jason Spitzak 2022-12-12 11:00:33 UTC
(In reply to Roman Kuznetsov from comment #1)
> Could you please attach here your file that you exported to PDF?

I am adding the .pdf that was exported as an attachment. I didn't save the presentation file when demoing the bug but I will re-create it in a second and send the file.
Comment 3 Jason Spitzak 2022-12-12 11:02:54 UTC
Created attachment 184105 [details]
the .pdf that was exported, GUI file preview works but viewing application doesn't
Comment 4 Jason Spitzak 2022-12-12 11:09:18 UTC
Created attachment 184106 [details]
a simple presentation that has this problem
Comment 5 Jason Spitzak 2022-12-12 11:18:04 UTC
I have found that most pdf reading applications successfully read the file, the only one that fails is document viewer. I have never encountered a different pdf file that it can't read but others can, it also doesn't fail when opening any other impress pdf exports. This undoubtedly has something to do with it being unable to read annotations, this is more a problem with document viewer than it is with impress. I recommend that this issue is closed
Comment 6 Roman Kuznetsov 2022-12-12 12:20:26 UTC
Thanks for the feedback. Closed