After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794723 - Selecting text and unselecting it in the mail editor makes it randomly disappear/deleted
Selecting text and unselecting it in the mail editor makes it randomly disapp...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
https://gitlab.gnome.org/GNOME/gtk/is...
: 795721 795767 796417 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2018-03-27 13:24 UTC by Sebastian Dröge (slomo)
Modified: 2019-02-01 06:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screencast using epiphany tech preview (655.92 KB, video/webm)
2018-03-27 14:41 UTC, razotivs
Details
second screencast with epiphany tech preview (1.52 MB, video/webm)
2018-03-27 14:56 UTC, razotivs
Details

Description Sebastian Dröge (slomo) 2018-03-27 13:24:08 UTC
See summary. When selecting text in the mail editor, especially quoted text from the mail replied to, it is simply deleted from the mail.

This is with evolution 2.28.0 and webkit 2.20.0.
Comment 1 Sebastian Dröge (slomo) 2018-03-27 13:42:35 UTC
The deletion happens when unselecting the text again, and on IRC it was reported that the same also happens in epiphany. So probably a webkit bug.
Comment 2 Michael Catanzaro 2018-03-27 13:47:16 UTC
I can't reproduce this behavior in Epiphany. :(
Comment 3 razotivs 2018-03-27 14:41:42 UTC
Created attachment 370195 [details]
screencast using epiphany tech preview
Comment 4 Michael Catanzaro 2018-03-27 14:53:41 UTC
Still can't reproduce :/ but yes, it's surely a WebKit bug. I don't know how we're going to debug this, though.
Comment 5 Michael Catanzaro 2018-03-27 14:56:15 UTC
I've just updated to the latest version of Epiphany Tech Preview, and we're both testing on this same Bugzilla page, so it's surprising that we're getting different results....
Comment 6 razotivs 2018-03-27 14:56:24 UTC
Created attachment 370198 [details]
second screencast with epiphany tech preview
Comment 7 Milan Crha 2018-04-03 12:34:45 UTC
Thanks for a bug report. I'd probably move this to epiphany, if it can be reproduced there as well, because I'm most likely not able to do anything  with it from the Evolution side.

One thing about Evolution, it creates an autosave in a one minute interval after "the last" change. When this happens, then the selected text is unselected (not deleted). That's probably a different thing, right?

I watched both of the videos and even I see the result of the actions in the text area, I do not see what those actions were. Could you write detailed steps, please?

In case you've been just selecting various portions of the text, could it be that you began the drag above selected area, thus, instead of starting a selection, you moved the previously selected text elsewhere? hough I'm not able to reproduce the text disappear even with intentional drag&drop of the text portion.
Comment 8 Andres Gomez 2018-04-10 11:28:02 UTC
I can reproduce with epiphany 3.27.90-58-gf0e577e with WebKitGtk+ 2.20.0 from gnome-nightly's flatpak.

And, also evolution 3.28.0-4 and epiphany-browser 3.28.0.1-1 with WebKitGtk+ 2.20.0-dmo2 from current Debian Testing, at the same time.
Comment 9 Andres Gomez 2018-04-10 11:29:17 UTC
BTW, running under gnome-shell as Wayland compositor.
Comment 10 Michael Catanzaro 2018-04-10 17:10:44 UTC
Thanks for taking the time to report this.
This issue is most likely a bug in WebKit. Please report the bug to https://bugs.webkit.org/ including a link to this bug report and noting the version of WebKitGTK+ that you have installed. When reporting the WebKit bug, be sure to include the prefix '[GTK]' in the bug summary and select the 'WebKit Gtk' component.
Comment 11 Andres Gomez 2018-04-10 19:18:35 UTC
(In reply to Michael Catanzaro from comment #10)
> Thanks for taking the time to report this.
> This issue is most likely a bug in WebKit. Please report the bug to
> https://bugs.webkit.org/ including a link to this bug report and noting the

As you could see in the "See also" field, it was already reported at:
https://bugs.webkit.org/show_bug.cgi?id=184446
Comment 12 Andres Gomez 2018-04-11 11:16:35 UTC
It seems this is a GTK+ bug:
https://gitlab.gnome.org/GNOME/gtk/issues/132

However, since it is already reported in GitLab, not in Bugzilla, we cannot close as DUPLICATED instead of NOTGNOME, which would be the proper resolution.
Comment 13 Milan Crha 2018-04-11 11:37:13 UTC
(In reply to Andres Gomez from comment #12)
> It seems this is a GTK+ bug:
> https://gitlab.gnome.org/GNOME/gtk/issues/132
> 
> However, since it is already reported in GitLab, not in Bugzilla, we cannot
> close as DUPLICATED instead of NOTGNOME, which would be the proper
> resolution.

Are you sure? I doubt WebKitGTK+ uses GtkTextView in the background. And the issue you referenced also mentions scrolling, not selected text deletion.
Comment 14 Michael Catanzaro 2018-04-11 17:21:00 UTC
It was an input methods bug, and it's already fixed, see https://bugs.webkit.org/show_bug.cgi?id=184446
Comment 15 Milan Crha 2018-04-12 08:52:02 UTC
Ah, I see, the common part of the both. According to the webkit bug, it broke with commit e8bffe0c56431710299cf68afb575ec578045055 and had been fixed with commit 4b95d7406821196615149fb2527840ff14626a03, both in gtk+, thus I'm correcting the bug resolution from NotGnome, but Fixed.
Comment 16 Milan Crha 2018-05-03 06:29:15 UTC
*** Bug 795767 has been marked as a duplicate of this bug. ***
Comment 17 Milan Crha 2018-05-03 06:31:04 UTC
*** Bug 795721 has been marked as a duplicate of this bug. ***
Comment 18 Milan Crha 2018-05-28 10:58:15 UTC
*** Bug 796417 has been marked as a duplicate of this bug. ***
Comment 19 Milan Crha 2019-02-01 06:48:54 UTC
This is not fixed, see:
https://gitlab.gnome.org/GNOME/gtk/issues/1447