Skip to content

remove linux altGr detection, replace windows altGr with Control + Alt#1548

Merged
goosewobbler merged 7 commits intodevelopfrom
linux-key-fix
May 9, 2023
Merged

remove linux altGr detection, replace windows altGr with Control + Alt#1548
goosewobbler merged 7 commits intodevelopfrom
linux-key-fix

Conversation

@goosewobbler
Copy link
Contributor

No description provided.

@goosewobbler goosewobbler changed the title remove linux altGr detection remove linux altGr detection, replace windows altGr with Control + Alt May 8, 2023
mholtzman
mholtzman previously approved these changes May 9, 2023

expect(shortcuts).toStrictEqual({
summon: {
modifierKeys: ['Alt', 'Control'],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a case on either platform where either of these modifiers could have already been in the list and we're left with a list like ['Alt', 'Control', 'Control']?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm possibly, I'll address this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok it's not possible on Windows at least to get AltGr and either of the replacement modifiers in combination. Going to check linux

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified this on Linux, I couldn't get AltGr + Alt + ... to register - as soon as you press the left Alt key it overrides the AltGr.

Copy link
Collaborator

@mholtzman mholtzman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, let's just make sure to test as many different migration scenarios as we can: coming from both 0.6.3 and 0.6.5. let's just be extra sure there are no issues w this one

@goosewobbler goosewobbler merged commit b087f15 into develop May 9, 2023
@goosewobbler goosewobbler deleted the linux-key-fix branch May 9, 2023 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants