[BUG] OpeningFile list does not work with PlusTool

stéphane ducasse ducasse at iam.unibe.ch
Sun Jan 15 16:24:03 UTC 2006


http://bugs.impara.de/view.php?id=2493


From: ducasse at iam.unibe.ch
To: squeak-dev at lists.squeakfoundation.org
Subject: [BUG]UndefinedObject(Object)>>doesNotUnderstand: #leftOffset

Opening a a file list with
addPaneMorph: aMorph
	self addMorph: aMorph fullFrame: aMorph layoutFrame

layoutFrame returns nil


15 January 2006 5:18:01 pm

VM: Mac OS - a SmalltalkImage
Image: Squeak3.9alpha [latest update: #6710]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir OSX:Data:SqueakToTestScripts
Trusted Dir OSX:Data:SqueakToTestScripts
Untrusted Dir  
OSX:Users:ducasse:Library:Preferences:Squeak:Internet:My Squeak

UndefinedObject(Object)>>doesNotUnderstand: #leftOffset
	Receiver: nil
	Arguments and temporary variables:
		aMessage: 	leftOffset
	Receiver's instance variables:
nil

PluggableSystemWindow(SystemWindow)>>addMorph:fullFrame:
	Receiver: a PluggableSystemWindow(1955)
	Arguments and temporary variables:
		aMorph: 	a PluggableButtonMorphPlus(1690)
		aLayoutFrame: 	nil
		left: 	nil
		right: 	nil
		bottom: 	nil
		top: 	nil
		windowBorderWidth: 	4
	Receiver's instance variables:
		bounds: 	0 at 0 corner: 300 at 200
		owner: 	nil
		submorphs: 	an Array(an AlignmentMorph(2934) a  
PluggableTextMorphPlus(374) a Plu...etc...
		fullBounds: 	nil
		color: 	(Color r: 0.865 g: 0.86 b: 0.86)
		extension: 	a MorphExtension (2850) [eventHandler = an  
EventHandler; mouseEnterS...etc...
		borderWidth: 	1
		borderColor: 	Color lightGray
		model: 	a FileListPlus
		slotName: 	nil
		open: 	false
		labelString: 	'File List'
		stripes: 	an Array(a RectangleMorph(1869) a RectangleMorph(2642))
		label: 	a StringMorph(3467)'File List'
		closeBox: 	an IconicButton(2433)
		collapseBox: 	an IconicButton(498)
		activeOnlyOnTop: 	true
		paneMorphs: 	an Array(a PluggableTreeMorph(3808) a  
PluggableTextMorphPlus(374))
		paneRects: 	nil
		collapsedFrame: 	nil
		fullFrame: 	0 at 0 corner: 300 at 200
		isCollapsed: 	false
		menuBox: 	an IconicButton(235)
		mustNotClose: 	false
		labelWidgetAllowance: 	87
		updatablePanes: 	#()
		allowReframeHandles: 	true
		labelArea: 	an AlignmentMorph(2934)
		expandBox: 	an IconicButton(625)
		getLabelSelector: 	nil
		getChildrenSelector: 	nil
		children: 	nil

PluggableSystemWindow>>addPaneMorph:
	Receiver: a PluggableSystemWindow(1955)
	Arguments and temporary variables:
		aMorph: 	a PluggableButtonMorphPlus(1690)
	Receiver's instance variables:
		bounds: 	0 at 0 corner: 300 at 200
		owner: 	nil
		submorphs: 	an Array(an AlignmentMorph(2934) a  
PluggableTextMorphPlus(374) a Plu...etc...
		fullBounds: 	nil
		color: 	(Color r: 0.865 g: 0.86 b: 0.86)
		extension: 	a MorphExtension (2850) [eventHandler = an  
EventHandler; mouseEnterS...etc...
		borderWidth: 	1
		borderColor: 	Color lightGray
		model: 	a FileListPlus
		slotName: 	nil
		open: 	false
		labelString: 	'File List'
		stripes: 	an Array(a RectangleMorph(1869) a RectangleMorph(2642))
		label: 	a StringMorph(3467)'File List'
		closeBox: 	an IconicButton(2433)
		collapseBox: 	an IconicButton(498)
		activeOnlyOnTop: 	true
		paneMorphs: 	an Array(a PluggableTreeMorph(3808) a  
PluggableTextMorphPlus(374))
		paneRects: 	nil
		collapsedFrame: 	nil
		fullFrame: 	0 at 0 corner: 300 at 200
		isCollapsed: 	false
		menuBox: 	an IconicButton(235)
		mustNotClose: 	false
		labelWidgetAllowance: 	87
		updatablePanes: 	#()
		allowReframeHandles: 	true
		labelArea: 	an AlignmentMorph(2934)
		expandBox: 	an IconicButton(625)
		getLabelSelector: 	nil
		getChildrenSelector: 	nil
		children: 	nil

MorphicToolBuilder>>add:to:
	Receiver: a MorphicToolBuilder
	Arguments and temporary variables:
		aMorph: 	a PluggableButtonMorphPlus(1690)
		aParent: 	a PluggableSystemWindow(1955)
	Receiver's instance variables:
		parent: 	a PluggableSystemWindow(1955)
		widgets: 	nil
		panes: 	an OrderedCollection(#pattern #rootDirectoryList)


--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #leftOffset
PluggableSystemWindow(SystemWindow)>>addMorph:fullFrame:
PluggableSystemWindow>>addPaneMorph:
MorphicToolBuilder>>add:to:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MorphicToolBuilder>>buildPluggableButton:
MorphicToolBuilder>>buildPluggableActionButton:
PluggableActionButtonSpec>>buildWith:
MorphicToolBuilder(ToolBuilder)>>build:
[] in FileListPlus>>getButtonRow {[:service |  buttonSpec := builder  
pluggableActionButtonSpec new.  buttonSpe...]}
Array(SequenceableCollection)>>collect:
FileListPlus>>getButtonRow
PluggablePanelMorph>>update:
MorphicToolBuilder>>buildPluggablePanel:
PluggablePanelSpec>>buildWith:
[] in MorphicToolBuilder(ToolBuilder)>>buildAll:in: {[:each | each  
buildWith: self]}
OrderedCollection>>do:
...etc...




More information about the Squeak-dev mailing list