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)

ekze 2015-08-09 06:13

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
It is finally working on thumb cssu as of last update, thanks!
How does one make it default browser so it can handle URLs in chats, etc? I tried adding "/opt/qml-browser/bin/qml-browser %s" in browser switchboard, but it just opens a browser itself, not the URL that I clicked.

Also, cookies still not working I take it? No way to remember login on sites?

marxian 2015-08-09 13:01

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

Originally Posted by ekze (Post 1479051)
It is finally working on thumb cssu as of last update, thanks!
How does one make it default browser so it can handle URLs in chats, etc? I tried adding "/opt/qml-browser/bin/qml-browser %s" in browser switchboard, but it just opens a browser itself, not the URL that I clicked.

Also, cookies still not working I take it? No way to remember login on sites?

QML Browser only accepts named arguments, so to open a browser window with a URL:

Code:

/opt/qml-browser/bin/qml-browser --url=%s
RE: Cookies

Enabling persistent storage caused the application to crash in earlier versions. I have not tested it with the current version, but since the browser engine is still the same, I don't expect any change. I'll try it and, if it works, re-enable it for the next update.

xes 2015-08-10 06:51

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
@marxian
thank you for the update.
One little problem: default background color of html pages seems to be black so every simple html without bgcolor defined results completely black.

xes 2015-08-20 13:52

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
@marxian
New version is working really better, but sometimes i can observe problems opening new pages selecting a link inside a page (even here in TMO) or selecting left arrow to go back to the previous page.

In both situations the browser page becomes completely white, the address in the address bar remains unchanged and nothing happens.

sixwheeledbeast 2015-08-20 17:36

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

Originally Posted by xes (Post 1479866)
@marxian
New version is working really better

I agree.

I still can't seem to save bookmarks tho, any ideas?

Vajb 2015-08-29 11:27

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

Just thought that maybe someone else wants to open youtube links in cutetube2 too. So here is my urlhandler.conf file to use.

Code:

[cuteTube2]
regExp="(http(s|)://(www.|m.|)youtube.com/(v/|.+)(v=|list=|)|http://youtu.be/)"
command=dbus-send --print-reply --type=method_call --dest=org.marxoft.cutetube2 / local.cuteTube2.DBusService.showResource string:"%URL%"


sicelo 2015-09-06 18:10

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Does QML Browser support socks proxies? I tried about:config .. didn't have much luck.

xes 2015-09-10 06:23

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
It seems that QML browser can't open local filesystem's files with usual:
file:///folder/index.html syntax.

On the other hand, trying to connect to http://127.0.0.1 (or http://127.0.0.1:8080 to use Evopedia) triggers the "choose internet connection" dialog or connects with the first 3G profile available.

peterleinchen 2015-09-25 18:32

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

I have a strange error when trying to run qml-browser.
As I use it occasionally (still MicroB enthusiast ;)) I have no idea since when this is.

Here is the console output:
Quote:

~ $ /opt/qml-browser/bin/qml-browser
QDeclarativeComponent: Component is not ready
"file:///opt/qml-browser/qml/main.qml:184:5: Unable to create type SettingsDialog"
"file:///opt/qml-browser/qml/SettingsDialog.qml:190:5: Unable to create type ListPickSelector"
"file:///usr/lib/qt4/imports/org/hildon/components/ListPickSelector.qml:75:5: Cannot assign to non-existent property "onCurrentIndexChanged""
Segmentation fault (core dumped)
I have already reinstalled. And the output is same also as root (only for this test).

Any idea?
Or hints to track down this hiccup?
TIA

peterleinchen 2015-10-21 19:20

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
And now, after upgrading qt-components-hildon to latest 0.19.0, I experience the same error with your new package qmledit!??
Code:

~ $ /opt/qt-components-hildon-viewer/bin/viewer /opt/qmledit/qml/MainWindow.qml
QDeclarativeComponent: Component is not ready
"file:///opt/qmledit/qml/MainWindow.qml:220:5: Unable to create type SettingsDialog"
"file:///opt/qmledit/qml/SettingsDialog.qml:251:5: Unable to create type ListPickSelector"
"file:///usr/lib/qt4/imports/org/hildon/components/ListPickSelector.qml:103:5: Cannot assign to non-existent property "onCurrentIndexChanged""
Segmentation fault (core dumped)


marxian 2015-10-21 21:25

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

Originally Posted by peterleinchen (Post 1486257)
And now, after upgrading qt-components-hildon to latest 0.19.0, I experience the same error with your new package qmledit!??
Code:

~ $ /opt/qt-components-hildon-viewer/bin/viewer /opt/qmledit/qml/MainWindow.qml
QDeclarativeComponent: Component is not ready
"file:///opt/qmledit/qml/MainWindow.qml:220:5: Unable to create type SettingsDialog"
"file:///opt/qmledit/qml/SettingsDialog.qml:251:5: Unable to create type ListPickSelector"
"file:///usr/lib/qt4/imports/org/hildon/components/ListPickSelector.qml:103:5: Cannot assign to non-existent property "onCurrentIndexChanged""
Segmentation fault (core dumped)


The 'currentIndex' property was previously named 'selectedIndex' in earlier versions, so it could be that the old QML file was not replaced on installation. You could try checking the property declarations in the ListPickSelector.qml file to see if that is the problem.

peterleinchen 2015-10-21 21:59

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Hmm, do not that much about qml...

But I found only that in ListPickSelector:
Quote:

/*!
type:int
\brief The current chosen index in the view.
*/
property alias currentIndex: view.currentIndex
and that
Quote:

onStatusChanged: if (status == DialogStatus.Open) view.positionViewAtIndex(currentIndex, ListView.Center);
onCurrentIndexChanged: if (view.currentItem) currentValueText = view.currentItem.text;
onSelected: accept()
File info:
~# lea /opt/lib/qt4/imports/org/hildon/components/ListPickSelector.qml
-rw-r--r-- 1 root root 3190 Sat Sep 26 05:06:17 2015 /opt/lib/qt4/imports/org/hildon/components/ListPickSelector.qml

--
possibly not so important and obvious but: I am completely on extras-devel with all packages

marxian 2015-10-21 22:41

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

Originally Posted by peterleinchen (Post 1486272)
Hmm, do not that much about qml...

But I found only that in ListPickSelector:

and that


File info:
~# lea /opt/lib/qt4/imports/org/hildon/components/ListPickSelector.qml
-rw-r--r-- 1 root root 3190 Sat Sep 26 05:06:17 2015 /opt/lib/qt4/imports/org/hildon/components/ListPickSelector.qml

--
possibly not so important and obvious but: I am completely on extras-devel with all packages

The packages are only in -devel, anyway, so that doesn't matter. Most of the code is only tested against Qt 4.7.4 using CSSU-Testing. If you are using stock PR 1.3, there could be a problem with the onChanged handler for alias properties in Qt 4.7.0. Alternatively, I think some earlier version had a bug in ListPickSelector where I forgot to change the 'selectedIndex' property name, resulting in the error that you see. It could be that the QML component cache has not been cleared since you loaded the faulty component, so the new code has not been loaded. I'm not sure if the component cache is shared between applications. In case it is, make sure you close all applications that use QML.

peterleinchen 2015-10-22 07:38

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

Originally Posted by marxian (Post 1486274)
...
Most of the code is only tested against Qt 4.7.4 using CSSU-Testing. If you are using stock PR 1.3, there could be a problem with the onChanged handler for alias properties in Qt 4.7.0...

I think that it is. (one of the last pr1.3 dinosaurs :p, did not bother to update and loose all my modifications, waiting for Neo...)
Do you have an idea how to work around? TIA

as I am using latest (devel) version I should not have any bugs of older versions.
cache should not be the problem as device was rebooted a few times.

freemangordon 2015-10-22 09:57

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Sorry for the OT, but still.

Quote:

Originally Posted by peterleinchen (Post 1486297)
I think that it is. (one of the last pr1.3 dinosaurs :p, did not bother to update and loose all my modifications, waiting for Neo...)

Hmm? Could you elaborate on the "modifications you're going to loose"? You may answer on cssu-<testing|thumb> thread, to not pollute the current one.

peterleinchen 2015-10-22 19:02

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
@freemangordon
lots of small little tweaks here and there I almost forgot about ;)
just afraid to set them up again, ofc everything will be possible.
will try to remember and answer in other thread...

@marxian
I absolutely support the CSSU way and if there is no solution or it would mean overhead work just forget it

xes 2016-03-14 01:23

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

are you aware that with the last version (0.23.1) of qt-hildon-components qml-browser becomes unusable since the toolbar is not working and missing?

peterleinchen 2016-03-25 22:08

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
@marxian
And I want to inform you that with latest qt-hildon-components (which I got aware of just now) qmlbrowser as well as qmledit do start/work again for non-CSSU devices.

--edit
With working I meant,
for QMLbrowser: that it starts but as xes saif it is totally unusable due to the toolbar not responding at all. Furthermore the check boxes insife settings are not clickable/changeable.
for QMLedit: it starts and works, only the check boxes in settings do not work.

xes 2016-08-16 22:16

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
@marxian
since i think that your qml-browser is good application i have to ask again for a fix to adapt to last qt-hildoncomponents...

Would you mind to give it a look?

Micha1982 2016-09-14 11:02

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Same here....N900 is more and more a userunfriendly piece of crap.

Yappari is dead, Telegram is defect and still no developer added the existing fix), now the qml-browser is defect, too......(since I needed a backup yesterday, now the adressbar is missing)


PLS PLS PLS DO SMETHING!!!! N900 is getting unusable more and more :(

Is there any other modern (!) Browser?

There are more and more webpages that are completely unusable with the standard one, even Opera seems to be from the last century.

pichlo 2016-09-14 11:36

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

Originally Posted by Micha1982 (Post 1515016)
...and still no developer added the existing fix

Yeah, it looks like the large team of highly paid developers have overlooked your previous request. Just ramp up your attitude and I am sure everyone will drop whatever they are doing and hurry up to attend to your needs.

hardy_magnus 2016-09-14 17:52

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
please don't call Nokia n900 an unfriendly piece of crap, its just the lack of apps and development we are facing but look at the brighter side , we have a secure phone with a beautiful OS which is superior to other OSes in terms of usability.

CRCulver 2016-09-14 22:37

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

Originally Posted by hardy_magnus (Post 1515029)
look at the brighter side , we have a secure phone with a beautiful OS which is superior to other OSes in terms of usability.

Secure phone?! Large portions of the N900 software stack have not received security updates for years now.

Micha1982 2016-09-15 00:04

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Doesnt the lack of any modern app/browser make it a useless mobile automatically? ;)

OmWeather also does not work anymore correct since yesterday - today we have thursday, it says we have friday......


Sorry for my rant but I am only a user who wants a working phone, and no construction-site for freaks only. I am not at home atm and I just do not want to read hours here to get some things to work which are essentially for most mobiles today.

But it seems there is no other solution to buy a better phone as nothing happens here anymore....noone needs this fu thumb-crap for example, what people need are correct working apps.Sorry for that, but thats how it is. I know what happened to Nokia and appreciate what some people do here - anyway, its getting more and more useless.

I still like my N900 a bit but I have no time and fun to follow every thread here every day just to possibly get the easiest things to work.

hardy_magnus 2016-09-15 03:05

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
I can only say its the signs of aging , but its good to know people still use the beast. may be its the beginning of the end for maemo unless we totally reverse engineer it and make it fully open source .

pichlo 2016-09-15 04:50

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
There we go again. Making Maemo fully open-source is the magic bullet that will solve all our problems plus some, including the refugee crisis.

It will not! Open-sourcing is only the first step. We will still need someone to spend time actively developing and updating the code. However open it is, the manpower - or the lack thereof - is hardly going to change.

marmistrz 2016-09-15 07:49

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

Originally Posted by pichlo (Post 1515048)
However open it is, the manpower - or the lack thereof - is hardly going to change.

Let's be frank. It's only going to be worse. Maemo loses active developers. And will vegetate the way it is.

The browser is terribly outdated, barely usable. The software stack is so outdated, that meh. The camera is inferior to the today's standards. But it's the unusable browsing experience that forced me to get some Android crap. [I mean that Android is crap. But it has one advantage: the browser works!]

<ot>just to find out that sfos doesn't support aarch64 atm. I'm going to ask Jolla at the community meeting. Look at tjc if you're interested</ot>

handaxe 2016-09-15 10:34

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
I empathise, having moved to Ubuntu Touch mostly due to the browser woes. (And yes, browser aside, UT does not come close to the n900 in terms of functionality.)

I doubt there ever will be a large incentive for developers to update Maemo Fremantle, as the neo900 - the only possible future hardware platform - in my view simply does not offer enough of a step- up from the n900 to make it widely attractive. That's if the neo900 appears at all. And then a dev has to take on the task of updating or replacing microb. Big ask, IMO.

psonek 2016-09-15 11:44

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
I am browsing via VNC. The browser runs on my internet debian server PC. It works much better then native N900 browsers. IMO it's not possible to have good browser on 256MB of RAM. So some internet server that does the rendering is only option. It shouldnt be too hard to implement this.

t-b 2016-09-15 14:34

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
There is always a better phone or new flashy app. I bought an Android tablet three years ago and a Mi band one year ago thinking it wouldn't be a problem to synchronize it with my 'still pretty recent' tablet. Wrong. It couldn't be used due to the older Android version and even the hardware was too old because of the need to synchronize with bluetooth 4.0. Not possible to install Cyanogen Mod on the tablet - so basically two years after buying it it was already obsolete.

That is our current reality. I have decided to quit this race that is only beneficial for the balance sheet of large companies.

There are still people that are using their C64s, Atari's and Amiga's in 2016. I think they are having more fun than folks buying the latest desktops or tablets.
Are they complaining that they can't browse with their computer?

Just re-evaluate what you really need on your phone and what you can do on your tablet - desktop. I consider tinkering with my N900 a DIY hobby, the N900 is not just a phone.
I know some folks on this forum don't want to hear that, they just want a fix for their problems. Wishing, asking or begging will not make anything happen though and it will certainly not make the hardware better.
There are only a few developers doing the important stuff. IMO the kernel should be the main priority but even more important is that these devs are doing the things they enjoy doing.

It is nice to have an updated Maemo / CSSU but with a solid kernel you can build anything on top of it (eg DebiaN900).
Thinking out loud: maybe even chroot into Maemo then if that is possible (easy Maemo ;) )

I still hope to see someone posting a tutorial how to use telephony comfortable with native Debian (or any other distro). That seems to me the only way to make the N900 semi 'future-proof'

If that happens - I will be so glad that I still own 4 fully functional N900's :D

marmistrz 2016-09-15 15:35

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
I was hoping for some stack or browser upgrade since 2013. Even helped to some extent. Lost the hope two months ago.

t-b 2016-09-15 15:56

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
I have seen you've tried to install DebiaN900 but it didn't work in the end did it?
Seeing guys like you (with superior understanding of Linux) struggling with it made me avoid trying it for now.
Still have Easy Debian so I'll give it at least another year.

Wikiwide 2019-02-12 00:52

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Installed QML-browser recently, thanks to Nwer OpenSSL.

Replaced %QUERY% with %Q in searchengines configuration file. That one is easy and should be incorporated into new version of QML-Browser.

Am fixing the problem with search defaulting to DuckDuckGo and ignoring the settings. The current band-aid fix is to put something like "1/Wikipedia" into searchEngine setting (by using currentIndex of ListPickSelector), instead of "Wikipedia", and then extract the integer {with .split("/")[0] and parseInt(String)} as needed in UrlInputField (to replace hard-coded 0). Works, but ListPickSelector doesn't like it. There could be a more graceful solution than that, I think, but that would require recompiling the binary?

Thank you. Best wishes.
~~~~~~~~~~~~~~~~~
Per aspera ad astra...

Maemish 2019-09-10 07:21

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
1 Attachment(s)
To see something like this with N900 browser is cool. Same goes with dooble browser. Browser doesn't offer to save passwords (which is good and bad) and I could not post this pic with it cause it could not open "manage attachments".

I losted cutetube2 playback and maybe something else too cause just couldn't figure out how to make TLS1.2 to work otherwise than making cssu devel upgrade. Always so exicting to see what happens. But how to get TLS1.2 to Opera as justmemory has according "hows my ssl?" page?

Halftux 2019-09-10 07:54

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

Originally Posted by Maemish (Post 1560114)
I losted cutetube2 playback and maybe something else too cause just couldn't figure out how to make TLS1.2 to work otherwise than making cssu devel upgrade.

I would say the packages you installed from cssu devel will bring TLS1.2 to qt, but this doesn't mean all applications are now TLS1.2.

For example I compiled wget against libssl1.1 to get tls1.2. Therefore you need a new wget version which has openssl1.1 support. As you seen with gstreamer which uses gnutls through libsoup it is not that easy as you think.

For cutetube2 you can install this version. This is only a workaround for cssu devel. I would like to fix qt so that all old application will still work.

Quote:

Originally Posted by Maemish (Post 1560114)
But how to get TLS1.2 to Opera as justmemory has according "hows my ssl?" page?

I guess justmemory is using a different version than you. So I would think ssl in Opera is somehow hardcoded, a static build.

Maemish 2019-09-10 08:08

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Thanks again. I'm now strugling to find out how to update iceweasel certs and found out that even though netsurf and iceweasel were working okay the easydeb was messed up. Iceweasel is so far the only browser that some kid's school related pages work where I have to subscribe. But iceweasel is working pretty ok speed with dsp conf load to kernel and swappolube set to proposed settings.


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

vBulletin® Version 3.8.8