Skip to content

Conversation

mgarstenauer
Copy link
Contributor

The Space and Enter keys can be used to stage or unstage the selected items in the working copy. The Space key works correctly, but the Enter key does not.

Cause:

The ListBox in the ChangeCollectionView changes the selection when Enter is pressed before WorkingCopy can stage/unstage the selected items.

Solution:

Same as for Space. The ChangeCollectionView should ignore the Enter key and not forward the KeyDown event to the underlying ListBox.

@mgarstenauer mgarstenauer changed the title fix: Enter key does not stage/unstage all selected items. fix: Enter key does not stage/unstage all selected items Dec 27, 2024
@love-linger love-linger self-assigned this Dec 27, 2024
@love-linger love-linger added the bug Something isn't working label Dec 27, 2024
@love-linger love-linger merged commit 12e8a21 into sourcegit-scm:develop Dec 27, 2024
13 checks passed
@mgarstenauer mgarstenauer deleted the fix-ignore-enter-in-collectionchangedview branch December 27, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants