Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QWebView does not properly grab the mouse
daniele last edited by
Try creating an empty Qt 5.3.1 project, with a MainWindow and a QWebView.
Initialize the content of the QWebView:
Then start the application, and type something in the textarea.
Start selecting with the mouse the text you wrote, and while still holding down the mouse button move the cursor outside the window and then back in. You'll see that the mouse is not "captured" anymore.
It works if you stay within the window, but as soon as you go out, the grab is lost.
Is this the expected behaviour, or a bug? How can I keep the cursor grabbed?
EDIT: Bug submitted here: https://bugreports.qt-project.org/browse/QTBUG-41419