Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.10.1
-
None
-
Win 10 64-Bit
Qt 5.10.1
Qt Creator 4.6.0
Description
I created a simple application, which displays a QWebEngineView and adds a simple Html document via setHtml(...).
#include <QApplication> #include <QWebEngineView> int main(int argc, char *argv[]) { QApplication a(argc, argv); QString minHtml(R"(<!DOCTYPE html><html><head><meta charset="utf-8"><title>QWebEngine Selection Bug MinRep</title></head><body><h1>QWebEngine Selection Bug MinRep</h1>Table of Contents<br><ol><li>foo</li><li>bar</li><li>foobar</li></ol><br></body></html>)"); QWebEngineView webEngineView; webEngineView.setHtml(minHtml); webEngineView.show(); return a.exec(); }
To reproduce the bug the application has to be built in debug mode. Select some text than put the cursor over the selected parts and click with the left mouse button and drag in any direction. The application should crash immediately.
By doing the same in release mode the selected part is dragged with the mouse cursor and the application does not crash.
Attachments
Issue Links
- duplicates
-
QTBUG-66560 When running in debug mode while connected over a remote desktop it can cause a crash whereas release mode is fine
- Closed