SourceForge has been redesigned. Learn more.

#340 Not possible to clear Non-nullable fields using backspace

Core (462)
Rob Manning

When editing a non-null field in the contents table of
the object tree, if one attempts to remove the last
character of the current value, nothing appears to
happen. It appears that the backspace key event is
being swallowed. In fact, what is actually happening is
the KeyTextHandler is misinterpreting the text as that
which was already there. However, the text is the new
value and since the new value has length 0, it is never
allowed to become the value in the cell. Obviously, it
isn't a valid value, but the comment in the code
indicates - and rightly so - that the user must be
allowed to clear the contents of the cell. As it is
right now, that it not happening, so the code isn't
doing what it was intended to do. It's very annoying to
have to place type the new value without clearing the
original value, just so you can clear the original
value. I have a fix for this issue that I'm currently
testing. The new behavior will still cycle to the
original value when the user hits backspace after the
cell has already been cleared.



  • Rob Manning

    Rob Manning - 2006-02-06

    Logged In: YES

    This is fixed in CVS.

  • Rob Manning

    Rob Manning - 2006-02-06
    • status: open --> closed-fixed

Log in to post a comment.