Bug 28758 - Can not print in Evolution (and other gtk webkit app), Workaround in c0
Summary: Can not print in Evolution (and other gtk webkit app), Workaround in c0
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: GNOME maintainers
QA Contact:
URL: https://gitlab.gnome.org/GNOME/evolut...
Whiteboard:
Keywords: IN_ERRATA8
Depends on:
Blocks:
 
Reported: 2021-04-10 16:42 CEST by Vincent D
Modified: 2023-06-21 09:10 CEST (History)
2 users (show)

See Also:
Source RPM: evolution-3.38.3-2.mga8.src.rpm, webkit2-2.30.5-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Vincent D 2021-04-10 16:42:34 CEST
It is not possible to print in evolution as packaged in mageia 8.

It is due to a bug in webkit and sandboxed code for printing, see:
- https://gitlab.gnome.org/GNOME/evolution/-/issues/1141
- https://bugs.webkit.org/show_bug.cgi?id=202363


How reproducible:
Try to print a mail, either on a real printer or in a pdf file. Evolution shows an error message (like: The printer replied “Error opening file â/home/XXXXXX/Documents/testout.pdfâ: No such file or directory”.) and nothing happens (no file created nor printing on a printer).

Steps to Reproduce:
1. Launch evolution program.
2. Try to print a mail, either on a printer or in a pdf file.


Possible workaround: add "export WEBKIT_FORCE_SANDBOX=0" in the file ~/.bashrc and restart the user session. It will then affect all gtk webkit based applications.

Please follow the progress of this bug to solve it when possible.
Comment 1 Lewis Smith 2021-04-12 12:01:04 CEST
Thank you for the report, the references, and the workaround.
"Until we manage to fix this, you should not enable the sandbox if you need printing to work." They talk of 'WebKitGTK', but I cannot find anything of that name chez Mageia, the nearest being:
 webkit2
 lib64webkit2gtk4.0_37

As for the workaround, it begs the question of where the 'sandbox' is being invoked.

Assigning to the Gnome people.

Assignee: bugsquad => gnome
Source RPM: evolution-3.38.3-2.mga8.src.rpm => evolution-3.38.3-2.mga8.src.rpm, webkit2-2.30.5-1.mga8.src.rpm

Curtis Hildebrand 2021-04-30 19:10:31 CEST

CC: (none) => curtis_mageia

Comment 2 Morgan Leijström 2021-05-01 10:33:15 CEST
Thanks Vincent.

Added:
https://wiki.mageia.org/en/Mageia_8_Errata#Printing_in_gtk_webkit_applications

Keywords: (none) => IN_ERRATA8
CC: (none) => fri
Summary: Can not print in evollution (and other gtk webkit app based) => Can not print in Evolution (and other gtk webkit app), Workaround in c0

Comment 3 Morgan Leijström 2023-06-21 09:10:10 CEST
We have the errata entry also in Mageia 9 currently.

But does it work in Mageia 9 without the workaround and errata 9 entry be removed?

Note You need to log in before you can comment on or make changes to this bug.