Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[21.11] Can't Compose Email in Evolution (WebKitGtk issue) #168645

Closed
blitz opened this issue Apr 14, 2022 · 15 comments
Closed

[21.11] Can't Compose Email in Evolution (WebKitGtk issue) #168645

blitz opened this issue Apr 14, 2022 · 15 comments
Labels
0.kind: bug 6.topic: GNOME GNOME desktop environment and its underlying platform

Comments

@blitz
Copy link
Contributor

blitz commented Apr 14, 2022

Describe the bug

Since the webkitgtk update in #167920, Evolution is broken. The window for composing emails is not showing any content anymore:

Reverting #167920 fixes the issue for me. Unfortunately, this was a security update. Now the problem is that either Evolution is insecure or non-functional...

There is an upstream issue here.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Open evolution and try to compose an email

Expected behavior

Composing an email in Evolution works.

Screenshots

evolution-bug.mp4

Additional context

Upstream issue: https://gitlab.gnome.org/GNOME/evolution/-/issues/1869

Notify maintainers

@NixOS/gnome

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.17.1, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4`
 - channels(root): `"nixos-21.11.337040.a62ce97f92b, nixos-hardware, nixos-unstable-22.05pre369117.ff9efb0724d, tuxedo"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@blitz blitz added 0.kind: bug 6.topic: GNOME GNOME desktop environment and its underlying platform labels Apr 14, 2022
@jtojnar
Copy link
Member

jtojnar commented Apr 14, 2022

I am unable to reproduce when running evolution from 5db9253:

Evolution compose

Could you perhaps try to run G_MESSAGES_DEBUG=all evolution in the command line and see if anything sticks out?

And maybe also https://trac.webkit.org/wiki/WebKitGTK/Debugging#Loggingsupport.

@jtojnar
Copy link
Member

jtojnar commented Apr 14, 2022

Oh, this is on 21.11, could you try to update to 3.42.4 first?

@hmenke
Copy link
Member

hmenke commented Apr 14, 2022

I can confirm this issue on NixOS 21.11. Actually, just typing in the window does work, but you can't see what you're typing. Also composing in an another editor using the External Editor plugin works fine as a temporary workaround.

Screenshot from 2022-04-14 19-45-39

@blitz
Copy link
Contributor Author

blitz commented Apr 15, 2022

Oh, this is on 21.11, could you try to update to 3.42.4 first?

I've updated to 3.42.4 and the issue persists. Downgrading webkitgtk resolves the issue. :(

@blitz
Copy link
Contributor Author

blitz commented Apr 15, 2022

Could you perhaps try to run G_MESSAGES_DEBUG=all evolution in the command line and see if anything sticks out?

I see nothing related to the broken message window, unfortunately.

@blitz
Copy link
Contributor Author

blitz commented Apr 15, 2022

@jtojnar

I am unable to reproduce when running evolution from 5db9253

This looks like a commit on master. Recent release-21.11 should trigger the bug.

@jtojnar
Copy link
Member

jtojnar commented Apr 17, 2022

It might also be the compositing issue again, could you try the fix from #32580 (comment), running it with env WEBKIT_DISABLE_COMPOSITING_MODE=1 evolution.

@blitz
Copy link
Contributor Author

blitz commented Apr 17, 2022

@jtojnar You are my personal hero today! This works. Will add this to the upstream ticket in Evolution.

The weird thing is that I don't have an nvidia GPU like people in the referenced issue, but boring Intel iGPU.

What is the path forward here? Wrapping evolution to always set this environment variable?

@jtojnar
Copy link
Member

jtojnar commented Apr 17, 2022

Proper fix would probably need to be done in webkitgtk.

@hmenke
Copy link
Member

hmenke commented Apr 17, 2022

I made a copy of org.gnome.Evolution.desktop in ~/.local/share/applications/ and replaced all Exec=... lines with Exec=env WEBKIT_DISABLE_COMPOSITING_MODE=1 .... Quick and dirty workaround.

@blitz
Copy link
Contributor Author

blitz commented Apr 17, 2022

Given that this happens on the release branch, I would propose to just disable compositing in webkitgtk by default. It seems that this was enabled by the webkitgtk update.

@blitz
Copy link
Contributor Author

blitz commented Apr 17, 2022

@hmenke Can you test #169058?

@hmenke
Copy link
Member

hmenke commented Apr 17, 2022

Oof, rebuilding WebKit 😒 Let's see if that's possible in reasonable time.

@blitz
Copy link
Contributor Author

blitz commented Apr 25, 2022

With #169170 merged, I think we can close this. :)

@blitz blitz closed this as completed Apr 25, 2022
@jtojnar
Copy link
Member

jtojnar commented Apr 26, 2022

42.1 disables the HW acceleration https://gitlab.gnome.org/GNOME/evolution/-/commit/eb62ccaa28bbbca7668913ce7d8056a6d75f9b05

This was referenced Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 6.topic: GNOME GNOME desktop environment and its underlying platform
Projects
None yet
Development

No branches or pull requests

3 participants