Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Walter Bender
On Thu, Jan 24, 2013 at 3:22 AM, Ajay Garg a...@activitycentral.com wrote: Thanks Walter and Gary for your replies. Well, what I am trying to achieve is, is just a simple and consistent (fixed) behaviour across every activity - make the window-size smaller. This serves two advantages ::

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Ajay Garg
On Thu, Jan 24, 2013 at 5:50 PM, Walter Bender walter.ben...@gmail.comwrote: On Thu, Jan 24, 2013 at 3:22 AM, Ajay Garg a...@activitycentral.com wrote: Thanks Walter and Gary for your replies. Well, what I am trying to achieve is, is just a simple and consistent (fixed) behaviour across

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Gonzalo Odiard
Please find attached a sample screenshot of the Speak activity; the window has been resized to 0.7 of the original size (the screenshot doesn't show a keyboard yet, as it was done on sugar-build). Question: Do all activities behave properly when the screen is scaled that way? (I don't

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Ajay Garg
On Thu, Jan 24, 2013 at 6:45 PM, Gonzalo Odiard gonz...@laptop.org wrote: Please find attached a sample screenshot of the Speak activity; the window has been resized to 0.7 of the original size (the screenshot doesn't show a keyboard yet, as it was done on sugar-build). Question: Do

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Ajay Garg
On Thu, Jan 24, 2013 at 7:04 PM, Ajay Garg a...@activitycentral.com wrote: On Thu, Jan 24, 2013 at 6:45 PM, Gonzalo Odiard gonz...@laptop.orgwrote: Please find attached a sample screenshot of the Speak activity; the window has been resized to 0.7 of the original size (the screenshot

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Gonzalo Odiard
So, it seems that just hacking onto the game-key won't help :( No. Will not work, because the osk will appear if you touch over a input widget. The game keys are not the expected way to show the osk. Gonzalo ___ Sugar-devel mailing list

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Ajay Garg
On Thu, Jan 24, 2013 at 7:36 PM, Gonzalo Odiard gonz...@laptop.org wrote: So, it seems that just hacking onto the game-key won't help :( No. Will not work, because the osk will appear if you touch over a input widget. The game keys are not the expected way to show the osk. Hmm..

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Ajay Garg
On Thu, Jan 24, 2013 at 7:37 PM, Ajay Garg a...@activitycentral.com wrote: On Thu, Jan 24, 2013 at 7:36 PM, Gonzalo Odiard gonz...@laptop.orgwrote: So, it seems that just hacking onto the game-key won't help :( No. Will not work, because the osk will appear if you touch over a

Re: [Sugar-devel] webgl in Browse

2013-01-24 Thread Daniel Drake
On Wed, Jan 23, 2013 at 4:43 PM, Daniel Narvaez dwnarv...@gmail.com wrote: I haven't tried but I think it might work on Fedora 18, it sounds like it's enabled by default in webkit 1.10. If someone has it installed, the easiest test would be to try it in the epiphany browser. If it works it

Re: [Sugar-devel] webgl in Browse

2013-01-24 Thread Daniel Narvaez
On 24 January 2013 15:20, Daniel Drake d...@laptop.org wrote: Works in epiphany on F18 on my desktop after enabling it in gsettings. https://mail.gnome.org/archives/commits-list/2012-February/msg00660.html Tested with http://webglsamples.googlecode.com/hg/electricflower/electricflower.html

Re: [Sugar-devel] webgl in Browse

2013-01-24 Thread Gonzalo Odiard
On Thu, Jan 24, 2013 at 11:20 AM, Daniel Drake d...@laptop.org wrote: On Wed, Jan 23, 2013 at 4:43 PM, Daniel Narvaez dwnarv...@gmail.com wrote: I haven't tried but I think it might work on Fedora 18, it sounds like it's enabled by default in webkit 1.10. If someone has it installed,

Re: [Sugar-devel] webgl in Browse

2013-01-24 Thread Walter Bender
On Thu, Jan 24, 2013 at 9:25 AM, Daniel Narvaez dwnarv...@gmail.com wrote: On 24 January 2013 15:20, Daniel Drake d...@laptop.org wrote: Works in epiphany on F18 on my desktop after enabling it in gsettings. https://mail.gnome.org/archives/commits-list/2012-February/msg00660.html Tested with

Re: [Sugar-devel] webgl in Browse

2013-01-24 Thread Daniel Drake
On Thu, Jan 24, 2013 at 8:25 AM, Gonzalo Odiard gonz...@laptop.org wrote: Is epiphany using webkitgtk2 or webkitgtk in F18? In Browse we are using webkitgtk right now. I am pretty sure that would have no impact on WebGL. Both of those APIs share the same rendering engine. But to answer the

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Jerry Vonau
On 24 January 2013 08:11, Ajay Garg a...@activitycentral.com wrote: On Thu, Jan 24, 2013 at 7:37 PM, Ajay Garg a...@activitycentral.comwrote: On Thu, Jan 24, 2013 at 7:36 PM, Gonzalo Odiard gonz...@laptop.orgwrote: So, it seems that just hacking onto the game-key won't help :(

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Ajay Garg
On Thu, Jan 24, 2013 at 8:20 PM, Jerry Vonau je...@laptop.org.au wrote: On 24 January 2013 08:11, Ajay Garg a...@activitycentral.com wrote: On Thu, Jan 24, 2013 at 7:37 PM, Ajay Garg a...@activitycentral.comwrote: On Thu, Jan 24, 2013 at 7:36 PM, Gonzalo Odiard gonz...@laptop.orgwrote:

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Paul Fox
jerry wrote: On 24 January 2013 08:11, Ajay Garg a...@activitycentral.com wrote: On Thu, Jan 24, 2013 at 7:37 PM, Ajay Garg a...@activitycentral.comwrote: On Thu, Jan 24, 2013 at 7:36 PM, Gonzalo Odiard gonz...@laptop.orgwrote: So, it seems that just

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Martin Langhoff
On Thu, Jan 24, 2013 at 10:13 AM, Paul Fox p...@laptop.org wrote: i believe sugar already has code to detect the two modes, since that's how it knows whether to present the OSK or not. Yep. Ajay, I think Write shows you the way :-) m -- martin.langh...@gmail.com mar...@laptop.org --

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Ajay Garg
On Thu, Jan 24, 2013 at 8:46 PM, Martin Langhoff martin.langh...@gmail.comwrote: On Thu, Jan 24, 2013 at 10:13 AM, Paul Fox p...@laptop.org wrote: i believe sugar already has code to detect the two modes, since that's how it knows whether to present the OSK or not. Yep. Ajay, I think Write

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Gonzalo Odiard
Write does not know what is the ebook switch state, that logic is in the osk. Looking in the wiki and sugar code, I could not find information about how read the switch, but in ticket http://dev.laptop.org/ticket/12326 found this: If you do: evtest --query /dev/input/event4 EV_SW

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Gonzalo Odiard
There are any official doc about the switches I am missing? There are a way to catch a event when the switch is activated, using dbus or something similar? http://wiki.laptop.org/go/Power_management#Ebook_sense_switch looks outdated ___

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Martin Langhoff
On Thu, Jan 24, 2013 at 12:02 PM, Gonzalo Odiard gonz...@laptop.org wrote: Write does not know what is the ebook switch state, that logic is in the osk. And that's correct. ebook mode is one reason to show the OSK. There are other reasons -- for example, - accesibility - typing in a

Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Paul Fox
gonzalo wrote: Write does not know what is the ebook switch state, that logic is in the osk. Looking in the wiki and sugar code, I could not find information about how read the switch, but in ticket http://dev.laptop.org/ticket/12326 found this: If you do: evtest --query

[Sugar-devel] Weirdness with git.sugarlabs.org permissions

2013-01-24 Thread Daniel Narvaez
I have three clones with the same name: http://git.sugarlabs.org/~dnarvaez/sugar-build/html http://git.sugarlabs.org/~dnarvaez/sugar/html http://git.sugarlabs.org/~dnarvaez/sugar-toolkit-gtk3/html If I try to add a commiter to, for example, sugar-build it goes to