Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.0
-
None
-
-
2c9968bee (dev), 0d5865375 (6.8)
Description
Two simultaneously opened onscreen keyboards could work incorrectly
Condition:
Two instances of QWaylandSeat, two opened onscreen keyboard on device with two screens.
Problem scenario:
When invoking:
void QWaylandQuickItem::takeFocus(QWaylandSeat *device)
correct QWaylandSeat (NOT a defaultSeat) passed, but also invoked:
void QQuickItem::forceActiveFocus(Qt::FocusReason reason)
which could finally emit 'activeFocusChanged', and, since in commit for QTBUG-108645 we have code:
connect(this, &QQuickItem::activeFocusChanged, this, &QWaylandQuickItem::updateFocus);
eventually 'updateFocus' ivoked, as an result 'setKeyboardFocus' called for wrong QWaylandSeat (defaultSeat)
As a result on one of onscreen keyboards some of keys not working
Attachments
For Gerrit Dashboard: QTBUG-120151 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
592427,2 | Doc: Drop parentheses and fifth macro argument in offline '\grid' | dev | qt/qtbase | Status: MERGED | +2 | 0 |
592532,2 | Doc: Drop parentheses and fifth macro argument in offline '\grid' | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |