|Anonymous | Login||12-06-2019 13:55 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ 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|
|Summary||0007507: openInWorld prevents aligning morphs with World origin|
for this one
In a fresh squeak 4.1 (with docking bar)
Morph new extent: Display extent
; bounds .
Note that new morph is not aligned with 0 asPoint as the world but offset to the clear area origin.
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
|There are no notes attached to this issue.|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
27 total queries executed.|
24 unique queries executed.