[Interest] WebView in Qt 5.1 - first impressions

Morgan McKenzie speedin_up at hotmail.com
Thu Jul 25 05:19:00 CEST 2013


Hi,
I've been playing around with webview a bit and it seems that it has simply adopted the mobile way of navigating - try a page that scrolls (like an image search) and dragging - it drags like a touch interface would .. which probably makes sense on android but not really on a desktop.... my guess is that's intended behaviour (although I'm not a developer so I don't know for sure).
My recommendation would be to make a ticket in the bugtracker asking for a way to choose in qml whether the browser should interact like a mobile browser or desktop... anyone else want to weigh in on this?

For the record, the widget version seems to behave like a desktop browser, as might be expected.... it might not be pretty but you should be able to use it...
Morgan

From: ozemale at ozemail.com.au
To: joseph.w.crowell at gmail.com; interest at qt-project.org
Date: Tue, 23 Jul 2013 20:02:02 +1000
Subject: Re: [Interest] WebView in Qt 5.1 - first impressions

After a bit more testing it seems the actual performance of WebView is not that bad when the mitigating factors highlighted in this list are taken into consideration. I am more concerned by the behavioural quirks especially in the way mouse clicking, double-clicking and dragging work (or don’t work).  I have noticed that these happen on all web sites. Can anyone comment on whether these are just unfixed bugs or are intended behaviour?  If they are bugs, are they on the roadmap to be resolved? Thanks, -jct From: interest-bounces+ozemale=ozemail.com.au at qt-project.org [mailto:interest-bounces+ozemale=ozemail.com.au at qt-project.org] On Behalf Of Joseph Crowell
Sent: Monday, 22 July 2013 00:06
To: interest at qt-project.org
Subject: Re: [Interest] WebView in Qt 5.1 - first impressions Also, is your WebView storing cache to the drive and then reloading from there which is what Firefox would do? Try clearing Firefox's cache and then compare performance with an empty cache.

On 7/21/2013 7:06 PM, John C. Turnbull wrote:Hi Morgan, Yes, I was comparing apples and oranges as you say but even when I launch the WebView with some other initial URL and then navigate to Google Maps I find that the load time is much more sluggish than Firefox or Chrome (although faster than the initial load). Can you comment on the behavioural quirks I referred to? I will take your advice regarding loading the WebView on application start up. Thanks, -jct From: speedin_up at hotmail.com [mailto:speedin_up at hotmail.com] On Behalf Of Morgan McKenzie
Sent: Sunday, 21 July 2013 12:14
To: John C. Turnbull; interest at qt-project.org
Subject: RE: [Interest] WebView in Qt 5.1 - first impressions are you comparing having firefox closed and then opening and navigating to google maps, or just opening a tab and browsing there? because in my experience browsers take a little bit of time when you first open them... and it's the same with webview. So it kind of sounds like you're comparing apples to oranges... try loading webview to something other than the google maps, and then once that first page is done navigate to a map and see if it's still slow... If you're really worried about it i'm pretty sure you could set it up so that webview loads up when the application first starts up (at the expense of extra RAM)... not that I'm a developer of it or anything, but just from my experience with other parts of qt, things are often loaded only when necessary.  MorganFrom: ozemale at ozemail.com.au
To: interest at qt-project.org
Date: Sun, 21 Jul 2013 06:50:06 +1000
Subject: [Interest] WebView in Qt 5.1 - first impressionsNow that I have WebView successfully displaying Google Maps in Qt 5.1 I thought I would share my first impressions. For a start, it seems to be way slower than Firefox or any other standard browser on this machine. When I open Google Maps in Firefox, the entire page is loaded and rendered in about 2 seconds. When I open the exact same page in WebView it takes about 10 seconds to load and render the entire page. Once the initial page is loaded though the speed at which other linked pages are loaded and rendered seems to be not that much slower than in Firefox. However, there seem to be a few behavioural quirks that I have noticed. For example, clicking the left mouse button and dragging the map is supposed to pan around but in WebView it has no effect. Also, double-clicking zooms into the map in Firefox and then subsequent double-clicks zoom in even further. With WebView the first double-click zooms in as expected but the second one then zooms back out again. Why is loading the first page in WebView so much slower than a standard browser? Why are there anomalies in the way the page behaves (especially with the mouse) and are these quirks likely to be fixed in a future release? -jct
_______________________________________________ Interest mailing list Interest at qt-project.org http://lists.qt-project.org/mailman/listinfo/interest


_______________________________________________Interest mailing listInterest at qt-project.orghttp://lists.qt-project.org/mailman/listinfo/interest 
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130724/81d38e84/attachment.html>


More information about the Interest mailing list