Summary: | Can't print any document format (JPEG, DjVu, etc.) other than PDF with annotations | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Thierry <thierry.rouillon> |
Component: | printing | Assignee: | Okular developers <okular-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | luigi.toscano, nate, skierpage |
Priority: | NOR | ||
Version: | 20.12.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | exemple |
Confirming bug with Okular 23.04.0 package on Fedora 38 KDE Spin with KDE Frameworks version 5.105.0 and Qt version 5.15.9. When printing a PDF document, the Print > [Options >>>] dialog replaces the Print Options tab with a PDF Options tab, which has a checkmark to "Print annotations" (and to "Force rasterization"). But when printing an annotated JPEG, .png, DjVu file, or probably any document format other than a PDF you don't get this option, and the printed document doesn't show any annotations. The workaround is to use a tool like Imagemagick `convert` to first convert the document into a PDF and then annotate that in Okular. There doesn't seem to be any way to copy all the annotations you made to the image file and paste them into the PDF. It's unclear why the option to print annotations is restricted to PDFs. The Okular Handbook Menubar chapter could be clearer. It says "Please take into account that Okular has some specific options for printing PDF", but this sounds like if you have annotated any document type in Okular and then choose to "Print to File (PDF)", then you should see these options, and you don't. Maybe change the handbook text to "specific options for printing a PDF document". The Okular Handbook Document Format Handlers Status page https://okular.kde.org/formats/ indicates that DjVu files support annotations, even though you can't print them. It doesn't indicate that you can annotate images, even though you can. Support for annotations and for printing annotations should be two separate rows. Please don't change the Version field, which reports the initial version where the issue was found, not the last one. Unfortunately the old versions are cleaned (unfortunately) and I can't restore it back to 1.9.3, the initial value. I've set it to 20.12.3, the earliest version available. |
Created attachment 131881 [details] exemple SUMMARY OBSERVED RESULT Hello. I just discovered something weird. You can open a JPG file with okular. You can make annotations there. However, it is impossible to print the file with the annotations. (What is possible with a pdf) By registering we have a .okular file. We can edit it. The annotations are there. I tried to print in a pdf dummy printer. The annotations have disappeared. It is therefore impossible to print the annotations of a jpg file. SOFTWARE/OS VERSIONS Linux/KDE Plasma: