Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0, 5.15.6, 6.2.0
-
ff7551a09d8a1e4f10e323a4f899cd1d1c2175a4 (qt/tqtc-qtquickcontrols2/5.15) 690af8c89dbc78c744cb6136a15829b80433bd7a (qt/qtdeclarative/dev) a37a555c96ecc3e5461b0abbc89091fe3f8345a1 (qt/qtdeclarative/6.2)
Description
In case of a dialog,say dialog2, is opened while the enter transition of another dialog, dialog1, is running, the focus is given to dialog1 when transition is finished.
Ideally, Dialog 2 is opened after dialog1, dialog2 should get the focus.
Please refer to attached sample. Press left key, dailog1 and dialog2 get opened, Press any key, you will see that focus will be set to dialog1 once transition finishes.
Usecase: when the user clicks on a button to open a dialog and there is another dialog in the transition process. User does not want to set focus to dialog that was in the transition phase. The focus should be to latest dialog opened by the user.
Attachments
For Gerrit Dashboard: QTBUG-85918 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
376854,4 | Give focus to popup on prepareEnter instead of finalizeEnter | tqtc/lts-5.15 | qt/tqtc-qtquickcontrols2 | Status: MERGED | +2 | 0 |
376858,4 | Give focus to popup on prepareEnter instead of finalizeEnter | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
377020,2 | Give focus to popup on prepareEnter instead of finalizeEnter | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |