Re: [g-a-devel] [PATCH] java-access-bridge: handle selecting text and typing over it



Thanks!  I opened a new bug for you:

http://bugzilla.gnome.org/show_bug.cgi?id=563173

Will

On Wed, 2008-12-03 at 14:21 -0500, Omair Majid wrote:
> This is a patch for the java-access-bridge in gnome 
> (http://live.gnome.org/Java%20Access%20Bridge). Using a swing 
> JTextField, if a user selects text and starts typing to replace it, a 
> StringIndexOutOfBoundsException is thrown in .
> 
> The following events are observed through acccerciser in gedit when 
> selecting text and typing over it:
> object:text-changed:delete
> object:text-changed:insert
> object:text-caret-moved
> 
> While the Swing program only emits
> object:text-changed:delete
> object:text-changed:insert
> 
> The 'object:text-caret-moved' event is not sent. The attached patch 
> catches the exception and silently ignores it, ensuring the 
> selection-changed event is not sent and the text-caret-moved event is.
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]