Bug 2187653

Summary: itip-formatter: iframe height miscalculated without frame flattening
Product: [Fedora] Fedora Reporter: David Juran <djuran>
Component: evolutionAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 36CC: lucilanga, mcrha, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: evolution-3.44.4-3.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-05 14:43:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot none

Description David Juran 2023-04-18 10:46:40 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Build Identifier: 

Lately, the display of calendar invites have gotten garbled in the email view of evolution, see attached screenshot

Reproducible: Always

Steps to Reproduce:
1. View calendar invite

Comment 1 David Juran 2023-04-18 10:47:57 UTC
Created attachment 1957952 [details]
screenshot

Do note how the details of the calendar invite are not visible

Comment 2 Milan Crha 2023-04-19 05:57:10 UTC
Thanks for a bug report. I guess when you make the preview panel wider/smaller, it'll recalculate the size and will show the content. It can be a change on the WebKitGTK side, the 2.40.0 did change few things, but it was able to allocated enough space for the content, at least in a sense of not keeping it in its minimum. What is your WebKitGTK version, please?

In any case, this is related to this upstream bug:
https://gitlab.gnome.org/GNOME/evolution/-/issues/2310

Comment 3 David Juran 2023-04-19 08:31:52 UTC
Only now did I realize that the preview panel exists but it's minimized!

I can't however find a handle how to un-minimize it, no matter how I resize the window.
The description is always minimized while the attachment box (where the invite.ics is listed) is maximized.

And using webkit2gtk3-2.40.0-1.fc36.x86_64

Comment 4 Milan Crha 2023-04-19 09:25:20 UTC
Aha, Fedora 36, I overlooked that detail. The WebKitGTK 2.40.0 disables frame flattening, which breaks Evolution.

The Evolution 3.44.x in Fedora has a related fix, but it does not have the one for [1]. I can include it.

[1] https://gitlab.gnome.org/GNOME/evolution/-/issues/2204

Comment 5 Milan Crha 2023-04-19 10:00:39 UTC
I made a scratch build [2] with a proposed fix. Could you give it a try, please? I upgraded my Fedora 36 machine to Fedora 38 this morning (what an unfortunate coincidence), thus I cannot test it myself.

[2] https://koji.fedoraproject.org/koji/taskinfo?taskID=100126050

Comment 6 David Juran 2023-04-20 06:17:55 UTC
Works like a charm!
Thanks for the quick turn-around!

Comment 7 Fedora Update System 2023-04-20 12:31:24 UTC
FEDORA-2023-1e8b5040e2 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1e8b5040e2

Comment 8 Fedora Update System 2023-04-21 03:38:32 UTC
FEDORA-2023-1e8b5040e2 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1e8b5040e2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1e8b5040e2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Ben Cotton 2023-04-25 18:29:21 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 15 Fedora Update System 2023-05-05 14:43:47 UTC
FEDORA-2023-1e8b5040e2 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.