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)

chill 2014-08-10 23:42

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Using QMLBrowser with the virtual keyboard: after typing a URL and pressing enter, the main screen is shown again but the browser does not go to the URL. It requires opening the physical keyboard and pressing enter there.

Kossuth 2014-08-11 05:11

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Been using the qml-browser for a while, and I have to say I like it. I would like to ask would it be of any benefit to compile the qml-browser also with thumb2 ISA to gain smaller memory consumption. Although it seems that qml-browser already uses little less memory compared to microb (assuming microb is responsible for both brwoser and browserd processes). This is just an idea, not really an feature request, because I'm more than happy with the pace this software is progressing. Thank you very much.

UJKU 2014-08-13 18:13

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Feature Request
1-Remember passwords for autolog in
2-pressing enter with virtual keyboard doesn't load the website(i have to press physical key)
3-changing default language to english because when i open google or wikipedia or other sites it loads the italian version of the webpage

nokiabot 2014-08-14 16:56

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Why only a quater of my avove post is appearing ???

marmistrz 2014-08-14 17:08

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Bug report (might be on the QtWebkit's side, if so - please forward it)

1. Set the iPhone 4S user agent (you can copy it from UserAgentTool)
2. visit http://m.demotywatory.pl
3. Do NOT set fullscreen
4. Scroll down
5. Scroll up (both via touchscreen)

Expected outcome - normal scrolling
Actual outcome - the top "DEMOTYWATORY" bar is painted multiple times, making part of the website content unreadable.
This doesn't happen on fullscreen.

Android_808 2014-08-14 19:13

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

Originally Posted by marmistrz (Post 1435773)
Bug report (might be on the QtWebkit's side, if so - please forward it)

1. Set the iPhone 4S user agent (you can copy it from UserAgentTool)
2. visit http://m.demotywatory.pl
3. Do NOT set fullscreen
4. Scroll down
5. Scroll up (both via touchscreen)

Expected outcome - normal scrolling
Actual outcome - the top "DEMOTYWATORY" bar is painted multiple times, making part of the website content unreadable.
This doesn't happen on fullscreen.

Sounds similar to the issue I think I reported earlier whilst scrolling on slashdot, but that was without changing user agent

Copernicus 2014-08-14 20:02

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
1 Attachment(s)
This sounds a lot like something I've been seeing in the Linguine app, which uses a raw QWebView widget to display html data. So I would suspect this is a feature of QtWebKit.

In fact, I've just gotten it to display that effect with that website. I'll append a screenshot. (Please ignore the "Reuters" tag on the menu bar. :) )

Estel 2014-08-15 11:41

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Whooooray, volume-key zooming! This mark the day when QML Browser become usable for everyday use, in my case.

It works great - but, as expected, I've encountered few bugs:

1. Sometimes during fullscreen, all interface buttons stop working (the one for switching out of fullscreen, swiping from left for cursor or from right for history - nothing works), while rendered page can still be scrolled and used normally. What's interesting - if I get out of fullscreen by sending:
Code:

wmctrl -r :ACTIVE: -b toggle,fullscreen
... I can access the top-bar menu (new window, etc), but clicking those doesn't produce any results (they turn blue, indicated that they were clicked, but that's all about it). It looks like whole interface gets stuck.

I haven't found a way to reproduce it reliably, but it happens relatively often.

2. Cursor mode works somehow strange. If I use it directly after swiping (without clicking on cursor icon to make it sticky), I can't highlight text for copying by using shift - it just keep scrolling page.

Hoever, if I set it to sticky, all text that it hover over gets highlighted, even without holding shift.

3. As for the issue reported by marmistrz and explained by Copernicus, it is also perfectly reproducible without switching user agent, as long as page is still loading. If it stops loading (either by itself, or via cancelling), issue disappears.

/Estel

sixwheeledbeast 2014-08-21 21:03

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
http://talk.maemo.org/showpost.php?p...2&postcount=72

I can also occasionally reproduce the non working fullscreen window.

I am also finding this issue posted by chill slightly annoying.
http://talk.maemo.org/showpost.php?p...1&postcount=81

It's starting to become my default browser.

Estel 2014-08-21 21:21

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
After some extensive usage, I've found one "major" bug with QML Browser, and got idea for two small, yet nifty enhancements:

Bug:

1. Once, I required to turn network access off, while QML Browser was loading some page (at the same time). Immediately, QML Browser literally spammed me with "select network" maemo popups. Upon dismissing it, new one immediately popped up, all the time. What's even worse, actually selecting network and connecting haven't helped - it seems that large number of network connection requests got queued every second, and system was just executing all of them, one after another.

Add to this fact that network connection pop-up is impossible to minimize, and you get the picture. Summing it up, I had to kill QML Browser via ssh, from another device.

Suggestions:

1. It would be nice, if browsing history via from-right swipe would be accessible even on the bookmarks screen (the one that appears after starting QML Browser). It's quite silly, that we need to open any_random page, before being able to select what we really want, from browsing history.

2. Not sure if it's doable here, but all major desktop browser seems to remember last used zoom level for given site (unless private data gets cleared... I hope).

It would be nice, if QML Browser could do that, too. there are many sites optimized for 1024 resolution as minimum, which require exactly one zoom-out in QML browser, to be fully usable. Repeating it for every visited page gets tedious - even more for sites, that actually require more zoom-outs. Having them render initially at last used zoom level would be great.

Additional suggestions:

1. I think that adding one-liner required to make QML Browser act as default system browser to the first post would help many people (just like Open Media Player does it).

2. The "lacking features" point about scrolling with cursor keys is actually misleading - up&down arrows scrolling works fine, at least here. Haven't checked left&right scrolling.
---

Thanks for your continued work on this!

/Estel

sixwheeledbeast 2014-08-21 22:02

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

Originally Posted by Estel (Post 1436534)
1. I think that adding one-liner required to make QML Browser act as default system browser to the first post would help many people (just like Open Media Player does it).

I have always used browser-switchboard to select my default system browser.

marxian 2014-08-21 22:33

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

Originally Posted by Estel (Post 1435872)
Whooooray, volume-key zooming! This mark the day when QML Browser become usable for everyday use, in my case.

It works great - but, as expected, I've encountered few bugs:

1. Sometimes during fullscreen, all interface buttons stop working (the one for switching out of fullscreen, swiping from left for cursor or from right for history - nothing works), while rendered page can still be scrolled and used normally. What's interesting - if I get out of fullscreen by sending:
Code:

wmctrl -r :ACTIVE: -b toggle,fullscreen
... I can access the top-bar menu (new window, etc), but clicking those doesn't produce any results (they turn blue, indicated that they were clicked, but that's all about it). It looks like whole interface gets stuck.

I haven't found a way to reproduce it reliably, but it happens relatively often.

I'm not sure of the cause of these fullscreen interface issues. I suspect it's some problem with QWebView that prevents UI updates. I'll have to do some investigation.

Quote:

Originally Posted by Estel (Post 1435872)
2. Cursor mode works somehow strange. If I use it directly after swiping (without clicking on cursor icon to make it sticky), I can't highlight text for copying by using shift - it just keep scrolling page.

Hoever, if I set it to sticky, all text that it hover over gets highlighted, even without holding shift.

When I first implemented the cursor mode, I had not finished the QML key handling in the components, so there was no way to handle the shift key press event. The key handling has since been implemented, so I should be able to complete the cursor mode implementation for the next update. :)

Quote:

Originally Posted by Estel (Post 1435872)
3. As for the issue reported by marmistrz and explained by Copernicus, it is also perfectly reproducible without switching user agent, as long as page is still loading. If it stops loading (either by itself, or via cancelling), issue disappears.

It won't be possible to fix rendering issues at the application level. It may be possible to fix them in the components, but I suspect the changes need to be made at a lower level than that exposed in the QtWebKit public APIs.

marxian 2014-08-21 22:40

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

Originally Posted by chill (Post 1435451)
Using QMLBrowser with the virtual keyboard: after typing a URL and pressing enter, the main screen is shown again but the browser does not go to the URL. It requires opening the physical keyboard and pressing enter there.

This is a Qt problem. Qt applications don't receive a enter key press event when the enter key is pressed in the virtual keyboard. I'd be interested if anyone can cite a Qt application that handles the enter key press, then I can check the source code. It's on the TODO list, anyway. :)

marxian 2014-08-21 22:44

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

Originally Posted by Kossuth (Post 1435455)
Been using the qml-browser for a while, and I have to say I like it. I would like to ask would it be of any benefit to compile the qml-browser also with thumb2 ISA to gain smaller memory consumption. Although it seems that qml-browser already uses little less memory compared to microb (assuming microb is responsible for both brwoser and browserd processes). This is just an idea, not really an feature request, because I'm more than happy with the pace this software is progressing. Thank you very much.

I don't yet have the thumb target set up in Scratchbox, and I'm not using CSSU-thumb (I'm still using some ancient version of CSSU-stable). Hopefully, I will find time to change that in the near future, at which point I'll start compiling my projects for thumb. :)

marxian 2014-08-21 23:11

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

Originally Posted by Estel (Post 1436534)
After some extensive usage, I've found one "major" bug with QML Browser, and got idea for two small, yet nifty enhancements:

Bug:

1. Once, I required to turn network access off, while QML Browser was loading some page (at the same time). Immediately, QML Browser literally spammed me with "select network" maemo popups. Upon dismissing it, new one immediately popped up, all the time. What's even worse, actually selecting network and connecting haven't helped - it seems that large number of network connection requests got queued every second, and system was just executing all of them, one after another.

Add to this fact that network connection pop-up is impossible to minimize, and you get the picture. Summing it up, I had to kill QML Browser via ssh, from another device.

There is no bearer management code in QML Browser. Everything is handled by QtNetwork and QtWebKit. I will take a look at where the re-connection requests originate from and decide where it is best to implement handling of such cases (components or application).

Quote:

Originally Posted by Estel (Post 1436534)
Suggestions:

1. It would be nice, if browsing history via from-right swipe would be accessible even on the bookmarks screen (the one that appears after starting QML Browser). It's quite silly, that we need to open any_random page, before being able to select what we really want, from browsing history.

You can select from the full browsing history by tapping on the combobox arrow in the text field. The 'recent history' is unique the specific WebView instance (so if you have two browser windows open, each 'recent history' is different, just like in MicroB), and is only availble when a page has been visited in that WebView.

Quote:

Originally Posted by Estel (Post 1436534)
2. Not sure if it's doable here, but all major desktop browser seems to remember last used zoom level for given site (unless private data gets cleared... I hope).

It would be nice, if QML Browser could do that, too. there are many sites optimized for 1024 resolution as minimum, which require exactly one zoom-out in QML browser, to be fully usable. Repeating it for every visited page gets tedious - even more for sites, that actually require more zoom-outs. Having them render initially at last used zoom level would be great.

I don't think there is anything in the QtWebKit settings APIs that would allow me to do this. It is of course technically possible to do it, simply by storing the values in an appropriate format, but I'm not sure what that format would be. It would depend on what else was to be stored besides the zoom level.

Quote:

Originally Posted by Estel (Post 1436534)
Additional suggestions:

1. I think that adding one-liner required to make QML Browser act as default system browser to the first post would help many people (just like Open Media Player does it).

Well, I was not ready to suggest that people make it their default browser. The project's main aim has always been to help me test the components in a real-world scenario.

Quote:

Originally Posted by Estel (Post 1436534)
2. The "lacking features" point about scrolling with cursor keys is actually misleading - up&down arrows scrolling works fine, at least here. Haven't checked left&right scrolling.

The cursor key handling was only implemented in the last update, following implementation of custom key event handling in the components. I've now removed that reference from the first post. :)

ekze 2014-08-22 05:28

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Does it save cookies? Whenever I exit the site I've logined in to and open it again, I have to log in again. Is this intended?

sixwheeledbeast 2014-08-22 07:04

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

Originally Posted by marxian (Post 1436543)
I don't yet have the thumb target set up in Scratchbox, and I'm not using CSSU-thumb (I'm still using some ancient version of CSSU-stable). Hopefully, I will find time to change that in the near future, at which point I'll start compiling my projects for thumb. :)

The issue with thumb versions is there isn't a proper repository system for them at the moment.
I am testing the next CSSU Stable release as we speak, Stable isn't dead yet :)

http://wiki.maemo.org/Community_SSU/....28upcoming.29

marmistrz 2014-08-22 08:42

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
One more bug noticed: after long browsing with the iPhone user agent (at least 5-10 mins) the windows can silently close (nothing in the long when running the binary) How to get some useful info about this?

Estel 2014-08-22 12:48

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

Originally Posted by marxian (Post 1436546)
I don't think there is anything in the QtWebKit settings APIs that would allow me to do this. It is of course technically possible to do it, simply by storing the values in an appropriate format, but I'm not sure what that format would be. It would depend on what else was to be stored besides the zoom level.

I think that another interesting thing to store, would be last used position in page, when using back/forward. Desktop browsers put you exactly where you have been, while QML Browser just bring you to the top of page (after back/forward).

Quote:

Originally Posted by marxian (Post 1436546)
Well, I was not ready to suggest that people make it their default browser.

Well, just like sixwheeledbeast, I'm starting to use it as my main browser for N900 :) It's that good!

Even despite the "cookies issue", which indeed, makes usual way of reading/replying in forums (open all subscribed threads in new tabs - windows in N900's case - and read/reply to the one by one, closing done ones) much less sexy. I guess that handling cookies between opened windows it is in a to-do list?

Quote:

Originally Posted by marxian (Post 1436546)
The cursor key handling was only implemented in the last update, following implementation of custom key event handling in the components.

BTW, small issue with it - now, when you shift+up/down arrow in text fields (to highlight whole lines), page scrolls at the same time. I think disabling scrolling when shift (or any modifier?) is pressed, might be a good idea.

Also, two issues (small one, and a goddamned big blocker-sized one, in that order) I've noticed:

1. Browsing history (complete one) acts strange. For example, after visiting dozens threads on TMO - all in separate windows - and closing all of them, on next start of QML Browser, my history consists only of main TMO page, and login page. Applies to other sites too, of course. MicroB stores every sub-page (at least when visited in separate windows).

2. The old bane of everything Qt/QML related hit us again. I'm talking, of course, about the fact, that QML Browser completely ignores 80% of special characters binded to hardware keyboard. So, for example, if in your:
[/i]/usr/share/X11/xkb/symbols/nokia_vndr/rx-51[/i]

...you have [ mapped to shift + Alt_Gr (aka blue arrow) + f (or anything else, for that matter), it works in whole Maemo (terminal, microB, etc) QML Browser will only detec that you've pressed "-". Same forany other QT/QML program, sadly - but in browser, lack of majority custom-mapped keys is very painful, obviously.

If you find a way to fix it, you immediately receive Maemo's Nobel prize ;) Not sure what can be done about it, though (so far, no one was able /knowledgeable enough to fix it - which made me hate QML, for a long while).

/Estel

marxian 2014-08-22 14:02

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

Originally Posted by ekze (Post 1436565)
Does it save cookies? Whenever I exit the site I've logined in to and open it again, I have to log in again. Is this intended?

I just checked the code, and I notice I have not enabled persistent storage in the web settings, so it's probably just that. I can't be sure, as I don't a lot of experience with QtWebKit, so I'll enable the setting and try before the next update. :)

marxian 2014-08-22 14:44

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

Originally Posted by Estel (Post 1436589)
I think that another interesting thing to store, would be last used position in page, when using back/forward. Desktop browsers put you exactly where you have been, while QML Browser just bring you to the top of page (after back/forward).



Well, just like sixwheeledbeast, I'm starting to use it as my main browser for N900 :) It's that good!

Even despite the "cookies issue", which indeed, makes usual way of reading/replying in forums (open all subscribed threads in new tabs - windows in N900's case - and read/reply to the one by one, closing done ones) much less sexy. I guess that handling cookies between opened windows it is in a to-do list?

I'll have to see how the behaviour changes once persisent storage is enabled. I'm not sure exactly what is stored and what isn't.

Quote:

Originally Posted by Estel (Post 1436589)
BTW, small issue with it - now, when you shift+up/down arrow in text fields (to highlight whole lines), page scrolls at the same time. I think disabling scrolling when shift (or any modifier?) is pressed, might be a good idea.

The idea was to have the same key handling as MicroB, so Shift+Up/Down jumps to the beginning/end of the page. Handling of the cursor keys is implemented at the window level, whereas the text entry is handled by QtWebKit. I was hoping that the webview would swallow the key event when entering text, but it looks like it is propogated to the window.

Quote:

Originally Posted by Estel (Post 1436589)
Also, two issues (small one, and a goddamned big blocker-sized one, in that order) I've noticed:

1. Browsing history (complete one) acts strange. For example, after visiting dozens threads on TMO - all in separate windows - and closing all of them, on next start of QML Browser, my history consists only of main TMO page, and login page. Applies to other sites too, of course. MicroB stores every sub-page (at least when visited in separate windows).

The browsing history is currently only saved when the 'main' window is closed (the bookmarks window). That's an oversight on my part. :o If you close that window before you finish browsing, any links visited afterwards will not be saved. I'll fix this for the next update. :)

Quote:

Originally Posted by Estel (Post 1436589)
2. The old bane of everything Qt/QML related hit us again. I'm talking, of course, about the fact, that QML Browser completely ignores 80% of special characters binded to hardware keyboard. So, for example, if in your:
[/i]/usr/share/X11/xkb/symbols/nokia_vndr/rx-51[/i]

...you have [ mapped to shift + Alt_Gr (aka blue arrow) + f (or anything else, for that matter), it works in whole Maemo (terminal, microB, etc) QML Browser will only detec that you've pressed "-". Same forany other QT/QML program, sadly - but in browser, lack of majority custom-mapped keys is very painful, obviously.

If you find a way to fix it, you immediately receive Maemo's Nobel prize ;) Not sure what can be done about it, though (so far, no one was able /knowledgeable enough to fix it - which made me hate QML, for a long while).

I have to look into this before I can be sure whether or not it can be fixed without patching Qt libraries. Certainly, it should be fixed at the components level if possible, rather than in QML Browser.

ekze 2014-08-24 01:14

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
In MicroB when you click the adress bar it selects the whole adress so you just need to hit ctrl+c, on qml you have ctrl+a first. Would be useful for sharing links.

The feature to import bookmarks from MicroB would be much appreciated also as I have lots of bookmarks there and too lazy to re-enter them into qml.

Oh, and will bookmarks on qml autosort based on popularity in qml same as in microb?

marmistrz 2014-08-28 07:17

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
I noticed more crashes (iPhone user agent). Gdb attached to the process shows nothing interesting. The threads just exits and is no longer listed by info threads after ctrl+c. One of the crashes was on ddg showing some youtube goodies, one on youtube itself.

How can I get some relevant information about these crashes?

nokiabot 2014-08-28 07:48

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
is geolocation support planed

ekze 2014-08-29 23:49

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Thanks for the update! Now I don't have to re-enter all of my mircrob bookmarks!

On the other note, it still doesn't remember login details, so I have re-login everytime I re-visit the site.

Also for some reason it cannot download this pdf: http://kassiesa.net/uefafiles/2015-1...ccess-list.pdf . Says something about method not supported. No prob on microb.

sixwheeledbeast 2014-08-30 10:49

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Seem to have had an issue installing QML-Browser 0.7.0 correctly
The browser was working but with bookmarks icons and menu missing, I only just noticed that HAM was stuck and couldn't update.

Code:

Setting up qml-browser (0.7.0) ...
Removing old bookmarks
rm: /home/user/.config/QMLBrowser/bookmarks.xml: is a directory
dpkg: error processing qml-browser (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 qml-browser
E: Sub-process /usr/bin/dpkg returned an error code (1)

After removing the folder HAM is now working again.

Edit:-
Also IMO it would be easier to read saved bookmarks if the URL line was a thinner font. However, maybe this hasn't been an issue with the stock fonts.

marmistrz 2014-08-30 11:15

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Confirming the sixwheeledbeast's problem (I used apt-get). bookmarks.xml is for some reason a directory. Agree with the font remark. Using Nokia Pure and the same applies.

marxian 2014-08-30 16:07

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

Originally Posted by ekze (Post 1437521)
Thanks for the update! Now I don't have to re-enter all of my mircrob bookmarks!

On the other note, it still doesn't remember login details, so I have re-login everytime I re-visit the site.

Also for some reason it cannot download this pdf: http://kassiesa.net/uefafiles/2015-1...ccess-list.pdf . Says something about method not supported. No prob on microb.

I was intending to enable persistent storage for version 0.7.0, but it resulted in crashing when accessing the webview history, so I've left it disabled until I have time to investigate the cause: https://github.com/marxoft/qml-brows...f7156ca6d50f6c.

I will take a look at the download problem. :)

marxian 2014-08-30 16:18

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

Originally Posted by sixwheeledbeast (Post 1437543)
Seem to have had an issue installing QML-Browser 0.7.0 correctly
The browser was working but with bookmarks icons and menu missing, I only just noticed that HAM was stuck and couldn't update.

Code:

Setting up qml-browser (0.7.0) ...
Removing old bookmarks
rm: /home/user/.config/QMLBrowser/bookmarks.xml: is a directory
dpkg: error processing qml-browser (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 qml-browser
E: Sub-process /usr/bin/dpkg returned an error code (1)

After removing the folder HAM is now working again.

I didn't get that error when installing with dpkg, but there may have been a bug in an earlier version that resulted in creation of the bookmarks.xml directory, depending on certain conditions. :confused: I suppose the postinst script should really check that it's a file, rather that simply check if the path exists. :o

Quote:

Originally Posted by sixwheeledbeast (Post 1437543)
Also IMO it would be easier to read saved bookmarks if the URL line was a thinner font. However, maybe this hasn't been an issue with the stock fonts.

I'm using the default item delegate at the moment, which I don't think allows for multiple fonts in the text. There is only one line of text (in this case the title and URL joined by a newline character), which the painter draws as plain text. I will switch to a custom delegate for the next version. :)

marxian 2014-08-30 16:28

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

Originally Posted by marmistrz (Post 1437143)
I noticed more crashes (iPhone user agent). Gdb attached to the process shows nothing interesting. The threads just exits and is no longer listed by info threads after ctrl+c. One of the crashes was on ddg showing some youtube goodies, one on youtube itself.

How can I get some relevant information about these crashes?

You can't, except perhaps by compiling your own example application using the QtWebKit APIs and adding some debugging code. Ultimately, QML Browser is just using QWebView and QWebPage (via Qt Components Hildon), so the behaviour should be the same as when using those classes directly. I don't have enough time to investigate problems that cannot be fixed using the public APIs of those classes.

General rule: If the problem lies in QML Browser or Qt Components Hildon, I can fix it. Otherwise, I cannot fix it.

Estel 2014-08-30 22:12

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Out of curiosity, do you think that the problem (mentioned earlier) with ignoring most of keys mapped to hardware keyboard is fixable in Qt Components Hildon, or is sitting outside API's of those classes?

/Estel

marxian 2014-08-30 23:01

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

Originally Posted by Estel (Post 1437657)
Out of curiosity, do you think that the problem (mentioned earlier) with ignoring most of keys mapped to hardware keyboard is fixable in Qt Components Hildon, or is sitting outside API's of those classes?

/Estel

I imagine the problem is with how QApplication handles those key events, so it will hopefully be fixable in Qt Components Hildon by getting access to the QApplication instance and installing an event filter on it. On the other hand, it may be necessary to subclass QApplication and re-implement its event handling, in which case it might be better handling it on a per-application basis (at least temporarily, I think in either case sending a patch upstream is the ideal solution for something like this).

chill 2014-09-01 04:24

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Sorry if this has been reported already:

1. updating to 0.7.0 using HAM didn't work at first (QML browser failed to update). After retrying, the download size was 0 kb, but the update succeeded.

2. some of the bookmarks imported from microb are file:///opt... instead of http://...

3. tapping the drop down down arrow next to the address bar will pop up the screen keyboard, if the physical keyboard is closed. This makes it impossible to select one of the previously visited web pages (of course, one can pull out the physical keyboard).

chill 2014-09-04 08:46

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

Originally Posted by sixwheeledbeast (Post 1436569)
The issue with thumb versions is there isn't a proper repository system for them at the moment.
I am testing the next CSSU Stable release as we speak, Stable isn't dead yet :)

http://wiki.maemo.org/Community_SSU/....28upcoming.29

If I may steal the thread for just 1-2 messages...does the above imply everybody is going Thumb? It's hard to deduce that just from going through the Thumb thread (for less than an hour). CSSU Stable is dying?

Again, pardon the off-topic.

pichlo 2014-09-04 09:40

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

Originally Posted by chill (Post 1438188)
CSSU Stable is dying?

Eh?

http://talk.maemo.org/showthread.php...09#post1438109

Yes, it is OT.

To bring it back to the topic... I've finally played with QML Browser this week and I must say I really like it. It is amazingly fast, compared to anything else. Yes, including MicroB! I even set it up as a default browser for a while instead of MicroB (only the icon in home screen though, not in a sense of what default browser launches when you click on a link in an email etc). Eventually I reverted back to MicroB for a few small niggles that should not take too much to iron out. Once that is sorted, I see no reason not to switch to QMLB permanently.

Here are my observations. Sorry if I repeat what has already been mentioned, it is easy to get lost in the thread and in my own thoghts.

Pros (in no particular order):
  1. Speed. Shocking as it sounds, QML Browser is even faster than MicroB!
  2. Familiar UI. Based on MicroB, except the icons look better ;)
  3. I don't know how it is possible, but the rendering, especially on low zoom levels, looks sharper than MicroB.
  4. The choice of search engines, with the option to add more. Love it!

Cons (in decreasing order of severity):
  1. Non-persistent cookies. No matter what I tried (closing windows in specific order etc), the next time I visited TMO, I had to log in again. This is unacceptable and was for me the #1 reason for rolling back to MicroB.
  2. Cursor up, down, left and right in an edit box does not just move the cursor, it also scrolls the window. With or without Shift. I know it has been mentioned, I just want to remind you that this is a serious drawback and the reason #2 for my rolling back to MicroB.
  3. Swirl to zoom in is so slow and jerky that it took me a few hours to realize it works at all. I actually wanted to report that it doesn't. I have not yet managed to see swirl to zoom out working.
  4. Double tap to zoom works but zooms too much and the last letter or three do not fit the screen so I have to scroll around.
  5. The occasional crash. Seemingly random, on operations like opening a new page and trying to scroll down. Repeating the same action does not always result in a crash.
  6. Following some links is inconsistent with MicroB. For example, most links in TMO open a new window in MicroB but open in the same window in QMLB.
  7. Bookmarks get shifted around each time I visit them. The most recently visited one goes to the top. I find that annoying and would prefer them to stay in one place. Ideally manually sorted, but if that is difficult to achieve, then either alphabetical or sorted by creation time, not by the last visit time.
  8. The URL line in bookmarks is too prominent. It should be printed in a smaller font, like in MicroB.
  9. It would be nice to have a slightly different icon from MicroB. Especially for the likes of us who like to evaluate QMLB and have both icons on home screen (where only the icon is shown, but not the app name).
  10. The history list is updated with every visited page. It might be considered a feature, but it does not fit the way I think about the browsing history. Most browsers seem to agree with me: they update the history with only the URLs that the user typed explicitly. Following a series of links is a transient operation and yes, one should be able to traverse back and forth through it, but it should not go in the main browse history. (But when the user starts typing something in the address bar, matches from both the typed and visited URLs should be shown, as most browsers do nowadays. Aren't I difficult to please :))

Some of the bugs have already been mentioned and a fix promised, so as I said, sorry about the repetition. OTOH, it might be useful as a reminder :) Some posters mentioned other bugs too; I have either not noticed them or they do not bother me.

Overall, a very good job! Having tried all alternative browsers available for my beloved N900, including those available through Easy Debian, and always rolling back to MicroB, QML Browser is finally the best candidate for a real replacement. Well done!

chill 2014-09-04 20:32

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

Originally Posted by pichlo (Post 1438195)

sixwheeledbeast's "yet" suggested the possibility of it dying. But thanks for the link.

Now for some OT (on topic ;)):

One "pro" for me is that it is more mouse-friendly than microb. Meaning, if you're using an external mouse, you can click on links. In the bookmarks screen, though, the mouse cursor disappears when hovered over the links. So it's not as usable as in Opera, but it's better than microb.

chill 2014-09-05 05:07

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

Originally Posted by pichlo (Post 1438195)
[*]It would be nice to have a slightly different icon from MicroB. Especially for the likes of us who like to evaluate QMLB and have both icons on home screen (where only the icon is shown, but not the app name).

Mine isn't even showing an icon in the programs screen (I'm forgetting what that screen is called in Maemo). More precisely, it's showing a generic blue square icon, the kind you get after installing anything with HAM before you reboot. :rolleyes:
It is showing a globe icon identical to microb on the home screen.

Agreed with a lot of other items on the list, e.g. history, swirling and crashes.

sixwheeledbeast 2014-09-05 08:00

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

Originally Posted by chill (Post 1438272)
Mine isn't even showing an icon in the programs screen (I'm forgetting what that screen is called in Maemo). More precisely, it's showing a generic blue square icon, the kind you get after installing anything with HAM before you reboot. :rolleyes:
It is showing a globe icon identical to microb on the home screen.

Agreed with a lot of other items on the list, e.g. history, swirling and crashes.

FWIW I also have the generic blue square in the application manager screen.

pichlo 2014-09-05 09:36

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
1 Attachment(s)
Have you two rebooted since installing and still get the blue square icon? I don't remember rebooting though and I get a globe icon, same as MicroB.

One thing I nearly forgot. Not hat it bothers me, it's just a curiosity. With multiple browser windows open, when I close one, I sometimes get this effect:

Attachment 35708

Maximizing and re-minimizing the window repaints it correctly.

int_ua 2014-09-05 12:21

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Not a problem for me, more like a bug report.
Code:

Setting up qml-browser (0.7.0) ...
Removing old bookmarks
rm: cannot remove '/home/user/.config/QMLBrowser/*.jpg': No such file or directory
dpkg: error processing qml-browser (--configure):



All times are GMT. The time now is 00:10.

vBulletin® Version 3.8.8