Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000630 [Croquet] Jasmine minor always 12-08-04 02:01 12-08-04 02:01
Reporter elenzil View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0000630: TEditBox scenegraph navigation broken - fixed !
Description I noticed the arrow-key functionality in the TEditBox source code,
but unfortunately it was broken in a couple of ways.
I think i've fixed them correctly.

Summary:

* In selectSibling and related,
the new editbox was using 'contents:',
which i changed to 'initializeWithContents:'.

* Also in selectSibling and related,
for some reason these guys are being called twice,
which is bad because the second time the object has
deleted itself, so all sorts of things like parent are undefined.
Added 'parent ifNil: [^nil.].' near the top of these methods.

that's all.

i think the second issue may be due to keyDown: events being fired twice.

For example in TEditBox keyDown:, add a line line this:
'Transcript show: c;cr.' and notice that when the 'z' key is pressed,
keyDown is fired twice, first with 'Z' and then with 'z'.

.. But that's a separate bug !

Changeset attached.

Additional Information
Attached Files  FixTEditBox.1.cs [^] (3,338 bytes) 12-08-04 02:01

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
12-08-04 02:01 elenzil New Issue
12-08-04 02:01 elenzil File Added: FixTEditBox.1.cs


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