Further to my post on Dec 20th, I think I'm now ready to call this
a probable OS bug, though I'm not sure whether it is just a bug in
the debug OS, or if it applies to the release version too.

This happened once in a million event Gremlins run with the 
3.5 debug ROM (color), and didn't prevent the continuance of the
run when I clicked the [Continue] button.

The error message (at 234,000 event) is "Invalid Word Wrapping Info...."   

This problem occurs in a two-line field with the cursor within a
word on the second line.  This the primary field on this screen, 
which also has one readonly field and lots of buttons (it is a keypad
form, used in many places in our software, so it gets a lot of
attention from Gremlins).

The field uses large font.

Gremlins has filled the field with nonsense words, seperated with 
spaces. Word wrapping has occured with part of the field now
displayed on the second line.

The cursor is inside the (one) word on the second line and Gremlins 
taps the back space button and my code sends through a backspace 
key entry. The removal of one character is enough to shorten the field
so it now fits on one line.

This is all normal and usual, and happens many times within
a Gremlin test.

Except that this one time, the 3.5 debug ROM pops up this 
"Invalid Word Wrapping Info...." error message.

I think is might be something to do with the precise pixel length
of the nonsense words when going from splitting a field over two lines
to consolidating it into one line.  Perhaps there is an error in the 
calculation of when word wrapping should occur within Field.c
That would account to why it is so rare.

Note: I received some feedback from my 12/20 post, that my 
situation is not unique and this has been seen before on a 2 line field.

I don't think there's any point in posting code, because this
appears to be self contained within Field.c (and friends) in
handling a backspace key entry in the situation described above.

Roger Stringer
Marietta Systems, Inc.





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to