maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] QML Browser - Web browser written using Qt Components Hildon (https://talk.maemo.org/showthread.php?t=93508)

xes 2014-07-28 15:46

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
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 have tried the qml-browser with acid test (gives 99/100) and a few pages filled with javascript: is working really fast.
There is some glitch switching fullscreen and back where sometimes you obtain a completely white screen forcing you to kill the app.
Also history has some issue since it goes back to the first page instead of the previous one and seems hard to activate.
Select-copy-paste works perfectly.
General behavior is a really promising stock browser alternative.

Do you think it could manage also flash plugin?

nokiabot 2014-07-28 16:18

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Quote:

Originally Posted by marxian (Post 1434102)
I don't know much about those, but I would expect they would require a Mozilla browser to run them as-is.

https://marketplace.firefox.com/
https://developer.mozilla.org/en/App..._open_web_apps
https://developer.mozilla.org/en/Apps


so it is nothing special just a good browser can do i think and it can be a nice addition to qml browser as there are many good open web apps like here maps line facebook twitter music radio and oter popular games and apps maybe the n900 can handle most of them (600mhz) as they dont seem to be resource hungry on my single core netbook:)

taixzo 2014-07-28 16:24

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Does this require CSSU to run?

pythoneye2 2014-07-28 17:25

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Great work!
I installed via apt-get and got
sh: can't create /home/user/.config/QMLBrowser searchengines.conf: Permission denied
too, i created the file and after that reinstalling worked.

I tried to benchmark via sunspider 1.0.2 , but it fails at 4 or 3 with:
QNetworkReplyImpl::_q_startOperation was called more than once

anyone has some results or the same error?

marxian 2014-07-28 19:55

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Quote:

Originally Posted by nokiabot (Post 1434111)
https://marketplace.firefox.com/
https://developer.mozilla.org/en/App..._open_web_apps
https://developer.mozilla.org/en/Apps


so it is nothing special just a good browser can do i think and it can be a nice addition to qml browser as there are many good open web apps like here maps line facebook twitter music radio and oter popular games and apps maybe the n900 can handle most of them (600mhz) as they dont seem to be resource hungry on my single core netbook:)

Quoting from the Intro to Open Web Apps:

"currently you must have a Mozilla Firefox-based engine ("Web runtime") to use Open Web Apps."

nokiabot 2014-07-28 20:37

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Quote:

Originally Posted by marxian (Post 1434127)
Quoting from the Intro to Open Web Apps:
"currently you must have a Mozilla Firefox-based engine ("Web runtime") to use Open Web Apps."

i got it loud and clear sorry for the trouble:(

basicly i wanted here maps :p

it could be nice if the bottom bar and the topbar could be hidden by a downward swipe on the bottom bar when loading might sound odd but in 2g complete page load times are awful and able to hide them would provide more real estate for browsing while the page loads or when a link is clicked and i am still browsing that page :)

marxian 2014-07-28 20:38

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Quote:

Originally Posted by xes (Post 1434108)
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.

http://s14.postimg.org/3ya108za9/clippy_links.jpg

Quote:

Originally Posted by xes (Post 1434108)
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.

Quote:

Originally Posted by xes (Post 1434108)
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.

Quote:

Originally Posted by xes (Post 1434108)
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.

Quote:

Originally Posted by xes (Post 1434108)
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.

marxian 2014-07-28 20:42

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Quote:

Originally Posted by taixzo (Post 1434113)
Does this require CSSU to run?

No, I've tested against stock PR 1.3 with Qt 4.7.0 in the SDK, and CSSU with Qt 4.7.4 on the device, so it should work fine. :)

marxian 2014-07-28 20:47

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Quote:

Originally Posted by nokiabot (Post 1434129)
it could be nice if the bottom bar and the topbar could be hidden by a downward swipe on the bottom bar when loading might sound odd but in 2g complete page load times are awful and able to hide them would provide more real estate for browsing while the page loads or when a link is clicked and i am still browsing that page :)

I'm not keen on the swipe gesture, but I can keep the toolbar hidden during loading when in fullscreen mode. :)

nokiabot 2014-07-28 20:55

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Quote:

Originally Posted by marxian (Post 1434132)
I'm not keen on the swipe gesture, but I can keep the toolbar hidden during loading when in fullscreen mode. :)

or just a thin ribbon like loading bar at the bottom and a tiny overlay icon at bottom right hand corner to show/hide the bottom and top bar anytime:)


All times are GMT. The time now is 11:11.

vBulletin® Version 3.8.8