Bug#927719: gnome-shell: pressing Ctrl or Alt sometimes deletes text in WebKitGTK

Simon McVittie smcv at debian.org
Sun Apr 21 22:15:13 BST 2019


Package: gnome-shell
Version: 3.30.2-7
Severity: important
Tags: upstream patch fixed-upstream
Forwarded: https://gitlab.gnome.org/GNOME/gtk/issues/1447

There is a bad interaction between gnome-shell, GTK, non-English input
methods, WebKitGTK and Evolution that can cause text to be deleted
unintentionally. I have not verified whether Debian is still affected by
this (it's a tricky interaction between several components, and multiple
workarounds and fixes have been applied upstream, some of which might
already be in buster) but there is a patch for gnome-shell in upstream's
gnome-3-30 branch, which I think we should consider applying for buster
to try to rule out data loss.

https://gitlab.gnome.org/GNOME/gtk/issues/1447:
> evolution-3.30.2-2.fc29.x86_64; webkit2gtk3-2.22.3-1.fc29.x86_64
> Steps:
>
> Enable: Edit > Preferences > Mail Preferences > HTML Messages >
>  Plain Text Mode > Show suppressed HTML parts as attachments.
> Disable: Edit > Preferences > Composer Preferences > Default Behavior >
>  Format messages in HTML
> Open https://mail.gnome.org/archives/evolution-list/2018-November/msg00023.html
> Press Ctrl+L (reply)
> Mark any lines of text in the email
> Press the Ctrl key
>
> Expected outcome: Nothing
>
> Actual outcome: The marked text get deleted.

See attached patches (untested).

    smcv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-inputMethod-Avoid-calling-set_preedit_text-if-unnece.patch
Type: text/x-diff
Size: 1383 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20190421/7c2b0bb4/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-inputMethod-Keep-track-of-preedit-string-visibility.patch
Type: text/x-diff
Size: 2292 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20190421/7c2b0bb4/attachment-0001.patch>


More information about the pkg-gnome-maintainers mailing list