-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
2.1.2.5
-
None
-
Source tree Standalone Application
Windows 10 64-bit Professional Edition
-
Severity 2 - Major
Enter key doesn't work on close button in the console output dialog. While seemingly harmless at first glance, if the user checks "Don't show me this message again" when the empty commit prompt displays, it's possible for the user to accidentally commit files prematurely when the enter key is pressed despite the overlay seemingly having the focus.
(Note that this was not a problem in legacy versions of SourceTree)
Steps to Reproduce:
- Have "Always display full console output" option enabled in Source Tree's general options
- Open any git repo in source tree in "Working Copy" view
- Perform any change that causes the console dialog overlay to appear (e.g. unstage a file)
- Console output overlay appears. Note 'Close' button has keyboard focus
- Press 'Enter' once. (No action takes place)
- Press 'Enter' a second time. Receive the following prompt "You left the commit message blank. Are you sure you want to commit...?"
Steps to Workaround
- Click "Close" manually on any console dialog overlays