Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 6.0.1
-
None
Description
Steps to repro
- In SCXML editor, insert a state or history or parallel (ie. something that has "Id" attribute)
- Click its title area to activate text editing
- Type something into the title area, either append the existing "Id" string or delete and replace it with your own text
- 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