[Bug] WebView scale is too small
For example, if you compare http://en.m.wikipedia.org/ in the Browser app to the same page in a WebView (such as in the Wikipedia app), the WebView shows the content about 30% smaller making it difficult to read and interact with.
I suppose this is because the WebView is hardcoded with a DevicePixelRatio setting that doesn't match the Browser.
Update: Still not fixed in 2016
Update. Still not fixed in 2019 (@Edz)
Did you find anything about it?
muppeth ( 2014-11-19 15:58:06 +0200 )editAny solutions for this?
olpe ( 2014-11-30 13:56:04 +0200 )editFrom what I dag out. There is no simple way to change that. Also after playing around with webview I have to say it isn't really usable when displaying gifs or many images. Also no support for html5 makes it, at least for my project unusable.
muppeth ( 2014-12-01 00:42:15 +0200 )editStill not fixed in Update 10 with Qt 5.2. If the default browser uses devicepixelratio 1.5 the webview should also use it or Jolla should patch webview so that we can freely set a devicepixelratio. (Ubuntu Touch does this for example)
leszek ( 2015-01-02 01:24:09 +0200 )editYou could try a workaround. In my app ("Kaktus"), I was facing the same issue. The solution was to use WebView.experimantal.evaluateJavaScript() to dynamically change the webview param in the web page. You can do it like this:
mkiol ( 2016-04-08 13:35:18 +0200 )edit