-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 17.0.1
-
macOS 14.7.1; Windows 10 22H2
-
5bf0efa6d (18.0)
Steps to reproduce
- In Qt Creator, ensure that the QML Language Server is enabled, but "Use from latest Qt version" is disabled
- Load a Qt Quick project (I tested with the example at QTBUG-137199)
- Configure the project to use multiple kits (I tested with Qt 6.8.4 + 6.9.2 + 6.10.0-beta3 for Desktop. Debug mode is used for every version)
- Open Main.qml
- Click the Language Server tool button (top-right corner of the Code Editor) to check which version of qmlls is active
- Switch to different kits, repeating step #5 with each switch
Expected outcomes (QtC 16)
Each time a different kit is selected, the old instance of qmlls stops running and a new one (based on the newly-selected kit) runs immediately.
Actual outcomes (QtC 17)
qmlls could get stuck at a specific version. For example, even when I switch to Qt 6.8.4 or 6.10.0, qmlls 6.9.2 remains active.
- relates to
-
QTCREATORBUG-33469 Erratic qmlls selection behaviour
-
- Reported
-
For Gerrit Dashboard: QTCREATORBUG-33468 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
674155,5 | languageclientmanager: don't close clients on kit change | 18.0 | qt-creator/qt-creator | Status: MERGED | +2 | +1 |