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

QFileDialog slows down with multiple selection on GTK 3.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.7.4
    • GUI: Window management
    • None
    • Linux gtk 3.0

    Description

      When running a gtk 3.0 system, when coming back from a multiple file selection, the application waits a long time before becoming available again. This time is variable but increases with the number of files selected. Note that the time is really small if only one or two files are selected, but can reach 8 seconds for about 60 files, 12 seconds for 90 files.

      I attach an extremely simple that reproduces the problem. You will see in the example that the getOpenFilenames function comes back instantly and the code following it is executed right away. It's only when coming back to the main event loop that it stalls for a long time.

      Attachments

        1. test_dialog.h
          0.2 kB
        2. test_dialog.cpp
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            pierrebdr Pierre Barbier de Reuille
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes