Donate Share

nifty-gui

Tracker: Bugs

5 TextField has focus, but inputEvent receiving null events - ID: 2845340
Last Update: Comment added ( void256 )

This happens within the textfield that is part of the console.

When the application starts, the text field in the console has focus. It is
the only Nifty widget on the screen. The cursor is plainly visible in the
text field. When I type a key, TextFieldControl.inputEvent receives 2 null
events and nothing appears in the textfield.

If I click on the screen in any location (doesn't have to be on the
console) on the screen or hit tab, only then type a letter, it will then
appear in the textfield.


Mr. C ( sqlboy ) - 2009-08-27 04:17

5

Closed

Works For Me

void256

other

None

Public


Comments ( 5 )

Date: 2009-11-07 14:27
Sender: void256Project Admin

works me


Date: 2009-09-22 23:55
Sender: void256Project Admin

I'd like to close this? any more comments?


Date: 2009-08-29 10:07
Sender: void256Project Admin

I've just tried this with my own minimal testcode and it works. So I
suppose it is not a general issue and probably something special. I'm still
interessted in your code.

In the meantime you can find another console/slick example as part if the
nifty-examples projects in svn or browse it online right here:

http://nifty-gui.svn.sourceforge.net/viewvc/nifty-gui/nifty-examples/trunk/src/main/java/de/lessvoid/nifty/examples/slick/console/
http://nifty-gui.svn.sourceforge.net/viewvc/nifty-gui/nifty-examples/trunk/src/main/resources/slick/console/


Date: 2009-08-28 21:56
Sender: sqlboy

I will make an example when I get home. This is the SVN version,
NiftyGameState.


Date: 2009-08-28 19:55
Sender: void256Project Admin

can you send a minimum example how to reproduce this issue?
what version of nifty are you using? 0.0.5 or svn?
is this issue with slick (NiftyGameState) or standalone?


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-11-07 14:27 void256
allow_comments 1 2009-11-07 14:27 void256
close_date - 2009-11-07 14:27 void256
resolution_id None 2009-08-29 10:07 void256
assigned_to nobody 2009-08-28 19:55 void256