GNOME Bugzilla – Bug 777086
Composer sometimes hangs on right-click above a word in the body
Last modified: 2017-08-10 00:23:08 UTC
Created attachment 343241 [details] Video example. Spell check hangs when right click over a word until you move out of window bounds. Evolution: 3.22.3 OS: Aantergos (arch based) How to reproduce. * Enable spell check as you type. * Create new email. * Type in three words that are misspelled. My case 'color', 'mett', 'darwen'. * Left click into the text of one of the words, then right click. Spell check context menu will appear. * Right click on a mispelled word that does not have the cursor within it. Spell check context menu will not appear (hang) until you move your mouse outside the composer window.
Thanks for a bug report. I could reproduce it too, but for me it was rather about the below error message being printed on the evolution's console, than about moving cursor away from the composer window. > (evolution:13987): evolution-util-WARNING **: Failed to call a DBus Proxy > method org.gnome.Evolution.WebExtension.EWebKitEditor.WC0x3909f00::DOMGetCaretWord: > Timeout was reached I was able to reproduce it only when the CPU was busy with some other tasks, though, thus it's higly about the timing. I caught the backtrace of the evolution:
+ Trace 237052
Thread 1 (Thread 0x7f2c6d322fc0 (LWP 13987))
Err, there is some information in the middle of the backtrace above, with another backtrace. Could you verify, whether it's the same for you, thus that the issue is about the timeout being reached when the DOMGetCaretWord had been issued on the evolution side, which is printed on the evolution console, when you run it from a terminal, please?
Can you detail the debug procedure?
Just run evolution from a terminal and open the message composer. Reproduce the issue and once the popup menu shows up, switch to the terminal window and see whether any new messages were shown there. A one like this one: > (evolution:13987): evolution-util-WARNING **: Failed to call a DBus Proxy > method org.gnome.Evolution.WebExtension.EWebKitEditor.WC0x3909f00::DOMGetCaretWord: > Timeout was reached means that you are facing the same issue.
Created attachment 343345 [details] View of error - Antergos x86_64
Managed to recreate the error message you referred to and get output in terminal under higher load (copying an ISO to another folder on disk). See screenshot.
Thanks for the update. In that case I'd say it's the same thing, caused by the timing issue. I've no idea how to address it, though, because the menu cannot be shown and then updated without side-effects (misposition or a wrong size being used).
*** Bug 775274 has been marked as a duplicate of this bug. ***
I tried to postpone the whole invocation of the context menu and it seems to work. What I did think of before was to postpone the invocation of the update-actions signal only. Created commit fbd907e in evo master (3.25.90+) Created commit 111095e in evo gnome-3-24 (3.24.5+)
*** Bug 785472 has been marked as a duplicate of this bug. ***