GNOME Bugzilla – Bug 774067
Webkit composer is very slow refresh when typing
Last modified: 2017-11-03 18:45:11 UTC
The webKit composer is freezing when I type and the letters appear several seconds after I type on the keyboard. I'm on archlinux and this happen since the upgrade of webkit2gtk from 2.12.x the new version 2.14.x There is no specific Warnings or errors when I launch it in a terminal. Work perfectly fine with webkit2gtk-2.12.3. Don't know if it is an evolution bug or a webkit bug...
Hmm, that's strange. Can you please try running: /usr/libexec/webkit2gtk-4.0/MiniBrowser -e and check whether the input is slow there as well?
Not user if this is related, but is seems since the webkit2gtk update right clicking on a misspelled word is also very slow. It sometimes takes about 5 seconds or more before evolution is showing the relevant context menu. Michael, can you confirm this as well? I'm also on Arch.
I confirm that right click is also pretty slow... (In reply to Eric Donkersloot from comment #2) > Not user if this is related, but is seems since the webkit2gtk update right > clicking on a misspelled word is also very slow. It sometimes takes about 5 > seconds or more before evolution is showing the relevant context menu. > > Michael, can you confirm this as well? > > I'm also on Arch.
(In reply to Tomas Popela from comment #1) > Hmm, that's strange. Can you please try running: > > /usr/libexec/webkit2gtk-4.0/MiniBrowser -e > > and check whether the input is slow there as well? Sorry, the libexec seems to be here in Arch but I can't find this MiniBrowser anywhere: ls /usr/lib/webkit2gtk-4.0/ injected-bundle jsc WebKitDatabaseProcess WebKitNetworkProcess WebKitPluginProcess WebKitPluginProcess2 WebKitWebProcess Can I try something else? FYI, I tried with the unstable version webkitgtk-2.15.1 and the problem persists.
Ok, so your maintainer is not building it (it's handy do quickly debug stuff). Can you please run epiphany and open https://html5demos.com/contenteditable there and try to write some text into the editable area?
It works just fine. By the way, I don't think it is related, but do not work in firefox (not editable) An other detail, in evolution the scrolling, the window resize and the right click (only on misspelled words) and even cursor blink are also very slow: approximately 3 second of lag. It becomes pretty hard to write a mail ;) So, as a workaroud for Arch user if you still have the old package in your cache: sudo pacman -U /var/cache/pacman/pkg/webkit2gtk-2.12.3-1-x86_64.pkg.tar.xz Then restart Evolution
(In reply to Michael Mercier from comment #6) > It works just fine. > > By the way, I don't think it is related, but do not work in firefox (not > editable) Yes I know.. That's related to GTK3 port of Firefox, I told it to the Firefox developers, but they are just ignoring it. > An other detail, in evolution the scrolling, the window resize and the right > click (only on misspelled words) and even cursor blink are also very slow: > approximately 3 second of lag. Can you please run evolution with this? WEBKIT_DISABLE_COMPOSITING_MODE=1 evolution and tell me if it's better?
(In reply to Tomas Popela from comment #7) > (In reply to Michael Mercier from comment #6) > > It works just fine. > > > > By the way, I don't think it is related, but do not work in firefox (not > > editable) > > Yes I know.. That's related to GTK3 port of Firefox, I told it to the > Firefox developers, but they are just ignoring it. > > > An other detail, in evolution the scrolling, the window resize and the right > > click (only on misspelled words) and even cursor blink are also very slow: > > approximately 3 second of lag. > > Can you please run evolution with this? > > WEBKIT_DISABLE_COMPOSITING_MODE=1 evolution > > and tell me if it's better? It works perfectly! Thanks :) Do you need more info?
I have an issue where input completely stops and so does right clicking in composer. It often happens when there is a word that needs spell checking and I right click often. Could it be the same issue? Thank you.
(In reply to Michael Mercier from comment #8) > It works perfectly! Thanks :) > > Do you need more info? Yes, what graphics card do you have and what drivers you use?
This fixed my issue as well, I'm using Arch in Virtualbox (Windows host) 5.1.8 (vboxvideo).
(In reply to Tomas Popela from comment #10) > (In reply to Michael Mercier from comment #8) > > It works perfectly! Thanks :) > > > > Do you need more info? > > Yes, what graphics card do you have and what drivers you use? I am using the Intel controller: VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) I recently changed the graphic driver from xf86-video-intel to the kernel modesetting but because of this post: https://www.reddit.com/r/archlinux/comments/4cojj9/it_is_probably_time_to_ditch_xf86videointel/ But it looks controversial... I will try to go back to the Intel driver to see if it works better. I keep you posted.
OK, it works with the Intel driver so it comes from the modesetting driver.
Thank you for your input. Before the thing will be properly fixed on the WebKitGTK+ side I will create a workaround for Evolution.
Fixed with the following commits: Bug 774067 - Webkit composer is very slow refresh when typing Disable the accelerated compositing mode in WebKitGTK+ as we don't need it at all in Evolution (definitely not in composer, but right now disable it even for preview) and for some video drivers like vboxvideo and modesetting there is a big performance hit. commit c1f799d in the master branch for Evolution 3.23.2+ commit 0de465d in the gnome-3-22 for Evolution 3.22.3+
*** Bug 775504 has been marked as a duplicate of this bug. ***
I think I found a regression of this bug. I'm on Evolution 3.26.1-1 on Ubuntu 17.10 and this bug still occurs. Especially on composing emails with very long quotation history, editing and refreshing of the email composer is terribly slow. It seems like spellchecker is seeking through a whole message, instead of checking only what I type. For now as a workaround I have disabled spellchecking during composing of new message. GPU: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850 / R7 265 / R9 270 1024SP] Is there some new method to get Evo work normal with spellchecker enabled?