Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
f20be43b8 (dev), 72027c2d7 (dev), 8c44064f6 (dev), 3f3787a6b (dev), 199b60363 (dev), 926d3287a (dev), 3b1951cd1 (6.8)
Description
Focus/activation-related bugs observed when embedding a QQuickWindow in a widget window:
Focus gets stuck inside embedded window and has no way to go back to parent window- Some controls (eg: combobox) inside the embedded window are painted in an inactive state when that window has not yet gained focus, even if the parent (widget)window is focused
When the focus moves from the embedded window to the parent window, focus rect remains on the focus object of the embedded windowThe next time the embedded window gains focus, the focus will resume from the last focus object, which is wrong behavior. The embedded window's focus object should be cleared when it looses focusWhen first tabbing from widget to window container, the focus won't immediately go to the item inside the container. It will require another tab key for it to gain focus. This doesn't happen the next times.
Attachments
Issue Links
- relates to
-
QTBUG-121478 Document focus and activation handling in QWidget
- Closed
- resulted in
-
QTBUG-125309 QQuickWindow should not clear its focusObject when the window looses focus
- Reported