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

QFileDialog::getOpenFileName don't pop up correctly when QTimer is started with timeout = 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 4.7.4, 4.8.0, 4.8.1
    • None
    • Ubuntu 10.04 LTS 64bits (kernel 2.6.32-41)

    Description

      If there is an idle timer (QTimer::start(0)) running in the main loop of a Qt program, trying to pop up a file open dialog (QFileDialog::getOpenFileName()) produces an empty dialog (no buttons). If the timeout of the timer is not 0, the problem doesn't occur ( even with timeout = 1 ). There is a similar problem with QFileDialog::getSaveFileName(), but not with other generic dialogs such as QColorDialog. See the attached example to reproduce the bug.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              drouin.simon Simon Drouin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes