<div dir="ltr">Hi Ara,<br><br>The issue is because of underlying at-spi. It doesn&#39;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 &lt;<a href="mailto:ara@ubuntu.com">ara@ubuntu.com</a>&gt; 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 &lt;?xml<br>
version=&quot;1.0&quot;?&gt;&lt;REQUEST&gt;&lt;ACTION&gt;86&lt;/ACTION&gt;&lt;ID&gt;MainThread86&lt;/ID&gt;&lt;CONTEXT&gt;frmLiferea&lt;/CONTEXT&gt;&lt;/REQUEST&gt;<br>
*** Unable to grab focus<br>
Received packet size 153<br>
Received response Packet &lt;?xml version=&quot;1.0&quot;<br>
encoding=&quot;utf-8&quot;?&gt;&lt;RESPONSE&gt;&lt;ID&gt;MainThread86&lt;/ID&gt;&lt;STATUS&gt;&lt;CODE&gt;-940&lt;/CODE&gt;&lt;MESSAGE&gt;Unable to grab focus&lt;/MESSAGE&gt;&lt;/STATUS&gt;&lt;/RESPONSE&gt;<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>