|Anonymous | Login||01-17-2022 06:39 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Advanced Details [ Jump to Notes ]||[ View Simple ] [ 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|
|Summary||0000630: TEditBox scenegraph navigation broken - fixed !|
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.
* 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.
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 !
|Steps To Reproduce|
|Attached Files||FixTEditBox.1.cs [^] (3,338 bytes) 12-08-04 02:01|
|There are no notes attached to this issue.|
|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.