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)

marxian 2014-08-09 14:44

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

Originally Posted by marmistrz (Post 1435230)
could you impleent custom User Agent? IF you use QML WebView, then there was a workaround somewhere on the net.

Yes, but I need to update the components first. Currently, the WebView component uses the default QWebPage. I will add the option to set a custom WebPage instance and re-implement QWebPage::userAgentForUrl() in the WebPage component to allow application developers to set the user agent.

marxian 2014-08-09 14:57

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

Originally Posted by Marshall Banana (Post 1435319)
Very good so far :D

Some things i noticed:
  • When in fullscreen mode and page finished loading, the "exit fullscreen" button disappears after scrolling. It reappears if i scroll again, but it disappears again after scrolling finished. The button doesn't disappear if i scroll to the top of the page. Is this a bug or a feature?

It's a feature, although I just noticed that the behaviour is not quite correct. There should be timer to allow the button to remain visible for a brief time after scolling stops.

Quote:

Originally Posted by Marshall Banana (Post 1435319)
  • I tried using an url handler for youtube to watch/open in cutetube. If cutetube is not open, cutetube's display method doesn't get called. But that seems to be known

I noticed this myself the other day. I'm not sure why the method is not called on startup. I did make some changes the DBus handling in cuteTube without updating the adaptor code, so the chances are I just need to update the adaptor code.

Quote:

Originally Posted by Marshall Banana (Post 1435319)
  • Is it possible to do a page reflow, like when you press CTRL+SHIFT+I in microb?

I can add an action with the same shortcut that asks the QWebView to update itself (re-draw its contents). I'm not sure if that will be enough to mimic the behaviour in MicroB. I just tried that shortcut in MicroB, and it didn't seem to do anything (apart from raise the toolbar), but presumably that's because no changes were made to the content during the reflow.

dos1 2014-08-09 15:10

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

Originally Posted by marxian (Post 1435338)
I can add an action with the same shortcut that asks the QWebView to update itself (re-draw its contents). I'm not sure if that will be enough to mimic the behaviour in MicroB. I just tried that shortcut in MicroB, and it didn't seem to do anything (apart from raise the toolbar), but presumably that's because no changes were made to the content during the reflow.

Zoom in and try again ;)

nokiabot 2014-08-09 15:11

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

Originally Posted by marxian (Post 1435333)
It uses version 4.7.0 in SSU or 4.7.4 in CSSU. It should be possible to upgrade it 4.8.*, if you want to compile from source.

omg !:eek:
i dont know how much work it can take but i want to know why are you avoiding the latest version available?:confused: it seems in qt 4.7.4 a lot of bugfixes and improvments were done so it definately should be better:cool: is stock fremantle support really necessary? :ponly a tiny fraction have not upgraded to cssu as it looks like ;)

anyway we hope for better and you know what to do:cool:

dos1 2014-08-09 15:12

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

Originally Posted by nokiabot (Post 1435342)
omg !:eek:
i dont know how much work it can take but i want to know why are you avoiding the latest version available?:confused: it seems in qt 4.7.4 a lot of bugfixes and improvments were done so it definately should be better:cool: is stock fremantle support really necessary? :ponly a tiny fraction have not upgraded to cssu as it looks like ;)

It uses the installed version, so on CSSU it's 4.7.4.

marxian 2014-08-09 15:16

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

Originally Posted by dos1 (Post 1435341)
Zoom in and try again ;)

I actually did that, but it seems I didn't zoom in far enough (or I just zoomed in on the 'wrong' place). :o I tried it again, and I can now see the page being re-drawn. :)

s4br0s0 2014-08-09 15:29

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

Originally Posted by murik (Post 1435302)
try in terminal

root
apt-get update
apt-get upgrade
apt-get install -f

Done, but still same problem in HAM

I guess i'll install this when reach Extras, just want to try.

Greetings

nokiabot 2014-08-09 16:28

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

Originally Posted by dos1 (Post 1435343)
It uses the installed version, so on CSSU it's 4.7.4.

thanx so it can use qt webkit 4.8 which is nice enough and nor too outdated its win win :)
i think marxian misinterpeted qt webkit 4.8 to qt 4.8 i think :p

marxian 2014-08-09 16:37

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

Originally Posted by nokiabot (Post 1435347)
i think marxian misinterpeted qt webkit 4.8 to qt 4.8 i think :p

No, I meant you can compile QtWebKit 4.8 from source, and it *should* work with Qt 4.7.

s4br0s0 2014-08-09 21:23

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Manage to install it.

Works pretty well i must say.

When log in on a web site, doesn't show the letters for a second (like microb) on the password field, kinda handy just in case.

Youtube works.

Greetings.


All times are GMT. The time now is 04:03.

vBulletin® Version 3.8.8