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

QFileDialog::getOpenFileNames user folder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Invalid
    • Affects Version/s: 5.5.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Win 7 x64 Ultimate SP1.

      Description

      QStringList list = QFileDialog::getOpenFileNames(this, tr("Open runs"), m_openPath,
                                                       QString("Runs info (*.bin)"), 0,
                                                       QFileDialog::DontUseNativeDialog);

      When it is executed, on the left part of the window I get 3 "default locations": Desktop, MaX (this is my username in Windows) and Documents.

      In my system my User folder is not located as usual (e.g. C:\Users\MaX) but at D:\Users\MaX\.

      When I click on Desktop and on Documents it goes to the right folders (D:\Users\MaX\Desktop and D:\Users\MaX\Documents) but when I click on MaX (the user) it goes to C:\Users\MaX instead of D:\Users\MaX.

        Attachments

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

          Activity

            People

            Assignee:
            mmutz Marc Mutz
            Reporter:
            hornetmax Massimiliano Maini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes