[Cuis-dev] Enhancement to Tiling Support in Cuis Smalltalk
Cristián Pérez
cristian at wenoa.studio
Mon Dec 30 07:08:24 PST 2024
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241230/ebfe885f/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6958-CuisCore-CristianAbelPerez-2024Dec30-12h05m-CAP.001.cs.st
Type: application/octet-stream
Size: 32017 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241230/ebfe885f/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241230/ebfe885f/attachment-0003.htm>
More information about the Cuis-dev
mailing list