[Interest] WebView in Qt 5.1 - first impressions

Morgan McKenzie rmtm at uvic.ca
Sun Jul 21 04:13:38 CEST 2013


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.

Morgan

From: 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 impressions

Now 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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130720/252cf1aa/attachment.html>


More information about the Interest mailing list