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

Windows native QFileDialog: extra space in filter when not filtering by suffix

    XMLWordPrintable

Details

    • Windows
    • ffb8464cefd661cfa3428931bd80ee262cacbe13 (qt/qtbase/dev) bcd544bd7cbf15a7e852852ec83eb9fdd242a0d3 (qt/qtbase/5.15)

    Description

      #include <QApplication>
      #include <QFileDialog>
      
      int main(int argc, char **argv)
      {
        QApplication app(argc, argv);
      
        QFileDialog().exec();
      }

      Note that the filters combo box has "All Files  (​*​)" in it.

      This block (a fix for QTBUG-42405) truncates "All Files (​*​)" to "All Files " (with a space), then native dialog apparently adds " (​*​)" (with another space).

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              a.khlyustov a.khlyustov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes