This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kde browser

Tags: None
(comma "," separated)
User avatar
sredna
Registered Member
Posts
225
Karma
1
OS

Kde browser

Wed Dec 21, 2016 8:40 am
I have a bit of pain currently, since I miss a functional KDE webbrowser:
Konqueror crashes if I use qt webengine, failing to create an opengGL context.
Code: Select all
Trying to create view for "text/html" ""
"webenginepart"  : X-KDE-BrowserView-AllowAsDefault is valid :  false
Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before constructing QGuiApplication.
KonqFrame(0x197e4d0) QObject(0x0)
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Segmentfejl (smed kerne)
[anders@archie tmp]$


Apart from that, Konqueror does not appear to save its configuration. KHTML does not appear to work very well, for example typing in text fields does not work correctly.

Rekonq is in alpha state, it fails to remember its configuration and ie. history buttons does not work.

Workarounds and ideas of what to fix will be greatly appreciated, and does konqueror + qt webengine work for you?
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Kde browser

Thu Dec 22, 2016 2:43 pm
sredna wrote:I have a bit of pain currently, since I miss a functional KDE webbrowser:
Konqueror crashes if I use qt webengine, failing to create an opengGL context.

Known problem with the new webenginepart if you use Qt 5.7.1.
https://bugs.kde.org/show_bug.cgi?id=373781

Will be fixed in some future konqueror version:
https://cgit.kde.org/konqueror.git/comm ... cc083029d9
(currently in master branch only, but I hope it will be backported to 16.12.1 too)

As a workaround, you can switch to use khtml or kwebkitpart (if your distribution offers the KF5 port) in Konqueror's settings.

Apart from that, Konqueror does not appear to save its configuration.

Known problem as well:
https://bugs.kde.org/show_bug.cgi?id=370177
https://bugs.kde.org/show_bug.cgi?id=373826

I am not aware of a fix yet, a workaround for the window size would be to set up a window rule that forces the size.

KHTML does not appear to work very well, for example typing in text fields does not work correctly.

Yes, I noticed this as well, ever since using the Konqueror KF5 port from git (which I started to try out a year ago already).

Seems to be a bug in the KF5 version of KHTML I suppose.

The text will appear if the text field loses focus though, e.g. when you click somewhere outside the text fields IME.

Workarounds and ideas of what to fix will be greatly appreciated, and does konqueror + qt webengine work for you?

Yes, it worked fine with Qt 5.7.0 (apart from some missing KDE integration like storing passwords in kwallet), and does work with 5.7.1 too after applying the above mentioned patch.
User avatar
sredna
Registered Member
Posts
225
Karma
1
OS

Re: Kde browser

Sun Dec 25, 2016 10:39 am
With latest update (arch linux) the webengine part does not crash. Other problems remains.

Another problem (with webengine) is that adblock filters does not appear to work yet.

Sounds good that solutions are on the way!
User avatar
sredna
Registered Member
Posts
225
Karma
1
OS

Re: Kde browser

Sun Dec 25, 2016 10:49 am
I have "kdewebkit (KF5)" installed, that is required by rekonq-git. There is no safe way to decide if rekonq is using it, but I assume it does. It is not offered by konqueror.
Config files appears to reside in ~/.config, and are updated. There are very few settings in there, and nothing about the window and toolbar configuration, so I assume that recording those are disabled for some reason, this goes for both konqueror and rekonq.
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Kde browser

Mon Dec 26, 2016 7:51 pm
sredna wrote:With latest update (arch linux) the webengine part does not crash.

Yes, this has been fixed/workarounded in Konqueror recently.

Another problem (with webengine) is that adblock filters does not appear to work yet.

kmail and akregator (which also use QtWebEngine for the message display) apparently have (or had) the same problem.

sredna wrote:I have "kdewebkit (KF5)" installed, that is required by rekonq-git. There is no safe way to decide if rekonq is using it, but I assume it does.

Yes. rekonq uses it and does not support anything else.

It is not offered by konqueror.

You need kwebkitpart (not kdewebkit).

But I have no idea whether your distribution offers it (the KF5 port).

Config files appears to reside in ~/.config, and are updated. There are very few settings in there, and nothing about the window and toolbar configuration, so I assume that recording those are disabled for some reason, this goes for both konqueror and rekonq.

rekonq is not related at all.

In konqueror, support for multiple profiles have been removed shortly before the release, and this apparently broke saving the window size and toolbar configuration (which probably was stored in the profiles before).
User avatar
sredna
Registered Member
Posts
225
Karma
1
OS

Re: Kde browser

Thu Dec 29, 2016 9:35 am
Ok, thank you again.

I can not find a kwebkitpart package in archlinux (including aur), so I will try to create one when I get the time. That should solve a good part of the problems for now. :)
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Kde browser

Thu Dec 29, 2016 2:24 pm
sredna wrote:I can not find a kwebkitpart package in archlinux (including aur), so I will try to create one when I get the time. That should solve a good part of the problems for now. :)

You need to get the source code from the master branch in the git repo though, the last release (1.3.4) was still KDE4 based (that may be the reason why you didn't find a package).
https://cgit.kde.org/kwebkitpart.git/

It works fine here, and I'm using it since over a year (with the Konqueror frameworks branch from git).
I also updated openSUSE's official package to the KF5 port when 16.12.0 was released... ;)
rexi80
Registered Member
Posts
24
Karma
0
OS

Re: Kde browser

Thu Dec 29, 2016 6:12 pm
Hi there,

two other problems of the kde5 konqueror:

-no kwallet integration although "offer to save website passwords" is ticked. When visiting website requesting passwords on dialog pops up offering to store the password in kwallet

-no amazon.com login because of captcha problems (when logging in via firefox, no captcha confirmation is necessary at all)

Any workaround for these problems available yet??

Thanks
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Kde browser

Thu Dec 29, 2016 8:25 pm
rexi80 wrote:-no kwallet integration although "offer to save website passwords" is ticked. When visiting website requesting passwords on dialog pops up offering to store the password in kwallet

As I already hinted at in my first reply, the new webenginepart doesn't have any kwallet integration (yet?), and it doesn't seem to support storing passwords at all currently.
That should work fine with KHTML or kwebkitpart though, at least it does here.

There is also a bug report about this: https://bugs.kde.org/show_bug.cgi?id=372777

-no amazon.com login because of captcha problems (when logging in via firefox, no captcha confirmation is necessary at all)

I cannot comment on that.
Likely dependent on the chosen web browsing backend too though. As you seem to be using webenginepart, try to switch to KHTML or kwebkitpart (the latter is the better choice, I'd say... ;) )
(Konqueror itself is not really a web browser, it's actually just a shell for embedding other components, so-called KParts)


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft