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

Erratic qmlls selection behaviour

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • Qt Creator 18.0.0
    • Qt Creator 17.0.1
    • Quick / QML Support
    • None
    • macOS 14.7.1; Windows 10 22H2

      Steps to reproduce

      1. In Qt Creator, ensure that the QML Language Server is enabled, but "Use from latest Qt version" is disabled
      2. Load a Qt Quick project (I tested with the example at QTBUG-137199)
      3. Configure the project to use multiple kits (I tested with Qt 6.8.4 + 6.9.2 + 6.10.0-beta3 for Desktop, all Debug mode)
      4. Build and run the project
      5. Open Main.qml in the code editor
      6. Click the Language Server tool button (top-right corner of the Code Editor) to check which version(s) of qmlls is active

       

      Unexpected outcomes

      • Quite often, the active version of qmlls does not match the selected kit (QTCREATORBUG-33468)
      • Many instances of qmlls are running (No. of kits X No. of QML modules in the project???)
        • I was only able to reproduce this screenshot on macOS. On Windows, I got 3 instances (one per kit)
        • After waiting/working for a while, the list eventually settles down and only 1 instance appears in the list. However, closing+reopening the *.qml file can cause the list to blow up again.
        • I don't think this happened in QtC 16.0.2, but I'm not 100% sure.

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

            sami.shalayel Sami Shalayel
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes