Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7690

Not native QFileDialog does not emit's signal rejected() after selecting item in view and pressing ESC.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0
    • 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

        Activity

          People

            peppe Giuseppe D'Angelo
            ferdelan ferdelan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes