=== fenris is now known as Guest70212 === Guest70212 is now known as ejat === fenris is now known as Guest50405 === mmrazik is now known as mmrazik|otp === mmrazik is now known as mmrazik|otp [09:56] hey mmrazik|otp, I've a small question :) === mmrazik|otp is now known as mmrazik [09:56] didrocks: whats up?> [09:56] what was the fix from going from ~100 tests failing like https://jenkins.qa.ubuntu.com/job/ps-unity-autopilot-trunk/label=master,machine_name=dx-autopilot-intel/382/testReport/ [09:56] to ~30 [09:56] in the 383 run [09:57] didrocks: we are running the autopilot tests from Utah/script. We need to export DISPLAY etc there as it is not executed directly from the session [09:57] didrocks: it turned out that in such environment autopilot is unable to use compiz-config [09:57] and there were tests which are e.g. changing the HUD invcation key via compiz-config [09:57] mmrazik: hum, I'm afraid thta if it's not running from the session, you will have more test failing because of that [09:57] like you miss the real dbus session config [09:58] and other small env issues [09:58] didrocks: might be the case. I was briefly talking with thomi about it yesterday. He has an idea to run it from /etc/xdg/autostart [09:58] mmrazik: yeah, that would be way better to test on a real config [09:59] didrocks: but so far we seems to be fine with regard to environment variables [09:59] maybe that's why you don't have the migration of keys in compiz === mmrazik is now known as mmrazik|lunch [10:54] quick question: where does unity store the launcher items ? is that dconf and com.canonical.unity.launcher.favorites? [10:59] yep === _salem is now known as salem_ [11:05] thanks! I [11:06] my next question would be: is it somehow possilbe (e.g. via setting of the plugin load path or something) to run unity from the bzr build dir? i.e. (cd build ; ./bin/unity) ? it runs for me, but appears to be not picking up my changes in e.g. launcher [11:12] mvo, looks like http://unity.ubuntu.com/getinvolved/development/unity/ has some wrappers/details on how to do that [11:13] mvo, but unity is a compiz plugin, you might need to copy the .so in the .compiz dir or something [11:24] mvo, i suggest running the component you're interested in by itself (./launcher/launcher etc) [11:28] mhr3, hey [11:29] mhr3, https://bugzilla.gnome.org/show_bug.cgi?id=686059 [11:29] Gnome bug 686059 in general "run-dialog: Avoid double forking; it breaks "pkexec"" [Normal,Resolved: fixed] [11:29] mhr3, is unity double forking as well? [11:31] seb128, we're just calling glib, which doesn't use DO_NOT_REAP_CHILD [11:31] Mirv: I guess you did notice that the tests don't pass anymore on arm* making the build failing [11:32] * didrocks prays for ci having finally an arm build [11:32] mhr3, that's the fix for gnome-panel: http://git.gnome.org/browse/gnome-panel/commit/?id=76acc5b955b214420a32c827db433ff5ab136c6f [11:32] seb128, see the comment: [11:32] It still an incomplete fix for gnome-panel though, as you might have .desktop [11:32] files using "Exec=pkexec foo" and starting such an application via the menu [11:32] still fails. [11:33] mhr3, see the further comments :p [11:33] mhr3, or the dummy_child_watch hacks in the patch [11:34] can't say i like it really [11:34] it they don't want to reap, do it directly in glib [11:37] seb128, and iirc now if the parent process does something bad it can burn the child as well [11:38] mhr3, hum, k [11:38] mhr3, you should open a glib bug about it ;-) [11:39] i'm not really sure what's the correct behaviour, reaping is fine imo, pkexec is being stupid [11:40] but then again, i'm sure they have reason why they require non-init ppid [11:42] well, we need to address it one way or another, as you say I guess they have reason and will not change pkexec [11:42] so we either need to do the workaround GNOME did (they did the same in shell btw) or to get glib "fixed" [11:42] we can't just sit on "ok, users can't run those under unity" [11:44] seb128, if the issue was easy to fix it'd be fixed long time ago :) [11:44] afaict the thing panel/shell are doing aren't exactly safe [11:44] mhr3, which is why I pointed the workaround :p [11:44] didrocks: yes, that was noticed, although no solution yet. it's good indeed that those are now run for arm [11:44] mhr3, what are you concerned about? is that a theorical issue or a practical one? === mmrazik|lunch is now known as mmrazik [11:45] as i said the parent dieing might affect the child when it's not reaped [11:46] so for shell it's not really an issue, if shell dies you're screwed eitherway [11:46] but if apps lens dies, it's no biggie, you wouldn't like if that killed all the apps you started [11:50] Mirv: it's in the ppa, so in trunk [11:50] Mirv: it's not run for arm on jenkins :/ [11:51] mhr3, hum, right [11:52] seb128, then again, it's not like every signal was propagated, it might be just sigterm [11:53] still, doing `killall unity-applica...` and that killing all your apps isn't exactly nice [11:53] mhr3, not acceptable indded [11:54] seb128, i guess gnomies expect that people don't killall the panel or something :P [11:55] mhr3, hi, interesting i should remember that ;) since plank suffers from this problem too [11:57] seb128, i think talking to davidz will be best, seems he'd know about pkexec :) [11:57] mhr3, yeah === dandrader is now known as dandrader|afk === mmrazik is now known as mmrazik|otp === dandrader|afk is now known as dandrader === mmrazik|otp is now known as mmrazik [14:19] me4oslav, hi :) [14:20] so me and larsu we're just talking about system settings > printing. So, what we have now officially as a design spec is this by mpt: https://wiki.ubuntu.com/Printing [14:21] I expanded it a bit: https://picasaweb.google.com/100530892038948253747/SystemsSettingsPrinting [14:21] me4oslav, I really like the default/shared thing in the list box [14:22] I wonder how much room it would take away from the printer names, though [14:22] in your mockup, it takes 50% of the width [14:23] yeah, my changes include "Sharing" in the combobox and the "default" and "share" in the list box. And how much space it take is relevant to the number of printer the suer has [14:23] but generally that "default|share|printer" box is ~ 1/2 the size of the +- bar below [14:24] oh, I mean horizontal space [14:24] printer names can be quite long [14:24] I don't mind the header at all :) [14:25] mpt, I guess that's the reason you put "Set as Default" at the bottom? [14:25] well, the listbox vary can be longer if needed :) [14:26] true, and maybe that's not even that much of a problem, now that we have a pretty wide system settings window [14:26] didrocks, just go ahead and reject g-c-c-unity, I'll fix and upload [14:26] mterry: ok, thanks! [14:26] me4oslav, in general, I much prefer radio buttons over the check item on the right side [14:27] me4oslav, what do you mean by "sharing type"? [14:27] larsu - me too (and that's how the Bootloader design spec uses (the "header") [14:27] ah, right! [14:28] about the sharing - I litterally have no clue about sharing [14:28] if anyone cantell me how ways of sharing a printer I will update the design [14:28] I only know network printing sharing and that's it [14:29] it's generally just one binary decision: expose this printer to the network or not [14:30] so, nothing else, but network sharing? [14:30] perfect, that will make the design much easier [14:31] so, the user checks "shared" [14:31] than select to witch network to share it [14:32] (that will make the combobox jump from "Printer Status" to "Sharing") [14:32] I've never seen that anywhere, but it's an interesting idea [14:32] i.e. share this printer in my home network but not at work? [14:32] hi me4oslav [14:32] oh, hi mpt [14:33] larsu - so, a printer can be shared in two or more networks? [14:34] me4oslav, no, not right now. I just found the idea interesting :) [14:34] that would just mean that the radio buttons on my second sketch should become checkboxes and that'll be enough :) [14:34] right - but CUPS doesn't support that at all afaik [14:35] cups doesn't support multiple networks sharing? [14:35] no, a printer is either shared, or not [14:35] larsu, yes, I put "Set as Default" at the bottom because using radio buttons would eat valuable space, and changing the default is a rare thing [14:35] didrocks, back in NEW [14:35] mterry: will have a look soon. Thanks :) [14:36] larsu, or at least, something that usually isn't done more than once a month or so [14:37] I thought the same, but then again I changed it, because I have "Shared" there too and though - would look weird with just "Shared" [14:37] mpt, makes sense. It leads to the same weird situation that we have in the session menu though: I don't know what that check mark means :P [14:37] well, not exactly the same: the session menu has both the check mark and a radio button [14:38] larsu, true, that's a cost. [14:39] well, so we have one compromise or another [14:39] taking bit of space or having that checkmark [14:41] the question I think should be which one is better when it comes in terms of consistency [14:41] is the checkmark thing-y used anywhere else? [14:41] me4oslav, yes, in the session menu [14:42] right - we have that in the session menu and we have the radio in Bootloader design specs [14:43] another way to look at this is we have just "shared|printer" and we have "set as default" + checkbox [14:44] mpt - hmm, the checkmark overlaps the printer name on the right side? [14:45] me4oslav, yes, but only for the one that's the default at the moment [14:45] yeah, so we either eat space with the radio or overlap the default printer name, right? [14:48] I'm not sure I like that overlapping thing-y, I would prefer having a bit longer printing pane and eating bit of space [14:52] anyway, apart from default thing-y, mpt larsu - your thoughts on "shared"? [14:52] mterry: do you know if anything changed recently? I see when bzr bd on unity dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1) [14:53] me4oslav, I don't know. On the one hand, it seems to me that turning sharing on/off would be even less common than changing the default. On the other hand, seeing whether sharing *is* on may be valuable for troubleshooting. [14:53] I guess it's because we use the 6.12 tarball from the last SRU [14:53] me4oslav, I think it should only be the checkbox for now. The same horizontal-space argument applies: I like it in the list box because it gives a good overview over which printers are shared, but it eats horizontal space [14:53] I wonder how the merger is working [14:54] I guess it's pushing different tarballs and not fetching latest one :) [14:54] mpt, do you think sharing on an per-printer basis makes sense even? [14:54] didrocks, yeah I think that's harmless. I've seen it too [14:55] yep [15:03] larsu, is that not the case currently? [15:03] mpt, right now you can do both: turn on sharing globally or per-printer [15:03] I don't know the exact semantics right now [15:04] like, what happens when no printer is marked as "shared" but the global sharing switch is turned on [15:04] hmm, that's a challenge [15:04] I think we should either do one or the other, but not both === om26er_ is now known as om26er [15:06] larsu, most of the time -- not for hobbyists, but for vast corporate installs -- a printer listed will be one that's shared with you, and you don't have the ability to choose whether it's shared or not, right? [15:06] mpt, right. [15:06] wait a sec guys - how does one turn sharing globally? [15:08] me4oslav, in system-config-printer (the window that starts right now when you click "Printers" in system settings): Server (menu item) / Settings / "Publish shared printers connected to this system" [15:09] right-y and do we have any of that stuff in the new design specs? [15:09] nope [15:11] right and do we need it? What I have in my "sharing pane" is just where to share a printer (in which network) [15:13] I don't know -- I just asked mpt about it :) [15:14] same story, if we need it, than we have a challenge [15:14] but I have no clue if we actually need it === dandrader is now known as dandrader|lunch === mmrazik is now known as mmrazik|otp === mmrazik|otp is now known as mmrazik === dandrader|lunch is now known as dandrader === francisco is now known as Guest78941 [17:35] mterry: g-c-c-u is now accepted in proposed (in universe) [17:35] not sure if we really need a MIR, as it's code already in the distro, I think we can promote it directly [17:36] didrocks, sure [17:37] mterry: I'm waiting it to migrate to the release pocket (probably tomorrow), not sure what bad things can happen if I promote it if it's copied meanwhile in the release pocket :) [17:37] didrocks, it doesn't conflict with any of the files in g-c-c, but with both installed at same time, you'll have two appearance capplets [17:38] didrocks, so it would be nice to coordinate the seeding of this with an update of g-c-c [17:38] mterry: yeah, I read the code and how you renamed it :) [17:38] mterry: agreed, let's do that tomorrow? [17:38] sure [17:38] didrocks, is the 3.6 update ready? [17:38] great [17:38] didrocks, mterry: not yet but I'm aiming at having it this week [17:38] mterry: hum, I'm not sure, seb128 should know [17:38] just keep it in universe until then [17:39] seb128, k [17:39] so let's do with that update [18:47] mterry: updated this https://code.launchpad.net/~3v1n0/bamf/remove-gtk2/+merge/134537 ;) [18:48] Trevinho, nice, looking === dandrader is now known as dandrader|afk [19:14] mterry: thanks === dandrader|afk is now known as dandrader === salem_ is now known as _salem [22:20] thomi, whenever your around ping me if you would :-) [22:21] balloons: I'm around now :) [22:21] sweet :-) [22:21] So I'm going to try and put together some resources towards using autopilot to automate some of our manual testcases, and then ubiquity [22:22] cool :) [22:22] I've been messing around with autopilot and have a couple questions I guess I can ask you now [22:22] fire at will :) [22:23] ok, so I tried to put together a non-unity testcase and get it to run [22:24] In digging around, I had success instantiating UnityTestCase -- but I'm curious if there's something better I can use [22:26] let me give you a little snippet [22:26] this was the simplest example I could put together: http://paste.ubuntu.com/1371255/ [22:28] one second... [22:30] no worries.. [22:30] balloons: OK, so if you're trying to create a non-unity test case, you should use autopilot.testcase.AutopilotTestCase [22:30] it contains 'self.keyboard' and 'self.mouse' and none of the Unity-specific stuff [22:31] thomi, ok. I figured there was a generic one.. I didn't see it :-) [22:31] so my first goal was to show how to use the keyboard and mouse commands to automate stuff.. then move into introspection [22:31] yeah - I need to get the docs re-built and uploaded. [22:31] yeah, sounds good [22:32] excellent. So have you spoken with the xpresser folks post-UDS yet? [22:32] or should I just push some patches to X11.py? [22:32] :-p [22:33] balloons: what patches? The conclusion was that we should integrate the image matching parts of xpresser into autopilot.... but so far it's not on anyone's immeadiate TODO list... [22:34] thomi, I could add the stuff I want / need.. I already wrote a proof of concept python app to do the X11 stuff I wanted [22:35] balloons: I'm not aware that anything is missing - what specifically do you need? [22:35] it might already be there :) [22:35] basically performing checksums, reading pixels, etc.. that's the biggest missing piece from autopilot if I'm remembering correctly [22:35] ahhh [22:35] right, sounds like we need to integrate xpresser sooner rather than later [22:35] yea, if you can't introspect at all, your stuff screenreading [22:36] I assumed that for most of the stuff you were doing you'd be able to use the Gtk or Qt supporet [22:36] well, I mean, I think a couple small commits could add everything.. if your open to adding it [22:36] *support [22:36] thomi, yes I think most everything can be introspected, but options are good [22:36] I'm happy to add things, as long as we don't end up re-implementing xpresser - I'd rather integrate that than write it ourselves [22:37] (less code to maintain etc) [22:38] yes yes.. ok, so while I have you, let's talk introspection a bit.. I'm interested in gtk apps to start [22:38] do you have any examples of this -- what's the best place to start digging? [22:41] hmmmm, some documentation would be good huh :) [22:42] alesage: do you have your gedit test code somewhere pubvlic? [22:42] balloons: alesage is the Gtk support person - if there's Gtk-specific issues, he's probably the best person to talk to. [22:42] thomi hi :) let me see . . . hi balloons [22:42] hi alesage :-) [22:45] balloons let me test this before sending it on to you [22:45] alesage, sure thing.. I appreciate it [22:46] thomi, duh! found the base class finally (class AutopilotTestCase(VideoCapturedTestCase, KeybindingsHelper):) [22:46] not sure how I missed that . . . [22:46] balloons: probably because the documentation needs to be much better :) [22:48] it is very unity centric.. confusing to an outsider.. but we'll change that [22:53] ohh.. are there windowing functions.. do things like assert the focused window, move or resize a window, activate a window [22:53] nvm nvm.. found it found it [22:55] balloons, here's a branch with a pretty minimal test lp:~allanlesage/+junk/UDS_AP_session/ [22:56] balloons: yes, if you see anything that's unity-specific (even documentation), please file a bug against autopilot [23:19] bschaefer: hey there :) I dont how to draw the sub_LauncherIcons! please help. [23:19] cariveri, what are you stuck on? [23:20] well, did new SimpleLauncherIcon() (it will be a list of those later) and setEmblem(iconpath). But I dont know how to draw it. [23:22] Id like to draw it just besides the this LauncherIcon. [23:23] hmm well im not 100% how they are being drawn atm... [23:24] dig through LauncherController, Launcher, AbstractLauncherIcon, and LauncherIcon [23:24] it has to get the icon texture somehow [23:25] it looks like they get drawn to the Launcher in Launcher.cpp , DrawContent [23:28] also look under unity-shared/IconRenderer.cpp [23:28] as you'll use you window you make to draw the icons onto (I would think...) [23:36] I did not find yet the LauncherIcon that gets drawed in the Launcher::DrawContent . [23:38] cariveri, im pretty sure its1928... [23:38] but that function is large and I haven't ever really looked at it [23:38] start commenting things out and playing around with it :) [23:43] Oh my god. why could things be as easy as Launcher->Draw(){ ... Rander(_icon); +Render(_icon->subIcons); }; [23:44] well... [23:44] that im not sure about :(... [23:55] cariveri: because the launcher is "special" :P [23:55] lol. trashed unity. will need to reboot it. [23:56] cariveri, that is the fun part of messing with unity :)