Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8
-
None
Description
When using keys to close a popup that uses popupType PopupWindow, the key release event is propagated. Expected behaviour is that it doesn't propagate.
This check looks suspicious, the popup window becomes invisible too soon maybe?
qquickcombobox.cpp:2109: if (d->isPopupVisible()) {
To reproduce:
- Open attached project and run it
- Press escape key to close the popup
- notice the output shows 0 presses and 0 releases propagated
- Change the popupType to Popup.Window
- Run the project and press escape key
- 0 presses are propagated but 1 release is
Test failure:
FAIL! : tst_controls::Universal::ComboBox::test_keyClose(Escape) Compared values are not the same Actual (): 2 Expected (): 1 Loc: [/home/edc/dev/qt/src/dev/qtdeclarative/tests/auto/quickcontrols/controls/data/tst_combobox.qml(1890)]