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

Pasting code into wrong file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • Some future release
    • QDS 1.6 Beta
    • 2D View
    • None
    • Windows

    Description

      After switching modes from Design to Edit, an interesting issue with text editor hotkeys may occur.

      Steps to reproduce:
      1. Open any .qml or .ui.qml file in Design mode.
      2. Open any text/code file not supported by Design Mode - for example .qmlpoject. It will open Edit Mode instead of Design Mode.
      3. Try to paste, copy or use any other hotkeys in newly opened file - nothing will visually happen.
      4. Now check your previously opened .qml file - all the pasted code will be in that file, likely on the first line with import, or whenever text input cursor was.

      I guess that this issue appears due to Design plugin still executing somewhere in the background and its Text Editor still running and capturing hotkeys. Design plugin executing also causes Binding Editor and other Dialogues not to close on leaving Design Mode.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            algerman Aleksei German
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes