[Cuis-dev] [Feature] Global Ctrl+Tab window cycling implementation

Luci Ruz luciruzveloso at gmail.com
Wed Dec 10 19:51:20 PST 2025


Hi everyone,

I would like to contribute a new feature to enable cycling through open
windows using Ctrl+Tab.

The ChangeSet includes:
- In the KeyboardEvent class, I added the #isWindowNavigation message,
which returns true if the keyboard shortcut is Ctrl+Tab.
- In the PasteUpMorph class, I added the #cycleWindows message, which
applies the desired logic. It adds the current window to the back of the
list, bringing the next one to the front.
- In the Morph class, I modified the #keyStroke: message to intercept this
globally at the beginning, before standard processing.

I considered handling this interception at the event dispatch level (in
HandMorph), which might be architecturally stricter. However, I opted to
implement it in Morph to rely on standard inheritance and avoid modifying
the core logic of the event loop for this first version.

I'm submitting this functional iteration to see if it is considered a
desirable feature. I'm willing to refactor it if necessary.

I've attached the ChangeSet for review.

Cheers,
Luci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251211/c6f32f4b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CuisCore-LuciRuz-GlobalWindowCycling.cs
Type: text/x-csharp
Size: 1908 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251211/c6f32f4b/attachment.bin>


More information about the Cuis-dev mailing list