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

Synchronize with Editor only works for .cpp/.h files in Projects View (regression)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 13.0.1
    • None

    Description

      When navigating to a .qml, .js or any other file except .cpp and .h files, the Project View doesn't find and select the corresponding file.

      Even when using the Project View itself to navigate to a .qml file by double clicking, the file is immediately deselected (not highlighted).

      This seems to have been recently broken.

      How to reproduce:

      1. Create a new QML project.
      2. Ensure that "synchronize with editor" is enabled in the "Projects" view.
      3. Double click on main.qml. Observe that main.qml is not selected in the projects view. This is unexpected behavior.
      4. Double click on main.cpp. Observe that main.cpp is selected, and if the project wasn't expanded (when using the documents view or another way to open the file), it is expanded now. This is the expected behavior.

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              pdegoeje Pieter de Goeje
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes