Bug 1902630

Summary: Crash on file drag into mail composer with WebKitGTK 2.30
Product: Red Hat Enterprise Linux 8 Reporter: Milan Crha <mcrha>
Component: evolutionAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Michal Odehnal <modehnal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: bsanford, modehnal
Target Milestone: rcKeywords: Triaged
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: evolution-3.28.5-16.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:19:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1883304    

Description Milan Crha 2020-11-30 09:00:14 UTC
Steps to reproduce:
a) install webkit2gtk3 of version 2.30 or later (tested with webkit2gtk3-2.30.2-2.el8.x86_64)
b) open evolution
c) File->New->Mail Message
d) switch to the HTML mode
e) open Files (Nautilus) and drag a text file above the composer's text part

Current Result:
Evolution crashes inside webkit_editor_drag_data_received_cb() function

Expected Result:
No crash.

This is related to bug #1888558.

Comment 1 Milan Crha 2020-11-30 09:52:48 UTC
(In reply to Milan Crha from comment #0)
> Steps to reproduce:
> a) install webkit2gtk3 of version 2.30 or later (tested with webkit2gtk3-2.30.2-2.el8.x86_64)
> b) open evolution
> c) File->New->Mail Message
> d) switch to the HTML mode
> e) open Files (Nautilus) and drag a text file above the composer's text part

Slightly different steps:
d) when the composer opens in the Plain Text mode drag & drop a file into the message body (which shows a URI of the dragged file in the body)
e) switch to the HTML mode
f) repeat d)

Comment 2 Milan Crha 2020-11-30 09:58:17 UTC
See bug #1883304 comment #12 for a follow up information.

Comment 5 Milan Crha 2020-11-30 17:05:47 UTC
(In reply to Milan Crha from comment #2)
> See bug #1883304 comment #12 for a follow up information.

Writing it also here: the webkit2gtk3-2.30.3-1.el8.x86_64 fixes it.

Comment 6 Bill Sanford 2021-01-08 19:19:04 UTC
I installed RHEL-8.4.0-20210108.n.0, added a google account, and Verified with webkit2gtk3-2.30.4-1.el8 in X11 and Wayland.

Comment 8 errata-xmlrpc 2021-05-18 15:19:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: evolution security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1752