Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menus are broken in Squeak Trunk #10

Open
LinqLover opened this issue Dec 6, 2020 · 0 comments
Open

Menus are broken in Squeak Trunk #10

LinqLover opened this issue Dec 6, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@LinqLover
Copy link
Owner

Try to open a menu when XmasDecorations are enabled:

InfiniteForm (Object) >> #doesNotUnderstand: #adjustSaturation:brightness:
	Receiver: an InfiniteForm
	Arguments and temporary variables: 
		aMessage: 	adjustSaturation: -0.08 brightness: 0.4
		exception: 	MessageNotUnderstood: InfiniteForm>>adjustSaturation:brightness:
		resumeValue: 	nil
	Receiver's instance variables: 
		patternForm: 	Form(469x352x32)

MenuMorph >> #updateColor
Receiver: a MenuMorph(720936)
Arguments and temporary variables:
fill: nil
title: an AlignmentMorph(3104004)
cc: nil
Receiver's instance variables:
bounds: 2063@159 corner: 2430@1256
owner: nil
submorphs: {an AlignmentMorph(3104004) . a MenuItemMorph(65692)'Browser' . a Me...etc...
fullBounds: 2053@151 corner: 2440@1268
color: an InfiniteForm
extension: a MorphExtension (2237688) [other: (hasDropShadow -> true) (shadowC...etc...
defaultTarget: a TheWorldMenu
selectedItem: nil
stayUp: false
popUpOwner: nil
activeSubMenu: nil
originalFocusHolder: nil

MenuMorph >> #popUpAt:forHand:in:allowKeyboard:
Receiver: a MenuMorph(720936)
Arguments and temporary variables:
aPoint: 2065@202
hand: a HandMorph(1093785)
aWorld: a PasteUpMorph(2434915) [world]
aBoolean: true
evt: [2065@202 mouseDown red ( red ) 253417619]
Receiver's instance variables:
bounds: 2063@159 corner: 2430@1256
owner: nil
submorphs: {an AlignmentMorph(3104004) . a MenuItemMorph(65692)'Browser' . a Me...etc...
fullBounds: 2053@151 corner: 2440@1268
color: an InfiniteForm
extension: a MorphExtension (2237688) [other: (hasDropShadow -> true) (shadowC...etc...
defaultTarget: a TheWorldMenu
selectedItem: nil
stayUp: false
popUpOwner: nil
activeSubMenu: nil
originalFocusHolder: nil

MenuMorph >> #popUpAt:forHand:in:
Receiver: a MenuMorph(720936)
Arguments and temporary variables:
aPoint: 2065@202
hand: a HandMorph(1093785)
aWorld: a PasteUpMorph(2434915) [world]
Receiver's instance variables:
bounds: 2063@159 corner: 2430@1256
owner: nil
submorphs: {an AlignmentMorph(3104004) . a MenuItemMorph(65692)'Browser' . a Me...etc...
fullBounds: 2053@151 corner: 2440@1268
color: an InfiniteForm
extension: a MorphExtension (2237688) [other: (hasDropShadow -> true) (shadowC...etc...
defaultTarget: a TheWorldMenu
selectedItem: nil
stayUp: false
popUpOwner: nil
activeSubMenu: nil
originalFocusHolder: nil

MenuMorph >> #popUpEvent:in:
Receiver: a MenuMorph(720936)
Arguments and temporary variables:
evt: [2065@202 mouseDown red ( red ) 253417619]
aWorld: a PasteUpMorph(2434915) [world]
aHand: a HandMorph(1093785)
aPosition: 2065@202
Receiver's instance variables:
bounds: 2063@159 corner: 2430@1256
owner: nil
submorphs: {an AlignmentMorph(3104004) . a MenuItemMorph(65692)'Browser' . a Me...etc...
fullBounds: 2053@151 corner: 2440@1268
color: an InfiniteForm
extension: a MorphExtension (2237688) [other: (hasDropShadow -> true) (shadowC...etc...
defaultTarget: a TheWorldMenu
selectedItem: nil
stayUp: false
popUpOwner: nil
activeSubMenu: nil
originalFocusHolder: nil

PasteUpMorph >> #putUpWorldMenu:
Receiver: a PasteUpMorph(2434915) [world]
Arguments and temporary variables:
evt: [2065@202 mouseDown red ( red ) 253417619]
menu: a MenuMorph(720936)
Receiver's instance variables:
bounds: 0@0 corner: 3840@2004
owner: nil
submorphs: {a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustS...etc...
fullBounds: 0@0 corner: 3840@2004
color: Color r: 0.023 g: 0.667 b: 0.922
extension: a MorphExtension (2748367) [eventHandler = an EventHandler] [other:...etc...
borderWidth: 0
borderColor: Color r: 0.977 g: 0.333 b: 0.078
presenter: an EtoysPresenter (4128521)
model: a MorphicModel(1681375)
cursor: 1
padding: 3
backgroundMorph: nil
turtleTrailsForm: nil
turtlePen: nil
lastTurtlePositions: nil
isPartsBin: nil
indicateCursor: nil
wantsMouseOverHalos: nil
worldState: a WorldState
griddingOn: nil
nonTranslucentFillStyle: an InfiniteForm
topWindow: a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustSa...etc...

PasteUpMorph >> #invokeWorldMenu:
Receiver: a PasteUpMorph(2434915) [world]
Arguments and temporary variables:
evt: [2065@202 mouseDown red ( red ) 253417619]
Receiver's instance variables:
bounds: 0@0 corner: 3840@2004
owner: nil
submorphs: {a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustS...etc...
fullBounds: 0@0 corner: 3840@2004
color: Color r: 0.023 g: 0.667 b: 0.922
extension: a MorphExtension (2748367) [eventHandler = an EventHandler] [other:...etc...
borderWidth: 0
borderColor: Color r: 0.977 g: 0.333 b: 0.078
presenter: an EtoysPresenter (4128521)
model: a MorphicModel(1681375)
cursor: 1
padding: 3
backgroundMorph: nil
turtleTrailsForm: nil
turtlePen: nil
lastTurtlePositions: nil
isPartsBin: nil
indicateCursor: nil
wantsMouseOverHalos: nil
worldState: a WorldState
griddingOn: nil
nonTranslucentFillStyle: an InfiniteForm
topWindow: a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustSa...etc...

PasteUpMorph >> #mouseDown:
Receiver: a PasteUpMorph(2434915) [world]
Arguments and temporary variables:
evt: [2065@202 mouseDown red ( red ) 253417619]
grabbedMorph: nil
handHadHalos: false
clickSelector: nil
Receiver's instance variables:
bounds: 0@0 corner: 3840@2004
owner: nil
submorphs: {a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustS...etc...
fullBounds: 0@0 corner: 3840@2004
color: Color r: 0.023 g: 0.667 b: 0.922
extension: a MorphExtension (2748367) [eventHandler = an EventHandler] [other:...etc...
borderWidth: 0
borderColor: Color r: 0.977 g: 0.333 b: 0.078
presenter: an EtoysPresenter (4128521)
model: a MorphicModel(1681375)
cursor: 1
padding: 3
backgroundMorph: nil
turtleTrailsForm: nil
turtlePen: nil
lastTurtlePositions: nil
isPartsBin: nil
indicateCursor: nil
wantsMouseOverHalos: nil
worldState: a WorldState
griddingOn: nil
nonTranslucentFillStyle: an InfiniteForm
topWindow: a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustSa...etc...

PasteUpMorph (Morph) >> #handleMouseDown:
Receiver: a PasteUpMorph(2434915) [world]
Arguments and temporary variables:
anEvent: [2065@202 mouseDown red ( red ) 253417619]
Receiver's instance variables:
bounds: 0@0 corner: 3840@2004
owner: nil
submorphs: {a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustS...etc...
fullBounds: 0@0 corner: 3840@2004
color: Color r: 0.023 g: 0.667 b: 0.922
extension: a MorphExtension (2748367) [eventHandler = an EventHandler] [other:...etc...
borderWidth: 0
borderColor: Color r: 0.977 g: 0.333 b: 0.078
presenter: an EtoysPresenter (4128521)
model: a MorphicModel(1681375)
cursor: 1
padding: 3
backgroundMorph: nil
turtleTrailsForm: nil
turtlePen: nil
lastTurtlePositions: nil
isPartsBin: nil
indicateCursor: nil
wantsMouseOverHalos: nil
worldState: a WorldState
griddingOn: nil
nonTranslucentFillStyle: an InfiniteForm
topWindow: a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustSa...etc...

MouseButtonEvent >> #sentTo:
Receiver: [2065@202 mouseDown red ( red ) 253417619]
Arguments and temporary variables:
anObject: a PasteUpMorph(2434915) [world]
Receiver's instance variables:
timeStamp: 253417619
source: a HandMorph(1093785)
type: #mouseDown
buttons: 4
position: 2065@202
handler: a PasteUpMorph(2434915) [world]
wasHandled: true
wasIgnored: false
whichButton: 4
nClicks: 1

PasteUpMorph (Morph) >> #handleEvent:
Receiver: a PasteUpMorph(2434915) [world]
Arguments and temporary variables:
anEvent: [2065@202 mouseDown red ( red ) 253417619]
filteredEvent: [2065@202 mouseDown red ( red ) 253417619]
Receiver's instance variables:
bounds: 0@0 corner: 3840@2004
owner: nil
submorphs: {a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustS...etc...
fullBounds: 0@0 corner: 3840@2004
color: Color r: 0.023 g: 0.667 b: 0.922
extension: a MorphExtension (2748367) [eventHandler = an EventHandler] [other:...etc...
borderWidth: 0
borderColor: Color r: 0.977 g: 0.333 b: 0.078
presenter: an EtoysPresenter (4128521)
model: a MorphicModel(1681375)
cursor: 1
padding: 3
backgroundMorph: nil
turtleTrailsForm: nil
turtlePen: nil
lastTurtlePositions: nil
isPartsBin: nil
indicateCursor: nil
wantsMouseOverHalos: nil
worldState: a WorldState
griddingOn: nil
nonTranslucentFillStyle: an InfiniteForm
topWindow: a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustSa...etc...

MorphicEventDispatcher >> #dispatchEvent:withHandler:withMorph:
Receiver: a MorphicEventDispatcher
Arguments and temporary variables:
anEvent: [2065@202 mouseDown red ( red ) 253417619]
aHandler: a PasteUpMorph(2434915) [world]
aMorph: a PasteUpMorph(2434915) [world]
result: #rejected
filteredEvent: [2065@202 mouseDown red ( red ) 253417619]
Receiver's instance variables:
lastType: #mouseDown
lastDispatch: #dispatchMouseDown:with:

[] in MorphicEventDispatcher >> #dispatchMouseDown:with:
Receiver: a MorphicEventDispatcher
Arguments and temporary variables:
<
Receiver's instance variables:
lastType: #mouseDown
lastDispatch: #dispatchMouseDown:with:

FullBlockClosure (BlockClosure) >> #ensure:
Receiver: [closure] in MorphicEventDispatcher >> #dispatchMouseDown:with:
Arguments and temporary variables:
aBlock: [closure] in MorphicEventDispatcher >> #dispatchMouseDown:with:
complete: nil
returnValue: nil
Receiver's instance variables:
outerContext: MorphicEventDispatcher >> #dispatchMouseDown:with:
startpcOrMethod: ([] in MorphicEventDispatcher>>#dispatchMouseDown:with: "a Com...etc...
numArgs: 0
receiver: a MorphicEventDispatcher

MorphicEventDispatcher >> #dispatchMouseDown:with:
Receiver: a MorphicEventDispatcher
Arguments and temporary variables:
anEvent: [2065@202 mouseDown red ( red ) 253417619]
aMorph: a PasteUpMorph(2434915) [world]
handler: a PasteUpMorph(2434915) [world]
lastHandler: nil
Receiver's instance variables:
lastType: #mouseDown
lastDispatch: #dispatchMouseDown:with:

MorphicEventDispatcher >> #dispatchEvent:with:
Receiver: a MorphicEventDispatcher
Arguments and temporary variables:
anEvent: [2065@202 mouseDown red ( red ) 253417619]
aMorph: a PasteUpMorph(2434915) [world]
Receiver's instance variables:
lastType: #mouseDown
lastDispatch: #dispatchMouseDown:with:

PasteUpMorph (Morph) >> #processEvent:using:
Receiver: a PasteUpMorph(2434915) [world]
Arguments and temporary variables:
anEvent: [2065@202 mouseDown red ( red ) 253417619]
defaultDispatcher: a MorphicEventDispatcher
filteredEvent: [2065@202 mouseDown red ( red ) 253417619]
Receiver's instance variables:
bounds: 0@0 corner: 3840@2004
owner: nil
submorphs: {a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustS...etc...
fullBounds: 0@0 corner: 3840@2004
color: Color r: 0.023 g: 0.667 b: 0.922
extension: a MorphExtension (2748367) [eventHandler = an EventHandler] [other:...etc...
borderWidth: 0
borderColor: Color r: 0.977 g: 0.333 b: 0.078
presenter: an EtoysPresenter (4128521)
model: a MorphicModel(1681375)
cursor: 1
padding: 3
backgroundMorph: nil
turtleTrailsForm: nil
turtlePen: nil
lastTurtlePositions: nil
isPartsBin: nil
indicateCursor: nil
wantsMouseOverHalos: nil
worldState: a WorldState
griddingOn: nil
nonTranslucentFillStyle: an InfiniteForm
topWindow: a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustSa...etc...

[] in PasteUpMorph >> #processEvent:using:
Receiver: a PasteUpMorph(2434915) [world]
Arguments and temporary variables:
anEvent: [2065@202 mouseDown red ( red ) 253417619]
defaultDispatcher: a MorphicEventDispatcher
Receiver's instance variables:
bounds: 0@0 corner: 3840@2004
owner: nil
submorphs: {a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustS...etc...
fullBounds: 0@0 corner: 3840@2004
color: Color r: 0.023 g: 0.667 b: 0.922
extension: a MorphExtension (2748367) [eventHandler = an EventHandler] [other:...etc...
borderWidth: 0
borderColor: Color r: 0.977 g: 0.333 b: 0.078
presenter: an EtoysPresenter (4128521)
model: a MorphicModel(1681375)
cursor: 1
padding: 3
backgroundMorph: nil
turtleTrailsForm: nil
turtlePen: nil
lastTurtlePositions: nil
isPartsBin: nil
indicateCursor: nil
wantsMouseOverHalos: nil
worldState: a WorldState
griddingOn: nil
nonTranslucentFillStyle: an InfiniteForm
topWindow: a PluggableSystemWindow<MessageNotUnderstood: InfiniteForm>>adjustSa...etc...

[] in ActiveWorldVariable class (DynamicVariable class) >> #value:during:
Receiver: ActiveWorldVariable
Arguments and temporary variables:
<
Receiver's instance variables:
superclass: DynamicVariable
methodDict: a MethodDictionary()
format: 0
instanceVariables: nil
organization: ('as yet unclassified')

	subclasses: 	nil
	name: 	#ActiveWorldVariable
	classPool: 	nil
	sharedPools: 	nil
	environment: 	Smalltalk
	category: 	#'Morphic-Worlds'
	hash: 	237693930

--- The full stack ---
InfiniteForm (Object) >> #doesNotUnderstand: #adjustSaturation:brightness:
MenuMorph >> #updateColor
MenuMorph >> #popUpAt:forHand:in:allowKeyboard:
MenuMorph >> #popUpAt:forHand:in:
MenuMorph >> #popUpEvent:in:
PasteUpMorph >> #putUpWorldMenu:
PasteUpMorph >> #invokeWorldMenu:
PasteUpMorph >> #mouseDown:
PasteUpMorph (Morph) >> #handleMouseDown:
MouseButtonEvent >> #sentTo:
PasteUpMorph (Morph) >> #handleEvent:
MorphicEventDispatcher >> #dispatchEvent:withHandler:withMorph:
[] in MorphicEventDispatcher >> #dispatchMouseDown:with:
FullBlockClosure (BlockClosure) >> #ensure:
MorphicEventDispatcher >> #dispatchMouseDown:with:
MorphicEventDispatcher >> #dispatchEvent:with:
PasteUpMorph (Morph) >> #processEvent:using:
[] in PasteUpMorph >> #processEvent:using:
[] in ActiveWorldVariable class (DynamicVariable class) >> #value:during:


FullBlockClosure (BlockClosure) >> #ensure:
ActiveWorldVariable class (DynamicVariable class) >> #value:during:
[] in ActiveWorldVariable class >> #value:during:
FullBlockClosure (BlockClosure) >> #ensure:
ActiveWorldVariable class >> #value:during:
PasteUpMorph >> #becomeActiveDuring:
PasteUpMorph >> #processEvent:using:
PasteUpMorph (Morph) >> #processEvent:
[] in [] in [] in HandMorph >> #sendEvent:focus:clear:
[] in ActiveEventVariable class (DynamicVariable class) >> #value:during:
FullBlockClosure (BlockClosure) >> #ensure:
ActiveEventVariable class (DynamicVariable class) >> #value:during:
[] in ActiveEventVariable class >> #value:during:
FullBlockClosure (BlockClosure) >> #ensure:
ActiveEventVariable class >> #value:during:
MouseButtonEvent (MorphicEvent) >> #becomeActiveDuring:
[] in [] in HandMorph >> #sendEvent:focus:clear:
[] in ActiveHandVariable class (DynamicVariable class) >> #value:during:
FullBlockClosure (BlockClosure) >> #ensure:
ActiveHandVariable class (DynamicVariable class) >> #value:during:
[] in ActiveHandVariable class >> #value:during:
FullBlockClosure (BlockClosure) >> #ensure:
ActiveHandVariable class >> #value:during:
HandMorph >> #becomeActiveDuring:
[] in HandMorph >> #sendEvent:focus:clear:
[] in ActiveWorldVariable class (DynamicVariable class) >> #value:during:
FullBlockClosure (BlockClosure) >> #ensure:
ActiveWorldVariable class (DynamicVariable class) >> #value:during:
[] in ActiveWorldVariable class >> #value:during:
FullBlockClosure (BlockClosure) >> #ensure:
ActiveWorldVariable class >> #value:during:
PasteUpMorph >> #becomeActiveDuring:
HandMorph >> #sendEvent:focus:clear:
HandMorph >> #sendMouseEvent:
HandMorph >> #handleEvent:
HandMorph >> #processEvents
[] in WorldState >> #processEventsSafely:
[] in WorldState >> #doSafely:onErrorThat:setErrorFlag:ifFatal:afterErrorDo:
FullBlockClosure (BlockClosure) >> #on:do:
WorldState >> #doSafely:onErrorThat:setErrorFlag:ifFatal:afterErrorDo:
WorldState >> #processEventsSafely:
[] in [] in WorldState >> #doOneCycleNowFor:
-- and more not shown --

@LinqLover LinqLover added the bug Something isn't working label Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant