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

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 4.5.0, 4.8.6, 5.4.0 RC
    • Fix Version/s: 5.6.0
    • Labels:
      None
    • Commits:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            peppe Giuseppe D'Angelo
            Reporter:
            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