summaryrefslogtreecommitdiffstats
path: root/examples/sql/sqlbrowser/qsqlconnectiondialog.cpp
diff options
context:
space:
mode:
authorAxel Spoerl <[email protected]>2025-06-19 13:16:30 +0200
committerAxel Spoerl <[email protected]>2025-06-19 19:36:16 +0200
commit3080304ce4af900e4732ded7c150509184f588ca (patch)
tree6a2745641389746787003aec30f06185295fd296 /examples/sql/sqlbrowser/qsqlconnectiondialog.cpp
parent0422f6ccab41ed80576018e8cf9d55bbeef8e764 (diff)
QXcbWindow: Eliminate data race between hide() and deferred activationHEADdev
When hide() was called on a window that is still hidden with its activation being deferred, the hide() call could have been overridden when the deferred activation kicked in. In tst_QGraphicsScene::tabFocus_sceneWithFocusWidgets() this sometimes causes the wrong widget to be focused. Lock the mutex for m_mapped at the beginning of hide(). Cancel deferred activations when setting m_mapped to false. Can't be autotested. Flakiness of tst_QGraphicsScene::tabFocus_sceneWithFocusWidgets() will disappear. Fixes: QTBUG-123063 Pick-to: 6.10 6.9 6.8 6.5 Change-Id: I80c3419f09a5fd98c2684c672c631c6a63d4ec48 Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'examples/sql/sqlbrowser/qsqlconnectiondialog.cpp')
0 files changed, 0 insertions, 0 deletions