Skip to content

Package qtwebbrowser (have a somewhat usable webbrowser on plasma-mobile).

Pierre Parent requested to merge pparent/pmaports:feature/qtwebbrowser into master

Rational for this: offers a somewhat usable browser for plasma-mobile, while there was no other close to that on Nexus 5 at the moment:

*Firefox is not touch capable and the keyboard does not work + window sizing problem (too small).

*Midori is touch capable but not hardware accelerated so very slow and the keyboard does not work + window sizing problem.

*Angelfish, in wayland mode, crashes so often that it is completely unusable (crashes 9 times out of 10 at start, and when it starts, I've never seen it run more than 30s on Nexus 5 ). In X11 mode, it's a bit more stable, but still crashes very often and has window sizing +keyboard issues. It also has a missing dependency with mesa-dev.

This version of Qtwebbroser is somewhat usable because keyboard and touch capacities work well, window sizing is good, and it has a mobile useragent so it is redirected to mobile versions of websites. The major drawback is that it still has crashes but way less than Angelfish, and I have tempered crashes with an auto-restart to the last visited URL when there is a crash.

Issues with this merge request with which I would need your help:

*It breaks the pipeline test but I have no idea why since the package compiles well.

*I had to make some modifications to qtwebbrowser source code, in order to make crucial improvements on usability . So it's not official version of qtwebbrowser, but my version of qtwebbroser ( https://github.com/qtproject/qt-apps-qtwebbrowser/compare/dev...pparent76:dev ). I'm not sure how to account of that in the packaging.

*There is an issue shared with angelfish: qtwebengine requires /usr/bin/libGLESv2.so and /usr/bin/libEGL.so, however mesa-dev install these in /usr/lib/ . So we need to make symbolic links. For now I've made them from the startup script, but as it requires sudo, it will only work on console. So on first start you need to start qtwebbroser from console and enter the sudo password. Not sure if we can do anything cleaner?

Edited by Pierre Parent

Merge request reports