Bug 1435589

Summary: Can't change font color in HTML composer
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: evolutionAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: bmilar, mbarnes, tpopela
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: evolution-3.22.6-4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 12:25:15 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:

Description Vladimir Benes 2017-03-24 10:15:34 UTC
Description of problem:
Only process the input event if it was triggered by the key press and not i.e. by exexCommand. This behavior changed when the support for beforeinput event was introduced in WebKit.


Version-Release number of selected component (if applicable):
evo-3.22

How reproducible:


Steps to Reproduce:
1.File->new->Mail, HTML 

Actual results:
Cannot change font color

Comment 1 Milan Crha 2017-03-24 10:47:51 UTC
Upstream fix available:
https://git.gnome.org/browse/evolution/commit/?id=5210de41a7759780f290fae3bfb580a268f5401a

Even it is for newer WebKitGTK+ than RHEL 7 currently has, then it'll be better to be prepared, than to face a regression in the future.

For the steps:
a) open a new composer window
b) switch mode to HTML
c) type into body: aaa
d) click with mouse to the fond color on toolbar and change it to green (or
   any other) [*]
e) type into body: bbb

Result with updated WebKitGTK+ (2.16.0):
the 'bbb' font color is left black

Expected result:
the 'bbb' font color is green (or any other, according to step d))

[*] It can be that the color combo will return back to its previous color after the color is chosen, (which is a bug on its own, but for which we do not have a fix as of now) but it is corrected once the first 'b' letter is written to the message body

Comment 3 Bohdan Milar 2017-06-08 07:52:03 UTC
Tested manually on x86_64, ppc64le and aarch64 using evolution-3.22.6-10.el7
In the Compose Message window (HTML mode) I was able to change color of selected text as well as set color for newly written text.

Comment 4 errata-xmlrpc 2017-08-01 12:25:15 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, 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/RHBA-2017:2066