Bug 239557

Summary: [GTK] Evolution compose window unusable with Ubuntu 22.04 on Wayland
Product: WebKit Reporter: Jeremy Bicha <jbicha>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply, jbicha, mcrha
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
URL: https://gitlab.gnome.org/GNOME/evolution/-/issues/1877
See Also: https://launchpad.net/bugs/1969584

Description Jeremy Bicha 2022-04-20 11:19:31 PDT
Ubuntu 22.04
evolution 3.44.0
webkit2gtk 2.36.0 built with -DUSE_WPE_RENDERER=OFF

mesa 22.0.1-1ubuntu2 including https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15822

Test Case
---------
From Ubuntu 22.04, open Evolution
Click the New Email button
Add text to the main textarea
The text is invisible

Workaround
----------
It works in the Ubuntu on Xorg session, just not the Wayland session.
And this works: WEBKIT_DISABLE_COMPOSITING_MODE=1 evolution

Other Info
----------
Evolution does display emails. It's just the composer that isn't working.
This doesn't look reproducible with a standard Debian Testing or Fedora 36. Fedora 36 is also using mesa 22.0.1.

Ubuntu had a previous issue triggered by mesa 22 that broke all webkit apps on Ubuntu ( https://bugs.webkit.org/show_bug.cgi?id=238513 ). That was fixed on Ubuntu with the mesa patch. Most distros build webkit with the WPE renderer option enabled but Ubuntu hasn't switched to that yet.
Comment 1 Milan Crha 2022-04-24 23:10:35 PDT
evolution changes related to bug #239429 may address this one too - evo disables hardware acceleration in the code again.