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

[REG 6.0.2 -> 9.0.2] Renaming class from code completion doesn't work correctly

XMLWordPrintable

    • b36675750 (11.0)

      1. In a CppEditor, type "class".
      2. If it doesn't appear automatically, trigger code completion.
      3. From the list of proposals, select "class derived from QObject" and press Enter.
        A class called "name" is inserted into the file.
      4. Type a different name.

      Expected result: While you are typing, the class' ctor and dtor update accordingly. This works in Qt Creator 6.0.2.

      Actual result: Only the class' name changes while you are typing. The ctor and dtor don't change.

      Found and tested by Squish test tst_CSUP02.

        1. CMakeLists.txt
          0.5 kB
          Robert Löhning
        2. main.cpp
          0.1 kB
          Robert Löhning
        3. rename.webm
          98 kB
          Robert Löhning
        4. backtrace.txt
          144 kB
          Robert Löhning
        5. backtrace2.txt
          68 kB
          Robert Löhning
        For Gerrit Dashboard: QTCREATORBUG-29012
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes