Project

General

Profile

Actions

Feature #831

open

Browser error pages do not display unless JavaScript is enabled

Added by Soren Stoutner over 2 years ago. Updated over 1 year ago.

Status:
In Progress
Priority:
1.x
Start date:
03/29/2022
Due date:
% Done:

0%

Estimated time:

Description

For example, if an invalid URL is loaded, only the outline of a box is displayed unless JavaScript is enabled.

Actions #1

Updated by Soren Stoutner over 2 years ago

This has been reported upstream. Qt says they won't fix it. Hopefully at some point they will reconsider.

https://bugreports.qt.io/browse/QTBUG-66643

Actions #2

Updated by Soren Stoutner over 2 years ago

Maybe there is some way to produce an error dialog using `QWebEngineSettings::ErrorPageEnabled`.

https://doc.qt.io/qt-5/qwebenginesettings.html

Actions #3

Updated by Soren Stoutner about 2 years ago

It looks like this will be possible in Qt 6 with https://doc.qt.io/qt-6/qml-qtwebengine-webengineview.html#loadingChanged-signal

I am not sure there is a way to do it in Qt 5.

Actions #4

Updated by Soren Stoutner over 1 year ago

  • Status changed from New to In Progress

It turns out this feature is available in the Qt Quick WebView implementation, but not in the Widget implementation.

Reported upstream: https://bugreports.qt.io/browse/QTBUG-112260

Actions #5

Updated by Soren Stoutner over 1 year ago

I was incorrect. It is under Qt WebEnginePage.

https://doc.qt.io/qt-6/qwebenginepage.html#loadingChanged

Actions

Also available in: Atom PDF