[Cuis-dev] Enhancement to Tiling Support in Cuis Smalltalk

Cristián Pérez cristian at wenoa.studio
Mon Dec 30 07:36:09 PST 2024


Ok, super nice way to start :P 

I sent the wrong change set T_T. 

This is the right one.

Cheers!

Cristián

> El 30 dic 2024, a las 12:08, Cristián Pérez via Cuis-dev <cuis-dev at lists.cuis.st> escribió:
> 
> Hi everyone,
> 
> My name is Cristián Pérez, and I’m excited to join the Cuis Smalltalk community!
> 
> I’d like to share an enhancement to the existing tiling functionality in Cuis. It unifies and simplifies the management of window tiling, making it more consistent and easier to maintain.
> 
> For a detailed explanation and demonstration, please refer to the Cuis-Smalltalk Meeting (December 2024) recording, starting at https://youtu.be/u4xROqt6sd4?t=2313. In the session, I covered the current work and the work that was in progress at that moment.
> 
> Key improvements are:
> 
> Unified Tiling Management:
> Introduced the TilingAssistant, a single point of responsibility for handling window snapping to grid-defined slots. The grid’s extent and gap between tiles are now configurable, offering greater flexibility.
> 
> Consistent Implementation:
> Previously, multiple implementations handled the tiling process, leading to inconsistencies and complex maintenance. Now, the following features use the same underlying implementation:
> Auto tile open windows in world menu.
> Manual tiling via the window menu.
> 
> Auto Snap on Edges:
> Added the ability to drag a window to the screen’s edges and have it auto-snap to the corresponding area, making window management more intuitive and seamless. This feature can be disabled if desired.
> 
> I’d like these changes to be included in the base image of Cuis, as they improve both the user experience and code maintainability of the existent support.
> 
> Feel free to ask questions or send feedback. I would also like to know if the code changes are understandable enough.
> 
> I’d recommend to start looking for references to TilingAssistant class to get started.
> 
> Best regards,
> Cristián Pérez
> 
> <6958-CuisCore-CristianAbelPerez-2024Dec30-12h05m-CAP.001.cs.st>
> -- 
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241230/0dc2fa9f/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6958-CuisCore-CristianAbelPerez-2024Dec30-12h13m-CAP.001.cs.st
Type: application/octet-stream
Size: 34342 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241230/0dc2fa9f/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241230/0dc2fa9f/attachment-0003.htm>


More information about the Cuis-dev mailing list