[squeak-dev] Merge Request: defaultFocusMorph.cs

christoph.thiede at student.hpi.uni-potsdam.de christoph.thiede at student.hpi.uni-potsdam.de
Wed Oct 20 14:23:09 UTC 2021

Hi all,

if a new window is invoked via a keyboard gesture, with the proposed changeset, the keyboard focus is automatically passed to the new window. See SystemWindow >> #defaultFocusMorph. By default, the first keyboard-interested (sub)+morph is selected, but you can specify a different focus holder by setting the #defaultFocusMorph property of the window or the #defaultFocus parameter of the pluggable window spec.

I think this improves the keyboard workflow in Squeak a bit. For instance, it enables the following workflows:
- Ctrl + 0 (search bar), type '6 * 7', Alt + o (spawn), Alt + p (print it)
- Ctrl + 3 (Tools menu), type 'browser', Enter, Alt + f (find), type 'Object', Enter

Please review and merge if you don't have any objections. Happy squeaking! :-)


Sent from Squeak Inbox Talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211020/65c48fab/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: defaultFocusMorph.1.cs
Type: application/octet-stream
Size: 6121 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211020/65c48fab/attachment.obj>

More information about the Squeak-dev mailing list