On Oct 11, 2013, at 4:13 PM, "Sean P. DeNigris" <sean@clipperadams.com> wrote:
In 30456, I'm in the process of porting the Tiling Window Manager. I'm experiencing this confusing error...
TWMDockingBarMorph DNU @
In DockingBarMorph>>updatePosition there is the following code:
self isAdheringToLeft ifTrue: [| usedHeight usedWidth | usedHeight := self usedHeightByPredominantDockingBarsOfChastes: #(#top ). usedWidth := self usedWidthByPredominantDockingBarsOfChastes: #(#left ). (usedHeight isNumber not or: [usedWidth isNumber]) ifFalse: [ Halt once ]. usedHeight := 1000. usedWidth := 100. self topLeft: self owner topLeft - margin + (usedWidth @ usedHeight)].
Pharo is saying that usedWidth = aTWMDockingBarMorph, even though it's set to a number (for debugging) in the preceding statement. Any ideas?
Yes, it is on my list to look at this. there is already a report. https://pharo.fogbugz.com/f/cases/11611/Pharo3-0-DockingBarMorph-updatePosit... I will have a look... Marcus