Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.13.0 Beta2
-
Firefox 65 and Chromium 73
-
-
4d796cbf17da28e72ad25760a2ee8c27af96c202 (qt/qtbase/5.14)
Description
Adding a DropShadow to a QtQuick scene breaks all mouse input. The following simple example demonstrates the issue:
import QtQuick 2.12 import QtQuick.Window 2.12 import QtGraphicalEffects 1.0 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") Text { anchors.centerIn: parent text: "Hello, WASM!" } Rectangle { id: rectangle width: 100 height: 100 color: "red" visible: false enabled: true } MouseArea { anchors.fill: rectangle drag.target: rectangle } DropShadow { anchors.fill: rectangle source: rectangle verticalOffset: 4 horizontalOffset: 4 radius: 10 } }
The red rectangle is draggable on other platforms, but not in the browser with WebAssembly.
This issue is likely related to QTBUG-74754.
A minimal example project is attached.
Attachments
For Gerrit Dashboard: QTBUG-74850 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
257787,1 | wasm: fix mouse/keyboard input stealing when QOffscreenSurface is used | 5.13 | qt/qtbase | Status: ABANDONED | -1 | 0 |
257961,2 | wasm: target the document for input events | 5.13 | qt/qtbase | Status: ABANDONED | -1 | 0 |
258520,5 | wasm: reinstall event handlers on first window creation | 5.13 | qt/qtbase | Status: ABANDONED | 0 | 0 |
280696,6 | Prevent emscripten_webgl_destroy_context from removing event handlers | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |