Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.0
-
None
Description
The QWebEngineView::dropEvent override does not forward keyboard modifiers.
The code @ https://code.woboq.org/qt5/qtwebengine/src/core/web_contents_adapter.cpp.html#1530
does show that 0 is sent unconditionally, while qApp->keyboardModifiers() should be used.
This make it impossible to read the JavaScript drop event modifiers as they are all off.
Attachments
For Gerrit Dashboard: QTBUG-69231 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
234347,3 | Forward mouse and keyboard modifiers from QDropEvent | 5.11 | qt/qtwebengine | Status: MERGED | +2 | 0 |
234427,2 | Fix enum mismatch in WebContentsAdapter::enterDrag | 5.11 | qt/qtwebengine | Status: MERGED | +2 | 0 |