View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#17
Originally Posted by xes View Post
Well, such "lens" feature in google chrome for android seems to be called "Link preview" ...but i'm not sure of the exact behavior of the function.
http://www.mobilexweb.com/wp-content...2/02/links.png
I think such features are designed to overcome the limitations of crapacitive screens, where the accuracy is much lower than on the resistive screen of the N900.

Anyhow, I will expose the hit test result API to QML, then give it a try. It will likely require several hit tests to acquire a selection of links to choose from.

Procedure is something like:
  1. Get co-ordinates of screen tap.
  2. Perform hit test on the co-ordinates, to see if there is a link.
  3. Perform hit tests covering several points within some arbitrary radius of the tap.
  4. Display links.



Originally Posted by xes View Post
I have tried the qml-browser with acid test (gives 99/100) and a few pages filled with javascript: is working really fast.
I can't claim any credit for the rendering speed. I'm just using the QWebView widget.

Originally Posted by xes View Post
There is some glitch switching fullscreen and back where sometimes you obtain a completely white screen forcing you to kill the app.
I haven't come across that, but QWebView does sometimes cause issues with painting, so it could be that the window and it's child widgets were not re-painted when attempting to exit from fullscreen.

Originally Posted by xes View Post
Also history has some issue since it goes back to the first page instead of the previous one and seems hard to activate.
For me, it behaves exactly like MicroB. It's activated by a swipe from the right edge of the screen, or long-press on the 'back' button. The logic for detecting the swipe is quite fuzzy. If anything, I would say it is too easy to activate.

Originally Posted by xes View Post
Do you think it could manage also flash plugin?
Yes, but the QWebSettings::PluginsEnabled attribute is disabed by default, so I need to enable that first. I will provide more comprehensive settings in future updates (and also view-source etc). The APIs are there, I just need to implement them in the application code.

There's some documentation on the QtWebKit plugin support at http://qt-project.org/doc/qt-4.7/qtw...9-dc75fc65d6b6.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub

Last edited by marxian; 2014-07-28 at 21:00. Reason: typo
 

The Following 6 Users Say Thank You to marxian For This Useful Post: