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

Regression: Opening second editor for file when creating project using wrong capitalization

    XMLWordPrintable

Details

    • 4b19bdd6f1297d463037aeb8038378de26d4241b

    Description

      1. Start creating a new Qt Widget Application project.
      2. In the "Create in" edit of the wizard, enter a wrongly capitalized path, e.g. "D:\TestProjects" whereas the directory existing in the file system is "D:\Testprojects".

      You then have at least two ways to show the wrong behavior:

      1. Configure the project with a kit using MSVC.
      2. Build the project.
      3. Open main.cpp from the Projects view.
      4. Set a breakpoint in main function.
      5. Run the project in the debugger.
        The debugger will stop at the line with the breakpoint but Creator opens another editor showing the same file.

      Instead you can also:

      1. Open main.cpp from the Projects view.
      2. Use the File System view to navigate up to the root directory of the partition and back down to the project's directory.
      3. Open main.cpp from the File System view.
        Creator will open a second editor for the same file.

      This is a regression as Creator 2.8 did not open a second editor in either situation.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-10994
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes