Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.9.0
-
None
-
Firefox 137.0.2 (64-Bit) (flatpak)
-
-
a27bc0a70 (dev), 7f9a58087 (dev), 1192a9d81 (6.9)
-
WebAssembly
Description
On the WebAssembly Platform, Qt creates a div with contenteditable="true" around the canvas it paints the window in.
Unfortunately it is possible to navigate to that div by repeatedly pressing tab, and entering text outside of the Qt window.
The result looks like this:
Changing contenteditable to false in the devtools removes the problem.
The relevant code seems to be this: https://github.com/qt/qtbase/blob/30fd101b558112b8829d3ae63b58e8504bbe9297/src/plugins/platforms/wasm/qwasmwindow.cpp#L9 (GitHub for easier linking to the relevant line)
Attachments
For Gerrit Dashboard: QTBUG-136050 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
641885,3 | wasm: Make sure typing with window focus does not produce characters | dev | qt/qtbase | Status: MERGED | +2 | 0 |
642765,1 | wasm: Make sure typing with window focus does not produce characters | 6.9 | qt/qtbase | Status: ABANDONED | 0 | 0 |
642769,3 | wasm: Make sure cellphone keyboard does not show needlessly | dev | qt/qtbase | Status: MERGED | +2 | 0 |
642891,2 | wasm: Make sure typing with window focus does not produce characters | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |