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

Juan Vuletich juan at cuis.st
Mon Dec 22 04:34:01 PST 2025


Hi Luci,

I see that ctrl.tab is a useful gesture. But we already have cmd/alt.> 
and cmd/alt.< to cycle windows. So what I did instead is to integrate 
ctrl.tab into that code. The resulting update is now at GitHub.

Thanks!

On 2025-12-11 12:51 AM, Luci Ruz via Cuis-dev wrote:
> 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
>
-- 
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich



More information about the Cuis-dev mailing list