Hi Walter.<br><br><br> * I cloned the "walters-gtk-touch" repository, build the bundle, and deployed on my XO-4.<br>
The OSK appeared fine now :)<br><br> First issue solved !<br><br><br> * However, any "thought" hidden by the OSK, cannot have the text added.<br><br><br> * I then encapsulated the "gtk.Fixed" within a "gtk.ScrolledWindow".<br>
Now, the "window-resizing-upon-OSK-appearance" solution worked, enabling the user to enter text in widgets<br> even in the lower part of the window.<br><br> Second issue solved !!<br><br><br>
* Now, we know that a textwidget is mainly subjected to four types of actions upon a click ::<br><br> 1)<br> If the click is "left" and "inside" the textwidget, text needs to be entered.<br>
<br> 2)<br> If the click is "left" and "on the boundary" of the textwidget, and the "click held on", the textwidget needs to be resized.<br><br> 3)<br> If the click is "right" and "on the boundary" of the textwidget, and then the "left-click-drag" is done, the widget needs to be moved.<br>
<br> 4)<br> If the click is "left" and "outside" a textwidget, a new textwidget is spawned.<br><br><br><br>As can be seeen, there are two issues with the above four scenarios in tablet-mode::<br>
<br> a)<br> Cases [1], [2] and [4] are more easily segregated/differentiated using a mouse-pointer, but might be very hard to get "bang on",<br>
when using a finger (in tablet-mode).<br><br> b)<br> Case [3] does not work at all in tablet-mode.<br><br><br>Just makes me wonder whether an activity like Labyrinth is more suitable only in non-touch mode ???<br>
<br><br>
<br><br><div class="gmail_quote">On Sat, Feb 23, 2013 at 11:12 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><div>On Sat, Feb 23, 2013 at 7:24 PM, Walter Bender <span dir="ltr"><<a href="mailto:walter.bender@gmail.com" target="_blank">walter.bender@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>On Sat, Feb 23, 2013 at 7:26 AM, Ajay Garg <<a href="mailto:ajaygargnsit@gmail.com" target="_blank">ajaygargnsit@gmail.com</a>> wrote:<br>
> Hi all.<br>
><br>
> In activities like FotoToon and Labyrinth, it is seen that the OSK does not<br>
> appear in ebook-mode (whereas it appears fine in other activities, wherever<br>
> it ought to be).<br>
><br>
> My belief is that it is due to the incompatablity of FotoToon and Labyrinth<br>
> widgets, as compared to the other activities.<br>
> So, is there a way to have the maliit OSK come up in this cases too (perhaps<br>
> through any configuration tweek in maliit)?<br>
><br>
> I am sorry for such a vague question, but any pointers will be highly<br>
> appreciated :)<br>
><br>
><br>
><br>
><br>
> Regards,<br>
> Ajay<br>
><br>
</div></div>> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
<br>
Your assumption is correct. The OSK is invoked from a textview widget.<br>
I have a version of Labyrinth working with textview (See [1]).<br>
Flavio is working on the GTK3 port.<br>
<br>
Note that [1] is a slight compromise from the way that Labyrinth<br>
currently works in that, for expediency, I am processing the text<br>
attributes for the entire thought as opposed to multiple attributes<br>
per thought. (This is really complex and convoluted in Labyrinth and,<br>
IMHO, I don't think it is worth the additional effort at this point).<br>
<br>
Regarding Fototoons, I plan on making a similar intervention (less<br>
complex) after coordinating with Gonzalo. (There are a number of cool<br>
Fototoon enhancements queued up from GCI.)<br></blockquote></div></div><div><br><br>Thanks for the reply !!<br>It helps clarifiy the current situations. <br><br><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
regards.<br>
<br>
-walter<br>
<br>
<br>
[1] <a href="http://git.sugarlabs.org/%7Ewalter/labyrinth/walters-gtk2-touch" target="_blank">http://git.sugarlabs.org/~walter/labyrinth/walters-gtk2-touch</a><br>
<span><font color="#888888"><br>
<br>
--<br>
Walter Bender<br>
Sugar Labs<br>
<a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br>
</font></span></blockquote></div></div><br><br clear="all"><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>
</blockquote></div><br><br clear="all"><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>