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

[Bug] macOS Shortcuts: Command and Control keys are swapped from how they are displayed in settings #1954

Closed
1 task
Next-Door-Tech opened this issue Nov 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Next-Door-Tech
Copy link

Operating System

MacOS

What's the issue you encountered?

On macOS, the shortcut keybinds shown in the menu / settings say they use the command key, but work using the control key instead. Likewise, when setting keybinds in the settings menu,

How can the issue be reproduced?

Verifying CMD and CTRL are swapped when using shortcuts:

  1. On macOS, open ImHex without loading a file.
  2. Verify that the "New File..." shortcut is supposedly set to "CMD + N" under the File menu.
  3. Press CMD+N on the keyboard to create a new file.
    • Nothing happens.
  4. Press CTRL+N on the keyboard, which should not be bound to anything on a default installation.
    • A new file is created.

Verifying CMD and CTRL are swapped when assigning shortcuts:

  1. Go to Settings > Shortcuts.
  2. Attempt to change the "New File..." shortuct. Press CMD+N as the new shortcut.
    • The new keybind that appears is shown as "CTRL + N".
    • If the settings menu is closed, pressing CMD+N creates a new file. Pressing CTRL+N does nothing.
  3. Attempt to change the "New File..." shortuct again. Press CTRL+N as the new shortcut, or reset the keybind to default.
    • The new keybind that appears is shown as "CMD + N".
    • If the settings menu is closed, pressing CTRL+N creates a new file. Pressing CMD+N does nothing.

ImHex Version

1.35.4

ImHex Build Type

  • Nightly or built from sources

Installation type

DMG

Additional context?

No response

@Next-Door-Tech Next-Door-Tech added the bug Something isn't working label Nov 5, 2024
@paxcut
Copy link
Contributor

paxcut commented Nov 5, 2024

this is most likely a duplicate of issue #1757. At least, the same issue of cmd/ctrl key swapping on MacOS is also described there.

@Next-Door-Tech
Copy link
Author

this is most likely a duplicate of issue #1757. At least, the same issue of cmd/ctrl key swapping on MacOS is also described there.

Yes, #1757 seems to be describing the same issue, but in a more narrow context. (Frankly, not sure how I managed to miss it when I searched for existing issues.)

In any case, the issue where cmd/ctrl are swapped affects ALL shortcuts (not just the pattern editor), and also affects Intel Macs (I'm on a MBP 16" 2019 w/ a Core i9).

@Next-Door-Tech
Copy link
Author

Closed as duplicate. Added comment to #1757

@Next-Door-Tech Next-Door-Tech closed this as not planned Won't fix, can't repro, duplicate, stale Nov 5, 2024
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

No branches or pull requests

2 participants