Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-5545

When dragging items provided by unimported file-type imports from "All Other Components" category into scene, the import isn't added

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • QDS 2.3
    • QDS 2.3 Beta
    • 2D View, Navigator
    • None
    • 2
    • 9f8fcd82fd15c9808170d2a0d51866face0d1f77 (qt-creator/qt-creator/6.0)
    • QDS 3D - 2021 Week 47/48

    Description

      To repro:

      • Create new project.
      • Add a file-type import module, i.e. add a "Foobar" folder under project content and add a Foobar.qml there that contains e.g a Rectangle. Sample attached.
      • Search for "Foobar" in component library.
      • Drag the found "Foobar" component from "All Other Components" into the scene.

      --> The item is added to scene, but import for "Foobar" is not created, as it would be if the item was from a regular unimported module.

      If you drag the item into form editor instead of navigator, you also get additional copy of the item in the scene (the temporary copy used to visualize the drag in form editor).

      Attachments

        For Gerrit Dashboard: QDS-5545
        # Subject Branch Project Status CR V

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes