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

Folder dialog returns incorrect URL when used to select a folder whose name ends with a trailing space

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.13.1
    • None
    • KDE Plasma 5.18 on openSUSE Tumbleweed

    Description

      The standard Qt folder dialog, when spawned from either QWidgets or QtQuick, will return an incorrect URL when used to navigate to a folder whose name ends with a trailing space.

      For example, if you use it to navigate to a folder with the path `/home/username/folder ` (note the trailing space) it will return the URL `file:///home/username/`

      Attachments

        1. Folder dialog.png
          131 kB
          Nate Graham
        For Gerrit Dashboard: QTBUG-81643
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            pointedstick Nate Graham
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change