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

Regression: Inconsistent behavior when renaming cpp-file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 3.0.0-rc1
    • Windows 7 64 bit
      Qt 5.1.2 (stable)

    Description

      1. Open a Qt GUI Application project.
      2. Rename a source file to contain capital letters only using "Rename..." in the "Projects" view's context menu, e.g. rename "main.cpp" to "MAIN.CPP".
        The file will move from "Sources" to "Headers".
      3. Open project declarative-music-browser from "Examples/QtMobility" from a Qt 4 SDK.
      4. Repeat step 2 in this project.
        The file will move from "Sources" to "Other files".

      I think a CPP-file should still be treated as a source file. If this can't be done for some reason, the behavior should at least be consistent across projects. This used to work in 2.8.

      Found by Squish test tst_rename_file.

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes