Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit Dialog: Commit button not as the default button #5644

Closed
mstv opened this issue Oct 29, 2018 · 6 comments
Closed

Commit Dialog: Commit button not as the default button #5644

mstv opened this issue Oct 29, 2018 · 6 comments

Comments

@mstv
Copy link
Member

mstv commented Oct 29, 2018

Do you want to request a feature or report a bug?
unlucky UX, regression

What is the current behavior?
Hitting the Enter/Return in the Commit Dialog triggers the Commit button if the un/staged file lists have the keyboard focus.
This resulted in several incomplete commits. I do not want to amend commits (at least not for this reason).

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

  • modify something
  • open the Commit Dialog
  • hit Enter/Return

What is the expected behavior?
The Commit action shall never be triggered by just hitting Enter/Return (unless the regarding button has the focus).
It can already be triggered by the existing hotkey Ctrl+Enter/Return (which should be displayed in the tooltip of the Commit button).

Environment you encounter the issue:

  • GitExtensions version: master
  • GIT version: (2.18.0.w.x64)
  • OS version: (Windows 7)
  • .NET version: (4.7)

Did this work in previous version of GitExtensions (which)?
2.5, older master

@RussKie RussKie added waffle:needs review type: regression regression, normally to latest official release labels Oct 29, 2018
@RussKie RussKie added this to the 3.00-beta2 milestone Nov 1, 2018
@RussKie
Copy link
Member

RussKie commented Nov 1, 2018

This annoying behaviour exists in 2.51.04

@RussKie RussKie added type: bug 🐛 area: user experience and removed ❕ priority: high type: regression regression, normally to latest official release labels Nov 1, 2018
@AbhiAgarwal192
Copy link

@mstv I dont think this is a bug because when you open the commit dialog , commit button by default has the focus and on pressing enter, the action triggers.

RussKie added a commit to RussKie/gitextensions that referenced this issue Nov 1, 2018
Undo default button setting in FormCommit.

Reverting changes introduced in
* 4449536
* a688346

Closes gitextensions#5644
@ghost ghost assigned RussKie Nov 1, 2018
@ghost ghost added waffle:ready and removed waffle:needs review labels Nov 1, 2018
@mstv
Copy link
Member Author

mstv commented Nov 1, 2018

This annoying behaviour exists in 2.51.04

Yes, sorry, next time I will really check it with 2.5x. (I wonder why it didn't happen to me before, but several times last week.)
Thank you for fixing!

@RussKie
Copy link
Member

RussKie commented Nov 1, 2018

@mstv
Copy link
Member Author

mstv commented Nov 1, 2018

The Commit dialog works as expected.
But this portable build is missing a file in the About dialog:
grafik
Not reproducible with 1f0f59c of your branch fix_5644_undo_FormCommit_default_button.

@RussKie
Copy link
Member

RussKie commented Nov 1, 2018

Thank you.

amaiorano pushed a commit to amaiorano/gitextensions that referenced this issue Nov 3, 2018
Undo default button setting in FormCommit.

Reverting changes introduced in
* 4449536
* a688346

Closes gitextensions#5644
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants