[squeak-dev] SystemWindow drag to edges in Inbox

Bernhard Pieber bernhard at pieber.com
Wed Jan 13 11:09:38 UTC 2016


Hi Frank,

Yes, keyboard support would be cool, too. Note though, that currently dragging to the top edge does not maximise, just snap and resize to the top half. Dragging to the corners snaps and resizes to the respective quadrant.

Cheers,
Bernhard

> Am 12.01.2016 um 10:49 schrieb Frank Shearar <frank.shearar at gmail.com>:
> 
> FWIW I'm super happy with the soft tiling window manager approach
> Windows 8 brought (and Win 10 augments, because you can now tile
> within quadrants, not half-screens). I use this all the time,
> especially from the keyboard - <win>-<left-arrow> / <right-arrow> tile
> to the respective half-screens, <win>-<up-arrow> "promotes" a
> half-screen to full-screen, <win>-<down-arrow> minimises, etc. It's
> just a couple of key presses now to get two windows side-by-side.
> 
> I would be very happy if Squeak provided similar functionality
> (without disagreeing with Chris's comments re gross/fine motor
> movements).
> 
> frank
> 
> On 11 January 2016 at 21:39, Jakob Reschke <jakob.reschke at student.hpi.de> wrote:
>> In Windows, I tend to like both maximizing a window when it is dragged
>> to the top of the screen and tiling a window when dragged to the left
>> or right edge of the screen. Not sure why I find the first one more
>> intuitive than double clicking the title bar or the window decoration
>> button for it. Maybe it's that gross motion thing Chris mentioned.
>> Just today, I came to dislike once again that the tiling does not work
>> on the inner edges in a dual screen setup. Though, it is possible that
>> I would change my mind if it worked and it would trigger all the time.
>> Anyway, it is achievable with Win-key+Left/Right.
>> 
>> On the other hand, I am not so keen on maximizing a window in only one
>> direction (vertically or horizontally) if I drag an edge of the window
>> to the edge of the screen. Windows has that for the vertical
>> direction.
>> 
>> But I cannot remember the last time I wanted to maximize a
>> SystemWindow in Squeak... usually I find screen space to be more
>> precious (scarce?) here because there is no web browser or dedicated
>> text editor window, but rather a plethora of smaller windows floating
>> around, each of them preferably only one click away. And I like to
>> spare a hole somewhere to access the world menu... Maybe these habits
>> are also a result of the lack of an Alt+Tab or Exposé like feature by
>> default.
>> 
>> 2016-01-11 22:01 GMT+01:00 Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>:
>>> I wanted to comment that there's even more upsetting: the maximize feature
>>> of windows 7 when dragging a window near display edge.
>>> But as long as we can disable the preference, it's ok for me.
>>> 
>>> 2016-01-11 20:20 GMT+01:00 Chris Muller <asqueaker at gmail.com>:
>>>> 
>>>> Bernhard, please don't take this as offense but just as someone who's
>>>> interested in UI design -- I'm curious what people find to like about
>>>> this feature.  I myself was so disappointed when Ubuntu did this to
>>>> Unity because being able to grab a window edge and slam the mouse to
>>>> the edge of the screen is an easy gross-motor gesture that facilitates
>>>> efficient window management; affording expansion in the desired
>>>> dimensions, and no expansion where it isn't desired.  However, with
>>>> this feature the user is now forced to "be careful" when dragging
>>>> their window edges (don't get too close to the edge!) and so what was
>>>> a gross-motor became a fine-motor AND their mind is distracted this
>>>> having to wreste with the UI, because they want to make use of their
>>>> screen real-estate but, at least in Unity, when you get within 4
>>>> pixels of the edge, SNAP.  Now its covering many other windows I
>>>> didn't want covered, whilst presenting vast swaths of useless
>>>> whitespace (because its too big).
>>>> 
>>>> I never much liked Operation...   :)
>>>> 
>>>>    https://www.youtube.com/watch?v=_6MAkLJ79LE
>>>> 
>>>> On Sun, Jan 10, 2016 at 5:20 PM, Bernhard Pieber <bernhard at pieber.com>
>>>> wrote:
>>>>> Dear all,
>>>>> 
>>>>> I implemented a feature which some of you may know from Windows. When a
>>>>> SystemWindow is dragged to one of the edges it is resized to that half of
>>>>> the display. In addition, when it is dragged to one of the corners it is
>>>>> resized to that quadrant of the display. See the following packages in the
>>>>> Inbox:
>>>>> - GraphicsTests-bp.39
>>>>> - Graphics-bp.321
>>>>> - Morphic-bp.1064
>>>>> In order to use it you need to enable the preference Drag To Edges in
>>>>> the Preference Browser, or just do:
>>>>> SystemWindow dragToEdges: true
>>>>> 
>>>>> If you have time to try it out, let me know what you think.
>>>>> 
>>>>> - Bernhard
>>>> 
>>> 
>> 
> 



More information about the Squeak-dev mailing list