Bug 1395942 - Overlay scrolling with iframe-s broken
Summary: Overlay scrolling with iframe-s broken
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: webkitgtk4
Version: 25
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tomas Popela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1414991 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-17 00:50 UTC by Bojan Smojver
Modified: 2017-01-20 09:54 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-11-24 07:38:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
/tmp/a.html (462 bytes, text/plain)
2016-11-23 20:45 UTC, Milan Crha
no flags Details
test-wk2.c (3.20 KB, text/plain)
2016-11-23 20:47 UTC, Milan Crha
no flags Details


Links
System ID Private Priority Status Summary Last Updated
WebKit Project 165056 0 None None None 2016-11-24 07:38:52 UTC

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. ***


Note You need to log in before you can comment on or make changes to this bug.