diff options
author | Moss Heim <[email protected]> | 2025-06-10 13:41:12 +0200 |
---|---|---|
committer | Moss Heim <[email protected]> | 2025-06-11 17:29:58 +0000 |
commit | 552f7c92f89511c1c92516e173ba3f807e016591 (patch) | |
tree | c66773dd187138a4e737c727619bef694120c142 /tests/manual/widgets/extensions | |
parent | 6ee84477aed17f07f394b19d4d7d608bbbe7fdd9 (diff) |
On Ubuntu it seems the application is not guaranteed to have focus just
from showing the window. Take a solution from qtdeclarative tests (e.g.
tst_qquicktext, tst_qquickmenu) where we also call requestActivate() and
qWaitForWindowActive() rather than waiting on a focusObject to exist.
Note that this will not change anything on Wayland where window
activation is not supported by default/design. We should probably
skip there; this is also consistent with qtdeclarative tests.
Pick-to: 6.10 6.9
Fixes: QTBUG-137447
Change-Id: Ie19f6dcc0c2b9d1d45805cba8e63e5007f87c115
Reviewed-by: Anu Aliyas <[email protected]>
Reviewed-by: Michael BrĂ¼ning <[email protected]>
Diffstat (limited to 'tests/manual/widgets/extensions')
0 files changed, 0 insertions, 0 deletions