Page 1 of 1

[Unfixable upstream bug] Cannot assign shortcut combo CTRL plus letter

Posted: Wed Oct 26, 2022 7:27 pm
by porg
Build 5636 added All windows to current zoom and I wanted to create custom shortcuts for:
• View→Zoom→Set all Windows to current Zoom ⌥⌘0
• View→Zoom→Change Viewport during set all to→ 9 positional commands: Each CTRL + letter on "mnemonic rectangle" on QWERTZ keyboard:
QWE
ASD
YXC

But assigning the combo of CTRL plus a letter, only worked for Q, Y and X. For all others which I also intended to assign (W,E,A,S,D,C) assigning fails. Instead of assigning it jumps to a command which starts in that name. As Q Y X are not the starting letter of any command that GC could jumpt to the assignment seems to work as a lucky exception.

Then I thought, I'm a hacker, so let's try it by some config files, but also failed with that attempt, see separate issue:
Edit Shortcuts: Please offer import as you already offer export

Re: Edit Shortcuts: Cannot assign shortcut combo CTRL plus letter

Posted: Thu Oct 27, 2022 6:25 am
by forum_adm
Apple does not forward i.e. Control + A to the keyDown: method of the dialog.
So, please use a combination with the command key.

I have no workaround for this.

Re: Edit Shortcuts: Cannot assign shortcut combo CTRL plus letter

Posted: Thu Oct 27, 2022 10:38 pm
by porg
CTRL + letter is a valid key combo for Mac apps and as global Mac hotkey (e.g. ctrl-→ and ctrl-← to switch Spaces).

Using CTRL in GC for shortcuts is a total "expert user" type of request, so I can totally accept that your GUI for shortcut-assigning does not support it, but would appreciate an alternative method, therefore I proposed Edit Shortcuts: Please offer import as you already offer export to do it with a export file which I modify to my liking and then re-import.

Nevertheless as a last resort as an expert user I still have:

System Preferences > Keyboard > Shortcuts > App Shortcuts > Click "+" button opens dialog to create new custom shortcut

Application: Graphic Converter
Menu Title: View->Zoom->Change Viewport during set all to->Top Center
Keyboard Shortcut: ⌃ W

This worked.

I use this occasionally with apps which do not have their own shortcut management capabilities.

The question is just: In terms of stability and reliability, is this a good clean solution with an app like GC which has default shortcuts plus a built-in shortcut management system, to pack yet another "management layer" (from System Preferences) on top of that?

One foreseeable issue for example: As GC has its major version number in the application name -- currently "Graphic Converter 11.app" -- at latest when updating to v12 all custom shortcuts in System Preferences will break.

Re: Edit Shortcuts: Cannot assign shortcut combo CTRL plus letter

Posted: Tue Nov 01, 2022 10:38 am
by forum_adm
Please recheck with build 5644.

I added now the import. But that was really tricky. I hope that I handle all cases.

So, please check and report.

Re: Edit Shortcuts: Cannot assign shortcut combo CTRL plus letter

Posted: Tue Nov 01, 2022 11:48 am
by Fotokunst
Quick testing.
For me it works fine.

Joerg

Re: Edit Shortcuts: Cannot assign shortcut combo CTRL plus letter

Posted: Tue Nov 01, 2022 3:03 pm
by porg
❌ 1) Assigning CTRL + single letter within the dialog "Edit Shortcuts" still does not work if there is a command visible (=expanded) which starts with that letter. I am not sure whether you actively worked on that or not.

2) Nevertheless with shortcut export AND import a functioning workaround is now available.

Re: Edit Shortcuts: Cannot assign shortcut combo CTRL plus letter

Posted: Tue Nov 01, 2022 4:22 pm
by forum_adm
1) Is an Apple issue - I just do not get a call of the keyDown: method. So, can't be fixed, yet.

Re: Edit Shortcuts: Cannot assign shortcut combo CTRL plus letter

Posted: Tue Nov 01, 2022 4:31 pm
by porg
Ad 1) Closing this issue here as [Unfixable upstream bug].

Ad 2) Closed shortcut export AND import as [Added] which for now provides a good workaround.