Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15169

Inappropriately long path listed for file added to qml.qrc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • Qt Creator 3.5.1
    • GNU/Linux, Debian/testing, x86_64

    Description

      I added a QML file to my project, selecting its qml.qrc file as where to add it.
      The qml.qrc file subsequently shows a new entry: "../../../" and then we hit the edge of the display area. It's actually using
      ../../../../../home/eddy/test/release/pythanim/HypoGrid.qml
      as path. The relevant project's directory is /home/eddy/test/release/pythanim/
      so simply listing HypoGrid.qml should work just fine (indeed, main.qml is in the same directory and is listed as such). For bonus comedy, the whole

      {../}

      * preamble could sensibly be omitted, since ../../../../../home is indeed just a long-winded way of saying /home/.

      The net effect of using this preposterous path prefix (go to root and then come back to where you started) is that I get to chose between being unable to see which file it is (because all I see of its name is a ../../.. prefix) or waste a large proportion of my screen's width on having the Projects preview wide enough to accommodate this wide path (already somewhat indented, along with all of the qml.qrc details).

      Attachments

        Issue Links

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

          Activity

            People

              hunger Tobias Hunger
              Eddy Edward Welbourne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes