I found a difference in shortcut handling between Pharo 8 and Pharo 9 which
you can reproduce with the attached minimum working example. In the
example, the halt in the Command's #execute method in P9 is sent but not in
P8.

SpComm2SaveTextMWE show.

The problem seems to be Pharo 8 doesn't execute the KMKeymap callback
configured for Cmd+s in SpKMCategoryBuilder>>visitCommand: while Pharo 9
does.

In some way the only way to capture the Accept keypress is to modify the
#buildShortcutsOn: method in RubTextEditor, but I'd like to avoid such
approach.

Is there any workaround to this?

Cheers,

Hernán

Attachment: SpComm2SaveTextMWE.st
Description: Binary data

Reply via email to