[Cuis-dev] Windows tile resize is broken

Mariano Montone marianomontone at gmail.com
Fri May 24 09:57:55 PDT 2024


Hi.

I attach some fixes to the window resizes. The calculations were off.

TODO: fix #tileOpenWindows. Doesn't work well for many windows.

Mariano

On Fri, May 24, 2024 at 1:05 PM Mariano Montone <marianomontone at gmail.com>
wrote:

> It may be better if I reimplement the TileResizeMorph and avoid touching
> #allowedArea. So wait ...
>
> On Fri, May 24, 2024 at 11:16 AM Mariano Montone <marianomontone at gmail.com>
> wrote:
>
>> Hello,
>>       windows tile resize is broken in current Cuis. The fix I found is
>> replace the current definition of SystemWindow>>allowedArea with:
>>
>> SystemWindow>>allowedArea
>>     "^(RealEstateAgent maximumUsableAreaInWorld: self world) insetBy:
>> Theme current fullScreenDeskMargin"
>>     ^ 0 at 0 extent: Display extent
>>
>> I imagine the RealEstateAgent is there for a good reason, but I think it
>> is fine to use the whole Display extent for tiling resizes.
>> Also, I don't observe bad behaviour for maximize button after the change.
>>
>> Can somebody try the change and let me know what would be wrong with it?
>>
>> Thanks,
>>     Mariano
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240524/047b7325/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6394-MoreResizeFixes-MarianoMontone-2024May24-13h46m-MM.001.cs.st
Type: application/vnd.sailingtracker.track
Size: 383 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240524/047b7325/attachment.st>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6393-TileResizeAdjustments-MarianoMontone-2024May24-13h13m-MM.001.cs.st
Type: application/vnd.sailingtracker.track
Size: 784 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240524/047b7325/attachment-0001.st>


More information about the Cuis-dev mailing list