[03:19] jaytaoko, hey === fenris is now known as Guest55400 === Guest55400 is now known as ejat === FloatingGoat is now known as GoatBlops [08:55] tsdgeos: morning! [08:55] Kaleo: morning [08:56] tsdgeos: 2 MRs for you :) [08:56] Kaleo: yesterdays? you've comments there already [08:56] tsdgeos: cool [08:57] tsdgeos: are you ok today? :) [08:58] Kaleo: yep [08:59] tsdgeos: replied to boh [08:59] tsdgeos: replied to both [09:00] tsdgeos: any luck with the spread? [09:02] not really [09:02] i can see it deadlocking in the dbus level [09:02] not sure why yet [09:02] tsdgeos: oki [09:03] tsdgeos: if we get that done then the last issue is some RTL issues [09:03] like? [09:03] tsdgeos: for the gestures I am a bit blocked since geis is broken in oneiric [09:03] tsdgeos: but I will 'borrow' oSoMoN's laptop :) [09:03] tsdgeos: - RTL when launcher's hide mode is set to 0 is broken [09:03] tsdgeos: I put it in the sketchpad [09:04] there is no test for that [09:04] hence i did not fix it :D [09:05] tsdgeos: lol :) [09:05] tsdgeos: nice thought [09:05] greyback, wake up before call! :) [09:05] mhr3: I've been awake for hours! [09:06] tsdgeos: we especially care because the hide mode is going to be set by default to 0 in precise [09:06] Kaleo: https://code.launchpad.net/~fboucault/unity-2d/fix_dash_width_always_visible_launcher/+merge/91968 <-- new comment [09:07] tsdgeos: you mean in the same qml file? [09:07] Kaleo: yep [09:07] changing them will probably even fix RTL for you [09:07] tsdgeos: yeah, I know [09:07] tsdgeos: but I wanted to focus on one issue at a time [09:07] greyback, oh, so you just came back from party? ;) [09:07] Kaleo: ok [09:08] tsdgeos: and you are the expert on RTL now :) [09:08] Kaleo: can approve it then if you prefer [09:08] tsdgeos: yes [09:08] tsdgeos: one fix at a time :) [09:08] Kaleo: well, to me the fix would be "don't use wrong availableGeometry" ;-) [09:09] but fair enough [09:09] tsdgeos: I think like a user [09:09] tsdgeos: (trying to anyway) [09:09] mhr3: cheeky monkey [09:09] tsdgeos: I'll leave the RTL to you if you don't mind :) [09:09] sure [09:10] tsdgeos: also I think updateShellPosition has a bug regarding RTL [09:10] tsdgeos: meaning, it also plays a part [09:10] Kaleo: why? [09:10] tsdgeos: because in my tests the position of the shell in RTL was incorrect [09:10] JohnLea: ping [09:11] Kaleo: what you mean by "incorrect"? [09:11] tsdgeos: the launcher was not on the far right [09:11] tsdgeos: but shifted on the left by its size [09:11] tsdgeos: that's actually what the bug I wrote is [09:11] Kaleo: that's the x: binding in Shell.qml [09:11] tsdgeos: "broken" [09:11] for the launcherloader [09:11] tsdgeos: but you'll see :) [09:12] tsdgeos: finally, I also made the list of files that need reviewing [09:12] tsdgeos: I have a 3000 lines diff to review [09:12] tsdgeos: that is the biggest chunk of work after these fixes [09:12] tsdgeos: I'll get that done this morning [09:12] tsdgeos: so that in the afternoon we are pretty stable [09:12] Kaleo: great [09:13] tsdgeos: then it's just the last polish.. [09:13] tsdgeos: you don't have a multitouch device right? (macbook, etc.) [09:14] Kaleo: i do have a dell XPS touchpad, supports 2 fingers i think [09:14] no idea how to properly tell [09:14] tsdgeos: not enough for me [09:14] tsdgeos: the gestures I'll reimplement are 3 and 4 fingers [09:15] tsdgeos: I'll get somebody to review [09:28] Kaleo: it is a deadlock for sure see http://paste.kde.org/~tsdgeos/205004/ [09:29] Kaleo: they're both waiting on eachother dbus interfaces to be created [09:29] tsdgeos: oh nasties [09:30] to be honest don't know an easy way to fix that [09:30] other than what i did yesterday [09:30] of not instantiating the dashclient in the spread since we don't really need it [09:30] and thus the deadlock is gone [09:35] Kaleo: ↑ any other idea? [09:36] * tsdgeos has one, tries... [09:37] tsdgeos: I'm trying to think [09:38] * tsdgeos 's idea fails [09:39] of course one solution is moving stuff to a thread [09:39] but that's going to be much more painful than i'd like [09:41] tsdgeos: so, 2 questions [09:41] tsdgeos: why do we block when waiting for the service to come up? [09:41] tsdgeos: why did not we have the same issue before (in trunk)? [09:41] Kaleo: we don't, Qt does [09:42] Kaleo: because in trunk there is no SpreadMonitor (that is the other part of the lock) === dyams is now known as dyams|lunch [09:51] tsdgeos: I'm getting there (thinking about it) [09:54] nerochiaro: you added in r790 two FIXMEs to Launcher.qml and LauncherList.qml do you remember what you meant with them? http://bazaar.launchpad.net/~unity-2d-team/unity-2d/unity-2d-shell/revision/790 [09:55] tsdgeos: lookig [10:00] tsdgeos: ok, I got it [10:01] Kaleo: nice [10:01] what's your suggestion? [10:01] tsdgeos: from my thinking, we register the spread dbus service too early [10:01] tsdgeos: we should do that just before starting the main loop [10:02] tsdgeos: once we are done with everything else (especially loading the QML) [10:02] tsdgeos: would that work? [10:02] might work [10:03] delaying one of them [10:03] to make sure the other is loaded [10:03] can try [10:03] tsdgeos: it's more like, we don't want to register our dbus service if we are not really ready to answer requests [10:03] tsdgeos: hence registering our dbus service should be done as the last possible thing [10:03] tsdgeos: before starting the Ãmain loop [10:04] tsdgeos: if that makes sense [10:04] yeah [10:04] makes sense [10:04] not sure's going to help [10:04] but let's give it a try :) [10:04] i mean should help in theory [10:04] tsdgeos: let's make it practice :) [10:04] i'm on it [10:04] tsdgeos: my looking also uncovered the fact that we are doing IPC with oneself [10:05] tsdgeos: ie. DashClient is instantiated by the shell and connects to the .. shell [10:05] i removed all the places one time [10:05] not sure we added some more [10:05] Kaleo: sure, but we don't use the dashclient ipc calls anywhere (or at some time we didn't) [10:05] tsdgeos: yep [10:05] tsdgeos: that's good :) [10:06] tsdgeos: I guess to be even better we should only connect to the process if it's absolutely required, ie. if one method is called or one property referenced [10:06] tsdgeos: but anyway [10:06] tsdgeos: one thing at a time [10:07] tsdgeos: i think they are all obsolete. the webfavs work and the shortcuts work fine, so i think they can just be removed [10:08] tsdgeos: the FIXMEs i mean [10:08] oki [10:09] Kaleo: seems to work, let me try more times [10:14] tsdgeos: great! [10:18] Kaleo: arg, just realized your strutmanager fix is wrong :-/ [10:18] unity-2d-shell: [WARNING] QDeclarativeExpression: Expression "(function $width() { return declarativeView.screen.availableGeometry.width + (strutManager.enabled ? strutManager.width : 0) })" depends on non-NOTIFYable properties: [10:18] unity-2d-shell: [WARNING] StrutManager::width [10:18] well not wrong [10:18] but WARNING- [10:18] y [10:18] tsdgeos: yeah, I know [10:18] tsdgeos: not related to the fix [10:18] tsdgeos: it's related to StrutManager being poor [10:18] tsdgeos: it basically handles badly dynamic changes [10:18] tsdgeos: it lacks a few changed property signals [10:19] yep [10:19] tsdgeos: and it will only work if the properties are set in a certain order [10:20] we should add a FIXME :D [10:23] Kaleo: about the dbus "deadlock" i have a fix, it works UNLESS you start both unity-2d-shell and unity-2d-launcher at the same time, then the problem still happens sometimes :-/ [10:23] tsdgeos: unity-2d-launcher? [10:23] Kaleo: spread sorry [10:23] if you start shell and spread at the same time, it sometimes still locks [10:23] tsdgeos: the exact same deadlock as before? do you have traces? [10:24] not exact, but similar, let me paste them [10:24] tsdgeos: and if I could see your fix :) [10:25] Kaleo: basically it's what you said [10:25] Kaleo: so the new "lock" is here http://paste.kde.org/~tsdgeos/205034/ both QDBusServiceWatcher see eachother and bam! [10:25] Kaleo: the diff is http://paste.kde.org/~tsdgeos/205040/ [10:26] tsdgeos: cheers [10:30] tsdgeos: ah ah [10:30] tsdgeos: the issue is very different now [10:30] tsdgeos: it's quite nice [10:30] well [10:30] different, but similar [10:30] in which we deadlock on dbus :D [10:31] sure, you have to be "unlucky" now [10:31] in that both services are registerer at the same time [10:31] tsdgeos: btw instatating DashDBus should be done much later too [10:31] Kaleo: the instantiation by itself does nothing [10:32] tsdgeos: I know [10:32] so? [10:32] tsdgeos: but there is no reason to have the instantiation separated away from the connect [10:32] tsdgeos: it's more readable to have them together [10:32] reason is minial diff :D [10:32] tsdgeos: the diff is small enough for me :) [10:33] but that's a technicallity [10:33] tsdgeos: I'm still thinking about the solution to that lock btw :) [10:33] won't fix the problem [10:33] tsdgeos: absolutelty [10:33] there is something fishy [10:35] tsdgeos: if you are out of ideas, I have a couple of things for you while I think about it [10:35] tsdgeos: http://pastebin.com/eMaLs5rH [10:35] tsdgeos: if you could verify these things are done [10:36] tsdgeos: to be able to test you can use the patch you proposed yesterday [10:36] tsdgeos: that avoids the deadlock [10:37] Kaleo: yeah, just spoke with the QtDBus maintainer and his answer is: "there are two solutions possible then: 1) threads 2) fix QtDBus so it makes asynchronous calls for getting the introspection" :/ [10:38] * tsdgeos is getting cold, turn on the heater [10:38] tsdgeos: tiago you mean? [10:39] Kaleo: yep (thiago actually) [10:39] tsdgeos: sorry :) [10:39] tsdgeos: ok [10:39] tsdgeos: it does indeed sound like a generic issues [10:39] tsdgeos: other qt programs may have [10:39] -s [10:40] tsdgeos: can we do the following: [10:40] tsdgeos: 1) combine the patch from yesterday where we don't have DashClient in the QML plugin with the patch from today (delaying the registration is sane) [10:41] tsdgeos: 2) add a WARNING/FIXME explaining the situation with potentially a link to some Qt bug (if any) [10:41] tsdgeos: unless of course there is a trivial way to thread that QDBusInterface creation business [10:43] i don't think there is [10:44] tsdgeos: ok [10:44] Kaleo: sure we can do that, where would you write the WARNING, can't think of "the place" it belongs [10:44] tsdgeos: hmmm, in shell.cpp next to instantiating DashClient [10:44] tsdgeos: that way people who wonder why it's not in the plugin will get it [10:44] Kaleo: ok [10:45] let's go with that for the moment then [10:46] tsdgeos: I'd like to commit these 2 things: http://pastebin.com/bq4tmuCv [10:46] tsdgeos: can I? [10:46] hi, when I try building unity I get [10:46] CMake Error at /usr/share/cmake-2.8/Modules/FindCompiz.cmake:58 (string): [10:46] string sub-command REGEX, mode REPLACE needs at least 6 arguments total to [10:46] command. [10:46] Call Stack (most recent call first): [10:46] plugins/unityshell/CMakeLists.txt:1 (find_package) [10:46] anyone knows what I'm doing wrong? [10:47] Kaleo: yes, approved [10:48] tsdgeos: cheers === dyams|lunch is now known as dyams [10:56] tsdgeos: https://code.launchpad.net/~fboucault/unity-2d/shell_dead_code/+merge/92007 [10:59] Kaleo: that was inherited from tv? [11:03] tsdgeos: hmmm, I don't know, don't think so [11:04] Kaleo: ok, anyway, yeah the call is broken [11:04] and it works [11:04] thus we don't need it :D [11:05] tsdgeos: :) [11:05] tsdgeos: and that method does not exist :) [11:05] right [11:05] yeah that's it :D [11:11] Kaleo: https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_dashclient_to_shell/+merge/92011 [11:11] tsdgeos: gerat! [11:13] Kaleo: the issued you mentioned in the pastebin can no longer reproduced here once i have that patch [11:13] tsdgeos: works great, approved! [11:14] tsdgeos: all of them? :) [11:14] yeah [11:14] tsdgeos: great! [11:14] though i found a new problem [11:14] ahah [11:14] i can have the dash showing and the launcher hidden when the spread comes into play [11:14] don't have the proper combination to reproduce yet [11:17] arrgg, can't repro it anymore [11:17] tsdgeos: erk [11:17] ahah [11:17] got it [11:18] Super+S, Super, Esc [11:20] Kaleo: i'm guessing we should make the "Super" in ↑ this sequence do nothing? [11:20] tsdgeos: inhibit super when spread is shown [11:20] tsdgeos: indeed [11:34] Kaleo: https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_ignore_super_on_spread/+merge/92013 read my comment [11:41] tsdgeos: reading === _salem is now known as salem_ [11:47] Kaleo: also got https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_rtl_fixed_launcher/+merge/92015 [11:47] tsdgeos: nice [11:47] tsdgeos: I guess you saw all the nice items I added to the sketchpad [11:48] Kaleo: yep, take them in order? [11:49] tsdgeos: yep [12:09] tsdgeos: can we mumble that one? [12:10] Kaleo: sure [12:11] tsdgeos: darn, mike borked [12:11] I'll reboot [12:11] :-/ [12:11] oki [12:11] tsdgeos: good news is that I finished reviewing [12:12] tsdgeos: all the issues are now listed [12:12] great [12:12] tsdgeos: once this is done, we are .. done [12:12] tsdgeos: actually, I'm going to go to the office [12:12] tsdgeos: please move on to other items [12:12] Kaleo: ok [12:13] tsdgeos: we can discuss the strutmanager later [12:13] sure [12:13] tsdgeos: thanks [12:32] Hm.. is the new default for the launcher to never hide? [12:34] yes === MacSlow is now known as MacSlow|lunch [13:20] can anyone help me with building unity? [13:21] sbte, hi, http://askubuntu.com/questions/28470/how-do-i-build-unity-from-source/28472#28472 [13:21] seb128, I did all that but get CMake Error at /usr/share/cmake-2.8/Modules/FindCompiz.cmake:58 (string): [13:22] string sub-command REGEX, mode REPLACE needs at least 6 arguments total to [13:22] command. [13:22] Call Stack (most recent call first): [13:22] plugins/unity-mt-grab-handles/CMakeLists.txt:1 (find_package) [13:22] I also enabled the staging ppa [13:22] hum, dunno about that one ;-) [13:50] mhall119: hey, are you around? [13:50] didrocks: I sure am [13:50] mhall119: so, I have some time to help you on the singlet and quickly integration [13:51] \o/ [13:51] mhall119: did you get any help already on that? I saw you blog post about it [13:51] didrocks: not with quickly, kenvandine helped me get singlet packaged and ready for Universe though [13:51] is it in? [13:51] source package was uploaded by ken [13:52] ok, let me have a look if it has been NEWed [13:52] doesn't appear that the binary packages have made it in yet though [13:54] ok, looking [13:55] ok, the package name is unity-singlet [13:55] the source package is [13:56] the binary is python-unity-singlet [13:59] mhall119: hum, you don't depend on the unity gir file? [14:00] the priority is extra and not optional [14:01] the compat mode is 6, this one is quite depreacated and not advised (should be either 5 or 7, I would suggest 7 as you build-dep on debhelper 7) [14:01] tsdgeos: I must be blind; I cannot figure where the env is set to RTL in launcher/autohide_show_tests_rtl.rb [14:01] Kaleo: there is not env var [14:01] didrocks: what is the unity gir package name? [14:02] Kaleo: -reverse switch to the command line [14:02] mhall119: gir1.2-unity-5.0 [14:03] didrocks: what's the difference between extra and optional? [14:03] tsdgeos: oh, ok [14:03] I honestly don't know what the priority field is used for [14:03] tsdgeos: how do you do it for your tests? [14:03] Kaleo: same, with -reverse [14:03] tsdgeos: amazing :) [14:04] mhall119: it's bumping the build priority (not very important on launchpad but let's try to have packaging following the debian policy) [14:04] Kaleo: any Qt app supports -reverse, it's very handy [14:04] also, some nitpicking: there are 2 spaces in the package description after each . [14:04] and debian/copyright: you need for the new format to copy the licence header [14:04] instead of refering to "you can find the licence…" [14:05] apart from that, the package looks fine [14:05] mhall119: I'm rejecting the current package for now === MacSlow|lunch is now known as MacSlow [14:08] didrocks: where do I get the 'license header' you want in the copyright file? [14:09] Kaleo: about "AbstractDBusServiceMonitor should not have an 'enabled' property; instead a 'serviceState' property should be defined", enabled in that class does nto represent the serviceState, you aware of that? [14:10] didrocks: http://paste.ubuntu.com/833922/ does that look right to you? [14:10] mhall119: unity-lens-music has it if you need [14:10] * didrocks looks [14:11] mhall119: looks good to me [14:11] mhall119: oh wait [14:11] remove [14:11] "You should have received…" stenza [14:11] as it's not the case for a binary package [14:12] ok [14:12] I just copied from http://dep.debian.net/deps/dep5/#examples [14:13] hum, that should be reviewed, as this stenza is clearly unecessary and wrong :) (and we remove it from most of our packages) [14:13] mhall119: as long as being nitpicky, you didn't remove the 2 spaces between sentences in the description [14:13] (at least you did it twice) [14:14] I still hold to old-school typing standards === dyams is now known as dyams|eod [14:14] and I use the Oxford comma [14:15] hum not really relevant to a French guy TBH :) [14:15] but if it's syntaxically correct, ok :) [14:15] it's the way I was taught to type, on an actual type-writer [14:16] it's ingrained in my psyche now [14:16] didrocks: ok, all your changes are made in my packaging branch [14:17] lp:~mhall119/singlet/precise-package [14:17] mhall119: sweet, looking :) [14:20] tsdgeos: yeah I am well aware of that [14:20] tsdgeos: it's really 2 separate tasks [14:21] Kaleo: so you want it to always be enabled and then to inform of the service state? [14:21] tsdgeos: but to remove the enabled property you will have to think of a proper way [14:21] tsdgeos: that's right [14:21] tsdgeos: unless you see a real use for having it not enabled [14:21] tsdgeos: in which case I don't mind keeping it [14:21] Kaleo: not really, but it's not me that did that class :D [14:21] tsdgeos: :) [14:22] tsdgeos: I know [14:22] tsdgeos: I am slapping that person right now :) [14:22] i mean, the amount of thought i've put there is not the same someone else did so might have more insight [14:22] mhall119: waiting for the scheduler to make the source package appears :) [14:24] tsdgeos: yep, checking with nerochiaro now [14:25] Kaleo: can i cleanup the "DONE" tasks from the sketchpad? [14:26] mhall119: ok, I sponsored and accepted in universe. Will accept the binary once built. [14:26] tsdgeos: yep [14:26] mhall119: no, time for getting a look at the quickly side? [14:26] now* [14:29] didrocks: yes please [14:30] tsdgeos: it's getting smaller :) [14:30] mhall119: ok, I think we should decide first if we generate the .lens (and .scope) file or use static files [14:30] tsdgeos: https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_rtl_fixed_launcher/+merge/92015 approve [14:30] d [14:30] mhall119: I have no strong opinion at all, I like the django approach [14:30] tsdgeos: I'm concerned about https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_ignore_super_on_spread/+merge/92013 [14:31] tsdgeos: I am looking for having it done only in QML [14:31] Kaleo: everything? [14:31] mhall119: what's your pick? (knowing that we won't have "quickly run" as there is a need to the service to be installed on the system to be testable, unfortunatly) [14:32] mhall119: singlet built and binNEWed btw :) [14:32] Kaleo: doing it in QML seems a too big of a chance to do it "at this stage" for not "real gain" i think [14:34] didrocks: thanks! [14:34] tsdgeos: you think too late for now? [14:34] I like generating .lens and .service files, since it means the user only edits the lens source [14:34] yw :) [14:34] tsdgeos: I'll give a bit more thought then [14:34] mhall119: ok, and we really on one source file by default? [14:35] rely* [14:35] only need one [14:35] ok, let's have a look then :) [14:35] but we should be able to handle having more than one [14:35] do you have a binary file snippet? (the one you removed from singlet) [14:36] and do you have quickly installed? :) [14:36] no, I never ended up making a binary for singlet [14:36] Kaleo: nerochiaro: so kill the setEnabled in abstractdbusservicemonitor? [14:36] yes I have quickly [14:36] tsdgeos: yep [14:36] mhall119: you had an example lens, isn't it? (we should base on that) [14:36] tsdgeos: nerochiaro just finished thiking about it [14:37] tsdgeos: and says: 'be careful' ): [14:37] :) [14:37] oki [14:37] and some helper scripts IIRC [14:37] didrocks: I had a test lens [14:37] and a couple that I wrote separate from, but using, singlet [14:37] ok, let's start from one [14:38] and try to turn that into a boiler plate [14:38] the helper scripts are what generate the .lens and .service files, and also what run the lens daemon [14:38] yeah, and we will move them as quickly commands [14:38] ok, test/singlescope should do then [14:39] lp:singlet ? [14:39] yes [14:39] how do you want to tackle it? Do you want to do it and me giving guidance, or do you want that I handle it? :) [14:40] well first I have a question [14:40] tsdgeos: https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_inputshaperectangle_improvements/+merge/92031 approved [14:40] developers aren't going to want to make a "singlet project" [14:41] they're going to want to make a "single scope lens" or a "generic lens" or a "scope" [14:41] all of which base off different Singlet classes [14:41] indeeed [14:41] indeed* [14:41] those will be 3 different Quickly templates [14:41] so would those all be separate templates, or can we do it all in one template? [14:41] ok [14:41] then, we can import commands between templates [14:41] so if we make the commands generic enough, no need for duplication [14:42] then I think if you can make one for the SingleScopeLens (test/singlescope), I can use that to make the other 2 [14:42] tsdgeos: https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_inputshapemask_improvements/+merge/92035 approved [14:42] mhall119: makes totally sense [14:42] mhall119: ok, I'll have a look at that and make some tests how to tackle this in an intelligent way [14:42] didrocks: and will these templates be part of the quickly package, or can we add new templates by installing independent packages? [14:42] tsdgeos: https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_windowsintersectmonitor_improvements/+merge/92037 approved [14:43] mhall119: can be independant or part of trunk, as you wish, but it will be a separate binary package anyway [14:43] all what is needed is that files are installed in a particular folder :) [14:43] ok, might be easier to keep it separate, that way I can update it without bothering you [14:43] sure, let's do that then :) [14:43] didrocks: the next question [14:44] davidcalle had to do some special packaging to put things in /opt according to the ARB's guidelines [14:44] yeah, "quickly package" will do that [14:44] will quickly's packaging files do that automatically? [14:44] cool [14:44] that's already what I'm doing if you quickly "submitubuntu" [14:45] I added the support to a bunch of files for that [14:45] not sure how to handle a service with this though, but let's see :) [14:45] and that will also let us put the .lens and .service files into /usr? [14:46] well, the support didn't for automagically packaging, that's one of the thing I have to look at [14:46] (to do it beautifully or more like a hack for now) [14:46] ok [14:47] we only target the ARB directories for the lenses/scopes, right? [14:47] for quickly, I would say so [14:47] ok :) [14:48] anybody who needs theirs into main or universe will probably be able to do that on their own [14:48] yeah, let's see how it goes :) [14:48] cool, so just ping me if you have questions about how singlet works [14:48] the functions for generating the files are in utils.py [14:49] most of which you can ignore and I will remove later [14:49] I'll have a look :) [14:49] the install and packaging functions will not be needed [14:50] Singlet also generates a setup.py, I'm not sure if that's something that quickly would be better at though [14:50] indeed [14:50] not sure about the setup.py, depends on what will be needed I would say [14:50] not much, currently [14:51] I just generated the bare minimum needed to run python-mkdebian [14:51] maybe I can tweak the opt/ stuff here [14:51] it will be much cleaner than in debian/rules [14:52] well you know what they say [14:52] debian/rules are made to be broken [14:52] I try not to follow this principle though :) [14:52] we all *try*, but it happens anyway [14:53] thanks for your help on this didrocks [14:53] ping me if you have any questions about what singlet is doing [14:54] mhall119: no worry! I'll start on that in half an hour hopefully :) [14:54] which is likely, since it was a one-weekend project [14:56] Kaleo: nerochiaro: the abstractdbusmonitor changes https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_abstractdbusmonitor_improvements/+merge/92043 [14:56] tsdgeos: great [15:00] garg [15:00] tsdgeos: looks pretty good [15:00] against the wrong branch :D [15:00] tsdgeos: it looks that you did not take the comment into account: [15:00] tsdgeos: /* We don't do this in the constructor because if the service is already up we emit the serviceStateChanged() signal during the constructor and we lose it since we can't have any slot connected to it already */ [15:00] tsdgeos: meaning that you need to adapt SpreadMonitor [15:01] Kaleo: sure i did, did you read my other comment? [15:01] tsdgeos: let me relook tehn [15:01] tsdgeos: are you resubmitting? [15:01] tsdgeos: link? :) [15:01] Kaleo: https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_abstractdbusmonitor_improvements/+merge/92044 [15:01] tsdgeos: thanks [15:02] "Tested with the Spread already up and the QueuedConnection does the trick nicely" [15:02] hmmm [15:03] Kaleo: not that [15:03] tsdgeos: reading [15:03] Kaleo: this // Use a Qt::QueuedConnection to give people a chance to attach to our serviceStateChanged signal that will be emmited from createInterface [15:04] well yeah [15:04] thery're mostly equivalent :D [15:04] tsdgeos: thinking [15:07] tsdgeos: I'm going to be a pain but reading it it looks like serviceState is the wrong name [15:07] tsdgeos: for a bool [15:07] totally agreed [15:07] it's you that suggested the name ;-) [15:08] tsdgeos: 'available' maybe [15:08] tsdgeos: well, yeah, I did not think just went on from the signal name [15:08] Kaleo: serviceAvailable ? [15:09] tsdgeos: sure [15:12] Kaleo: pushed [15:13] tsdgeos: ok, after quick debate here [15:13] tsdgeos: the QueuedConnection is deemed as being a hack [15:13] tsdgeos: fairly unpredictable [15:13] it's not unpredictable at all [15:13] i'm deeming you as not trusting Qt [15:14] tsdgeos: better to call serviceAvailable() in the SpreadMonitor's constructor [15:14] tsdgeos: so, what I mean by unpredictable is that [15:15] tsdgeos: we have no guarantee the clients (SpreadMonitor) is going to connect to serviceAvailableChanged before it's fired [15:15] you weren't before either [15:15] tsdgeos: correct [15:15] you had to connect before calling setEnabled [15:15] tsdgeos: we were relying on the order of evalution of QML [15:15] tsdgeos: it was _bad_ [15:16] tsdgeos: right :) [15:16] now you have to connect before returning to the event loop [15:16] but ok, i'll call serviceAvailable if you prefer that [15:18] but ok, i'll call serviceAvailable if you prefer that [15:18] wopps [15:18] :D [15:18] tsdgeos: yes, I would prefer the more obvious way [15:19] seb128: did you see RainCTs nautilus patch for zeitgeist integration? [15:19] kamstrup, yes, it's on my todolist but low on it, I'm not sure I like adding a non trivial patch which didn't get a least discussed upstream though [15:20] kamstrup, RainCT: could you get an upstream bug and suggest it as a build time option? [15:20] sounds reasonable... [15:20] cc mhr3 ^^ [15:21] Kaleo: pushed [15:21] tsdgeos: sweet, I'll review it now then we can mumble the strutmanager [15:21] kamstrup, btw I got the gtk2 patch in, let me know if firefox and tb behave if you test those [15:22] seb128, i think there was some talk about it, and nautilus was like no way [15:22] so... :/ [15:22] seb128: I tested both. FF works now, but TB mysteriously does not. I asked RainCT to look into it [15:22] kamstrup, ok [15:23] mhr3, RainCT, kamstrup: if upstream say "no way" that's fine but I want a bugzilla bug discussion for the record and the patch pointing to it [15:23] tsdgeos: it looks great [15:23] kamstrup, RainCT, mhr3: I think it's fair to ask 1- to try again to raise the topic 2- to have public record of why we have to carry the patch [15:24] tsdgeos: a detail: reversing the reading of serviceAvailable and the connection to the changed signal would be more multi thread proof [15:24] tsdgeos: in SpreadMonitor [15:24] kamstrup, RainCT, mhr3: it will avoid having discussions later on why we don't upstream our work [15:24] seb128, very well, afaik it was only discussed on irc, so sure we can open a bug in nautilus [15:24] RainCT, could you? ^^ [15:25] thanks [15:25] Kaleo: how? [15:25] tsdgeos: imagine that the value changes after you read it but before you connected to the changed signal [15:25] tsdgeos: functional tests look good too [15:26] tsdgeos: yay [15:26] Kaleo: the other way around the same will happen [15:26] tsdgeos: really? how? [15:26] ah [15:26] tsdgeos: if you are connected to changed signal in the first place, you should be fine no? [15:27] you mean the service becomes available after the if and before the connect? [15:27] tsdgeos: right :) [15:28] i don't think that's ever going to happen [15:28] but if it makes you happy i can exchange the order [15:29] done [15:29] tsdgeos: I agree, not going to happen [15:29] tsdgeos: just good practice [15:29] tsdgeos: approved then [15:30] Kaleo: with this new construct if the service becomes available after the ocnnect and before the if, you end up calling onServiceAvailableChanged(true) twice, you end up with two connect(dbusInterface(), SIGNAL(IsShownChanged(bool)), SIGNAL(shownChanged(bool))); and then everything is weird :D [15:31] tsdgeos: that's not because of the construct per se :) [15:32] tsdgeos: we should either not call onServiceAvailableChanged if it was not actually changed [15:33] tsdgeos: actually, that's the best option [15:33] sorry? [15:33] tsdgeos: 16:32 < Kaleo> tsdgeos: we should either not call onServiceAvailableChanged if it was not actually changed [15:33] tsdgeos: sorry [15:33] tsdgeos: wrong copy paste [15:34] tsdgeos: I mean, the simplest fix for that [15:34] confused [15:34] what is the simplest fix? [15:34] tsdgeos: is to not call onServiceAvailableChanged if it has not actually changed since last time we checked [15:35] that's why we only call it if it is true now [15:35] coding that class for thread awareness is not something i think makes any sense [15:35] if we're not planning to do so [15:36] you're going to need to start adding mutexes [15:39] tsdgeos: I do not want to make it thread safe [15:39] tsdgeos: one sec [15:40] then i don't understand what we are discussing about [15:40] tsdgeos: just good practice [15:41] that good practice doesn't make sense [15:41] the other code is as good as this new one [15:41] in the scenario we care about [15:41] which is the non threaded one [15:41] tsdgeos: it's just about reading the value before connecting to the changed signal [15:41] tsdgeos: that I believe is a valid good practice [15:41] nerochiaro: opinion? [15:42] tsdgeos: sorry, I meant the opposite [15:42] tsdgeos: connecting to the changed signal before reading the value [15:43] Kaleo: i sincerely don't see "improvement" does it give us [15:43] tsdgeos: nothing concretely [15:43] tsdgeos: not in the short term [15:43] tsdgeos: like many other good practices [15:43] tsdgeos: they are often made not to necessarily give you short term improvements [15:43] tsdgeos: but longer term ones [15:44] sure, i don't see the longer term benefit either [15:44] but let's move on to more important stuff [15:44] tsdgeos: sure [15:44] discussing this is a nice bar discussion for the next beer ;-) [15:46] tsdgeos: I think in 10 minutes I'll be out of that meeting [15:46] tsdgeos: and we can discuss the StrutManager [15:47] tsdgeos: and then I think we are pretty much done.. [15:47] :) [15:47] Kaleo: ok, https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_abstractdbusmonitor_improvements/+merge/92044 still not approved, not happy? [15:47] tsdgeos: just not pressed the button yet :) [15:47] tsdgeos: done [15:53] is there any documentation on bamf somewhere? [15:54] http://developer.ubuntu.com/api/ubuntu-11.10/c/bamf/ is useless, and googling just finds stuff about people with bad bottoms and dysfunctional maternal relationships [15:55] I want to use python to find all the windows of a particular type and their window titles (like all the gnome-terminal windows) and then populate the launcher quicklist with links to the windows [15:58] AlanBell: there's a bug in LP to fix bamf documentation [15:59] it should be auto-generated like the unity API docs, but it's not doing it right [15:59] not sure if that is even the right kind of documentation [15:59] it should be doing something on dbus apparently [16:00] AlanBell: https://bugs.launchpad.net/bamf/+bug/924471 [16:00] Launchpad bug 924471 in bamf (Ubuntu) "Developer doc is empty in devhelp" [Undecided,Confirmed] [16:00] Trevinho: ^^ are you going to be working on that? [16:00] I can't find anything anywhere on the internet about it [16:04] I can probably figure it out from dbus introspection if I can find out the well known name and the object it exports apparently. 'com.canonical.bamf' doesn't appear to be it. [16:05] mhall119: I'm very busy right now... I've to do stuff before ff... [16:06] tsdgeos: a last thing we should check once we are done is suspicious console outputs [16:06] Trevinho: not rushing you, just wanted to let AlanBell know the status of it [16:06] AlanBell, org.ayatana.bamf [16:07] thanks gord, I would not have guessed that one! [16:07] Andy80: also... gdbus monitor --session --dest=org.ayatana.bamf to understand what's going on... [16:08] Kaleo: yep [16:08] AlanBell, a bit of help, install d-feet from the repos, connect to the session bus, it has a search box then to help finding things easier. can just put "bamf" or whatever in there [16:08] ah, I see [16:09] Kaleo: dooh, can't call BaseBehaviour Behaviour since QML already has a Behaviour :D [16:10] tsdgeos: right :) [16:10] tsdgeos: even without the u? [16:10] tsdgeos: just kidding [16:10] Kaleo: actually it's both without the u [16:10] tsdgeos: so, what I wrote in the sketchpad was my first thought [16:10] tsdgeos: there may be better ideas [16:10] Kaleo: so BaseBehavior? or VisibiltyBehavoir? or AbstractBehavior? [16:11] tsdgeos: would Base.qml be consistent? [16:11] gord: nice, that is probably enough documentation to get me going :) [16:12] Kaleo: it'd be consistent, to be honest i like the Behavior at the end, makes it easier to understand [16:12] Base {} or IntellHide {} [16:12] and not as easy to read as [16:13] BaseBehavior{} and IntelliHideBehavior{} [16:13] tsdgeos: right [16:13] tsdgeos: that's fine by me [16:13] tsdgeos: is it still ok to put them in a directory [16:13] ? [16:14] Kaleo: helps with logical grouping [16:14] Trevinho: hi! Sorry I was not following the conversation, how can I help? [16:14] tsdgeos: ok [16:14] Andy80: I think it was aimed at me [16:15] Kaleo: on the other hand i'm not really sure the autohide and intellhide will be useful outside the launcher as to put them in common, but it doesn't hurt either [16:15] AlanBell: ah ok, sorry :) [16:17] tsdgeos: right I was going for the it does not hurt [16:17] Kaleo: when you have some spare minutes, I'm still in queue for a reply about unity2d/qt5 :D I wrote a summary of the situation here https://lists.launchpad.net/unity-dev/msg00404.html reporting all the errors and all the tests I did, and there are also some updates I tried after asking help to #qt guys, but I'm still locked with it... [16:18] Andy80: right [16:18] Andy80: I don't think I'll be able to get to it before Feature Freeze [16:18] Andy80: end of next week [16:18] Andy80: sorry [16:19] Kaleo: no problem, I fully understand this is a low-priority task ;) I'll wait and I'll try to dedicate to other stuff in the mean time. [16:19] Andy80: thank you [16:20] Kaleo: https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_behaviours_shuffling/+merge/92065 [16:23] tsdgeos: fantastic [16:25] tsdgeos: about https://code.launchpad.net/~aacid/unity-2d/unity-2d-shell_ignore_super_on_spread/+merge/92013 ; after carefully checking the code, you are right, it seems like too much of a big endeavour to try to move toggleDash to QML right now [16:25] tsdgeos: so let's just fix the MR for the latest -shell, expose the spreadMonitor to the QML context so that we only have one instance [16:25] tsdgeos: and merge it [16:25] tsdgeos: ok? [16:26] sure, give me a minute to do it [16:28] tsdgeos: the behaviour stuff looks good [16:28] tsdgeos: just a question in passing [16:28] tsdgeos: you ever used qdoc in qml? [16:29] not really [16:30] tsdgeos: we'll have to start doing that at some point [16:36] tsdgeos: oh oh oh oh [16:36] tsdgeos: I just realised: [16:36] tsdgeos: in ShellDeclarativeView::setDashActive(bool value) [16:36] if (isSpreadActive()) { [16:36] tsdgeos: line 204 [16:37] wow [16:37] :) [16:37] ShellDeclarativeView::isSpreadActive() <-- have a look at that [16:37] it's like the SpreadMonitor all in one :D [16:38] and probably not working... [16:38] ah not [16:39] the problem is that we have a bzillion ways of activating the dash :D [16:43] tsdgeos: right [16:44] tsdgeos: we need to fix that stuff [16:46] Kaleo: want to mumble now about the strutmanager so i can start working on that tomorrow morning? [16:48] problem is that toggleDash name is actually wrong [16:48] and should be called toggleDashbutShowingHomeWhenYouShowIt [16:48] :D [16:49] :) [16:49] tsdgeos: yes, let's do that [16:51] tsdgeos: my mic is still broken [16:51] :( [16:51] oh :-( [16:51] tsdgeos: let me think [16:51] tsdgeos: I'll connect from my phone [16:51] tsdgeos: one sec [17:15] knock knock someone in the report would like to implement bug 874252 in 2D any one care to reply ? [17:15] Launchpad bug 874252 in tomboy (Ubuntu) "With indicators I can't set any note to display always in list" [Undecided,New] https://launchpad.net/bugs/874252 [17:15] oops wrong bug [17:15] bug 874254 [17:15] Launchpad bug 874254 in unity-2d "top bar, integrated menu - when a application is first launched, the integrated menu should be displayed for 2 seconds before fading out of view" [Undecided,New] https://launchpad.net/bugs/874254 [17:34] om26er: am aware of it, but won't get it it until after FF === greyback|lunch is now known as greyback [17:35] that was a long lunch [17:35] greyback, alright, thx :) [17:49] anyone know how to raise a window that has been identified through bamf? [17:50] I have the XID that bamf reports, but wnck.window_get(xid) does not seem to contain anything === m_conley_away is now known as m_conley [18:10] never mind, I figured it out, you have to do screen_get_default first [18:10] in other news, I have working window quicklists \o/ === s9iper1 is now known as bil21al [18:22] \o/ [18:23] AlanBell: on what launcher? [18:23] mhall119: http://paste.ubuntu.com/834248/ [18:24] hacky, but it works (does not remove quicklists, or listen to window add/remove signals) [18:24] just adds them for every window every second, it is a prototype [18:24] I'm wondering if such a quicklist on the workspace switcher would be useful... [18:25] it would have too much stuff in it I should think [18:25] then again, I currently have 23 windows open, which is low for me, so maybe a quicklist of windows wouldn't work at all [18:25] but this is great, being able to raise one terminal window above a browser without all of them raising [18:26] one think I can't work out is how to have multiple quicklists of the same name, so if I have several terminal windows with title "alan@alanlaptop:~" I want to see all of them, not just one [18:28] AlanBell: scale + filter plugins perhaps? [18:29] though filter isn't enabled by default [18:30] well I kind of want to stick to as standard a configuration as possible [18:31] if I wanted it to just be useable I would turn off the unity alt-tab switcher and use a normal one [18:38] andyrock, may I ask when texture_from_cairo_graphics and when texture_ptr_from_cairo_graphics should be used? [18:38] because there is at least one more place where this should be fixed [18:39] texture_from_cairo_graphics? never :) [18:39] ntw thumper can give you more info :P [18:39] *bt [18:39] *btw [18:49] andyrock, it's used a lot it seems [18:49] but it seems that in those cases it's not written to a nux::ObjectPtr [18:49] yeah, yeah but it doesn't leak memory all the time [18:49] btw Trevinho is going to fix it [18:49] andyrock, so no need for me to push it? [18:50] sbte, you should talk with Trevinho :) [18:50] if you want you can do it [18:50] thank you btw [18:52] andyrock, no problem [18:52] Trevinho, do you want to push a fix or should I do it? [18:53] andyrock, can you maybe help me with compiling unity? [18:53] I can't get it to work [18:53] sbte, of course [18:54] where do you get blocked? [18:55] andyrock, here [18:55] CMake Error at /usr/share/cmake-2.8/Modules/FindCompiz.cmake:58 (string): [18:55] string sub-command REGEX, mode REPLACE needs at least 6 arguments total to [18:55] command. [18:55] Call Stack (most recent call first): [18:55] plugins/unityshell/CMakeLists.txt:1 (find_package) [18:55] I have the staging ppa enabled and all [18:55] first of all [18:55] sudo apt-get build-dep unity [18:56] andyrock, yep, did that [18:56] are you in the build directory? [18:56] yes [18:57] try to rm it and rebuild it again [18:57] I just made a build directory inside my bzr clone [18:57] or [18:57] andyrock, did that a few times already [18:58] can you paste the commands that you use for building unity? [18:59] export SOURCE=/home/sven/Desktop/vm/unity [18:59] export PREFIX=/home/sven/staging [18:59] export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH" [18:59] export LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH" [18:59] export LD_RUN_PATH="$PREFIX/lib:$LD_RUN_PATH" [18:59] export XDG_DATA_DIRS="$PREFIX/share:$XDG_DATA_DIRS" [18:59] and then inside unity/build [18:59] cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOMPIZ_PLUGIN_INSTALL_TYPE=local -DGSETTINGS_LOCALINSTALL=ON -DCMAKE_INSTALL_PREFIX="$PREFIX" [19:02] mmm... [19:04] do you have the /home/sven/Desktop/vm/unity directory? [19:04] btw normally i just did [19:04] bzr branch lp:unity [19:04] cd unity [19:04] mkdir build; cd build [19:05] cmake .. -DCOMPIZ_PLUGIN_INSTALL_TYPE=local -DCMAKE_INSTALL_PREFIX=/usr [19:05] sudo make install -j4 [19:05] but it can break your system [19:05] :) [19:05] andyrock, that's what I did the first time, but then I started following guides [19:05] because it didn't work [19:05] :P [19:06] do it again [19:06] please :) [19:12] andyrock, now it works :S [19:13] it will remove your system compiz installation [19:13] btw it should work :) [19:15] andyrock, so the problem is just that it can't find compiz in the right place? [19:16] so if I compile compiz too, it will work? [19:16] sbte, don't compile compiz! :) [19:16] you don't need to build it [19:30] sbte: hi [19:30] sbte: I have a branch to push that fixes some of these [19:30] worked on it last night [19:30] (instead of sleeping) [19:31] thumper, so I'm a bit too late :P [19:32] sbte: just a tad [19:32] the difference between the two methods [19:32] thumper, well, I'll try to find some new leaks [19:32] is that texture_from_cairo_graphics returns a BasePointer* [19:32] yes, I found that [19:33] and texture_ptr_from_cairo_graphics returns a nux::ObjectPtr [19:33] :) [19:33] the problem resolves around whether the nux::Object at the bottom of the hierarchy is initially owned or not [19:33] for all views, they aren't owned [19:33] so putting them in a smart pointer is normally fine [19:33] but textures are owned [19:33] so assigning or constructing a smart poniter with one makes the refcount off by one [19:34] damn confusing [19:34] ok [19:54] seb128: the Thunderbird thing is because of the binary being called thunderbird-bin and the .desktop file just having 'thunderbird' [19:55] seb128: the next zeitgeist-datahub release will fix it [19:55] RainCT, great, thanks [20:01] thumper, so you need to unreference it two times? [20:01] right? [20:02] http://paste.ubuntu.com/834375/ mhall119 updated prototype that runs on unity 5.2 === s9iper1 is now known as bil21al === andyrock is now known as andyrock|dinner [20:33] hi [20:33] * ejat just do and update in precise .. now my launcher does not apper if u turn ON in behaviour [20:50] Hi tedg, can you give me advice about the appmenu / Dbusmenu? [20:50] I want to add the appmenu to an application that is not written in one of the supported toolkits. Thus the menu is not automatically extracted from the toolkit. [20:50] Freddi, Advice? [20:51] I want to write a python script as a bridge between that application and Dbus. I assume I have to add the menu structure as a Dbusmenu. [20:51] Freddi, Ah, okay. Does the toolkit use glib? [20:51] Freddi, Yup, basically. [20:51] It's actually a Wine application and I want to write a python script as a bridge. I have access to the menu structure [20:51] Freddi, Right now you register the menu and XID with the service, but we're moving to having a couple XAtoms on the window. But that shouldn't be too bad either way. [20:52] but I would need an example how to attach it as a Dbusmenu to the appmenu [20:52] ok [20:52] Freddi, probably the best is lp:appmenu-gtk That's basically all it does. [20:53] ok thanks! [20:54] I have found an example for creating a Dbusmenu which is then attached as quicklist (very easy). https://wiki.ubuntu.com/Unity/LauncherAPI#Python_Example [20:54] There is no similar example for the appmenu, I hope I can figure that out [20:56] Freddi, Not really, as we don't expect people to really do their own menu export code. :-) [20:56] It's a special case. [20:58] sounds logical. If the toolkit is supported, then that's the proper way ;-) [20:58] Freddi, I need to head out, but feel free to drop me a mail if you run into issues. === salem_ is now known as _salem [21:59] andyrock|dinner: kinda === andyrock|dinner is now known as andyrock [22:17] mhall119: I'm seeing some odd behavior from the unity-sample-lens (unity 4.0). If I kill the python back-end without clearing the search it won't work. [22:18] mhall119: I have to bring the dash up again, go to the lens, type something, hit X, and then restart my script. Seems very odd [22:20] mfisch: did you mean to ping me? [22:21] mhall119: sorry, I thought you wrote that sample lens, I see now that you did not === m_conley is now known as m_conley_away === s9iper1 is now known as bil21al