Bug 1395942

Summary: Overlay scrolling with iframe-s broken
Product: [Fedora] Fedora Reporter: Bojan Smojver <bojan>
Component: webkitgtk4Assignee: Tomas Popela <tpopela>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 25CC: gpulido, lucilanga, mbarnes, mcatanzaro+wrong-account-do-not-cc, mcrha, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-24 07:38:53 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:
Attachments:
Description Flags
/tmp/a.html
none
test-wk2.c none

Description Bojan Smojver 2016-11-17 00:50:53 UTC
Description of problem:
Horizontal scrolling using the scrollbar doesn't work in message preview or when the message is opened, if the message is too wide to fit into the window. Horizontal scrolling using left/right arrow keys on the keyboard works.

Version-Release number of selected component (if applicable):
evolution-3.22.1-2.fc25.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Preview/view message that is too wide.
2. Try scrolling left/right using the scrollbar.
3. Nothing happens.

Actual results:
No scrolling.

Expected results:
Should work.

Additional info:
I do not remember this being a problem in F24.

Comment 1 Tomas Popela 2016-11-23 16:25:44 UTC
I can confirm the issue. It look like it is something in the Evolution code as it does work for other WebKitGTK+ based apps (like Epiphany).

Comment 2 Milan Crha 2016-11-23 18:19:05 UTC
Some additional observations:
a) mouse wheel works fine (when hovering mouse above the scroll bar)
b) when the vertical scrollbar is at the very bottom, then it works too
c) when I disable overlay scrollbars [1], then it works no matter what

Nonetheless Tom is right, this is something in the evolution.

[1] run evolution as:
    $ GTK_OVERLAY_SCROLLING=0 evolution

Comment 3 Milan Crha 2016-11-23 20:45:09 UTC
Created attachment 1223432 [details]
/tmp/a.html

Comment 4 Milan Crha 2016-11-23 20:47:35 UTC
Created attachment 1223434 [details]
test-wk2.c

This is a reproducer with plain WebKitWebView. The trick is to use iframe.

Steps:
a) save the previous attachment as /tmp/a.html file
b) compile and run this test-wk2.c as written on the first line of the file

Make sure the overlay scrolling is not off when testing.

Comment 5 Michael Catanzaro 2016-11-23 21:26:40 UTC
Yeah I think it's WebKit's fault. Can you report it upstream please?

Comment 6 Milan Crha 2016-11-24 07:38:53 UTC
Right, it makes more sense there. I just filled:
https://bugs.webkit.org/show_bug.cgi?id=165056

Comment 7 Milan Crha 2017-01-20 09:54:36 UTC
*** Bug 1414991 has been marked as a duplicate of this bug. ***