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

Esc key should end text editing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 6.0.1
    • SCXML support
    • None
    • Windows

    Description

      Steps to repro

      1. In SCXML editor, insert a state or history or parallel (ie. something that has "Id" attribute)
      2. Click its title area to activate text editing
      3. Type something into the title area, either append the existing "Id" string or delete and replace it with your own text
      4. Press Esc

      Expected

      The state returns to "selected" mode (blue handles), it can be now grabbed with the mouse, moved around, resized, connected to other states etc.

      Actual

      The canvas with state diagram disappears. A text editor that shows the underlying SCXML appears instead – in read-only mode only. It has a yellow-ish info bar with a button that lets the user go back to graphical state diagram editor.

      This "oh gosh, where did my diagram go?" effect is very unexpected, especially given how other vector (but also bitmap) editors handle a situation like this, as in: they simply end editing of the text and make the state ready for further user interaction

      A bug in my book, but feel free to make it a suggestion instead

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            kati Katarina Behrens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes