Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.3.0-beta1, Qt Creator 3.3.0-rc1
-
Windows 7 64 bit
Description
- Open qtdeclarative/examples/quick/demos/samegame/samegame.qmlproject from a Qt5 repository.
- Type "m start" into the Locator.
Locator suggests function "startNewGame(gc, mode, map)". - Press Enter.
A JavaScript editor will show the function in a file from the open project. - Close all editors and projects.
- Type "m start" into the Locator.
Locator still suggests function "startNewGame(gc, mode, map)". - 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 |
209055,1 | qmljs: cleanup locator's entries when closing a project | master | qt-creator/qt-creator | Status: ABANDONED | -1 | 0 |
228699,2 | qmljs: cleanup locator's entries when closing a project | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |