<br><br><div class="gmail_quote">On Thu, Jan 24, 2013 at 7:04 PM, Ajay Garg <span dir="ltr"><<a href="mailto:ajay@activitycentral.com" target="_blank">ajay@activitycentral.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote"><div class="im">On Thu, Jan 24, 2013 at 6:45 PM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org" target="_blank">gonzalo@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>> Please find attached a sample screenshot of the "Speak" activity; the window<br></div><div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
> has been resized to 0.7 of the original size (the screenshot doesn't show a<br>
> keyboard yet, as it was done on sugar-build).<br>
<br>
</div>Question: Do all activities behave properly when the screen is scaled<br>
that way? (I don't know that all activities are paying attention to<br>
resizing events. One quick way to check is to look at what happens<br>
when activities are rotated.)<br></blockquote></div><div><br>I will be receiving my XO-4 Touch in a couple of days; will answer this question then, after testing it in real-time :)<br><br></div></div></blockquote><div><br>
</div></div><div>XO-4 does not support rotate the screen yet. You should try with other models.</div></div></blockquote></div><div><br>Ok, thanks for the info :)<br><br> </div><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="gmail_quote"><div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Just figured out one thing via Nitika's XO-4-Touch (thanks to Nitika for bearing my brunt of the
testing-questions !!), that pressing all 4 game-keys at once, does
toggle the appearance of the OSK !!<br>
<br>
So, I guess, we DO have a point, wherein we can hack "resizing" of the window. <br><br>
So, now I have another question :: <br>Where is the code for "handling game keys" handled (as far as appearance and disappearance of the OSK is concerned) ? <br>In Firmware? In Sugar? Elsewhere?</blockquote><div>
<br></div></div><div>The keyboard appear because you pressed a key (you don't need press the 4 at once, any key will show it)</div><div><br></div><div>Detecting osk show/hide. is more complicate than should be, in my point of view. Probably, because the idea behind this is the osk should appear and hide in a automatic way based in the widgets needs.</div>
<div><br></div><div>I think you should check the class DocumentView in widgets.py in Write activity, to see how the signals are used. Carlos Garnacho worked on this.</div></div></blockquote></div><div><br>Ahh.. that's a nice pointer Gonzalo :)<br>
<br>It seems that only "size-allocate" and "request-clear-area" are the signals to be considered (not sure though; again, can only verify after a couple of days).<br><br>If these signals are in fact emitted when the OSK appears/disappears by pressing a game key, I think we should be done. We would have found a hack :)<br>
<br>Keeping fingers crossed, and waiting eagerly for my XO-4-Touch to arrive.<br></div></div></blockquote><div><br><br>Gonzalo,<br><br>another thing Nitika and me found, are the following ::<br><br>a)<br>Ensure that the XO is in normal-mode, and no activity is turned on.<br>
<br>b)<br>Turn to ebook-mode.<br><br>c)<br>Open "Speak" activity.<br><br>d)<br>OSK appears automatically this time.<br><br>e)<br>Now, pressing the game-key does not cause the OSK to go away :-\<br>It is only when the "keyboard" key is pressed, does the OSK disappear.<br>
<br>f)<br>If the game-key is pressed again, the OSK appears.<br><br><br>Gist :: Game-key works fine and consistently, when the OSK is required to be made appeared.<br> BUT, it does NOT WORK, if the OSK has been launched automatically.<br>
<br><br>So, it seems that just hacking onto the game-key won't help :(<br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote">
<div><br><br> </div><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote">
<span><font color="#888888"><div><br></div><div>Gonzalo </div><div><br></div><div>
<br></div><div><br></div><div> </div></font></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><br><font face="arial, sans-serif">Regards,<br>
<br>Ajay Garg</font><br style="font-size:13px;font-family:arial,sans-serif"><font face="arial, sans-serif">Dextrose Developer</font><br style="font-size:13px;font-family:arial,sans-serif">
<span style="font-size:13px;font-family:arial,sans-serif">Activity Central: </span><a href="http://activitycentral.com/" style="font-size:13px;font-family:arial,sans-serif" target="_blank">http://activitycentral.com</a>
</div></div><br>_______________________________________________<br></div><div>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org" target="_blank">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
<br></div></blockquote></div><br>
<br>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org" target="_blank">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
<br></blockquote></div></div><br><br clear="all"><br>-- <br><div class="HOEnZb"><div class="h5"><font face="arial, sans-serif">Regards,<br><br>Ajay Garg</font><br style="font-size:13px;font-family:arial,sans-serif"><font face="arial, sans-serif">Dextrose Developer</font><br style="font-size:13px;font-family:arial,sans-serif">
<span style="font-size:13px;font-family:arial,sans-serif">Activity Central: </span><a href="http://activitycentral.com/" style="font-size:13px;font-family:arial,sans-serif" target="_blank">http://activitycentral.com</a>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font face="arial, sans-serif">Regards,<br><br>Ajay Garg</font><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font face="arial, sans-serif">Dextrose Developer</font><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Activity Central: </span><a href="http://activitycentral.com/" style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">http://activitycentral.com</a>