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

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • Qt Creator 9.0.2, Qt Creator 10.0.1 (10.0 branch)
    • C/C++/Obj-C++ Support
    • Ubuntu 22.04

    Description

      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.

      Attachments

        Activity

          People

            kandeler Christian Kandeler
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: