Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007507 [Squeak] Morphic minor always 04-18-10 23:10 04-18-10 23:10
Reporter wiz View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.1
  Product Build
Summary 0007507: openInWorld prevents aligning morphs with World origin
Description for this one
In a fresh squeak 4.1 (with docking bar)

Morph new extent: Display extent
  ; openInWorld
  ; bounds .

Note that new morph is not aligned with 0 asPoint as the world but offset to the clear area origin.

Steps To Reproduce
Additional Information This is unexpected and unwelcome behavior.

Basically, diego rewrote the method to helpfully avoid opening a morph s.t. it would be overlapped by the dockingbar.

The bug is in the way he did it.

The selector is now taking on responsiblity that does not belong to it. Judging examining the position of the morph and changing it in the limited case that is 0 asPoint.

The solution is to have a #openInClearArea (or #openInWorldClearArea) which takes responsibility at the users request. Rather than just one special case it would constrain the new morph to appear within the clear area bounds.

As currently implemented #openInWorld handles only one special case, and it handles it whether the user wants it to or not. As such it is an egregious patch to something that should remain simple.

It has lead me to write work around code to make the actual alignment happen.

Yours in curiosity and service, --Jerome Peace
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
04-18-10 23:10 wiz New Issue

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
27 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker