[sip-comm-dev] [PATCH] Fix for Searchfield that get undefined char


#1

Hi,
when pressing keys when the contact list has the focus, the keyChar is added
to the searchField.
But if this pressed key is not printable (home, end for example), the
keyChar is CHAR_UNDEFINED, so it must not be added to the searchField.
My patch fixe that

Matthieu


#2

Hi Mathieu,

You forgot to attach your patch :slight_smile:

Cheers,
Yana

···

On Feb 9, 2010, at 10:51 AM, Matthieu Casanova wrote:

Hi,
when pressing keys when the contact list has the focus, the keyChar is added to the searchField.
But if this pressed key is not printable (home, end for example), the keyChar is CHAR_UNDEFINED, so it must not be added to the searchField.
My patch fixe that

Matthieu

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi, you're totally right, here it is

Matthieu

Searchfield_doesn_t_get_CHAR_UNDEFINED.patch (637 Bytes)

···

2010/2/9 Yana Stamcheva <yana@sip-communicator.org>

Hi Mathieu,

You forgot to attach your patch :slight_smile:

Cheers,
Yana

On Feb 9, 2010, at 10:51 AM, Matthieu Casanova wrote:

> Hi,
> when pressing keys when the contact list has the focus, the keyChar is
added to the searchField.
> But if this pressed key is not printable (home, end for example), the
keyChar is CHAR_UNDEFINED, so it must not be added to the searchField.
> My patch fixe that
>
> Matthieu

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net