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

Tooltip for Custom Executable's working directory shows wrong path

XMLWordPrintable

      1. Create a new project.
      2. Go to Projects mode, Run settings.
      3. Add a Custom Executable run configuration with executable "cmd" and arguments "/c dir".
        The working directory is automatically set to "%{buildDir}".
      4. Hover your mouse cursor over the "Working directory" edit.
        A tooltip will appear showing something like:
        Full path: D:\Testprojekte\untitled359\%{buildDir}
      5. Run the custom executable.
        The dir command will show data about the current directory. In my case, the directory is
        D:\Testprojekte\build-untitled359-32_bit_MSVC_Qt_5_4_0-Debug

        The path displayed in the tooltip is wrong. It's not only that the macro wasn't expanded, it is something completely different.

      The tooltip should show the right working directory, at least in an unexpanded form.

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

            con Eike Ziller
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes