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)

Estel 2014-08-04 00:46

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

Originally Posted by marxian (Post 1434723)
Shift+Left doesn't seem to perform any action in the browser for me, neither in MicroB nor QML Browser.
(...)
I can add a 'forward' button to the toolbar (next to the 'back' button). I think the textfield width would still be acceptable, at least once loading has finished and the 'stop' button is hidden.

Yes, I've messed it hard, it was about shift+backspace inside text field, while writing something (see below). I understand that you can't change it per-application :(

As for forward button, it is exactly my reasoning, I don't think it would hurt address bar length too much.

Alternatively - is possible - thing like holding shift and clicking back one the UI = forward could work too, without making address bar any shorter.



Quote:

Originally Posted by marxian (Post 1434723)
Shift+Backspace doesn't seem to do anything for me in MicroB

In fact, you're both right here. In MicroB, fullscreen, shift+backspace does nothing (opens address bar in my case, but it may be related to custom hardware keyboard settings). Unless, when you're writing something inside text field, where it act as "back".

Hoever, in MicroB outside fullscreen, it indeed act as "forward".

Which is complete nonsense, as outside of fullscreen, you already have UI buttons, so forward could be just there, this or other way. Where it is needed most (fullscreen), it doesn't work, as you've noticed. Not to mention that damn shift+backspace in text field = back, which is just... cruel.

/Estel

peterleinchen 2014-08-04 19:32

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

Originally Posted by marxian (Post 1434723)
Shift+Left doesn't seem to perform any action in the browser for me, neither in MicroB nor QML Browser. Backspace goes back in both applications.

As expected.

Quote:

Originally Posted by marxian (Post 1434723)
I can add a 'forward' button to the toolbar (next to the 'back' button). I think the textfield width would still be acceptable, at least once loading has finished and the 'stop' button is hidden.

Absolutely no objections :)


Quote:

Originally Posted by marxian (Post 1434723)
Shift+Backspace doesn't seem to do anything for me in MicroB (nor in QML Browser). I'm happy to use that shortcut for the 'forward' button, so long as noone objects.

Quote:

Originally Posted by Estel (Post 1434764)
In fact, you're both right here. In MicroB, fullscreen, shift+backspace does nothing (opens address bar in my case, but it may be related to custom hardware keyboard settings). Unless, when you're writing something inside text field, where it act as "back".

Hoever, in MicroB outside fullscreen, it indeed act as "forward".

Which is complete nonsense, as outside of fullscreen, you already have UI buttons, so forward could be just there, this or other way. Where it is needed most (fullscreen), it doesn't work, as you've noticed. Not to mention that damn shift+backspace in text field = back, which is just... cruel.

And this I just do not understand.
backspace as well as shift-backspace works well for me. In full screen mode and with button bar the same.
In a text field backspace just deletes and shift-backspace also.
[/OT]

marxian 2014-08-04 22:14

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

Originally Posted by xes (Post 1434761)
While following the stock browser UI (that i like but i think it could be better), i hope there will be a place to customize things that should follow the users preferences like is possible in most of the existing browsers: a toolbar with customizable buttons and submenu to aggregate functions to free some space.on the screen.
Then, while in full screen mode, the back button could have the same behavior of the full screen trasparent switch.

I don't have any plans for such customisation options, because the development time is too great. Customisable UI is just about the biggest hassle of all, and QML is not really suited to dynamically creating/deleting UI elements.

However, in version 0.5.3 the QML files are shipped with the application (installed to /opt/qml-browser/qml), so you are free to change anything you want there. :)

Quote:

Originally Posted by xes (Post 1434761)
Now the "add bookmark" button is lost and in portrait mode the toolbar is useless.

I removed it to make way for the 'forward' button. I'm personally happy with it either way, and since I don't have enough time to satisfy every individual UI preference, I simply give you the tools to do it yourself.

Quote:

Originally Posted by xes (Post 1434761)
I have a strange issue that happens sometimes when a page tries to open a link into a new page: the page remains empty and the status seems to have already completed the page load.

It sounds like webkit is having a problem with that particular page. At some point I will try to add some error reporting in such cases (I'll have to check the APIs).

Quote:

Originally Posted by xes (Post 1434761)
Double click to zoom looses the position inside the page.

Zoom needs fine tuning (as stated in the first post).

Quote:

Originally Posted by xes (Post 1434761)
Switching tasks, the qml-browser has no preview, just a trasparent window.

This happens when first closing a browser window and is caused by deleting of the QWebView. I don't know if it can be fixed (calling QWidget::update() on the remaining windows might do it). Performing any action that causes the remaining windows to be re-painted will return things to normal.

marxian 2014-08-04 22:17

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

Originally Posted by Sohil876 (Post 1434762)
add bookmark for some reason not working correctly in portrait mode, shows no fields just a blank greyed out area.

This is a problem with the Dialog component in Qt Components Hildon. The content is not visible in portrait, only the buttons.

Estel 2014-08-05 06:50

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Two small suggestions related to fine-tuning zoom:

1. Adding possibility to do it via volume buttons just like in microB (obviously).

2. When using swirl to zoom gesture, everything seems to be re-drawed constantly(?). In more resource-heavy pages, it makes zooming this way *extremely* laggy/delayed.

If I'm not mistaken, microB just quasi-resizes the already shown content in real time when you zoom - allowing you to calibrate how big/small you want things to be - then redraw only, after swirl gesture is ended. This way, it works much more efficiently.

BTW, the same apply to zooming with volume keys, when that become a thing.
---

...and one general suggestion:

3. The description in repositories still says that qml-browser is a qml showcase, rather than something useful for daily usage. I think it should be changed now, considering how many people discover things by browsing repos, instead of TMO.

Cheers,
/Estel

marxian 2014-08-05 12:42

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

Originally Posted by Estel (Post 1434896)
Two small suggestions related to fine-tuning zoom:

1. Adding possibility to do it via volume buttons just like in microB (obviously).

This is planned (I have already added the option in settings code), but I haven't completed the key event handling in the components yet, so I'm still not certain where I will implement the volume key handling (application side or components side). By default, Qt applications don't receive volume key events, it requires some boiler-plate code in the application.

Quote:

Originally Posted by Estel (Post 1434896)
2. When using swirl to zoom gesture, everything seems to be re-drawed constantly(?). In more resource-heavy pages, it makes zooming this way *extremely* laggy/delayed.

That behaviour is defined in QWebView (or not defined, as the case may be). By default, QWidget updates itself when it receives a resize event. QWebView (which inherits QWidget) probably follows the same behaviour. I will take a look at the QWebView code and see if there is a way to reduce the frequency of the re-painting.

Quote:

Originally Posted by Estel (Post 1434896)
3. The description in repositories still says that qml-browser is a qml showcase, rather than something useful for daily usage. I think it should be changed now, considering how many people discover things by browsing repos, instead of TMO.

I have been thinking about that. I left it as it is to help manage expectations. I will change it for the next update.

sLumPia 2014-08-05 15:45

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Does it support text wrapping (like Opera mobile)?

marxian 2014-08-05 19:07

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

Originally Posted by sLumPia (Post 1434926)
Does it support text wrapping (like Opera mobile)?

QWebView has a 'zoomTextOnly' property, but I'm not certain that it wraps the text. It probably does, as it's hard to imagine what else it could do.

enne30 2014-08-07 15:18

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
QMLBrowser works like a charm using mouse pointer on vncserver or tv-out and bluetooth mouse!

Thanks, I can uninstall Opera now :)

nokiabot 2014-08-08 08:03

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
which version of qt webkit it uses ? is it 4.8 its good and can it be upgraded ?


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

vBulletin® Version 3.8.8