Start renaming a screenshot via the context menu action.
Hit enter in the rename popup dialog.
Expected results
The dialog closes and the screenshot is not opened.
Actual results
The dialog closes and the screenshot opens in a new editor.
Technical notes
The issue happens only when hitting Enter in the dialog, but not when clicking on the Ok button. This is because there is focus on the screenshot node being renamed, in the tool window, and since opening one of the screenshot views is bound to the Enter shortcut key, it is triggered as well.
A feasible solution could be to remove the focus from the screenshot node right before the rename dialog is opened.
Steps to reproduce
Expected results
The dialog closes and the screenshot is not opened.
Actual results
The dialog closes and the screenshot opens in a new editor.
Technical notes
The issue happens only when hitting Enter in the dialog, but not when clicking on the Ok button. This is because there is focus on the screenshot node being renamed, in the tool window, and since opening one of the screenshot views is bound to the Enter shortcut key, it is triggered as well.
A feasible solution could be to remove the focus from the screenshot node right before the rename dialog is opened.
Versions affected
0.1.0, 0.2.0, 0.3.0
Out of scope