aboutsummaryrefslogtreecommitdiffstats
path: root/src/import/plugins.qmltypes
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-03-02 13:19:38 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-03-03 12:38:16 +0100
commit4e8b3dd45ae4cc66a1b77cce901f80406b2a0f69 (patch)
tree4378b1eaa35948a95cf2224470280d4aae79663b /src/import/plugins.qmltypes
parent39a3c50f6f3d3aff52853510543388638a2524d5 (diff)
Make sure that the input panel receives events during modal sessions
Parent the input panel to the focus items' window's contentItem, with highest z order. This makes the input panel a sibling of the popup's overlay and dimmer items, but thanks to the highest z-order, the input panel gets all events. This requires that we store the input panel in the InputContext, which again assumes that there is only one input panel. Making this assumption explicit with a Q_ASSERT. Also, since __isRootItem is now true, we need to override the reliance on this property alone to avoid that SelectionControl becomes disabled. Introduce a second internal property. This should be followed up by a change that makes the disabling of the SelectionControl in the desktop integration case an explicit step. Fixes: QTBUG-56918 Done-with: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Change-Id: I58bbbb0adf145c9cfc30a7dd0acb2a0e1231481b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/import/plugins.qmltypes')
0 files changed, 0 insertions, 0 deletions