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

Locator shows functions from closed project/file

    XMLWordPrintable

Details

    Description

      1. Open qtdeclarative/examples/quick/demos/samegame/samegame.qmlproject from a Qt5 repository.
      2. Type "m start" into the Locator.
        Locator suggests function "startNewGame(gc, mode, map)".
      3. Press Enter.
        A JavaScript editor will show the function in a file from the open project.
      4. Close all editors and projects.
      5. Type "m start" into the Locator.
        Locator still suggests function "startNewGame(gc, mode, map)".
      6. Press Enter.
        A JavaScript editor will show the function in a file from the closed project.

      This will get very confusing when you open a different project which has a function of the same name. The locator should not show functions or other items from closed projects.

      Attachments

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

        Activity

          People

            mabenell Marco Benelli
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes