Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001277 [tweak] Any minor always 05-27-05 14:35 05-27-05 14:35
Reporter jens View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0001277: endless loop in drawing a CTextEditor
Description If an CTextEditor has a fieldReference of a text as player and the text editor
lies over the player, then tweak gets into an endless loop.

example code:

l := CPlayer new.
l text := 'hallo'.
l openInHand.

e := CInputField new.
e player := l fieldNamed: #text.
e openInHand.

all goes fine until one places the editor over the label and the text in the texteditor gets smaller than in the label. Than tweak hangs in an endless loop.

Additional Information User Interrupt
TextFontChange>>emphasizeScanner:
[] in MultiDisplayScanner(MultiCharacterScanner)>>setFont {[:att | att emphasizeScanner: self]}
Array(SequenceableCollection)>>do:
MultiDisplayScanner(MultiCharacterScanner)>>setFont
MultiDisplayScanner>>setFont
MultiDisplayScanner>>setStopConditions
MultiDisplayScanner>>endOfRun
MultiDisplayScanner>>displayLine:offset:leftInRun:
CTextParagraph>>displayOn:using:at:
CTransformCanvas>>paragraph:bounds:color:
[] in CCostumeTextHolder>>drawOn:in: {[:cc | borderWidth > 0 ifTrue: [self drawBorderedTextOn: cc] ifFalse: [c...]}
CTransformCanvas>>translateBy:during:
CCostumeTextHolder>>drawOn:in:
[] in CPrimitiveCostume>>drawText:on:in: {[:cc | textContainer drawOn: aCanvas in: drawingBounds]}
CTransformCanvas>>clipBy:during:
CPrimitiveCostume>>drawText:on:in:
CPrimitiveCostume>>drawOn:in:
CPrimitiveCostume>>drawOn:
[] in CPrimitiveCostume>>fullDrawOn: {[self drawOn: cache. self drawPenTrailsOn: cache]}
CTransformCanvas>>roundCornersOf:in:during:

emphasizeScanner: scanner
    "Set the font for text display"
    scanner setFont: fontNumber
Proceed
Restart
Into
Over
Through
Full Stack
Where
no timeStamp as yet unclassified 15 implementors in no change set
self
all inst vars
fontNumber


thisContext
all temp vars
scanner


Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-27-05 14:35 jens New Issue


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
27 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker