Menu

#1 'No server defined' without C/R

open
3
2002-11-16
2002-09-12
No

In the sever hostname field, if the user types in (or
modifies) the server hostname or IP, without pressing
enter at the end, then immediately presses the
"Connect" button, the client will not recognize the
changed hostname.

In part, this is because the server text is only
transformed in to a network connection (and implicitly
a valid IP) during a ChangeEvent or a FocusLost event
(if I remember correctly).

FIX: either button should take focus first (triggering
FocusLost) or "Connect" should grab current text in all
cases (minor one-shot overhead).

Discussion

  • Andrew n marshall

    • priority: 5 --> 3
     
  • Andrew n marshall

    Logged In: YES
    user_id=38251

    Hmmm.. Just checked into this. The server field (like all
    the fields) listens for a change in focus before testing
    server validity. Even menu items trigger a focal change,
    forcing the server validation step.

    This could possible be a VM/Swing implementation specific
    issue, and as such I'm going to downgrade the bug status
    (from 5 to 3).

    Also, I should clarify, this isn't really my bug. I
    interpretted someone else bug report (probably off the
    gamebots-l mailing list) for submission here.

     

Log in to post a comment.

Auth0 Logo