Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#919504: [kmail] blank page on print preview

24 views
Skip to first unread message

MAG4 Piemonte

unread,
Jan 16, 2019, 1:40:03 PM1/16/19
to
Package: kmail
Version: 4:18.08.1-1
Severity: normal

--- Please enter the report below this line. ---
Dear maintainer, with any email message print preview is blank.
We found and confirmed the same error upstream
https://bugs.kde.org/show_bug.cgi?id=403159
Regards!

Guido

--- System information. ---
Architecture:
Kernel: Linux 4.19.0-1-amd64

Debian Release: buster/sid
500 testing ftp.it.debian.org
500 stable download.webmin.com

--- Package information. ---
Depends (Version) | Installed
=================================================================-+-
==================================
akonadi-server (>= 4:17.08~) |
4:18.08.1-1+b2
kdepim-runtime (>= 4:17.08~) |
4:18.08.1-1
libkf5akonadisearch-bin (>= 4:17.08~) |
4:18.08.1-1+b1
libkf5akonadisearch-plugins (>= 4:17.08~) |
4:18.08.1-1+b1
libkf5grantleetheme-plugins (>= 17.08~) | 18.08.1-1
kio | 5.51.0-1
libc6 (>= 2.14) | 2.28-2
libgcc1 (>= 1:3.0) | 1:8.2.0-13
libgpgmepp6 (>= 1.11.1) | 1.12.0-4
libkf5akonadiagentbase5 (>= 4:18.07.90) |
4:18.08.1-1+b2
libkf5akonadicontact5 (>= 4:17.12.2) |
4:18.08.1-1
libkf5akonadicore5abi2 (>= 4:18.07.90) |
4:18.08.1-1+b2
libkf5akonadimime5 (>= 4:17.12.2) |
4:18.08.1-2
libkf5akonadisearchdebug5 (>= 4:17.12.2) |
4:18.08.1-1+b1
libkf5akonadisearchpim5 (>= 4:16.08.0) |
4:18.08.1-1+b1
libkf5akonadiwidgets5abi1 (>= 4:17.12.1) |
4:18.08.1-1+b2
libkf5bookmarks5 (>= 4.96.0) | 5.51.0-1
libkf5calendarcore5abi2 (>= 4:18.07.90) |
4:18.08.1-1
libkf5calendarutils5 (>= 4:17.12.2) |
4:18.08.1-1
libkf5codecs5 (>= 5.4.0+git20141202.0008+15.04) | 5.51.0-1
libkf5completion5 (>= 4.97.0) | 5.51.0-1
libkf5configcore5 (>= 4.98.0) | 5.51.0-1
libkf5configgui5 (>= 4.97.0) | 5.51.0-1
libkf5configwidgets5 (>= 5.23.0) | 5.51.0-1
libkf5contacts5 (>= 4:15.12.0) |
4:18.08.1-1
libkf5coreaddons5 (>= 5.2.0) | 5.51.0-1
libkf5crash5 (>= 5.15.0) | 5.51.0-1
libkf5dbusaddons5 (>= 4.97.0) | 5.51.0-1
libkf5followupreminder5 (>= 4:16.04.0) |
4:18.08.1-1
libkf5gravatar5abi2 (>= 4:18.07.90) |
4:18.08.1-1
libkf5guiaddons5 (>= 4.96.0) | 5.51.0-1
libkf5i18n5 (>= 4.97.0) | 5.51.0-1
libkf5iconthemes5 (>= 5.0.0) | 5.51.0-1
libkf5identitymanagement5 (>= 17.12.2) | 18.08.1-1
libkf5itemmodels5 (>= 4.96.0) | 5.51.0-1
libkf5itemviews5 (>= 4.96.0) | 5.51.0-1
libkf5jobwidgets5 (>= 4.96.0) | 5.51.0-1
libkf5kcmutils5 (>= 5.2.0+git20141003) | 5.51.0-1
libkf5kiocore5 (>= 4.96.0) | 5.51.0-1
libkf5kiofilewidgets5 (>= 4.96.0) | 5.51.0-1
libkf5kiowidgets5 (>= 5.35.0) | 5.51.0-1
libkf5kontactinterface5 (>= 17.12.2) | 18.08.1-1
libkf5ksieveui5 (>= 4:17.12.2) |
4:18.08.1-1
libkf5libkdepim-plugins |
4:18.08.1-1
libkf5libkdepim5 (>= 4:16.04.0) |
4:18.08.1-1
libkf5libkdepimakonadi5 (>= 4:17.12.2) |
4:18.08.1-1
libkf5libkleo5 (>= 4:17.08.0) |
4:18.08.1-1
libkf5mailcommon5abi2 (>= 4:18.07.90) |
4:18.08.1-1
libkf5mailtransport5 (>= 17.12.2) | 18.08.1-2
libkf5mailtransportakonadi5 (>= 17.12.2) | 18.08.1-2
libkf5messagecomposer5abi1 (>= 4:18.07.90) |
4:18.08.1-1
libkf5messagecore5abi1 (>= 4:18.07.90) |
4:18.08.1-1
libkf5messagelist5abi1 (>= 4:18.07.90) |
4:18.08.1-1
libkf5messageviewer5abi1 (>= 4:18.07.90) |
4:18.08.1-1
libkf5mime5abi1 (>= 17.12.1) | 18.08.1-1
libkf5mimetreeparser5abi1 (>= 4:18.07.90) |
4:18.08.1-1
libkf5notifications5 (>= 4.96.0) | 5.51.0-1
libkf5notifyconfig5 (>= 4.96.0) | 5.51.0-1
libkf5parts5 (>= 4.96.0) | 5.51.0-1
libkf5pimcommon5abi2 (>= 4:18.07.90) |
4:18.08.1-1
libkf5pimcommonakonadi5abi1 (>= 4:18.07.90) |
4:18.08.1-1
libkf5pimtextedit5abi2 (>= 18.07.90) | 18.08.1-1
libkf5sendlater5 (>= 4:16.04.0) |
4:18.08.1-1
libkf5service-bin | 5.51.0-1
libkf5service5 (>= 4.96.0) | 5.51.0-1
libkf5sonnetui5 (>= 5.41.0) |
5.51.0-1+b1
libkf5templateparser5 (>= 4:17.12.2) |
4:18.08.1-1
libkf5textwidgets5 (>= 5.0.0) | 5.51.0-1
libkf5tnef5 (>= 4:15.07.90) |
4:18.08.1-1
libkf5wallet-bin | 5.51.0-1
libkf5wallet5 (>= 4.96.0) | 5.51.0-1
libkf5webengineviewer5abi1 (>= 4:18.07.90) |
4:18.08.1-1
libkf5widgetsaddons5 (>= 5.4.0+git20141119.0013+15.04) | 5.51.0-1
libkf5windowsystem5 (>= 4.100.0) | 5.51.0-1
libkf5xmlgui5 (>= 4.98.0) |
5.51.0-1+b1
libqgpgme7 (>= 1.11.1) | 1.12.0-4
libqt5core5a (>= 5.11.0~rc1) |
5.11.3+dfsg-2
libqt5dbus5 (>= 5.9.0~) |
5.11.3+dfsg-2
libqt5gui5 (>= 5.9.0~) |
5.11.3+dfsg-2
libqt5network5 (>= 5.9.0~) |
5.11.3+dfsg-2
libqt5widgets5 (>= 5.11.0~rc1) |
5.11.3+dfsg-2
libqt5xml5 (>= 5.9.0~) |
5.11.3+dfsg-2
libstdc++6 (>= 4.1.1) | 8.2.0-13

accountwizard | 4:18.08.1-1
gnupg | 2.2.12-1
kdepim-addons | 18.08.1-1
kdepim-themeeditors | 4:18.08.1-1
mbox-importer | 4:18.08.1-1
pim-data-exporter | 4:18.08.1-1
pim-sieve-editor | 4:18.08.1-1
pinentry-qt | 1.1.0-1+b1
OR pinentry-x11 |

clamav |
kaddressbook | 4:18.08.1-1
kleopatra | 4:18.08.1-1
procmail |
spamassassin |
OR bogofilter |
OR spambayes (>= 1.0.4-6) |
OR bsfilter |
OR crm114 |

Wolfgang Wiedemann

unread,
Jan 20, 2019, 12:40:02 PM1/20/19
to
Followup-For: Bug #919504
Package: kmail
Version: 4:18.08.1-1

Dear Maintainer,

I confirm; I get reproducible empty preview (html and plain text) and in
addition the content of message/mail cannot be printed.

Steps to reproduce:
A) Select any message
Select print preview (mouse right click or menu):
I expect a print preview of the message - instead I get a preview without
content (empty/blank page)

B) Select any message
Select Print message (mouse right click or menu):
I expect a printout of the message - instead I get a printout without content
(empty/blank page)


The output of pdfinfo to this blank page:
user@machine:~$ pdfinfo print.pdf
Title:
Creator:
Producer: Qt 5.11.3
CreationDate: Sun Jan 20 17:52:21 2019 CET
Tagged: no
UserProperties: no
Suspects: no
Form: none
JavaScript: no
Pages: 1
Encrypted: no
Page size: 595 x 842 pts (A4)
Page rot: 0
File size: 1161 bytes
Optimized: no
PDF version: 1.4


KMail started in the terminal, results in the following error message:
user@machine:~$ kmail
No text-to-speech plug-ins were found.
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 2036, resource
id: 130023509, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 2039, resource
id: 130023509, major code: 130 (Unknown), minor code: 3
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 2042, resource
id: 130023509, major code: 130 (Unknown), minor code: 3
Failure to generate QImage from invalid or empty PDF document.
QIODevice::read (QLocalSocket): device not open
QIODevice::read (QLocalSocket): device not open
Received signal 11 SEGV_MAPERR 000000000231
Speicherzugriffsfehler (Speicherabzug geschrieben)

Regards (ab)


-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.20.3-towo.1-siduction-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de:en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kmail depends on:
ii akonadi-server 4:18.08.1-1.1
ii kdepim-runtime 4:18.08.1-1
ii kio 5.54.1-1
ii libc6 2.28-5
ii libgcc1 1:8.2.0-14
ii libgpgmepp6 1.12.0-5
ii libkf5akonadiagentbase5 4:18.08.1-1.1
ii libkf5akonadicontact5 4:18.08.1-1
ii libkf5akonadicore5abi2 4:18.08.1-1.1
ii libkf5akonadimime5 4:18.08.1-2
ii libkf5akonadisearch-bin 4:18.08.1-1+b1
ii libkf5akonadisearch-plugins 4:18.08.1-1+b1
ii libkf5akonadisearchdebug5 4:18.08.1-1+b1
ii libkf5akonadisearchpim5 4:18.08.1-1+b1
ii libkf5akonadiwidgets5abi1 4:18.08.1-1.1
ii libkf5bookmarks5 5.54.0-1
ii libkf5calendarcore5abi2 4:18.08.1-1
ii libkf5calendarutils5 4:18.08.1-1
ii libkf5codecs5 5.54.0-1
ii libkf5completion5 5.54.0-1
ii libkf5configcore5 5.54.0-1
ii libkf5configgui5 5.54.0-1
ii libkf5configwidgets5 5.54.0-1
ii libkf5contacts5 4:18.08.1-1
ii libkf5coreaddons5 5.54.0-1
ii libkf5crash5 5.54.0-1
ii libkf5dbusaddons5 5.54.0-1
ii libkf5followupreminder5 4:18.08.1-1
ii libkf5grantleetheme-plugins 18.08.1-1
ii libkf5gravatar5abi2 4:18.08.1-1
ii libkf5guiaddons5 5.54.0-1
ii libkf5i18n5 5.54.0-1
ii libkf5iconthemes5 5.54.0-1
ii libkf5identitymanagement5 18.08.1-1
ii libkf5itemmodels5 5.54.0-1
ii libkf5itemviews5 5.54.0-1
ii libkf5jobwidgets5 5.54.0-1
ii libkf5kcmutils5 5.54.0-1
ii libkf5kiocore5 5.54.1-1
ii libkf5kiofilewidgets5 5.54.1-1
ii libkf5kiowidgets5 5.54.1-1
ii libkf5kontactinterface5 18.08.1-1
ii libkf5ksieveui5 4:18.08.1-1
ii libkf5libkdepim-plugins 4:18.08.1-1
ii libkf5libkdepim5 4:18.08.1-1
ii libkf5libkdepimakonadi5 4:18.08.1-1
ii libkf5libkleo5 4:18.08.1-1
ii libkf5mailcommon5abi2 4:18.08.1-1
ii libkf5mailtransport5 18.08.1-2
ii libkf5mailtransportakonadi5 18.08.1-2
ii libkf5messagecomposer5abi1 4:18.08.1-1
ii libkf5messagecore5abi1 4:18.08.1-1
ii libkf5messagelist5abi1 4:18.08.1-1
ii libkf5messageviewer5abi1 4:18.08.1-1
ii libkf5mime5abi1 18.08.1-1
ii libkf5mimetreeparser5abi1 4:18.08.1-1
ii libkf5notifications5 5.54.0-1
ii libkf5notifyconfig5 5.54.0-1
ii libkf5parts5 5.54.0-1
ii libkf5pimcommon5abi2 4:18.08.1-1
ii libkf5pimcommonakonadi5abi1 4:18.08.1-1
ii libkf5pimtextedit5abi2 18.08.1-1
ii libkf5sendlater5 4:18.08.1-1
ii libkf5service-bin 5.54.0-1
ii libkf5service5 5.54.0-1
ii libkf5sonnetui5 5.54.0-1
ii libkf5templateparser5 4:18.08.1-1
ii libkf5textwidgets5 5.54.0-1
ii libkf5tnef5 4:18.08.1-1
ii libkf5wallet-bin 5.54.0-1
ii libkf5wallet5 5.54.0-1
ii libkf5webengineviewer5abi1 4:18.08.1-1
ii libkf5widgetsaddons5 5.54.0-1
ii libkf5windowsystem5 5.54.0-1
ii libkf5xmlgui5 5.54.0-1
ii libqgpgme7 1.12.0-5
ii libqt5core5a 5.11.3+dfsg-2
ii libqt5dbus5 5.11.3+dfsg-2
ii libqt5gui5 5.11.3+dfsg-2
ii libqt5network5 5.11.3+dfsg-2
ii libqt5widgets5 5.11.3+dfsg-2
ii libqt5xml5 5.11.3+dfsg-2
ii libstdc++6 8.2.0-14

Versions of packages kmail recommends:
ii accountwizard 4:18.08.1-1
ii gnupg 2.2.12-1
ii kdepim-addons 18.08.1-1
ii kdepim-themeeditors 4:18.08.1-1
ii mbox-importer 4:18.08.1-1
ii pim-data-exporter 4:18.08.1-1
ii pim-sieve-editor 4:18.08.1-1
ii pinentry-gtk2 [pinentry-x11] 1.1.0-1+b1
ii pinentry-qt [pinentry-x11] 1.1.0-1+b1

Versions of packages kmail suggests:
ii bogofilter 1.2.4+dfsg1-13
pn clamav <none>
ii kaddressbook 4:18.08.1-1
ii kleopatra 4:18.08.1-1
pn procmail <none>

-- no debconf information

--
PGP: 0x6b8ecbe6c0a2296e
signature.asc

Hendrik Lehmbruch

unread,
Feb 17, 2019, 2:10:03 PM2/17/19
to
Package: kmail
Version: 4:18.08.3-1
Followup-For: Bug #919504

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?
Well, i tried to print an eMail
* What exactly did you do (or not do) that was effective (or
ineffective)?
open the printdialog and the printpreview
* What was the outcome of this action?
the preview shows empty page and the printer prints an empty page.
html-mails ¡and! text-mails.
¡No chance to print any mail, evry print would/is empty!
* What outcome did you expect instead?
A well printed page.

*** End of the template - remove these template lines ***

I can confirm that on to uptodate buster/sid installations


-- System Information:
Debian Release: buster/sid

APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.20.9-towo.1-siduction-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kmail depends on:

ii akonadi-server 4:18.08.3-4
ii kdepim-runtime 4:18.08.3-1
ii kio 5.54.1-1
ii libc6 2.28-7
ii libgcc1 1:8.2.0-21
ii libgpgmepp6 1.12.0-6
ii libkf5akonadiagentbase5 4:18.08.3-4
ii libkf5akonadicontact5 4:18.08.3-1
ii libkf5akonadicore5abi2 4:18.08.3-4
ii libkf5akonadimime5 4:18.08.3-1
ii libkf5akonadisearch-bin 4:18.08.3-1
ii libkf5akonadisearch-plugins 4:18.08.3-1
ii libkf5akonadisearchdebug5 4:18.08.3-1
ii libkf5akonadisearchpim5 4:18.08.3-1
ii libkf5akonadiwidgets5abi1 4:18.08.3-4
ii libkf5bookmarks5 5.54.0-1
ii libkf5calendarcore5abi2 4:18.08.3-1
ii libkf5calendarutils5 4:18.08.3-2


ii libkf5codecs5 5.54.0-1
ii libkf5completion5 5.54.0-1
ii libkf5configcore5 5.54.0-1
ii libkf5configgui5 5.54.0-1
ii libkf5configwidgets5 5.54.0-1

ii libkf5contacts5 4:18.08.3-1


ii libkf5coreaddons5 5.54.0-1
ii libkf5crash5 5.54.0-1
ii libkf5dbusaddons5 5.54.0-1

ii libkf5followupreminder5 4:18.08.3-2
ii libkf5grantleetheme-plugins 18.08.3-1
ii libkf5gravatar5abi2 4:18.08.3-1


ii libkf5guiaddons5 5.54.0-1
ii libkf5i18n5 5.54.0-1
ii libkf5iconthemes5 5.54.0-1

ii libkf5identitymanagement5 18.08.3-2


ii libkf5itemmodels5 5.54.0-1
ii libkf5itemviews5 5.54.0-1
ii libkf5jobwidgets5 5.54.0-1
ii libkf5kcmutils5 5.54.0-1
ii libkf5kiocore5 5.54.1-1
ii libkf5kiofilewidgets5 5.54.1-1
ii libkf5kiowidgets5 5.54.1-1

ii libkf5kontactinterface5 18.08.3-1
ii libkf5ksieveui5 4:18.08.3-2
ii libkf5libkdepim-plugins 4:18.08.3-2
ii libkf5libkdepim5 4:18.08.3-2
ii libkf5libkdepimakonadi5 4:18.08.3-2
ii libkf5libkleo5 4:18.08.3-2
ii libkf5mailcommon5abi2 4:18.08.3-2
ii libkf5mailtransport5 18.08.3-2
ii libkf5mailtransportakonadi5 18.08.3-2
ii libkf5messagecomposer5abi1 4:18.08.3-1
ii libkf5messagecore5abi1 4:18.08.3-1
ii libkf5messagelist5abi1 4:18.08.3-1
ii libkf5messageviewer5abi1 4:18.08.3-1
ii libkf5mime5abi1 18.08.3-1
ii libkf5mimetreeparser5abi1 4:18.08.3-1


ii libkf5notifications5 5.54.0-1
ii libkf5notifyconfig5 5.54.0-1
ii libkf5parts5 5.54.0-1

ii libkf5pimcommon5abi2 4:18.08.3-2
ii libkf5pimcommonakonadi5abi1 4:18.08.3-2
ii libkf5pimtextedit5abi2 18.08.3-1
ii libkf5sendlater5 4:18.08.3-2


ii libkf5service-bin 5.54.0-1
ii libkf5service5 5.54.0-1
ii libkf5sonnetui5 5.54.0-1

ii libkf5templateparser5 4:18.08.3-1
ii libkf5textwidgets5 5.54.0-1
ii libkf5tnef5 4:18.08.3-1


ii libkf5wallet-bin 5.54.0-1
ii libkf5wallet5 5.54.0-1

ii libkf5webengineviewer5abi1 4:18.08.3-1


ii libkf5widgetsaddons5 5.54.0-1
ii libkf5windowsystem5 5.54.0-1
ii libkf5xmlgui5 5.54.0-1

ii libqgpgme7 1.12.0-6
ii libqt5core5a 5.11.3+dfsg-5
ii libqt5dbus5 5.11.3+dfsg-5
ii libqt5gui5 5.11.3+dfsg-5
ii libqt5network5 5.11.3+dfsg-5
ii libqt5widgets5 5.11.3+dfsg-5
ii libqt5xml5 5.11.3+dfsg-5
ii libstdc++6 8.2.0-21

Versions of packages kmail recommends:

ii accountwizard 4:18.08.3-1
ii gnupg 2.2.12-1
ii kdepim-addons 18.08.3-1
ii kdepim-themeeditors 4:18.08.3-1
ii mbox-importer 4:18.08.3-1
ii pim-data-exporter 4:18.08.3-1
ii pim-sieve-editor 4:18.08.3-1
ii pinentry-gnome3 [pinentry-x11] 1.1.0-1+b1
ii pinentry-qt [pinentry-x11] 1.1.0-1+b1

Versions of packages kmail suggests:
ii bogofilter 1.2.4+dfsg1-13
pn clamav <none>

ii kaddressbook 4:18.08.3-1
ii kleopatra 4:18.08.3-1
pn procmail <none>
ii spamassassin 3.4.2-1

-- no debconf information

hlehm...@gmx.net

unread,
Feb 17, 2019, 3:20:03 PM2/17/19
to
When i start kmail from the konsole, open the printpreview and than is
reproducible crashing (mostly every time) i get this information.
As attachment i send the crash report from drkonqi.

greetz Hendrik

:~$ LANG=C kmail
org.kde.pim.kidentitymanagement: IdentityManager: There was no default
identity. Marking first one as default. No text-to-speech plug-ins were
found. Failure to generate QImage from invalid or empty PDF document.
QIODevice::read (QLocalSocket): device not open
QIODevice::read (QLocalSocket): device not open
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
/tmp/messageviewer_TlucUh.index.2 was removed .
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kmail path = /usr/bin pid = 19477
KCrash: Arguments: /usr/bin/kmail
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
from kdeinit sock_file=/run/user/1000/kdeinit5__0

[1]+ Angehalten LANG=C kmail
kmail-20190217-210210.kcrash.txt

Dmitry Shachnev

unread,
Apr 11, 2019, 10:30:02 AM4/11/19
to
Control: fixed -1 qtwebengine-opensource-src/5.12.2+dfsg-1

Hi all,

On Wed, Jan 16, 2019 at 04:16:01PM +0100, MAG4 Piemonte wrote:
> Dear maintainer, with any email message print preview is blank.
> We found and confirmed the same error upstream
> https://bugs.kde.org/show_bug.cgi?id=403159

According to the upstream bug (see comments 12, 13) this issue is
fixed in Qt WebEngine 5.12.

I am afraid it would be very difficult to backport the fix to 5.11.
However, if someone wants to do the work, patches are welcome.

--
Dmitry Shachnev
signature.asc

Blum Mathieu

unread,
Aug 24, 2019, 4:40:02 AM8/24/19
to
Hi,

I meet the same problem: blank page when printing or printing preview.

By searching on internet, I have found this:
https://github.com/qutebrowser/qutebrowser/issues/4599
Based on that, I have compared source codes of pdfium_document_wrapper_qt
between from versions 5.11 (https://github.com/qt/qtwebengine/blob/5.11/src/
core/printing/pdfium_document_wrapper_qt.cpp) and 5.12 (https://github.com/qt/
qtwebengine/blob/5.12/src/core/printing/pdfium_document_wrapper_qt.cpp).
And there are some modifications mainly in the function "QImage createImage".

Could this be the cause ? Maybe can somebody do the test.

Mathieu

Melvin Vermeeren

unread,
Sep 17, 2019, 8:10:03 AM9/17/19
to
Hi,

I have looked around in a bunch of sources and have come to the conclusion
that this is most probably a bug in the bundled chromium version of Qt 5.11.1
Looking around For Chromium it is difficult to track bugs due to its size and
due to many users making bogus bug reports, but over the years there have been
multiple issues where Chromium print(-preview) results in blank pages.

The changelog of Qt 5.12.x does also not list anything significant related to
printing, further supporting this theory. I have also confirmed Qt 5.12.0
resolves the issue.


There are two ways to fix this issue as I see it now:

1. Hard: Figure out the difference between Chromium 65.0.3325.230 (Qt 5.11.1 -
Qt 5.11.3) and Chromium 69.0.3497.128 (Qt 5.12.0), find upstream bug reports
in Chromium and see if there are any relevant patches and/or commits. Then
attempt to backport these to fix the bug.

2. Easy: update to QtWebEngine 5.12.0, keep build depends as Qt 5.11.x. Take
the earliest Debian 5.12.x release, before build depends were updated, and
downgrade to 5.12.0 so the diff is as small as possible. This builds fine in a
buster environment and works as expected. The only "issue" is applications
still say "QtWebEngine 5.11.3" in their about as they aren't recompiled.

Upstream makes the following guarantee[1]:
> The Qt version 5.12 series is binary compatible with the 5.11.x series.
> Applications compiled for 5.11 will continue to run with 5.12.

So, problems could only occur when users still have self-compiled/legacy
QtWebEngine applications that were compiled with 5.10.x. If this is of serious
concern a NEWS entry could be added.

For those that are interested in the fix, I have prepared a source package[2]
and a binary package for amd64[3]. This binary package has been used in
production for about a week now and I have received no issues regarding it.


In most office environments printing is typically used a lot, besides Qt
browser printing being broken mail printing being broken is a significant
issue. Many users rely on printing for their daily work, which is why I
consider this bug to be of severity "important", not "normal".

Melvin.

[1] https://code.qt.io/cgit/qt/qtwebengine.git/tree/dist/changes-5.12.0
[2] https://git.mel.vin/debian/pkg/qtwebengine
[3] https://mel.vin/debian/pool/main/q/qtwebengine-opensource-src/

Dmitry Shachnev

unread,
Sep 18, 2019, 9:50:02 AM9/18/19
to
Hi Melvin!

On Tue, Sep 17, 2019 at 01:57:09PM +0200, Melvin Vermeeren wrote:
> Hi,
>
> I have looked around in a bunch of sources and have come to the conclusion
> that this is most probably a bug in the bundled chromium version of Qt 5.11.1
> Looking around For Chromium it is difficult to track bugs due to its size and
> due to many users making bogus bug reports, but over the years there have been
> multiple issues where Chromium print(-preview) results in blank pages.
>
> The changelog of Qt 5.12.x does also not list anything significant related to
> printing, further supporting this theory. I have also confirmed Qt 5.12.0
> resolves the issue.
>
>
> There are two ways to fix this issue as I see it now:
>
> 1. Hard: Figure out the difference between Chromium 65.0.3325.230 (Qt 5.11.1 -
> Qt 5.11.3) and Chromium 69.0.3497.128 (Qt 5.12.0), find upstream bug reports
> in Chromium and see if there are any relevant patches and/or commits. Then
> attempt to backport these to fix the bug.
>
> 2. Easy: update to QtWebEngine 5.12.0, keep build depends as Qt 5.11.x. Take
> the earliest Debian 5.12.x release, before build depends were updated, and
> downgrade to 5.12.0 so the diff is as small as possible. This builds fine in a
> buster environment and works as expected. The only "issue" is applications
> still say "QtWebEngine 5.11.3" in their about as they aren't recompiled.

Thanks for your analysis. We are going to update the whole Qt to 5.12 soon
in unstable.

Regarding Buster, the second variant will not be possible for many reasons.

First reason: the diff is huge and it is impossible to review it manually,
which is required for a stable release update.

Second reason: while newer Qt WebEngine can build fine against older Qt,
the version mismatch can cause issues in other applications. In Ubuntu,
I tried to build Qt WebEngine 5.9.8 with Qt 5.9.5 (same series!), and
several KDE applications started getting this error (when building or
running tests):

> CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5WebEngineCore/Qt5WebEngineCoreConfig.cmake:101 (find_package):
> Could not find a configuration file for package "Qt5Quick" that is
> compatible with requested version "5.9.8".
>
> The following configuration files were considered but not accepted:
>
> /usr/lib/x86_64-linux-gnu/cmake/Qt5Quick/Qt5QuickConfig.cmake, version: 5.9.5

So the only way to fix this issue in Buster is the first (hard) variant.

--
Dmitry Shachnev
signature.asc

Leandro Lucarella

unread,
Oct 19, 2019, 2:50:03 PM10/19/19
to
Hi Dmitry,

On Wed, 18 Sep 2019 16:45:51 +0300 Dmitry Shachnev <mit...@debian.org>
wrote:
> Hi Melvin!
[snip]
> Thanks for your analysis. We are going to update the whole Qt to 5.12
soon
> in unstable.

Thanks for the update. Do you have any idea of how soon "soon" will be?
I'm experiencing this issue too and since it's been a month until the last
message in this issue, I would like to know if I should find a workaround
for some time or if I can just wait for Qt 5.12.0 to be available in
unstable.

I noticed it is in experimental but making a naive attempt to upgrade to
the experimental package by doing a:

sudo apt install -t experimental libqt5webengine5 libqt5gui5

apt say it will remove hundreds of packages including the whole KDE :)


Thanks again!

--
Leandro Lucarella (Luca)
https://llucax.com
signature.asc

Dmitry Shachnev

unread,
Oct 21, 2019, 6:10:04 AM10/21/19
to
Hi Leandro!

On Sat, Oct 19, 2019 at 08:33:33PM +0200, Leandro Lucarella wrote:
> Thanks for the update. Do you have any idea of how soon "soon" will be?
> I'm experiencing this issue too and since it's been a month until the last
> message in this issue, I would like to know if I should find a workaround
> for some time or if I can just wait for Qt 5.12.0 to be available in
> unstable.
>
> I noticed it is in experimental but making a naive attempt to upgrade to
> the experimental package by doing a:
>
> sudo apt install -t experimental libqt5webengine5 libqt5gui5
>
> apt say it will remove hundreds of packages including the whole KDE :)

A transition is happening right now. It may take a few days before the
reverse dependencies are rebuilt, but should not take more than a week.

During that period, apt may behave the way you described. In that case
just don't install updates and wait until things settle down.

--
Dmitry Shachnev
signature.asc

MAG4 Piemonte

unread,
Nov 4, 2019, 5:40:02 AM11/4/19
to
Hi Dmitry, we can confirm that upgrading to Qt 5.12.5-3 solve the problem.
For us you can close the bug ...
Thank you!

Guido

Guido Audino

unread,
Nov 4, 2019, 5:40:03 AM11/4/19
to
0 new messages