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

Qt Quick based trace timeline viewer instantiated on IDE launch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.8.1
    • Fix Version/s: Qt Creator 4.9.0-beta1
    • Component/s: QML Profiler
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      39eec848ceb57b4d1caa6ab3086f1c2d48f9cd9a (qt-creator/qt-creator/master)

      Description

      When launching Qt Creator with the QML profiler plugin active (which it is by default). The Qt Quick based trace timeline viewer is initialized. Since it is Qt Quick and even Qt Quick Controls 1 based, the Profiler plugin(s) belong therefore to the slowest plugins during startup.

      The timeline view should ideally only be loaded and instantiated when the respective analyzer is activated. And if at that moment it cannot be instantiated e.g. because OpenGL does not work, there should simply be a place holder instead of the timeline, stating that timeline could not be generated, with link to some trouble shooting website.

      Of course one could argue that Qt Quick Instantiation is now fast due to the qml caching (which in Qt Creator builds does not happen ahead of time), and only the first run requires some extra time. But then there is QTBUG-69340 which causes regeneration of the cache on the second run.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                ulherman Ulf Hermann
                Reporter:
                portale Alessandro Portale
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes