Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK
On Wed, Jan 23, 2013 at 1:20 AM, Ajay Garg a...@activitycentral.com wrote: Hi all. I wish to fix the bug, where some activities (Chat, Terminal, Speak for instance) are rendered unusable in the ebook-mode, due to the OSK covering the area of text-input. I have figured out a generic working solution for this - the idea is to minimize the activity windows when the OSK appears, and move back to the normal size when the OSK disappears. I thought we had a different approach under development: to scroll the window up in the case of the text view being occluded by the OSK? This should be doable for activities that have scrolling windows, such as terminal and chat. Speak, which doesn't scroll could be refactored to put the textview on the top instead of the bottom of the screen. (I suspect that whatever solution we have will involve some intervention in some activities.) I have tested the re-sizing the windows; however, to make the fix work everywhere, I was thinking of the following algorithm :: What does resizing the window do? What other activities have you tested it on? a) Just before/after the OSK appears, make the current window smaller. b) Just after/before the OSK disappears, revert the current window to its original size (if not already). This requires a way to know when and how the appeareance/disappearance of the OSK is triggered. How can this be done? I am sure there must be some gobject-signal for this - I just can't seem to figure it out by manually browsing the code, since I don't personally have a XO4-Touch with me :-( Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel regards. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK
On 23 Jan 2013, at 15:29, Walter Bender walter.ben...@gmail.com wrote: On Wed, Jan 23, 2013 at 1:20 AM, Ajay Garg a...@activitycentral.com wrote: Hi all. I wish to fix the bug, where some activities (Chat, Terminal, Speak for instance) are rendered unusable in the ebook-mode, due to the OSK covering the area of text-input. I have figured out a generic working solution for this - the idea is to minimize the activity windows when the OSK appears, and move back to the normal size when the OSK disappears. I thought we had a different approach under development: to scroll the window up in the case of the text view being occluded by the OSK? Yes, there are patches in GTK3 and Sugar for this, though with some issues still needing worked through. One activity that we managed to push hard to get polished was Write, it needed to be a special case as it doesn't use normal gtk widgets. My (rough) understanding of the implementation is that GTK first looks for a scrolled view and tries to scroll it so that the cursor/focus rect is kept in view [1], if no scrolled view is found it scrolls the canvas [2]. [1] the Write behaviour here is not ideal as the abiword widget implementation for the text area didn't allow for extra padding at the bottom of the view, so the text being edited is hard up next to the OSK rather than with some extra space so the text selection handles stay visible. [2] I think there were patches in GTK3 Sugar so that the activity canvas area was automatically placed in a scroll view, so the toolbars are guaranteed to stay in view, but not sure if this landed. This should be doable for activities that have scrolling windows, such as terminal and chat. Speak, which doesn't scroll could be refactored to put the textview on the top instead of the bottom of the screen. (I suspect that whatever solution we have will involve some intervention in some activities.) Yes some intervention in activities will still be needed, and the first thing to do if you want any of this auto scrolling support is make sure your activity is ported to GTK3! ;) FOr activities like Speak I'd posted mockup images to a previous mail list thread showing how moving the text input area to the top of the UI would work well (the eyes will just peek over the top of the keyboard and the OSK can be hidden when the text is submitted for speaking). I have tested the re-sizing the windows; however, to make the fix work everywhere, I was thinking of the following algorithm :: What does resizing the window do? What other activities have you tested it on? Some activities will become quite unusable if auto shrunk, scrolling I think is better, we're lucky if the original developer planned for landscape and portrait aspect ratios... Regards, --Gary a) Just before/after the OSK appears, make the current window smaller. b) Just after/before the OSK disappears, revert the current window to its original size (if not already). This requires a way to know when and how the appeareance/disappearance of the OSK is triggered. How can this be done? I am sure there must be some gobject-signal for this - I just can't seem to figure it out by manually browsing the code, since I don't personally have a XO4-Touch with me :-( Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel regards. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Announcing Q7B12 for XO-4
http://wiki.laptop.org/go/OLPC_Firmware_q7b12 Q7B12 contains: - device tree changes for GALCORE graphics accelerator, - a fix for #12451 (random hangs with big 01 on screen), by moving the interrupt stack from SRAM to TCM, - a manufacturing test fix for #12394 (DCON unfreeze glitch), though it remains not fixed in Linux, - new embedded controller firmware, http://wiki.laptop.org/go/EC_4.0_Firmware - a way for developers to configure the wireless network name and passphrase on test units, using the NN and PP tags, - an inbound telnet session is now mirrored to the local keyboard and display, - a fix for USB serial devices that allows re-use of the device by Open Firmware applications (such as the serial terminal), -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Announcing Q7B12 for XO-4
Do all the enumerated changes apply to both B and C machines? Mike On Wed, Jan 23, 2013 at 11:09 PM, James Cameron qu...@laptop.org wrote: http://wiki.laptop.org/go/OLPC_Firmware_q7b12 Q7B12 contains: - device tree changes for GALCORE graphics accelerator, - a fix for #12451 (random hangs with big 01 on screen), by moving the interrupt stack from SRAM to TCM, - a manufacturing test fix for #12394 (DCON unfreeze glitch), though it remains not fixed in Linux, - new embedded controller firmware, http://wiki.laptop.org/go/EC_4.0_Firmware - a way for developers to configure the wireless network name and passphrase on test units, using the NN and PP tags, - an inbound telnet session is now mirrored to the local keyboard and display, - a fix for USB serial devices that allows re-use of the device by Open Firmware applications (such as the serial terminal), -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Announcing Q7B12 for XO-4
No. On Thu, Jan 24, 2013 at 12:08:54AM -0500, Mike Lee wrote: Do all the enumerated changes apply to both B and C machines? Mike On Wed, Jan 23, 2013 at 11:09 PM, James Cameron qu...@laptop.org wrote: http://wiki.laptop.org/go/OLPC_Firmware_q7b12 Q7B12 contains: - device tree changes for GALCORE graphics accelerator, - a fix for #12451 (random hangs with big 01 on screen), by moving the interrupt stack from SRAM to TCM, - a manufacturing test fix for #12394 (DCON unfreeze glitch), though it remains not fixed in Linux, - new embedded controller firmware, http://wiki.laptop.org/go/EC_4.0_Firmware - a way for developers to configure the wireless network name and passphrase on test units, using the NN and PP tags, - an inbound telnet session is now mirrored to the local keyboard and display, - a fix for USB serial devices that allows re-use of the device by Open Firmware applications (such as the serial terminal), -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Announcing Q7B12 for XO-4
In particular the third enumerated change does not apply to B machines, because they already had a correct timing value for the DCON unfreeze glitch, because the B machines were all 1063 MHz CPUs. On Thu, Jan 24, 2013 at 04:18:20PM +1100, James Cameron wrote: No. On Thu, Jan 24, 2013 at 12:08:54AM -0500, Mike Lee wrote: Do all the enumerated changes apply to both B and C machines? Mike On Wed, Jan 23, 2013 at 11:09 PM, James Cameron qu...@laptop.org wrote: http://wiki.laptop.org/go/OLPC_Firmware_q7b12 Q7B12 contains: - device tree changes for GALCORE graphics accelerator, - a fix for #12451 (random hangs with big 01 on screen), by moving the interrupt stack from SRAM to TCM, - a manufacturing test fix for #12394 (DCON unfreeze glitch), though it remains not fixed in Linux, - new embedded controller firmware, http://wiki.laptop.org/go/EC_4.0_Firmware - a way for developers to configure the wireless network name and passphrase on test units, using the NN and PP tags, - an inbound telnet session is now mirrored to the local keyboard and display, - a fix for USB serial devices that allows re-use of the device by Open Firmware applications (such as the serial terminal), -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- James Cameron http://quozl.linux.org.au/ -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] Running complete Wikipedia offline
On Wed, 12 Dec 2012, Sameer Verma wrote: I've been debating the possibility of running a *complete* copy of Wikipedia (txt and images) offline on the XS. At this point, the targets are English (https://en.wikipedia.org) and Hindi (https://hi.wikipedia.org). Old thread, I know. Have you looked at kiwix - http://www.kiwix.org/index.php/Main_Page It is 'screened' content, with effort to pick a good article version. Cheers,Andy! ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Hardware for Schoolservers (EDIT)
On Mon, Jan 14, 2013 at 5:46 PM, German Ruiz germa...@opensuse.org.ni wrote: Hello everyone Sorry, last message was sent without finish. Just asking if anyone here knows about fanless server in the field, in any country, i was looking at the wiki[1], and the only information about hardware from this vendors [2][3], is in Afghanistan. We want to buy a few servers from this companies, to use in Nicaragua, but first i want to make sure that this ones works very good. Any suggestions? [1] http://wiki.laptop.org/go/XS_Recommended_Hardware#Hardware_known_to_work [2] http://www.logicsupply.com/categories/fanless_computers [3] http://www.aleutia.com/products/ -- German R S ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel We use LogicSupply's SolidLogic LS-102 boxes in Jamaica. I use a FitPC-1 in Bhagmalpur, India for about 25 XOs. The FitPC2 pulls about 15W at the AC brick. The LogicSupply box pulls 25W to 26W and the FitPC-1 pulls 8W at the AC end. cheers, Sameer -- Sameer Verma, Ph.D. Professor, Information Systems San Francisco State University http://verma.sfsu.edu/ http://commons.sfsu.edu/ http://olpcsf.org/ http://olpcjamaica.org.jm/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] School Server Hack Sprint (Feb 7-11, Toronto)
Happy to announce many folk are arriving in person a day in advance, evening of Wedn Feb 6. If you too are interested in XS Community development (http://schoolserver.org) and would like to contribute, it's not too late to RSVP today. Per tradition, we'll also have open Skype calls for dedicated and new remote contributors: Thur Feb 7th, 6PM (Toronto/NYC time) Sat Feb 9th, 6PM (Toronto/NYC time) Thanks all for RSVP'ing in advance with suggestions -- to help us harmonize agendas/roadmap for a productive and warm 4-day CDN(*) weekend for all. (*) Just don't forget your ice skates for the pond! As CDN comes in many colors :) http://en.wikipedia.org/wiki/Content_delivery_network http://fc07.deviantart.net/fs71/i/2012/240/e/b/the_great_canadian_wilderness_by_prismsky-d5cqacf.jpg On 1/8/2013 6:50 PM, Holt wrote: Thanks all as we're approaching capacity with about 5 Americans and 5 Canadians RSVP'd! (but if you have more exotic citizenship+passports we'll certainly make a place for you, don't worry, contact me soon regardless =) Strategy? Our meeting will focus on a shippable/solid school server () serving large deployments as well as community schools. No matter how close we get to painfree network-configuration. Even if much-desired features from the following list don't all ship in the end: https://docs.google.com/spreadsheet/ccc?key=0Aki16JhXo4mEdEU1MzA5OGJuOERtbGxHSkxzT2ZFSGc See you in a month! On 1/4/2013 2:20 AM, Holt wrote: Details emerging in coming days/weeks @ *http://schoolserver.org* Please join Jerry Vonau, George Hunt, Anna Schoolfield, Tim Moody, Rodrigo Hartmann and others advancing their XS Community Edition ebook/content efforts towards community customers XS 0.8. Toronto/UWaterloo-area accommodations, home cooking personal pickup from Toronto/Buffalo/Detroit airports may be free if I believe in your work, _plz RSVP today if you're interested in attending, thanks much !_ Those with ongoing School Server projects consider arriving 1-2 nights in advance to polish your work, working alongside others who genuinely give a damn! Prior to the larger group arriving Thur Feb 7 thru Monday Feb 11. Or stick around an extra night to complete your task. EG. several of us Might Even drive to Birmingham, Alabama Feb 13/14 to give Valentine Love to the unheralded XO/XS work ongoing in small pockets of the western world / OECD's largest (if in many ways sadly defunct) XO deployment. Where I personally had the great fortune to get an inside glimpse at this evolving 21st century civil rights movement over much of December... -- Help kids everywhere map their world, athttp://olpcMAP.net -- Help kids everywhere map their world, at http://olpcMAP.net ! ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel