summaryrefslogtreecommitdiff
path: root/qutebrowser/html
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2018-09-18 08:36:26 +0200
committerFlorian Bruhin <me@the-compiler.org>2018-09-18 08:53:11 +0200
commitf2e91cc82e5122d1f3b29d28305a84c6310eef07 (patch)
tree0b854656d8198210aa37fc7cff69157d915775ed /qutebrowser/html
parentd7598461892984454350d5cf9c8001c6c6a7f0d5 (diff)
downloadqutebrowser-f2e91cc82e5122d1f3b29d28305a84c6310eef07.tar.gz
qutebrowser-f2e91cc82e5122d1f3b29d28305a84c6310eef07.zip
Add warnings for QtWebKit and old Qt
See #3839, #4039
Diffstat (limited to 'qutebrowser/html')
-rw-r--r--qutebrowser/html/styled.html9
-rw-r--r--qutebrowser/html/warning-old-qt.html24
-rw-r--r--qutebrowser/html/warning-webkit.html82
3 files changed, 115 insertions, 0 deletions
diff --git a/qutebrowser/html/styled.html b/qutebrowser/html/styled.html
index f4d256422..52f7e1042 100644
--- a/qutebrowser/html/styled.html
+++ b/qutebrowser/html/styled.html
@@ -45,4 +45,13 @@ td {
margin-left: 10px;
text-decoration: none;
}
+
+.note {
+ font-size: smaller;
+ color: grey;
+}
+
+.mono {
+ font-family: monospace;
+}
{% endblock %}
diff --git a/qutebrowser/html/warning-old-qt.html b/qutebrowser/html/warning-old-qt.html
new file mode 100644
index 000000000..157d50714
--- /dev/null
+++ b/qutebrowser/html/warning-old-qt.html
@@ -0,0 +1,24 @@
+{% extends "styled.html" %}
+
+{% block content %}
+<h1>{{ title }}</h1>
+<span class="note">Note this warning will only appear once. Use <span class="mono">:open
+qute://warning/old-qt</span> to show it again at a later time.</span>
+
+<p>You're using qutebrowser with Qt {{qt_version}}.</p>
+
+<p>Qt 5.7 was released in June 2016, with the 5.7.1 patch release in December
+2016. It is based on Chromium 49 (March 2016) with (some) security fixes up to
+Chromium 54 (October 2016). It is also
+<a href="https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#browser-security">not covered</a>
+by Debian security updates.</p>
+
+<p>Qt 5.8 has had various bugs, and has been unsupported (but working to some
+degree) in qutebrowser for a while.</p>
+
+<p>Because of those security issues and the maintaince burden coming with
+supporting old versions, support for Qt < 5.9 will be dropped in a future
+qutebrowser release. You might want to check
+<a href="https://qutebrowser.org/doc/install.html">alternate installation methods</a>
+which allow you to get a newer Qt.</p>
+{% endblock %}
diff --git a/qutebrowser/html/warning-webkit.html b/qutebrowser/html/warning-webkit.html
new file mode 100644
index 000000000..2797ea228
--- /dev/null
+++ b/qutebrowser/html/warning-webkit.html
@@ -0,0 +1,82 @@
+{% extends "styled.html" %}
+
+{% block content %}
+<h1>{{ title }}</h1>
+<span class="note">Note this warning will only appear once. Use <span class="mono">:open
+qute://warning/webkit</span> to show it again at a later time.</span>
+
+<p>You're using qutebrowser with the QtWebKit backend.</p>
+
+<p>Unfortunately, QtWebKit hasn't seen a release (including security updates)
+since June 2017, and it also lacks various security features (process
+isolation/sandboxing) present in QtWebEngine.</p>
+
+<p>Because of those security issues and the maintaince burden coming with
+supporting QtWebKit, support for it will be dropped in a future qutebrowser
+release. It's recommended that you use QtWebEngine instead.</p>
+
+<h2>(Outdated) reasons to use QtWebKit</h2>
+<p>Most reasons why people preferred the QtWebKit backend aren't relevant anymore:</p>
+
+<p><b>PDF.js support</b>: This qutebrowser release comes with PDF.js support
+for QtWebEngine.</p>
+
+<p><b>Missing control over Referer header</b>: This qutebrowser release
+supports <span class="mono">content.headers.referer</span> for QtWebEngine.</p>
+
+<p><b>Missing control over cookies</b>: With Qt 5.11 or newer, the <span
+class="mono">content.cookies.accept</span> setting works on QtWebEngine.</p>
+
+<p><b>Graphical glitches</b>: The new values for the <span
+class="mono">qt.force_software_rendering</span> setting added in v1.4.0 should
+hopefully help.</p>
+
+<p><b>Missing support for notifications</b>: Those <a
+href="https://bugreports.qt.io/browse/QTBUG-29611">aren't supported yet</a> in
+Qt, but support is planned to be added in Qt 5.13, released around May 2019.</p>
+
+<p><b>Resource usage</b>: This release adds the <span
+class="mono">qt.process_model</span> and <span
+class="mono">qt.low_end_device_mode</span> settings which can be used to
+decrease the resource usage of QtWebEngine (but come with other drawbacks).</p>
+
+<p><b>Not trusting Google</b>: Various people have checked the connections made
+by QtWebEngine/qutebrowser, and it doesn't make any connections to Google (or
+any other unsolicited connections at all). Arguably, having to trust Google
+also is a smaller issue than having to trust every website you visit because of
+heaps of security issues...</p>
+
+<p><b>Nouveau graphic driver</b>: You can use QtWebEngine with software
+rendering. With Qt 5.13 (~May 2019) it might be possible to run with Nouveau
+without software rendering.</p>
+
+<p><b>Wayland</b>: It's possible to use QtWebEngine with XWayland. Some users
+also seem to be able to run it natively with Qt 5.11, but currently, <span
+class="mono">QUTE_SKIP_WAYLAND_CHECK=1</span> needs to be set in the
+environment to do so.</p>
+
+<p><b>Instability on FreeBSD</b>: Those seem to be FreeBSD-specific crashes,
+and unfortunately nobody has looked into them yet so far...</p>
+
+<p><b>QtWebEngine being unavailable in ArchlinuxARM's PyQt package</b>:
+QtWebEngine itself is available on the armv7h/aarch64 architectures, but their
+PyQt package is broken and doesn't come with QtWebEngine support. This
+<a href="https://archlinuxarm.org/forum/viewtopic.php?f=15&t=11269&p=54587">has
+been reported</a> in their forums, but without any change so far. It should
+however be possible to rebuild the PyQt package from source with QtWebEngine
+installed.</p>
+
+<p><b>QtWebEngine being unavailable on Parabola</b>: Claims of Parabola
+developers about QtWebEngine being "non-free" have repeatedly been disputed,
+and so far nobody came up with solid evidence about that being the case. Also,
+note that their qutebrowser package is orphaned and was often outdated in the
+past (even qutebrowser security fixes took months to arrive there). You
+might be better off chosing an <a
+href="https://qutebrowser.org/doc/install.html">alternative install
+method</a>.</p>
+
+<p><b>White flashing between loads with a custom stylesheet</b>: This doesn't
+seem to happen with <span class="mono">qt.process_model = single-process</span>
+set. However, note that that setting comes with decreased security and
+stability, but QtWebKit doesn't have any process isolation at all.</p>
+{% endblock %}