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

Opening Design mode opens three new windows

    XMLWordPrintable

Details

    • Linux/X11, Windows

    Description

      1. Have a Qt version's bin directory in PATH.
        I can reproduce the issue with the official release of Qt 5.14.1 as well as my self-built Qt 5.15.2.
      2. Start Qt Creator with empty settings but load the QmlDesigner plugin, e.g.:
        ~/qtcreator-6.0.0-beta2o/bin/qtcreator -tcs -load QmlDesigner
        
      3. Create a new Qt Quick Application project.
        Use the wizard's defaults. I can reproduce the issue with projects using qmake as well as CMake.
        Creator will automatically open the project's main.qml.
      4. Start the Design mode.
        Three windows will pop up which use the Window item's title from main.qml but are empty otherwise:

      This happens with Qt Creator built on Qt 6.2.0 as well as Qt 6.2.1. With the same revision of Qt Creator built on Qt 5.15.2, I don't see the issue.

      Attachments

        1. AlsoOnWindows.png
          AlsoOnWindows.png
          296 kB
        2. design.png
          design.png
          100 kB
        3. OpenUiQmlFileInstead.png
          OpenUiQmlFileInstead.png
          16 kB

        Issue Links

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

          Activity

            People

              thohartm Thomas Hartmann
              rlohning Robert Löhning
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes