Mantis - Squeak
|Viewing Issue Advanced Details|
|ID:||Category:||Severity:||Reproducibility:||Date Submitted:||Last Update:|
|4700||Morphic||minor||always||09-03-06 18:14||09-06-06 00:33|
|ETA:||none||Fixed in Version:|
|Summary:||0004700: System Window features ( collapse box, expand box, flexing and halos ) need better integration.|
See 0004699, 0004677, 0004611 for related reports.
for this one start as in 4699. Get a workspace and tilt it.
Collapse via halo and uncollapse.
This works pretty much as expected.
The Morph collapses to an unflexed system window (Collapse Morph).
The expand box is hidden.
pressing the uncollapse box button restores the workspace to its former position.
Now collapse the tilted workspace by pressing the collapse box button.
as per 4699 the collapsed morph dissappears. It can be found by openning a system menu over the left portion of the screen.
Note that the collapsed morph is tilted and the expand box is still visible.
If we were to press the collapse box the workspace would return to its initial position.
However if at this point we pressed the expand box we get a mess.
The workspace appears somewhere tilted but now expanded to the size of the screen. Or on a limited system the system my hang as too much memory needs to be allowcated to render the now too large workspace.
|Steps To Reproduce:|
So a good overhaul or collapse/ uncollapse and expand/unexpand
and probably flex is called for.
The expand box should not ever appear on collapsed morphs. Or should apply to the collapsed morph only.
Tests for all cases need to be writ.
In particular there is a preference for collapsing in place which has be left disabled here and in the above reports.
Collapsing in place is good. However it also means double the testing is needed.
Flexing makes everything more complicated too.
So my suggestion is:
For all non system windows do a collapse to icon ala the enhancements in 4611.
Overhaul the collapse and uncollapse logic to make simpler for system windows.
Collapsed morphs should never have expand boxes. This should be the job of the Collapsed morph creator to enforce.
Flexed morphs should either not have expand boxes or expanding a flexed morph should remove the flex so you get expanded to exactly the full screen not the full screen flexed.
If you choose the latter then the flex probably has to be remembered somewhere so unexpanding will get back the previous state.