Bug 160503 - [GTK] Background-color not filled after multi-touch zoom
Summary: [GTK] Background-color not filled after multi-touch zoom
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-03 06:18 PDT by Jan
Modified: 2019-06-20 11:03 PDT (History)
4 users (show)

See Also:


Attachments
webview after multi-touch zoom (369.86 KB, image/png)
2016-08-03 06:19 PDT, Jan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan 2016-08-03 06:18:25 PDT
This is something I can't reproduce since I don't own a touch-screen, but a user of my application reported:
After using multi-touch gestures to zoom the webview, the background color (http://www.valadate.org:8000/#!api=webkit2gtk-4.0/WebKit.WebView.set_background_color) is not filling the whole webview. It is only stretches as far as the view-port of the webview was before zooming.
Comment 1 Jan 2016-08-03 06:19:09 PDT
Created attachment 285224 [details]
webview after multi-touch zoom
Comment 2 spariant4 2016-11-10 06:29:21 PST
This issue has also been raised in the epiphany (Web browser) bug reports, do take a look:
https://bugzilla.gnome.org/show_bug.cgi?id=766916

The perspective is different though- why should a webpage be zoomed out at all beyond "fit" (via pinch-to-zoom)? I understand that this is not traditional zoom, but ipad-like static zoom. Rather than filling in "background" color, prevent zooming out beyond 100%?

The problem is even more pronounced with fullscreen html5 videos. In that case boot zoom in and out beyond 100% are undesirable (because fullscreen). Should that be filed as a new bug?
Comment 3 spariant4 2016-11-10 06:30:43 PST
(In reply to comment #2)

*both* zoom in and out are undesirable
Comment 4 Michael Catanzaro 2016-11-10 06:59:12 PST
(In reply to comment #2)
> Should that be filed as a new bug?

Yes
Comment 5 Alice Mikhaylenko 2019-04-27 01:20:37 PDT
Is it still a problem? I cannot reproduce it with touchpad in 2.24.1 and in trunk, it doesn't allow to zoom beyond 100%.
Comment 6 Michael Catanzaro 2019-06-20 11:03:47 PDT
Alexander says this is obsolete.