[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-07-05 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=455650

Albert Astals Cid  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |UPSTREAM

--- Comment #16 from Albert Astals Cid  ---
Ok, i can see the issue now.

This is not an okular issue, Okular uses poppler to handle PDF files, and
specifically to convert PDF files to ps so they can be printed (yes, this is
archaic and we probably shouldn't do it anymore).

If you "print" your saved pdf with pdftops and then you open the resulting ps
with gs (or okular) you'll see the same issue happens.

Please open a bug upstream in poppler
https://gitlab.freedesktop.org/poppler/poppler/-/issues/new?issue

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-23 Thread MichaelOF
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #15 from MichaelOF  ---
@[email protected]: THANKS for helping!

@[email protected]: Didn't want to confuse you :) 

Colorized/marked screenshots added.

Regarding flatpal question: Both Andreas and I used the same flatpak version.
But as shown in screenshot https://bugs.kde.org/attachment.cgi?id=149979,
flatpak's Okular doesn't even work on my machine. I guess maybe because of
Wayland, no idea, as no error msg.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-23 Thread MichaelOF
https://bugs.kde.org/show_bug.cgi?id=455650

MichaelOF  changed:

   What|Removed |Added

 Attachment #149976|0   |1
is obsolete||
 Attachment #149977|0   |1
is obsolete||
 Attachment #149978|0   |1
is obsolete||

--- Comment #14 from MichaelOF  ---
Created attachment 150096
  --> https://bugs.kde.org/attachment.cgi?id=150096&action=edit
Screenshots as requested, commented inline

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-22 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #13 from [email protected] ---
Created attachment 150082
  --> https://bugs.kde.org/attachment.cgi?id=150082&action=edit
left okular with original file, right print preview

I open the original file, but show the print preview of page 1 without filling
the forms.

The red areas show two examples of the differences. the text ", je" and the
unit "KW" are at different positions. In the left it is right to the underline,
in the right on top of the underline. The underline represents the fill form.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-22 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #12 from Albert Astals Cid  ---
I'm super confused, you both say to be using the same flatpak version but your
two screenshots look totally different. that makes no sense.

MichaelOF did you *fill* the PDF in the new version or open the already
filled/broken one?

 [email protected]  i don't really see what's wrong in your last
screenshot, can you put some red arrows to help me look at the correct place?

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #11 from [email protected] ---
Created attachment 150023
  --> https://bugs.kde.org/attachment.cgi?id=150023&action=edit
left okular with original file, right print preview

this time I used flatpack, okular version 22.04.2.

The form data in section 3 ("Ladeeinrichtungen") are at different positions
compared between original (left) and print preview (right)

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-20 Thread MichaelOF
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #10 from MichaelOF  ---
Created attachment 149979
  --> https://bugs.kde.org/attachment.cgi?id=149979&action=edit
Okular via flatpak

Tried with flatpak. No base PDF doc anymore visible, only form data left. Maybe
because of Wayland?

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-20 Thread MichaelOF
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #9 from MichaelOF  ---
(In reply to Albert Astals Cid from comment #5)
> You're probably using some mega old poppler

$ zypper se -iv poppler
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S | Name   | Type  | Version  | Arch   | Repository
--++---+--++-
i | libpoppler-cpp0| Paket | 0.79.0-3.5.1 | x86_64 | Update
repository with updates from SUSE Linux Enterprise 15
name: libpoppler-cpp0
i | libpoppler-glib8   | Paket | 0.79.0-3.5.1 | x86_64 | Update
repository with updates from SUSE Linux Enterprise 15
name: libpoppler-glib8
i | libpoppler-glib8-32bit | Paket | 0.79.0-3.5.1 | x86_64 | Update
repository with updates from SUSE Linux Enterprise 15
name: libpoppler-glib8-32bit
i | libpoppler-qt5-1   | Paket | 0.79.0-3.5.1 | x86_64 | Update
repository with updates from SUSE Linux Enterprise 15
name: libpoppler-qt5-1
i | libpoppler89   | Paket | 0.79.0-3.5.1 | x86_64 | Update
repository with updates from SUSE Linux Enterprise 15
name: libpoppler89
i | libpoppler89-32bit | Paket | 0.79.0-3.5.1 | x86_64 | Update
repository with updates from SUSE Linux Enterprise 15
name: libpoppler89-32bit
i | poppler-data   | Paket | 0.4.9-bp153.1.14 | noarch | openSUSE OSS
name: poppler-data
i | poppler-tools  | Paket | 0.79.0-3.5.1 | x86_64 | Update
repository with updates from SUSE Linux Enterprise 15
name: poppler-tools


Will try flatpak version next

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-20 Thread MichaelOF
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #8 from MichaelOF  ---
Created attachment 149978
  --> https://bugs.kde.org/attachment.cgi?id=149978&action=edit
SourcePdfFWithFormData_CUPS-PDF-Printed_from_Xreader_GARBAGED

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-20 Thread MichaelOF
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #7 from MichaelOF  ---
Created attachment 149977
  --> https://bugs.kde.org/attachment.cgi?id=149977&action=edit
SourcePdfFWithFormData_CUPS-PDF-Printed_from_Okular_GARBAGED

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-20 Thread MichaelOF
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #6 from MichaelOF  ---
Created attachment 149976
  --> https://bugs.kde.org/attachment.cgi?id=149976&action=edit
SourcePdfFWithFormData

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-20 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=455650

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|CONFIRMED   |NEEDSINFO

--- Comment #5 from Albert Astals Cid  ---
You're probably using some mega old poppler, can you try running okular from
flathub and see if that helps?

https://flathub.org/apps/details/org.kde.okular

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=455650

[email protected] changed:

   What|Removed |Added

 CC||[email protected]
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #4 from [email protected] ---
(In reply to Albert Astals Cid from comment #1)
> Can you attach a screenshot of the print preview screen so I can see what
> you mean?

Those attachments (https://bugs.kde.org/attachment.cgi?id=149967 and
https://bugs.kde.org/attachment.cgi?id=149970) show a different behavior
between the preview and the to-pdf-printed file. In addition, the preview is
also different to the view in okular.

I have okular 20.12.3 using debian bullseye. Which backend is responsible for
the printing and the preview?

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #3 from [email protected] ---
Created attachment 149970
  --> https://bugs.kde.org/attachment.cgi?id=149970&action=edit
left okular with original file, right print preview

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=455650

--- Comment #2 from [email protected] ---
Created attachment 149967
  --> https://bugs.kde.org/attachment.cgi?id=149967&action=edit
left okular with the original file, right okular with the printed to pdf file

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 455650] Garbage Printing for PDF with form data

2022-06-20 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=455650

Albert Astals Cid  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #1 from Albert Astals Cid  ---
Can you attach a screenshot of the print preview screen so I can see what you
mean?

-- 
You are receiving this mail because:
You are watching all bug changes.