-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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] Keyboard shortcuts in editor for macOS no long work in 1.34.0 #1757
Comments
There seems to be two separate errors reported. One is about the pattern editor where the mac shortcuts no longer work. The pattern editor is undergoing a transition where the shortcuts will be part of the shortcuts manager and will be editable like all the other shortcuts, but only the part that removed the old shortcut code made it to the release. Once the pr that adds the new shortcuts is merged then it should work again. |
Regarding the |
Yep, everything is properly interpreted. At same time in same environment previous version (1.33.2) works correctly, something happened with new version: nobugs.mp4 |
It seems Cmd and Ctrl have been swapped. For example undo should be Cmd-Z but only works with Ctrl-Z now. When pressing cmd or ctrl in the shortcut screen they appear swapped (i.e. press Cmd and it shows up as Ctrl) |
There has been a recent commit that seems to be aimed at this issue but it is missing two important details
|
It appears that each time i press CMD it interprets it as CTRL instead, and CTRL is interpreted as CMD. |
Does that swapping of keys happen everywhere on Imhex? The pattern editor and the hax editor have independent mappings for keys.In fact if you check the shortcut tab in settings you'll see all the different places where mappings could be different which of course includes the shortcut tab window itself. |
M2 Max Macbook user here. For me, sometimes control is accepted instead of cmd, but not really reproducible. |
Same issue here (cmd and ctrl keys are reversed)/. M2 max here. I took a video for you to demo. ImHex_20240928185129.mp4 |
This is probably an issue with how imgui handles mac keys because afaik imhex uses imgui to obtain keys in any os. The strange think is that it used to work and now it doesn't, yet there has been no changes to the key handling code in quite some time. I did find older issues in imgui that mention how ctrl and cmd were swapped twice and then one of the swaps was removed. but that should have been fixed by now. Having re-definable shortcuts means you can still define the shortcuts to be exactly what you prefer. Until we can figure out why keys are swapped now (and for that we need mac users to debug imhex) Define the shortcuts how you prefer (recently the shortcuts for the pattern editor were added to the list of re-definable shortcuts) and wait for a mac user that can debug imhex to figure it out. |
Bump, still happens on 1.35.4 |
Somehow missed this when searching for existing issues - accidentally created duplicate #1954. TL;DR: 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). |
Reporting the same happening on my Mac (MBP 16", Core i7, 2015, Mac OS Monterey 12.7.6). |
Operating System
MacOS
What's the issue you encountered?
In the
Pattern Editor
keyboard shortcuts, like CMD+C or CMD+V and some rest no longer work.Downgraded to the previous version
1.33.2
– everything is okey.How can the issue be reproduced?
When in settings assign new shortcut, e.g. press "CMD+V" instead I see "CTRL+V". When press CTRL+V instead I see "CMD+V".
But anyway nothing work in editor, irrelevant it is "cmd+v" or "ctrl+v" – work only nowhere else defined Alt+V.
Undo (CMD+Z) work like nowhere else defined "CMD+Backspace/Del".
keysbug.mp4
ImHex Version
1.34.0
ImHex Build Type
Installation type
Portable
Additional context?
Apple M1, macOS 12.6
The text was updated successfully, but these errors were encountered: