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

QFileDialog::getOpenFileName() crops the front portion of the filename in the dialog's lineedit

    XMLWordPrintable

Details

    • Windows

    Description

      The following line of code that brings a file dialog with a default file name in the line edit. But, the default filename is cropped in the beginning as shown in the attached image.

      QString fileName = QFileDialog::getOpenFileName(nullptr, "Open File Template", "C:\\BoxTower_DEMO_2020.pltpy", "Inspire Plot Templates (*.pltpy)");
      

      Attachments

        1. qtbug83904.png
          qtbug83904.png
          33 kB
        2. qtbug83904.zip
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owolff Oliver Wolff
            shmittal Shveta Mittal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes