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

QFileDialog wrongly strips filename prefix when accessing parent dir

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.15.3, 6.3.0
    • None
    • Archlinux
    • Linux/X11

      Original report: https://github.com/qutebrowser/qutebrowser/issues/7150

      When the current folder is, say xyz, and the string xyzc (with c being any character, apparently) matches the beginning of sibling files/directories' names, those files/dirs are not selectable by writing ../xyz and hitting DownArrow/UpArrow, because when one is selected, the ../xyzc prefix is stripped off.

      See the GIF:

      This is reproducible by e.g. doing touch memgraph.mp3 memgraph.git memgraphmp3; mkdir memgraph in an empty directory, calling QFileDialog::getOpenFileName(), navigating to the memgraph subfolder, and then entering ../memgraph and pressing down arrow (like in the gif).

        For Gerrit Dashboard: QTBUG-103016
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change