Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.5.0, 4.8.6, 5.4.0 RC
-
None
-
c5e972eb87c5dbdbc0fc2ff15759ff0adaea8dfa
Description
in QFileDialog.cpp:
function itemViewKeyboardEvent(QKeyEvent *event) we can see:
case Qt::Key_Escape:
q->hide();
return true;
this code not call reject() function, and signal rejected not called.
and maybe in many places where dialog hides - reject() should be called.
Attachments
For Gerrit Dashboard: QTBUG-7690 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
101412,1 | QFileDialog: Call reject() on Key_Escape even when itemview has focus | 5.4 | qt/qtbase | Status: ABANDONED | +2 | 0 |
143266,4 | QFileDialog: Call reject() on Key_Escape even when itemview has focus | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
143538,2 | QFileDialog test: make the right subwidget visible | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |