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

On "Switch Header/Source", it switches and switches back

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 9.0.0-rc1
    • Qt Creator 8.0.1, Qt Creator 8.0.2
    • C/C++/Obj-C++ Support
    • None
    • Apple Silicon M1, macOS 12.1, Apple clangd version 13.0.0 (clang-1300.0.29.30)
      Apple Silicon M1, macOS 12.6, Apple clangd version 13.0.0 (clang-1300.0.29.30)
    • macOS
    • c4ee485bdf (qt-creator/qt-creator/9.0) c4ee485bdf (qt-creator/qt-creator/qds/dev) c4ee485bdf (qt-creator/qt-creator/master)

    Description

      In a .cpp file, invoke "Switch Header/Source" (by any method) and the editor switches momentarily to the .h and then switches back to the .cpp.

      I have attached a couple of videos showing this. As you'll also see, changing cursor location before the switch is ignored, suggesting Qt Creator has somehow got locked into a particular location.

      This is an intermittent bug but it is happening so frequently it has become a source of frustration.

      The workaround is to close both the header and source and then open them afresh. However I have seen the issue recur within 5 minutes at times.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            paulmasri Paul
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes