j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
I Just ran into this because of some buggy code of mine. Display depth is 16, form is 16 bits deep, canvas is 16 bits deep.
BalloonCanvas>>frameRectangle: r width: w color: c "Draw a frame around the given rectangle" ^self frameAndFillRectangle: r fillColor: nil borderWidth: w borderColor: c
but then in FormCanvas>>frameAndFillRectangle:fillColor:borderWidth:borderColor: it asks fillColor (which is nil) if it's translucent...
borderColor isTransparent ifFalse:[ self setFillColor: borderColor. (r area > 10000 or: [fillColor isTranslucent]) ifTrue: [ port frameRect: rect borderWidth: borderWidth.
Changing BalloonCanvas>>frameRectangle:width:color: to use 'Color transparent' instead of nil kept it from blowing up, but I'm not sure that's the best fix.
Attachments:
squeak-dev@lists.squeakfoundation.org