[squeak-dev] Squeak4.1: ArchiveViewer bug, DNU when moving horizontal splitter

Enrico Spinielli enrico.spinielli at googlemail.com
Fri Apr 16 10:20:35 UTC 2010


Hi,
I was trying to look at a sar content and realized that when trying to
resize
the horizontal splitter in ArchiveViewer I get DNU on panelRect
from inside ProportionalSplitterMorph.

I tried to look for a fix and it seems to me that the
issue lies in Morph>>containingWindow but I do not
know much to dig further.

Below is a log for some kind soul to investigate further...

Hope it helps
Bye
Enrico

--------------
MessageNotUnderstood: UndefinedObject>>panelRect
16 April 2010 12:09:24.29 pm

VM: Win32 - Smalltalk
Image: Squeak4.1.1 [latest update: #9973]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir D:\SqueakAndCroquet\Squeak 4.1
Trusted Dir D:\SqueakAndCroquet\Squeak 4.1\spi
Untrusted Dir \\CHX-VDM02\redir$\spi\My Documents\My Squeak

UndefinedObject(Object)>>doesNotUnderstand: #panelRect
Receiver: nil
Arguments and temporary variables:
aMessage: panelRect
exception: MessageNotUnderstood: UndefinedObject>>panelRect
resumeValue: nil
Receiver's instance variables:
nil
ProportionalSplitterMorph>>bottomBoundary
Receiver: a ProportionalSplitterMorph(865)
Arguments and temporary variables:
splitter: nil
morphs: an OrderedCollection(a PluggableTextMorph(2064))
Receiver's instance variables:
bounds: 176 at 360 corner: 789 at 364
owner: an ArchiveViewer(3341)
submorphs: {a CircleMorph(4064)}
fullBounds: 176 at 360 corner: 789 at 364
color: Color transparent
extension: a MorphExtension (1805) [locked]  [other:  (layoutProperties -> a
La...etc...
dotColor: Color white
handleColor: Color lightGray
lastMouse: 481 at 363
leftOrTop: an OrderedCollection(a PluggableListMorph(1395))
rightOrBottom: an OrderedCollection(a PluggableTextMorph(2064))
splitsTopAndBottom: true
oldColor: nil
traceMorph: a Morph(834)
handle: a CircleMorph(4064)

ProportionalSplitterMorph>>normalizedY:
Receiver: a ProportionalSplitterMorph(865)
Arguments and temporary variables:
y: 372
Receiver's instance variables:
bounds: 176 at 360 corner: 789 at 364
owner: an ArchiveViewer(3341)
submorphs: {a CircleMorph(4064)}
fullBounds: 176 at 360 corner: 789 at 364
color: Color transparent
extension: a MorphExtension (1805) [locked]  [other:  (layoutProperties -> a
La...etc...
dotColor: Color white
handleColor: Color lightGray
lastMouse: 481 at 363
leftOrTop: an OrderedCollection(a PluggableListMorph(1395))
rightOrBottom: an OrderedCollection(a PluggableTextMorph(2064))
splitsTopAndBottom: true
oldColor: nil
traceMorph: a Morph(834)
handle: a CircleMorph(4064)

ProportionalSplitterMorph>>updateFromEvent:
Receiver: a ProportionalSplitterMorph(865)
Arguments and temporary variables:
anEvent: [481 at 372 mouseUp 12654734]
delta: nil
selfTop: nil
selfBottom: nil
selfLeft: nil
selfRight: nil
Receiver's instance variables:
bounds: 176 at 360 corner: 789 at 364
owner: an ArchiveViewer(3341)
submorphs: {a CircleMorph(4064)}
fullBounds: 176 at 360 corner: 789 at 364
color: Color transparent
extension: a MorphExtension (1805) [locked]  [other:  (layoutProperties -> a
La...etc...
dotColor: Color white
handleColor: Color lightGray
lastMouse: 481 at 363
leftOrTop: an OrderedCollection(a PluggableListMorph(1395))
rightOrBottom: an OrderedCollection(a PluggableTextMorph(2064))
splitsTopAndBottom: true
oldColor: nil
traceMorph: a Morph(834)
handle: a CircleMorph(4064)


--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #panelRect
ProportionalSplitterMorph>>bottomBoundary
ProportionalSplitterMorph>>normalizedY:
ProportionalSplitterMorph>>updateFromEvent:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ProportionalSplitterMorph>>mouseUp:
ProportionalSplitterMorph(Morph)>>handleMouseUp:
MouseButtonEvent>>sentTo:
ProportionalSplitterMorph(Morph)>>handleEvent:
ProportionalSplitterMorph(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
[] in PasteUpMorph>>becomeActiveDuring:
BlockClosure>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockClosure>>newProcess

--------------

-- 
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100416/84225872/attachment.htm


More information about the Squeak-dev mailing list