[04:01] ls === bernie is now known as bernie_afk === bernie_afk is now known as bernie [14:39] neeraj: Hi Neeraj. [14:40] manusheel sir : Hi [14:41] neeraj: Please have a word with Aleksey on the two patches and the GSM issue. [14:42] alsroot: Around? [14:55] dfarning, hello [14:55] dipankar, good morning [14:55] dfarning, good morning :) [14:56] dfarning, you are still at Paraguay? [14:57] dipankar, one more week then back to my own home. [14:57] dfarning, :) [14:59] dfarning, Did you get a chance to see the mail that I sent regarding the fullscreen bug? [15:01] I scanned it. but I try to stay out of technical discussions:) those are better left to developers who know what they are doing. [15:01] dfarning, :) [15:01] alsroot, !ping! [15:01] dipankar, ^^ I suggesting asking alsroot how to proceed. [15:02] dfarning, I am on it. [15:03] dipankar, thanks. [15:09] alsroot, around? [15:09] alsroot, I need your help on the fullscreen bug. [15:10] neeraj, around? [15:12] bernie, around? [15:14] dipankar, neeraj is not around. [15:14] He'll be back in 15 mins. [15:14] manusheel, ohk sir [15:14] Informed me. [15:14] manusheel, I am at #suagr [15:14] *#sugar [15:14] Ok, great. [15:15] dipankar: pong [15:16] alsroot, I am at #sugar [15:17] manusheel: pong as well [15:17] alsroot: Hi Aleksey. Good morning. [15:18] manusheel: morning [15:18] dipankar: yup [15:19] (not for long, I'm packing up) [15:23] bernie, where are you heading to? [15:24] manusheel, Sir, tomeu has again some other opinions [15:24] manusheel, I need some help :( [15:26] manusheel, Sir, what tomeu is asking is correct I guess. Why are we actually trying to remove all those errors in the shell.log first place? [15:26] alsroot, did you get a chance to go through my mail regarding the 'fullscreen-new approach' [15:27] alsroot, I found that at exactly 800x600, due to task panels and window title bar of xephyr, there is some cropping in emulator [15:29] dipankar: the original issue that 800x600 is not work exactly is that issue w/ scaling, /me is looking into the code.. [15:33] dipankar: Uruguay [15:34] dipankar: I'll work with the people of Plan Ceibal for one week, more or less [15:44] alsroot, I set the condition for fullscreen to <= 800x600. from < 800x600 [15:45] on my system [15:46] bernie, ohk. :) [15:46] dipankar: heh, "<=" that's an obvious bug [15:47] alsroot, why? [15:47] dipankar: I mean its obviously a bug :) [15:47] dipankar: could you create a ticket on bugs.sl.o? [15:47] alsroot, I mean, to do away with the cropping part, I modified the code a bit [15:48] alsroot, ok sure [15:48] dipankar, are you looking at the gsm error bug? [15:48] dfarning, just completed with the fullscreen bug. [15:48] dfarning, I think we are slowly arriving at a conclusion. [15:48] dipankar: but stop, there is already ticket for such issue, /me is looking [15:49] alsroot, sure [15:49] dipankar, the problem with the gsm bug is _not_ that something is being reported it is the fact that the message is called an 'error'. [15:50] dfarning, ohk. [15:50] dfarning, so, I think what tomeu is saying is correct. [15:50] dipankar, to fix the issue all you have to do is downgrade the message from error something lower such as warning. [15:50] * How is it relevant to user? [15:51] dfarning, ok. But when I asked about gsm issue,^^ tomeu asked me the above question [15:53] dipankar, It is relevant to developers... because error means "holy shit some really bad just happened", warnings just provid information to the developer about what is happening. [15:53] dipankar, where is the code? [15:53] dfarning, got your point. [15:53] dfarning, /usr/share/pyshared/jarabe/model/network.py, line 696 [15:53] dipankar: in fact there are two related bugs, http://bugs.sugarlabs.org/ticket/1396 and http://bugs.sugarlabs.org/ticket/1747 [15:54] dipankar: but they are not about the same.. so it could be new ticket then.. [15:54] *exactly the same [15:55] alsroot, ohk. But I got some feeling that they are discussing about cropping only :P [15:57] alsroot, I filing a new ticket. [15:58] alsroot: for the control panel icon-cut off issues, I have reduced the column size to 3. At present there are nine items in control panel and all are visible with appropriate distance between various icons. [15:59] neeraj: I think, it might be better to calculate optimal columns count according to current screen resolution i.e. screen sizes could be various from 800x600 to 1400+ [15:59] alsroot: do you any any other solution for this bug https://bugs.launchpad.net/ubuntu/+source/sugar-0.88/+bug/617582 [16:01] alsroot: Ok. [16:03] alsroot, created the new ticket [16:03] dipankar: Can u tell me how to check in which resolution sugar is running. Ok default is 800X600. But what if some one run it in higher resolution then this [16:03] * its gone for moderation [16:04] neeraj, for sys resolutions higher than 800x600, the emulator will run in window mode only. but the resolution of emulator will be 800x600 [16:04] neeraj: also, especially on large screens, it could be useful to not expand gtk.Table cells vertically (see yoptions argument on http://library.gnome.org/devel/pygtk/stable/class-gtktable.html#method-gtktable--attach) [16:05] alsroot, I am off for dinner. will contact you after I get back. Thanks. [16:05] * dipankar is off for dineer [16:05] *dinner [16:05] dipankar, try grepping though the file for other occourances of the logging function [16:06] dfarning: Thank you for the pointer. [16:06] Will share it with Dipankar [16:06] when he is back from dinner. [16:06] manusheel, I would suggest downgrading exception to debug. [16:06] dfarning: Ok, sure. [16:07] manusheel, thanks [16:08] alsroot: Ok. When i ran sugar in 1068x800 then the control panel looks like this http://imgur.com/BsQIr.png [16:10] alsroot: Can you suggest me how can I detect in which resolution a user is running sugar-emulator.(even when he is explicitly specifying the emulator resolution using sugar-emulator -i AxB) === kandarpk_ is now known as kandarpk [16:11] alsroot: I was thinking of developing an application like visual basic in sugar. [16:11] which could provide application developers some idea of the tools sugar modules provide. [16:12] neeraj: just something like "screen_width / [16:12] alsroot: but as sugar is targeted at children, will that be useful ? [16:13] dfarning: Hi. [16:19] kandarpk: but why not, on big screens hardcoded 3x3 looks overkill [16:19] kandarpk: why visual basic? Sugar already uses python, a language superior by any measure [16:20] kandarpk: do you mean a GUI building tool? [16:20] lucian: yes, exactly [16:20] kandarpk: there are two activities geared towards writing code, Pippy and Develop [16:20] kandarpk: Try develop. [16:20] and there's Glade for building GTK GUIs [16:21] neeraj: but anyway, better to raise this question (about how many cells should be keeping in mind different screen sizes) should be risen on sugar-devel@, post an email w/ tag [DESIGN] in subject [16:21] lucian: Ok. [16:21] so you could integrate glade in Develop or sugarise glade [16:21] lucian: great idea. [16:21] alsroot: neeraj: android has the same problem with phone vs tablet [16:22] lucian: what I was looking for was instead of developers reading code, they should be able to see the GUI the sugar modules provide. [16:22] kandarpk, and also check out turtle art, etoys, and scratch. they are visual languages for helping kids learn to program visually. [16:22] lucian: will studying develop help ? [16:22] kandarpk: it might. also have a look at Pippy [16:23] alsroot: Ok. I was also confused what will be better. [16:23] *better option [16:23] dfarning, lucian: Ok. [16:23] dfarning: i think kandarpk is looking for something to transition developers to writing sugar activities. am i right? [16:24] or something to make writing activities easier? [16:24] lucian: I want to let them know what modules sugar already have [16:25] neeraj, the issue for you is that the the screen resolution can vary depending on the hardware. so you will need to detect the screen resolution on the fly and determine how many columns will fit in the available space. [16:25] lucian: yes, that will make writing activities easier [16:26] dfarning: i think the correct way to do it would be to figure out the screen size from DPI and resolution [16:27] lucian, proper implementation is beyond me:( [16:27] dfarning: Sure, That can be done. Modifying code and testing. === bernie is now known as bernie_afk [16:36] alsroot: how's your python [16:37] dfarning: alsroot setting Max Column to gtk.gdk.screen_width()/200 is solving the problem. [16:39] neeraj, that 'smells correct'.... but I don't know the implementation nuances. [16:40] dfarning: same here. :) [16:41] lucian: perhaps you'd be a person to ask: I'm trying to have files that match "*.txt" and "aiml/self-test.aiml" installed in the same directory of a package as the python source itself. My naieve attempts wrangling setup.py have ended us with a subdirectory "aiml/aiml/self-test.aiml" in the resulting package. [16:42] lfaraone: i don't know setuptools [16:42] i don't think i know more than you here [16:48] lucian: Re: how's your python -- not so bad :) [16:48] alsroot: that was lfaraone asking :) [16:48] alsroot: how's your setuptools-fu, I should ask :P [16:49] lfaraone: didn't use such stuff [16:50] alsroot: so you couldn't help me figure out why http://git.debian.org/?p=collab-maint/python-aiml.git;a=blob;f=setup.py;h=9c7b5708ea9d53789e2d52ae3965c40be003725f;hb=HEAD is not installing package data ... in the package, right? [16:50] neeraj: sugar uses scaling (to support different dpi), so better to avoid direct numbers and use style.zoom(), but in this particular case, in my mind better to count in style.GRID_CELL_SIZE [16:51] lfaraone: sorry, can't help here [16:58] neeraj: btw, while testing your code, use "-s 100" and "-s 72" as well for change scalling [16:59] ..use w/ sugar-emulator command [17:04] alsroot: I am not sure I should I co relate GRID_CELL_SIZE with screen resolution. By hit and trial I set up Column to style.GRID_CELL_SIZE/15. But when I ran sugar-emulator in different resolution, then the number of columns were not changing at all/ [17:08] alsroot: Ok. scaling is also an issue. I tried -s 100, then the effective size of control panel reduced a lot as comparison to 3X3 icon grid, when I ran in in 800X600. [17:11] Also, I think you know it but still let me tell u again what we are trying to do. When we run sugar in default mode, then the *all* control panel icons are not visible screen, but we do have a horizontal and vertical scroll bar . [17:12] neeraj: GRID_CELL_SIZE is referencing to http://wiki.sugarlabs.org/go/Human_Interface_Guidelines/The_Sugar_Interface/Layout_Guidelines, so w/ "style.GRID_CELL_SIZE/15" you have too many columns :) [17:13] alsroot: strange. I again set column to style.GRID_CELL_SIZE/15. The resultant column size is still 3. [17:13] neeraj: my idea was just calculating columns count in advance(instead of hardcoded "5") [17:15] ..something like / (style.GRID_CELL_SIZE * 3) [17:16] alsroot: Ok. Lemme try it again . :) [17:21] alsroot: Ok. setting column to / (style.GRID_CELL_SIZE * 3) is solving the problem related to resolution. [17:23] * dinner. === neeraj_ is now known as neeraj === bernie_afk is now known as bernie [18:10] hi alsroot :) [18:12] alsroot: around ? [18:18] dfarning, I got your message. :) Thanks to Manu sir. [18:18] dipankar, does it make sense? [18:18] dfarning, yeah. We want that message to appear as warning and not as Error [18:19] dipankar, +1 [18:19] because, developers kind of freak out on errors [18:19] :P [18:19] and as a convention they work more on removing errors [18:21] dfarning, then I shall set it from exception to debug [18:21] dipankar, +1 [18:24] dfarning, done [18:24] * dipankar is closing the 'No gsm connection was set in Gconf' bug [18:25] dfarning, for making patch I should be targeting this package : python-jarabe-0.88? [18:25] because the file, network.py falls under this package. [18:25] dipankar, this should be turned into a patch and submitted to SL and accepted before closing [18:26] dipankar, is -jarabe- the source package in debian that contains the file? [18:28] dfarning, this is as close as I could get: https://launchpad.net/ubuntu/maverick/+package/python-jarabe-0.88 [18:29] for debian : http://packages.debian.org/testing/python/python-jarabe-0.88 [18:30] dipankar, i think sugar-0.88 is the source package you want. [18:31] dfarning, ok. right on [18:33] dfarning, I have sugar-0.88 package. But I am unable to find the network.py file === bernie is now known as bernie_afk [18:36] ankur: hi [18:36] kandarpk: pong [18:36] dipankar, sugar-0.88.1/src/jarabe/model/ in debian [18:36] dfarning, just found it :) [18:36] alsroot: what other modules provide GUI tools like widgets does ? [18:37] kandarpk: in fact, sugar-toolkit's directories: src/sugar/graphics src/sugar/activity [18:38] alsroot: Ok. [18:39] dfarning, unfortunately thats not the file :( [18:43] dfarning, I think I have the old package :( [18:43] dfarning, how can I get the latest package? debcheckout? [18:44] dipankar, yes the file in http://pastebin.com/8tfj202m it looks right to me [18:44] dfarning, alsroot: please see http://picturepush.com/host.php?image=4015695 [18:45] dfarning, yeah. I have the old files :( [18:45] dfarning, alsroot, manusheel sir: In the activity various modules along with the GUI provided can be described [18:45] kandarpk, cool [18:47] hi alsroot , :) [18:49] i was working on to change the text in title bar of xephyr wondow if possible..... i was not able to process in that direction.Will need your help [18:52] alsroot, hi. is it ok to continue with the fullscreen bug? [18:53] dfarning, it will take sometime to download the package. slow speed :( [18:55] ankur: dunno how it is important, I mean, sugar-emulator is just sugar emulator, you need to look to Xephyr documentation, sorry can't help here [18:56] dipankar: what is the number of bug you created? [18:56] alsroot, it has gone for moderation testing, I think no bug number has been assigned yet [18:57] right , i will try once again , i tried before but i was not able to see any break through [18:58] dfarning, created my gsm.patch [18:58] also i wanted to work on the part that every little change in control panel should not require restart. so , i have zeroed on code segment which should be changes but i wa not able to figure out in which changes i should make the change [18:59] or more importantly , can i change the functionality of control panel so that it never requires restart where ever possible [18:59] ? [19:01] dipankar, I have not heard of moderation for the bug tracker..... are you signed in? [19:02] dfarning, I filed a bug ticket at bugs.sugarlabs.org as instructed by alsroot [19:02] ankur: I guess nope, keeping control panel widgets all time in memory could be overkill [19:03] hmmm maybe there is a spam filter inplace. [19:04] dipankar: What is your username? [19:04] at bugs.sl.org [19:04] manusheel, dipankar [19:05] dipankar: yup, looks like it is spam filter, it sansboxing every new submitter (afaik, but better to ask silbe) [19:05] * alsroot accepted it [19:06] dipankar: you can upload your patch to http://bugs.sugarlabs.org/ticket/2180 [19:07] alsroot, are you an admin on trac? [19:07] alsroot, ok. I found that silbe is the one who actually wrote the code for fullscreen emulator :) [19:07] manusheel, dfarning, I have uploaded patch for gsm connection: https://bugs.launchpad.net/ubuntu/+source/sugar-0.88/+bug/614394 please check it [19:10] dipankar, good. Can you now open a bug in the debian bug tracker and attach you patch? [19:10] dfarning, ohk [19:10] dipankar: Yes, Dipankar. Please do that. [19:16] dipankar, then test the patch against the debian package buy building it and then pinging the olpc-debian list for jonas or luke to commit it. [19:16] dfarning, ohk [19:24] manusheel, dfarning , I have sent the patch to DBTS [19:25] dipankar, +1 what is the debian bug number [19:25] dipankar: great [19:25] dfarning, Bug#593380 [19:26] manusheel, dfarning : alsroot told me to upload a pacth for this too. I wanted to upload it before sleeping. [19:26] how to do it [19:26] ? [19:27] dipankar, to where did alsroot suggest that you upload the patch [19:28] dfarning,oops sorry. here: http://bugs.sugarlabs.org/ticket/2180 [19:31] dipankar, which issue are you fixing, the gsm logging error or the calculating the screen resolution in the CP? [19:31] dfarning, the fullscreen issue. I have a patch ready for it. [19:32] dipankar: there is "Attach file" button on http://bugs.sugarlabs.org/ticket/2180 page [19:34] alsroot, I am not getting that option anywhere :(. [19:34] is there something i am missing out [19:34] dipankar: are you logged in? [19:34] alsroot, yeah [19:36] alsroot, I think it is owned by tomeu, thats why I can't upload anything i guess [19:36] alsroot, how about I e-mail it to you? [19:37] dipankar: ok, but it is something wrong w/ bugs.sl.o then, any logged on user can upload a patch [19:37] alsroot, ohk :( [19:40] alsroot, sent it to you [19:41] alsroot, manusheel, dfarning, i would like to head to bed now. I will build the packages and test them on my system tomorrow [19:41] * dipankar says goodnight and great day! [19:41] dipankar, sounds good see you tomorrow === neeraj_ is now known as neeraj [19:49] alsroot: around ? [19:49] kandarpk: yup [19:50] alsroot: how can I increase the font size of a gtk.Button ? [19:53] kandarpk: there is modify_font() in gtk.Widget class [19:53] alsroot: Ok. [19:53] i.e. button.modify_font(pango.FontDescription("Sans 10")) [19:54] kandarpk: but in general, it is not good idea to change font size for regular widgets like buttons [19:54] alsroot: thanks a lot. [19:55] alsroot: why shouldn't they be changed ? [19:57] kandarpk: it is common practice(and imho, good idea) to have all widgets of the same font, of course except special cases like games [19:58] alsroot: Ok. got it. [20:02] alsroot: it says global name 'pango' is not defined [20:03] kandarpk: yup, you need to "import" pango module [20:03] alsroot: yeah, but the font size isn't changing [20:06] kandarpk: not all for all properties like font, setting value can affect what you need (it is this particluar widget impl. details) [20:07] kandarpk: looks like for buttons, font can be changed only on style level [20:07] alsroot: ok. [20:10] kandarpk: e,g, you need to cnahge font not for button itself but for button.get_child() widget (which is standard gtk.Label) [20:11] alsroot: how can I do that ? [20:12] kandarpk: just button.get_child().modify_font(...) [20:13] alsroot: wow, that worked. [20:13] alsroot: thanks. [20:14] yw [20:18] alsroot, dfarning, manusheel sir: http://www.mediafire.com/imageview.php?quickkey=2mbavapx11vh92q&thumb=5 [20:18] uploaded some screenshots [20:19] gn. [20:20] kandarpk: Sure, Kandarp. [20:20] We'll have a look. === bernie_afk is now known as bernie