FS#69902 - qt5-webengine-5.15.3-2 breaks mail rendering in kmail-20.12.3-1
Attached to Project:
Arch Linux
Opened by Urs Joss (ursus) - Sunday, 07 March 2021, 11:45 GMT
Last edited by Antonio Rojas (arojas) - Friday, 12 March 2021, 12:14 GMT
Opened by Urs Joss (ursus) - Sunday, 07 March 2021, 11:45 GMT
Last edited by Antonio Rojas (arojas) - Friday, 12 March 2021, 12:14 GMT
|
Details
Description:
This morning's upgrade of qt-webengine from 5.15.2-5 to 5.15.3-2 prevents kmail from displaying the content of an email. Downgrading to 5.15.2-5 fixes it for now. OC it's not clear to me if kmail and/or qt-webengine will have to receive a fix to make the combination of the two packages work correctly. Steps to reproduce: - Ensure you have qt-webengine-5.15.2-5 and kmail installed. Open kmail and enjoy it displaying your mail. Close kmail - pacman -Syu to upgrade qt-webengine to 5.15.3-2 - Open kmail again. You'll still see the list of email, but you will not see the email content. |
This task depends upon
Closed by Antonio Rojas (arojas)
Friday, 12 March 2021, 12:14 GMT
Reason for closing: Fixed
Additional comments about closing: qt5-webengine 5.15.3-3
Friday, 12 March 2021, 12:14 GMT
Reason for closing: Fixed
Additional comments about closing: qt5-webengine 5.15.3-3
[39156:39156:0307/130739.895761:ERROR:network_service_instance_impl.cc(286)] Network service crashed, restarting service.
root 595 1 0 Mär06 ? 00:00:29 /usr/bin/NetworkManager --no-daemon
dhcpcd 604 601 0 Mär06 ? 00:00:00 dhcpcd: [network proxy]
urs 45069 45036 0 14:55 ? 00:00:00 /usr/lib/qt/libexec/QtWebEngineProcess --type=utility --enable-features=AllowContentInitiatedDataUrlNavigations,TracingServiceInProcess --disable-features=BackgroundFetch,ConsolidatedMovementXY,DnsOverHttpsUpgrade,FontSrcLocalMatching,FormControlsRefresh,MojoVideoCapture,PictureInPicture,SmsReceiver,UseSkiaRenderer,WebPayments,WebUSB --lang=de-CH --service-sandbox-type=network --use-gl=desktop --application-name=konqueror --webengine-schemes=error:lL;konq:lL;man:lL;info:lL;ms-its:lL;ghelp:lL;perldoc:lL;help:lL;about:lL;qrc:sLV --shared-files
urs 47784 1326 3 15:03 ? 00:00:01 /usr/bin/systemsettings5 kcm_networkmanagement
https://chromium.googlesource.com/chromium/src/+/master/content/browser/network_service_instance_impl.cc#330
I uninstalled chromium, even rebooted and still get the issue. How is qt5_webengine connected to chromium?
[15968:15968:0307/175708.255571:ERROR:network_service_instance_impl.cc(286)] Network service crashed, restarting service.
With qt5-webengine-5.15.2-5 it works as expected.
https://i.postimg.cc/KjsVdgwQ/Przechwycenie-obrazu-ekranu-2021-03-07-18-19-21.png
And running ClipGrab from a terminal gives this result
[12784:12784:0307/183259.214865:ERROR:network_service_instance_impl.cc(286)] Network service crashed, restarting service.
Not sure what information would be useful. My laptop is a Thinkpad X1C6. I'm using VPN with OpenVPN or Wireguard, but closing the connection doesn't make a difference.
KDE System Information:
Operating System: Arch Linux
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.20-1-lts
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8650U CPU @ 1.90GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
OS: Arch Linux x86_64
Host: Precision 7520
Kernel: 5.11.2-arch1-1
Uptime: 3 hours, 34 mins
Packages: 1960 (pacman)
Shell: fish 3.1.2
Resolution: 1920x1200
DE: Plasma
WM: kwin
Theme: Breeze Light [Plasma], Breeze [GTK2/3]
Icons: breeze [Plasma], breeze [GTK2/3]
Terminal: konsole
CPU: Intel i7-7700HQ (8) @ 3.800GHz
GPU: Intel HD Graphics 630
Memory: 2988MiB / 31938MiB
This is my report on Gentoo Linux: https://bugs.gentoo.org/773919
more detail: https://github.com/12101111/overlay/issues/13
a workaround: run qtwebengine with --single-process
This workaround has a limit: many programs have their own command line praser, e.g.: konqueror: Unknown option 'single-process'.
[1] https://github.com/qutebrowser/qutebrowser/issues/6235#issuecomment-793099273
[2] https://github.com/12101111/overlay/issues/13#issuecomment-792458441
Connection to speech-dispatcher failed
Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
[185197:185197:0308/220938.475866:ERROR:network_service_instance_impl.cc(286)] Network service crashed, restarting service.
Prominent error logs:
[18785:18785:0309/132409.836444:ERROR:network_service_instance_impl.cc(286)] Network service crashed, restarting service.
The Qt WebEngine Render process crashed with termination type: -1 and exit code: 1002
Will dig into it more tomorrow or so.
With qt5-webengine-5.15.3-2 installed, starting e.g. kmail from konsole with
LANG=en_US.UTF-8 kmail
works successfully, while
LANG=de_CH.UTF-8 kmail
shows the faulty behavior.
I found a better workaround (--single-process is bad from a stability/security perspective):
* Find out the locale .pak name matching your locale in /usr/share/qt/translations/qtwebengine_locales/ - this is usually the first part of your locale, except for en_DK.UTF-8 (or other en_* except en_US and en_GB) where you'll need to pick either "en-GB" or "en-US". Other special cases might be es-419, pt-BR, pt-PT, zh-CN and zh-TW.
* Start the affected application with the according --lang argument, e.g. --lang=de
* If your application doesn't accept/forward those arguments, set QTWEBENGINE_CHROMIUM_FLAGS=--lang=de in your environment instead (for qutebrowser, use --qt-flag or its qt.args setting)
@ursus Greetings from Rüti ZH (near Rapperswil) :)