<div dir="ltr">Hi Ara,<br><br>The issue is because of underlying at-spi. It doesn't bring the window to focus. Probably we can plan implementing to bring a window to focus based on some GUI object in that window. Something like grab the focus based on push button / menu item etc. <br>
<br>Thanks<br>Nagappan<br><br><div class="gmail_quote">On Thu, Jul 17, 2008 at 9:41 AM, Ara Pulido <<a href="mailto:ara@ubuntu.com">ara@ubuntu.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello!!<br>
<br>
Is anybody having any luck in getting grabfocus() working? Every time I<br>
use it I am getting this error:<br>
<br>
86 (frmLiferea)<br>
Send packet <?xml<br>
version="1.0"?><REQUEST><ACTION>86</ACTION><ID>MainThread86</ID><CONTEXT>frmLiferea</CONTEXT></REQUEST><br>
*** Unable to grab focus<br>
Received packet size 153<br>
Received response Packet <?xml version="1.0"<br>
encoding="utf-8"?><RESPONSE><ID>MainThread86</ID><STATUS><CODE>-940</CODE><MESSAGE>Unable to grab focus</MESSAGE></STATUS></RESPONSE><br>
<br>
<br>
If I try to access any of the menus of the required window, it works,<br>
but the grabfocus is not working at all.<br>
<br>
I am using LDTP 1.2.<br>
<br>
Thanks!!<br>
<br>
Regards,<br>
Ara.<br>
<br>
_______________________________________________<br>
LDTP-dev mailing list<br>
<a href="mailto:LDTP-dev@lists.freedesktop.org">LDTP-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/ldtp-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/ldtp-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Linux Desktop (GUI Application) Testing Project - <a href="http://ldtp.freedesktop.org">http://ldtp.freedesktop.org</a><br><a href="http://nagappanal.blogspot.com">http://nagappanal.blogspot.com</a>
</div>