Bug 2041559

Summary: Doesn't show document with ongoing resources' download immediately
Product: Red Hat Enterprise Linux 8 Reporter: Phil Wyett <philip.wyett>
Component: webkit2gtk3Assignee: Michael Catanzaro <mcatanza>
Status: CLOSED ERRATA QA Contact: Michal Odehnal <modehnal>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.5CC: lmiksik, mcatanza, modehnal, tpelka, tpopela
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: webkit2gtk3-2.34.6-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2070418 (view as bug list) Environment:
Last Closed: 2022-05-10 13:36:02 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: 2070418    
Attachments:
Description Flags
Email remote content issue.
none
Build for testing
none
Build for testing
none
Build for testing (devel package, if needed)
none
Build for testing (devel package, if needed)
none
Video of evolution with webkit2gtk3 2.34 none

Description Phil Wyett 2022-01-17 17:25:20 UTC
Created attachment 1851407 [details]
Email remote content issue.

Description of problem:

Evolution hangs loading some remote content emails.

How reproducible:

Always.

Steps to Reproduce:
1. Open evolution.
2. Edit settings to load remote content.
3. Subscribe to some mailing list.
4. Receive emails.

Actual results:

Evolution hangs loading email content until you put mouse cursor over email preview.

Expected results:

It to load correctly on its own.

Additional info:

See attached video.

Happens on RHEL, AlmaLinux and all derivatives.

Comment 1 Milan Crha 2022-01-18 09:01:33 UTC
Thanks for a bug report. I've been able to reproduce this with a message with remote content, the preview panel did not repaint on its own until all the remote content had been downloaded. Doing some other events (like the mouse move above the preview panel or Alt+Tab to another window or such) caused a sooner repaint of the content.

This is with webkit2gtk3-2.32.4-1.el8.

When I downgrade to webkit2gtk3-2.30.4-1.el8, then it shows the content immediately, thus I move this to the webkit2gtk3.

Comment 2 Michael Catanzaro 2022-01-18 18:40:49 UTC
We'll probably need to bisect WebKit to make progress on this.

I will add it to my TODO list, but it will likely be a while before I find time for it.

Comment 3 Michael Catanzaro 2022-01-20 15:59:09 UTC
Hmm, so RHEL 8's 2.32 is bad, but 2.30 is good. I wonder, does Fedora's 2.32 have the same problem? If so, it's weird that it was not noticed until now? Maybe it was already fixed in 2.34? That would be my blind hope.

I'm planning to upgrade to 2.34 Real Soon Now in bug #1985042. I suppose I'd better make a scratch build available here for you to test, when it's available. If you report that it doesn't fix the issue, then I will set aside some time to bisect this.

Comment 4 Michael Catanzaro 2022-02-07 17:51:24 UTC
Created attachment 1859618 [details]
Build for testing

I have to attach these separately due to the file size limit.

Comment 5 Michael Catanzaro 2022-02-07 17:52:18 UTC
Created attachment 1859619 [details]
Build for testing

Comment 6 Michael Catanzaro 2022-02-07 17:54:26 UTC
Created attachment 1859620 [details]
Build for testing (devel package, if needed)

Comment 7 Michael Catanzaro 2022-02-07 17:54:54 UTC
Created attachment 1859621 [details]
Build for testing (devel package, if needed)

Comment 8 Michael Catanzaro 2022-02-07 18:30:07 UTC
If you report that it doesn't fix the issue, then I will set aside some time to bisect this.

Comment 9 Phil Wyett 2022-03-28 21:18:19 UTC
Well... Your blind hope is actually met. I updated the following installed (on my system) packages and emails with remote content are now downloading
that content as would be expected with no hangs or requirement to float mouse over the preview pane of evolution. I have attached a video as confirmation. The
watch email from Crown & Caliber were a specific headache under webkit2gtk3 2.32.

[philwyett@ks-kenobi Downloads]$ sudo dnf install ./webkit2gtk3-2.34.4-1.el8.x86_64.rpm ./webkit2gtk3-jsc-2.34.4-1.el8.x86_64.rpm 
[sudo] password for philwyett: 
Last metadata expiration check: 3:13:34 ago on Mon 28 Mar 2022 18:40:45 BST.
Dependencies resolved.
========================================================================================================
 Package                     Architecture       Version                  Repository                Size
========================================================================================================
Upgrading:
 webkit2gtk3                 x86_64             2.34.4-1.el8             @commandline              18 M
 webkit2gtk3-jsc             x86_64             2.34.4-1.el8             @commandline             6.6 M

Transaction Summary
========================================================================================================
Upgrade  2 Packages

Total size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                1/1 
  Upgrading        : webkit2gtk3-jsc-2.34.4-1.el8.x86_64                                            1/4 
  Upgrading        : webkit2gtk3-2.34.4-1.el8.x86_64                                                2/4 
  Cleanup          : webkit2gtk3-2.32.3-2.el8.x86_64                                                3/4 
  Cleanup          : webkit2gtk3-jsc-2.32.3-2.el8.x86_64                                            4/4 
  Running scriptlet: webkit2gtk3-jsc-2.32.3-2.el8.x86_64                                            4/4 
  Verifying        : webkit2gtk3-2.34.4-1.el8.x86_64                                                1/4 
  Verifying        : webkit2gtk3-2.32.3-2.el8.x86_64                                                2/4 
  Verifying        : webkit2gtk3-jsc-2.34.4-1.el8.x86_64                                            3/4 
  Verifying        : webkit2gtk3-jsc-2.32.3-2.el8.x86_64                                            4/4 

Upgraded:
  webkit2gtk3-2.34.4-1.el8.x86_64                  webkit2gtk3-jsc-2.34.4-1.el8.x86_64                 

Complete!
[philwyett@ks-kenobi Downloads]$

Comment 10 Phil Wyett 2022-03-28 21:19:07 UTC
Created attachment 1868848 [details]
Video of evolution with webkit2gtk3 2.34

Comment 11 Michael Catanzaro 2022-03-28 21:22:36 UTC
Lucky.

Comment 22 errata-xmlrpc 2022-05-10 13:36:02 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 (Moderate: webkit2gtk3 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-2022:1777