Bug 371023 - Plasma 5 Web Browser widget in KDE5 is totally not usable compared with KDE4 version
Summary: Plasma 5 Web Browser widget in KDE5 is totally not usable compared with KDE4 ...
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Web Browser (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-17 20:13 UTC by Murz
Modified: 2018-03-26 14:12 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.13.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murz 2016-10-17 20:13:02 UTC
In KDE5 Plasma 5 "Web Browser" widget seems totally rewritten, because it lose most of useful functional and becomes not usable for normal work, comparing with old KDE4 Plasma browser widgets.

Here is main problems:

- Right clicks on page in widget is totally unsupported - no menu, no additional actions, no any other reaction on right click!

- I can't select any text in page via mouse: when I try to select via left click on text and move mouse - I see page dragging instead of selecting text.

- How I can open link from widget in external system browser? I can't find any way for open, or even copy target url to clipboard.

- How I can setup zoom factor for page? Why by-default I see very small characters like in my mobile phone instead of readable text like in other browsers and KDE4 plasmoids? 

- Why widget don't accept typed urls like "google.com" without http prefix? If I type "google.com" I goes to file:///usr/share/plasma/plasmoids/org.kde.plasma.webbrowser/contents/ui/google.com  url instead of http://google.com/

- How can I disable all "touch-screen" features on desktop computer?? I don't want elastic scroll, double-click to zoom, and other modern touch-screen features on non-touchscreen desktop computer!

Please provide normal full-featured web browser widget for KDE5 and Plasma 5!

Reproducible: Always
Comment 1 Cqoicebordel 2016-10-31 13:44:57 UTC
Confirmed, what is available from a dev POV isn't very strong or useful.
Comment 2 fazillatheef 2016-12-10 17:42:41 UTC
Glad I saw this reported. Now at least there is hope. It should have at least the zoom feature.

I was looking at this link(https://vizzzion.org/blog/2011/01/slicing-up-the-web/) and learnt that it used to have many features.
Comment 3 Murz 2017-02-17 06:06:13 UTC
Seems that current "Web Browser" plasmoid widget use QTWebKit library for display page. In Qt 5.6 Qt WebKit is a deprecated module:
https://wiki.qt.io/New_Features_in_Qt_5.6#Deprecated_Modules
Maybe moving to Qt WebEngine will solve usabililty issues?
Comment 4 Sebastian Kügler 2017-04-18 12:33:50 UTC
It won't, it means that some things have to be rewritten.

This uncertainty in which engine rendering web content to use is a major hurdle in getting a stable feature set. Knowing that one tech is going away doesn't exactly motivate the work on features, so sometimes things get left by the wayside.

That said, it's not hard to implement those features, it's just not very high on my list of priorities. If anyone would like to work on it, I can certainly provide mentorship. Just drop me an email if you're interested.
Comment 5 Murz 2017-05-31 06:16:20 UTC
I would like to help, but I'm not a programmer, so I can only help in testing the functionality. I understand that fixing this need time, but maybe you can find time to fix small but most annoying issues?

For example, can you at first - fix right click menu and opening link in external browser via middle click?
Comment 6 Sebastian Kügler 2017-05-31 08:42:55 UTC
Sure, when it bubble up on my todo list. See comment#4...
Comment 7 Kai Uwe Broulik 2018-02-15 09:48:03 UTC
Git commit 30c6d4564509041138d36087c0a7839dfcbed7a5 by Kai Uwe Broulik.
Committed on 15/02/2018 at 09:47.
Pushed by broulik into branch 'master'.

[WebBrowser Plasmoid] Port to QtWebEngine

QtWebkit is old, unmaintained, possibly insecure, and also has quite a few bugs nowadays.
This also adds a couple of smaller features while at it:

* Reload button turns into a Stop button while loading
* Cursor changes shape over links
* Address bar selects all text when clicked to ease typing a completely new address
* Browser forward/back button on the mouse work

as well as a slew of features brought in by QtWebEngine, such as:

* Text selection support
* Context menu with "Copy link" and others
Related: bug 361939
FIXED-IN: 5.13.0

Differential Revision: https://phabricator.kde.org/D10039

M  +1    -1    applets/CMakeLists.txt
A  +13   -0    applets/webbrowser/CMakeLists.txt
R  +0    -0    applets/webbrowser/package/contents/config/main.xml [from: applets/webbrowser/contents/config/main.xml - 100% similarity]
R  +57   -7    applets/webbrowser/package/contents/ui/main.qml [from: applets/webbrowser/contents/ui/main.qml - 057% similarity]
R  +0    -0    applets/webbrowser/package/metadata.desktop [from: applets/webbrowser/metadata.desktop - 100% similarity]

https://commits.kde.org/kdeplasma-addons/30c6d4564509041138d36087c0a7839dfcbed7a5
Comment 8 Murz 2018-03-23 07:37:44 UTC
I test it on KDE 4.12.80 - works great, thanks!!!
Can you add please a context menu "Open link in external browser" to page links? Also implement same function via middle-click on link?
Comment 9 Nate Graham 2018-03-23 13:16:14 UTC
(In reply to Murz from comment #8)
> I test it on KDE 4.12.80 - works great, thanks!!!

Great! (I assume you mean KDE Plasma 5.12.80)

> Can you add please a context menu "Open link in external browser" to page
> links? Also implement same function via middle-click on link?

That's being worked on in https://phabricator.kde.org/D11606
Comment 10 Kai Uwe Broulik 2018-03-26 14:12:51 UTC
Git commit 0319b3e9c96f193d6212b9a6d90f29b39cfda594 by Kai Uwe Broulik.
Committed on 26/03/2018 at 14:12.
Pushed by broulik into branch 'master'.

[WebBrowser Plasmoid] Support opening external links

This implements a context menu for opening links externally. There is unfortunately currently no way to add custom context menu
entries to WebEngineView's context menu, so the link menu is completely replaced.
It also lets websites open new windows and fixes target="_blank" links including a popup blocker.

Differential Revision: https://phabricator.kde.org/D11606

M  +74   -2    applets/webbrowser/package/contents/ui/main.qml

https://commits.kde.org/kdeplasma-addons/0319b3e9c96f193d6212b9a6d90f29b39cfda594