[00:10] Hi. I'm a developer for a GTK+ program (Geany) and we're getting bug reports that our menus that are generated at runtime are not working when using Unity. There's some Glib warnings printed on the console about libdbusmenu. Can someone help me to understand what such a menu must do to properly be supported by Unity's dbus menu? [00:13] (or even point me to the source file I should examine to figure it out) [00:13] bschaefer, did you look at your no-results branch recently? i wonder if the snafu with weird signals got resolved after home-lenses branch got merged [00:14] gord: can you help codebrainz [00:14] bschaefer, and btw hello... and good night :) [00:14] hi bschaefer [00:15] bschaefer: the Alt-F1 branch? [00:15] FWIW, i think it's the same problem as with Eclipse and Lotus (i don't know these, just based on their respective similar bug reports) [00:15] bschaefer: jason recently merged his multimonitor work in which he hacked around with the keyboard stuff [00:15] bschaefer: if you branch doesn't cleanly merge now, and you can't see how to make it, best chase jason :) [00:16] codebrainz: ted is probably the better person to chase [00:16] not online currently? [00:16] no... it seems not [00:16] * thumper wonders who else knows a lot about menus [00:17] bummer. is there a non-launchpad using location to find the source code for this? [00:17] maybe i can track down the source and figure it out [00:17] why non-launchpad using location? [00:17] it doesn't work on my computer, makes the browser freeze [00:18] really? [00:18] wow [00:18] which browser? [00:18] yep, has for a long a time [00:18] iceweasel/firefox [00:18] well that sucks [00:18] firefox works fine for me [00:18] where are you based? [00:18] western canada [00:18] it shouldn't be a problem from there [00:19] have you asked in #launchpad ? [00:19] i think it's a problem with the NVidia driver or mozilla renderer. both projects have bug reports for this issue [00:19] codebrainz: lp:dbusmenu AFAIK [00:19] maybe i can use another computer to clone the repo [00:19] codebrainz: want an http link? [00:19] sure, anything without launchpad.net in the URL seems to work fine :) [00:20] hmm... [00:20] well I know this goes to a different server [00:20] bzr branch http://bazaar.launchpad.net/+branch/dbusmenu [00:20] try that [00:20] ok, it should be fine, i think it's just the web interface causing probs, bazaar should be fine [00:20] IIRC the dbusmenu thing checks menus on startup [00:21] ouch [00:21] but there may be a way to get your app to poke things through after generation [00:21] I've not looked at the code at all though [00:21] just going from what I remember being told [00:21] OK, will see. I thought I remembered reading it hooked into the map event, maybe I can re-trigger one after the new items are added or seomthing [00:21] perhaps [00:21] good luck [00:22] ted works on texan time :) [00:22] OK, thanks a lot [00:22] which I think is UTC-7 (or 6) [00:22] thumper, alright Ill look into his merge [00:22] thumper, hopefully it will go alright and yeah that is the branch Im talking about [00:23] bschaefer: I thought it might be :) [00:23] thumper, also hopefully I can get that no-results branch merged soon! [00:23] bschaefer: we are frozen for the 5.2 release [00:23] bschaefer: but after that, sure [00:24] thumper, have to take a look at the new home-lenses mikkel release [00:24] ack [00:24] thumper, wait what does that mean? [00:24] thumper, so no new ui changes for now? [00:25] thumper, bzr: ERROR: Not a branch: "http://bazaar.launchpad.net/%2Bbranch/dbusmenu/" [00:25] bschaefer: acknowledged (ack/nak from old serial hardware) [00:25] (I don't know bzr at all) [00:25] bschaefer: no changes... [00:25] * thumper looks for codebrainz [00:26] it seems to url escape that plus symbol in the URL [00:26] codebrainz: yeah... that isn't the problem [00:26] (I just pasted your command directly is there something else to do first like clone/checkout?) [00:26] codebrainz: try this "bzr branch http://bazaar.launchpad.net/~dbusmenu-team/dbusmenu/trunk.0.6 dbusmenu" [00:27] codebrainz: no... branch is like clone [00:27] codebrainz: in fact you can write clone and it will do a branch :) [00:27] codebrainz: bzr help branch [00:27] OK, that one's working, thanks thumper [00:28] * codebrainz crosses his fingers that this will be C or Python code :) [00:29] ah, C ... phew [00:29] heh [00:33] thumper, o yeah awesome book suggestions! Currently reading Effective c++ and then More Effective C++, very good information and tips so far [00:34] cool [00:34] they are good books [00:35] yeah and thanks. Ill be asking for some more when im done :) [00:36] thumper, i think it might be libdbusmenu-gtk/parser.c:watch_submenu() [00:36] will have to break out gdb on an ubuntu machine to know for sure [00:38] * thumper nods [00:39] bschaefer: no problem, I have a long list :) [00:41] thumper, is that branch you gave me a good one to make a patch against? [00:41] codebrainz: if that is where the problem is, sure [00:41] (ie. trunk.0.6) [00:41] codebrainz: that is the current trunk [00:41] ah, ok, perfect [00:41] codebrainz: do you have a LP id? [00:41] codebrainz: with an ssh key? [00:41] i had one at one point [00:42] no idea what it was, stopped using since launchpad doesn't work :) [00:43] thumper, sweet! [00:43] codebrainz: can you do me a favour and see if it is still an issue? [00:44] codebrainz: it'd make it much easier to get the code reviewed if we followed the normal process [00:45] thumper, it is still an issue on my desktop, laptop with ATI graphics never had no problem, also it's the one with ubuntu installed, so I can do whatever [00:45] i just hate coding on my laptop [00:45] :) [00:46] have you looked at synergy? [00:46] heh, yeah, could use that [00:46] I use that to use the same keyboard and mouse with desktop and laptop [00:46] or plugin Das Keyboard into the laptop :) [00:46] quicksynergy has a nice gui [00:46] oh... like shiney black? [00:47] well, it has the letters on it, but it's still pretty shiny [00:47] hmm, is there packages with debugging symbols for dbusmenu? [00:48] or should i just compile/install from the trunk? [00:56] where is smspillaz? :P [00:56] Trevinho .. you'll do [00:56] im sure you can fix it [01:01] codebrainz: there are normally -dbg packages available [01:02] i thought so. don't see any though [01:02] and that checkout won't build :( [01:03] codebrainz: what exactly problem is geany having with unity menus? [01:04] oh, i see now [01:04] huh, I could have sworn that was working in Oneiric [01:04] hmm, it's getting a linker error, i checked the build system and everything looks correct [01:05] undefined reference to `g_variant_new_fixed_array` [01:05] Geany has been my every day coding environment since I switch to Gnome3 [01:06] nice. good thing they don't mess with the menu :) [01:06] oh I've been using Unity [01:07] mhall119, using the geany packages or from git? [01:07] I mean that in the upgrade to Gnome3 apps, GEdit stopped working with all the plugins that made me happy with it, so I went in search of something new [01:07] codebrainz: from the Ubuntu repos [01:07] and I could have sworn the globalmenu was working for it [01:07] hmm, maybe you can test using View->Editor->color schemes menu, apparently it's not working anymore [01:07] but I just checked, and it's not now [01:07] it's only that one submenu that's not working afaik [01:08] codebrainz: I see Default and Alternate [01:08] but the menus are in the window, not in the unity panel [01:08] all of them? [01:08] yeah [01:08] (ie. the whole main menu) [01:08] yup [01:08] and it still don't work? [01:09] I see "Default" and "Alternate" under View->Editor->Color schemes [01:09] should there be more? [01:10] codebrainz: http://ubuntuone.com/1JvJ21pD5J00KrTujTnZC4 [01:10] does it switch the theme when you pick the other one of the themes? [01:10] i think it's always showing, just not working [01:10] the syntax highlighting, yeah [01:11] hmm, weird. does it print those dbusmenu warnings on the console when run with geany -v ? [01:11] hmmm, GEdit's menus aren't in the menu bar anymore either [01:11] heh [01:11] codebrainz: It may be my setup that's wonky tonight [01:12] here, the menus are not where we put them (in our window) [01:13] yeah, GTK should automatically export them over DBus to the unity panel (when running Unity) [01:13] something is broken on my end, it's not doing that for any of them [01:14] grrrr, i really wish this would compile here. it's claiming undefined error on a function that exists in my current glib :( [01:14] (or should anyway, according to the docs) [01:14] who is our resident compiz expert? :p [01:15] snadge: what is your problem? [01:15] or at least someone who has looked at the source code and might understand the first thing about the focus code [01:16] short version.. when switching workspaces.. sometimes the input focus of the current window isnt set correctly.. it will receive typing input and visually appear to have focus, but for example.. the autocomplete (in location bar) wont function.. and when right clicking, the menu disappears as soon as you move the mouse over it [01:16] unless you manually click on the windows title.. to re-focus it [01:16] snadge: ok [01:16] snadge: here is the good news [01:16] snadge: I'm told that this is fixed in trunk [01:16] oh man.. i want access to the warez ;) [01:16] snadge: however, we've had some issues getting a release out the door [01:16] snadge: but we should have something workable very soon after alpha 2 [01:17] snadge: for precise at least [01:17] thats cool.. im running precise [01:17] that bug irritates the crap out of me too [01:17] do I have to delete .la files or something to build against GTK+ on ubuntu (I thought i remembered reading this)? [01:17] i wonder if that specific fix is backportable (not that i really care.. all my machines are running precise atm) [01:17] so if it isn't fixed once the release is out [01:17] I'll be banging some heads :) [01:17] snadge: I'm not sure [01:18] does the trunk at least build? is it publically available? :P [01:18] i am familiar with git and building deb packages [01:19] ive been waiting so long for that to be fixed ;) [01:19] its my #1 gripe about unity [01:19] every time it happens .. i have to think of the buddha.. and meditate and go to my happy place [01:21] snadge: well... [01:21] snadge: we are in the process of making things better there :) [01:22] snadge: very soon, we'll have publicly usable daily builds of compiz trunk [01:22] i wonder if these instructions are somewhat relevant [01:22] http://askubuntu.com/questions/28470/how-do-i-build-unity-from-source [01:22] it says updated jan 17th, and is precise specific [01:22] I've not built from source for three months now [01:22] :-| [01:22] ergh.. make install ? what drugs are these instructions on [01:23] snadge: if you have set the install prefix, it isn't so bad [01:23] * thumper looks at the instructions [01:24] it apparently installed into /opt [01:24] installed/installs [01:24] the instructions point it to $HOME/build/unity [01:25] see step 1 [01:25] codebrainz: while I've got you here, have you considered making a Unity QuickList for Geany? [01:26] ok.. well i'll have a look at rebuilding the deb packages instead [01:26] mhall119, i don't think any of the devs are using Unity, and no feature requests yet for it [01:26] shouldn't be too difficult ;) [01:26] codebrainz: where I can file a feature request? [01:26] :) [01:26] mhall119, on the source forge (ugh) site [01:26] and if i break unity horribly.. i'll just switch to unity-2d [01:26] it's linked from the Bugs page on geany.org [01:27] codebrainz: also, I've got my unity situation fixed, and I can confirm that the menu we discussed earlier is populated, but selecting "Alternate" doesn't do anything now [01:27] or reinstall it from precise [01:27] mhall119, ah, good to know it's at least breaking consistently :) [01:27] i got dbusmenu building from apt-get source, so should have it figured out in a while [01:29] thumper, yep, it is breaking where I guessed in the source :) [01:30] (ie. parser.c:watch_submenu() ) [01:31] and since it's a g_return_if_fail() assertion failing, which indicates a programming error, in a static function, I'm going to wash my hands of it :) [01:33] codebrainz: care to file a bug about it? [01:34] codebrainz: you can do that with email you know :) [01:34] meh, I can tell you where the problem is :) [01:34] (ie. exact line) [01:34] I'll file the bug if you like [01:34] if you can tell me what the problem is [01:35] parser.c:1124 it get's a menu widget from the gvalue, but it doesn't guard against it being null before calling watch_submenu() on line 1126 [01:35] it calls parse_menu_structure_helper() the line before, this function internally properly guards against the parameter being null [01:35] codebrainz: http://sourceforge.net/tracker/?func=detail&aid=3481844&group_id=153444&atid=787794 [01:36] I guess somewhere along the line it's trying to get the menushell of the item in question and we haven't added one yet (just a guess) [01:37] codebrainz: got a useful title for the bug? [01:38] codebrainz: and it is on dbusmenu right? [01:38] thumper give me a minute and I'll see if i can fix it and pastebin a patch for the bug [01:39] it'll be against the version in the repos, but the code doesn't seem to have changed in this part [01:39] codebrainz: I'll make a branch for it [01:39] codebrainz: and I can attribute you as the author [01:39] codebrainz: if you want to privmsg me an email address and name :) [01:40] meh, the stopping of bug reports will be more than enough in exchange for fixing it :) [01:40] (all my info is on the geany repository fwiw) [01:44] thumper, my fix gets rid of the warning, but it don't fix the menu not working :( [01:47] hmm, the code seems to assume menus are less than 2 levels deep [01:47] *less than 3 [01:48] codebrainz: and geany's aren't [01:50] the menu in question is 3 levels deep [01:53] nope nevermind, this part works ok [02:29] hmm, there's even a note about Geany in the comments of the code [02:34] thumper: bschaefer: hey [02:34] cyphermox, hello [02:35] thumper: bschaefer: I'll definitely need help with the ibus input issue in dash. I thought I had figured it out but it turns out it's broken elsewhere if I special case space [02:35] bschaefer: hey :) [02:35] I'm pretty sure this can be worked around in just unity, though [02:35] cyphermox, it can be if the dash could handle XIM [02:36] bschaefer: what do you mean? [02:36] xim "seems" to work fairly well, although kind of retardedly. [02:36] cyphermox, njpatel and I were having problems with unity handle normal text when ibus was being used. That is why we used that env var to force Ibus to handle both kinds of txt [02:36] ok [02:37] right, if the env var isn't used you don't get any text in ? [02:37] cyphermox, correct, only what the im engine that is active can do [02:37] arf [02:38] but now, with the env var it's getting space committed before characters because it's parsed quicker [02:38] cyphermox, for example if you are using pinyin and the env var is not set then only the chinese chars will work [02:38] right [02:38] well I don't think it is quicker. So what I think is happening is when the ibus sends the key event through to the im engine ie hangul it returns false for say space [02:39] because hangul doesn't handle that [02:39] but there is still preedit around and then it send that space key event through gtk_filer_keypress which then commits the text BEFORE the preedit is commited [02:39] bschaefer: aye [02:40] I was able to get the space to work in libhangul because I made it handle the space and commit it correclty [02:40] but the IM should still be handling space, because it's a common way to escape out of preedit [02:40] bschaefer: it still seems weird that you'd have to patch every single input method to work correctly then [02:40] cyphermox, yeah I tested the same thing with pinyin and it handles all key events even ones it doesn't do anything with [02:40] bschaefer: hangul isn't the only one. I've tested at least esperanto chu and simi something [02:41] hmm that is really interesting. At the same time im not sure if those engines were tested for handling all input [02:41] right [02:42] which is something ibus does and it is kinda hidden [02:42] otoh nothing else seems to use sync mode at all [02:42] cyphermox, yeahhh, which getting unity to not use that env var would be awesome [02:43] I started looking at some code that we are going to try to land in nux to get around it [02:43] no idea how I can help really [02:43] but when I spoke to dbarth this morning he asked that I at least ping you and thumper about it to make sure it was on your radar [02:44] cyphermox, yeah I got slightly lost on what to do next also; im hoping to get this working in nux to avoid it in unity [02:44] * thumper reads backlog [02:44] bschaefer: how does Nux impact IM exactly? I haven't found much [02:44] cyphermox, well we overload the TextEntery in nux to try and handle IM before it reaches Nux [02:45] ah, so that's where it comes from [02:45] cyphermox, so if we can not overload it and have Nux handle it completely that would be the best case [02:45] bschaefer: however I noticed there are Nux bits missing to catch focux for IMTextEntry, so that IM typing is even possible (via OnFocusIn, OnFocusOut, etc. in IMTextEntry.cpp) [02:45] cyphermox, but Nux doens't use gtk at all so it will be a little challenging getting it working as there isn't much documentation [02:45] can I leave it with you two to email jaytaoko about the issue and ideas for a fix? [02:46] cyphermox, yeah I had a patch for that since an event got removed from Nux to do that [02:46] thumper, yeah I can [02:46] bschaefer: thanks [02:46] bschaefer: I spoke to jaytaoko about that specific idea and basically reverted to what used to be done, with OnKeyNavFocusChange or something? [02:46] bschaefer: feel free to cc me so I stay in the lops :) [02:47] thumper, will do :) [02:48] cyphermox, I tested that signal out and it was only firing when you would leave the input area in the dash [02:48] but it wouldn't be called if you say close the dash [02:48] works for me [02:48] or open it [02:48] really? [02:48] I thought so [02:48] * bschaefer needs to re test that [02:48] I tested that a month or so ago [02:48] i was successfully typing stuff in ;) [02:48] cyphermox, haha, I just had some bools that would get set when Dash was about to open and close to get around that [02:49] cyphermox, a signal would be a much better thing for that though. [02:49] bschaefer: OnKeyNavFocusChange.connect([&] (nux::Area*) { HasKeyFocus() ? OnFocusIn() : OnFocusOut(); }); [02:49] basically, a rehash of what I had seen in bzr history [02:50] cyphermox, Good to know, and yeah that is what it use to look like; Ill have to test that out again and have that merged asap. [02:51] cyphermox, hmm well for the ibus bug I keep saying it isn't unitys fault because you can re create any that bug in GNOME or unity 2d [02:51] bschaefer: I'll have another small fix for handling that IBUS_ENABLE_SYNC_MODE variable if that needs to stay; because programs started from unity then inherit it [02:51] if you force the ibus to use that env var [02:52] guess so [02:52] cyphermox, yeah I played around with that to. To set the env var then unset it when the dash search bar is done getting made [02:52] don't need to [02:52] cyphermox, what was your fix? [02:52] you could just as well leave it there and remove it from context when launching apps [02:53] but either way works :) [02:53] cyphermox, yeah, but its still broken for unity :( [02:54] cyphermox, so ill see what I can get going with this in nux; which I am hoping to get it working with ibuses X11 code because that env var works with that [02:54] ok [02:55] cyphermox, that is the patch that was thought to fix the entire bug, but only if using ibus through XIM... [02:55] cyphermox, thanks for the info on the focus :) [02:55] well, I won't spend much more time on it; but don't hesitate to ping me if you want help testing [02:55] cyphermox, sweet will do. Yeah I have spent to much time on this :( [02:56] I got a few input methods installed and can switch to a full korean desktop to test actual searches [02:57] cyphermox, cool, if any progress gets made ill make sure you hear about it :) [02:58] ok, thanks! [02:59] thumper, also on an update for the key nav mode. There was significant changes to Launcher.cpp; but I think I see where I can make all the changes again to fix it [02:59] thumper, just have to recode it and test it [02:59] bschaefer: ack [03:15] thumper, was that ted? [03:16] codebrainz: um... don't think so [03:16] but may have been [03:16] I think he is just "ted" [03:16] but it is Ted Gould, so it may have been... [03:17] heh, ok. i think i might have tracked down the problem roughly, but not positive [03:17] it's god-aweful the things that need to be done to make GTK+ do something it wasn't designed to do :) [03:26] bzr: ERROR: Target directory "" already exists. [03:26] whut [03:32] snadge, I think you have to set up an SSH key with launchpad. [03:32] err.. but "bzr branch lp:nux nux" [03:32] appears to be working [03:32] even though its meant to default to that.. if you omit the last parameter [03:32] who writes this stuff .. seriously ;) [03:33] snadge, weird, I was getting that error message when I re installed ubuntu and forgot to set up my SSH key [03:33] yeah.. but from the error message [03:33] snadge, haha well it has to be someone :) [03:33] "you must do this to [03:33] write to Launchpad or access private data." [03:33] i dont need to write to launchpad or access private data.. so therefore i dont need to login [03:33] is my assumption [03:34] snadge, yeah...it could be as hard to detect as the halting problem :) [03:34] snadge, joking but yeah Im not sure [03:34] ok i see why the unity build instructions dont build deb packages [03:34] there is no debian directory [03:34] wtf :P [03:35] ok i'll just do it the way the instructions say the ;) [03:35] snadge, that is always the safest way [03:35] i just thought.. maybe.. i can build deb packages, since thats how they end up in ubuntu right ? [03:36] of course its a lot more work.. i would theoretically have to update the control file etc [03:36] but i just think it would be nicer to dpkg -i unity*.deb or whatever [03:37] if i break it..i can always switch back to unity2d [03:37] or reinstall the packaged version [03:38] of course if there was a ppa for trunk.. that would be even easier ;) [03:43] ill stop complaining im sorry.. its been one of those days [03:58] is doxygen really required to build unity? [03:59] or will it build without it.. thats 656mb of crap it wants to install [03:59] Doxygen not found. Documentation will not be built [03:59] it appears not [04:00] snadge, yeah it isn't needed. sorry got busy; you should be able to build from the dep packages but right now trunk requires building a few other things from trunk [04:00] like dee, libunity etc.. [04:01] ok well the cmake step has failed to produce a makefil [04:02] DBO, hey are you still up and around? [04:02] cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOMPIZ_PLUGIN_INSTALL_TYPE=local -DGSETTINGS_LOCALINSTALL=ON -DCMAKE_INSTALL_PREFIX="$PREFIX" [04:02] that part fails [04:03] did you set up $PREFIX and how far did it get? [04:03] CMake Error at /usr/share/cmake-2.8/Modules/FindCompiz.cmake:58 (string): [04:03] string sub-command REGEX, mode REPLACE needs at least 6 arguments total to [04:03] command. [04:03] ahh comment out subdir test [04:05] dbus_g_thread_init(); [04:05] plugins/unityshell/src/unityshell.cpp [04:05] its not called g_thread_init(NULL) :/ [04:05] i'll just ignore that for now [04:08] ok my prefix wasnt set for some reason [04:09] could've sworn i set it [04:12] bschaefer, yeah [04:13] unity/plugins/unityshell/src/PointerBarrier.cpp:68:52: error: ‘XFixesCreatePointerBarrierVelocity’ was not declared in this scope [04:14] DBO, so Im working on the key nav bug. Now that the LauncherController is in place im reworking it with the new code. One thing is mouse_down_outside... signal wont ever get called since GrabPointer() isn't called [04:15] snadge, you have to install libxfixes there was a patch a couple days ago for that [04:16] bschaefer, go ahead and make it call GrabPointer() [04:16] we decided a11y apparently doesn't matter [04:16] DBO, well that causes a crash [04:16] ...no... [04:16] fix the crash? [04:17] DBO, well it is caused in like 3 places when you drag an icon, and when you fix that another one happens; but the problems is if you grab the pointer then you can say drag a window and while quitting form key nav mode [04:17] then you cant* drag a window while in key nav mode [04:18] DBO, but I got around that by using the window_focus changed in Launcher; but now ubus call that gave key_nav mode its own window isn't there. [04:18] Was that intended to be removed? [04:19] key_nav mode its own window? [04:19] DBO, ubus_server_send_message(ubus_server_get_default(), UBUS_LAUNCHER_START_KEY_NAV, NULL); [04:19] when this use to be called [04:20] we call UBUS_LAUNCHER_START_KEY_SWITCHER for everything [04:20] probably should be KEY_NAV for everything [04:20] and then a gvariant arg for whether or not the keyboard was grabbed [04:20] which when that was called I could used the window_focus_change to handle a mouse click out side of the launcher. [04:23] DBO, hmm well I can set it up again to close when clicked outside the launcher but the problem is the Launcher it self cant communicate with LauncherController to quit from key nav correctly (or Im missing a bus call) [04:24] because just called ExitKeyNavMode() in Launcher doesn't quit from the KeyNav mode correctly [04:24] calling* [04:24] none of the keynav logic should be in Launcher [04:24] including the click off behavior [04:24] LauncherController should be the one getting the window_focus_change information [04:25] and then calling KeyNavTerminate(false); itself [04:25] essentially, Launcher as a class knows nothing of this magical thing called keynav [04:25] save for how to render it [04:26] DBO, yeah that is what I wanted to call. Alright I can add the Window Manager to handle a window_focus_change to LauncherController [04:26] DBO, and that way makes a lot more sense and looks a lot better [04:26] easier to read... [04:27] yep [04:27] basically you shouldn't have to modify the work I have already done to launcher [04:29] DBO, Alright, and thanks. Hopefully re coding the key nav fixes should be pretty straight forward [04:29] yeah [04:38] why cant you run export from a shell script ? [04:38] eg.. i just made unity.sh .. and put the SOURCE, PREFIX etc in it.. and it doesnt stick [04:38] unless i manually cut and paste it into my shell [04:40] you should put it in you .bashrc [04:40] the export [04:41] ok now it appears libxfixes3 needs to be patched [04:42] ie.. the one in the precise repo doesnt have this XFixesSelectBarrierInput symbol [04:43] yeah, you should be able to find the source then just compiling it your self [04:43] or try sudo apt-get build-dep libxfixes3 [04:43] as there was another lib that came with it (forgot what it was) [04:43] well i've found the patch [04:44] hmm.. theres an upgrade to x11proto-fixes-dev [04:44] yeah thats the one [05:25] doh.. i installed all of the updates now i get a different error after make clean [05:25] unity/plugins/unityshell/src/PointerBarrier.cpp:78:3: error: ‘EventFilterArg’ is not a member of ‘nux::GraphicsDisplay’ [05:26] maybe i need to rebuild nux [05:34] ./NuxGraphics/GraphicsDisplayX11.cpp: void GraphicsDisplay::AddEventFilter(EventFilterArg arg) [05:35] thumper, still around? [05:40] snadge, yeah pull from nux trunk and rebuild should fix that [05:40] i see its trying to build against -I/usr/include/Nux-2.0 [05:40] i installed libnux-2.0-dev or whatever it is from precise [05:40] so maybe i should remove that [05:40] and re-run the cmake command [05:41] snadge, are you build nux from trunk? [05:41] yep.. i have nux in my home directory [05:41] it should be using that.. but perhaps my prefix wasnt set correctly or something [05:41] snadge, and yeah you will have to rebuild unity once you rebuild nux [05:41] yeah make sure your ./autogen.sh --prefix="$PREFIX" [05:41] in nux [05:47] hmm.. why is it -I/usr/include/Nux-2.0 [05:47] i just apt-get remove libnux-2.0-dev [05:48] its in my home directory.. in ~/build/unity/include/Nux-2.0 [05:48] what is your $PREFIX ? is it usr? [05:49] /home/davidb/build/unity [05:49] basically im trying to build it like the instructions here: [05:49] http://askubuntu.com/questions/28470/how-do-i-build-unity-from-source [05:49] hmm those have changed... [05:49] so i've done the libnux part.. its where its supposed to be [05:49] I usually just put everything in /opt/unity [05:50] so rebuild nux didn't fix the problem? [05:50] rebuilding === dyams|away is now known as dyams [05:51] no, i just did that.. the problem seems to be that unity isnt picking up that nux isnt in /usr/include but in my homedir instead [05:54] snadge, hmm what does this say: pkg-config --cflags nux-2.0 [05:54] when you run it [05:54] Package nux-2.0 was not found in the pkg-config search path. [05:55] oh woops wrong terminal [05:55] yeah it finds it [05:55] looks like i need to blow away my unity/build dir [05:55] yeah delete it and rebuild [05:56] snadge, good luck, I have to take off now [05:56] btw.. how does unity know to use the version in your home directory [05:56] cool cheers :) [05:56] it just says "log out and log back in and it should work" [05:57] snadge, it probably has a list and start from the top and which ever one it find first it uses. Not 100% syre [05:57] sure* === dyams is now known as dyams|away === dyams|away is now known as dyams [06:25] thumper, https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/907635 [06:25] Launchpad bug 907635 in libdbusmenu (Ubuntu) "lidbusmenu-GTK crash with Geany IDE using Python" [Undecided,Confirmed] [06:25] and I got the real problem fixed also, within the Geany source [06:25] thanks for all your help [06:25] unity/plugins/unityshell/src/BamfLauncherIcon.cpp:320:74: error: ‘bamf_window_get_monitor’ was not declared in this scope [06:26] but i have libbamf-dev and libbamf3-dev installed :/ [06:28] i wonder if i need the trunk version of bamf [07:32] mournin' [07:35] saviq: hey what happended? :D [07:36] hmm.. i dont think unity does auto detect the version in my home directory [07:36] it doesnt work unless i $PREFIX/bin/unity --replace [07:36] and even then, it only "sort of" works [07:37] symlinking /usr/bin/unity to /home/davidb/build/unity/bin/unity [07:37] does appear to do the job either [07:37] err doesnt [07:38] dyams, out of 10 people in my closest family right now 7 are throwing up (most of them - both ends), 1 of which ended up in hospital (late pregnancy), on top of that another one has pneumonia [07:38] dyams, I'm only waiting when it gets to me and my wife [07:40] and I really don't have time for this as in 4 days I'm going snowboarding for a week [07:40] hard luck :/ [07:40] saviq: sorry initially i felt its a typo [07:41] dyams, no worries [07:41] my partner is about to give birth either tomorrow or the day after [07:42] snadge, congrats! [07:43] snadge: congrats, all the best [07:44] yeah and here i am recompiling unity ;) [07:48] snadge, what else are you supposed to do [07:48] make her more nervous than she already is? [07:48] i suppose i could go home from work heheh [07:48] but im nearly there [07:49] trying to figure out why its running /usr/bin/unity-window-decorator etc [07:53] ok i havnt compiled that apparently [07:53] also its running /usr/lib/bamf/bamfdaemon [07:54] instead of the one in my home dir.. sigh.. the helpful instructions seemed to imply that you could run the trunk build from your homedir [07:55] its times like this i feel like giving up and using gnome-shell ;) [08:42] mhall119, for your politics lens http://blog.pault.ag/post/16793842255/python-sunlight-or-get-at-some-awesome-us-political [08:56] mornin' all [08:58] hey, this search stuff has disrupted mine and kamstrup's work on the content stuff for the past couple of days, can we reschedule the meeting for same time tomorrow, and I'll spend 2-3 hours with mikkel today to hash everything out? [09:00] bah, wrong channel [09:01] * njpatel hates IRC [09:06] greyback, hey === Guest42604 is now known as gord [09:07] Kaleo, lemme know when you're there [09:11] Saviq: about the tests for the rtl thing, it's "just" moving stuff around and making it more generic so i can use it from rtl easily [09:11] tsdgeos, yeah, I know, the diff is huge, though [09:11] tsdgeos, but [09:11] yeah [09:11] tsdgeos, we need those tests to go into lp:unity-2d [09:11] tsdgeos, we need to keep the diff between shell and trunk as small as possible [09:12] those tests won't pass in unity-2d [09:12] of course the shaping ones won't [09:12] but the rest that you've changed, should, no? [09:12] well, rtl does'nt work in unity-2d [09:12] eh? [09:12] at least it doesn't for me [09:12] i've never been able to get the launcher to pop just by dragging the mouse right [09:12] i know you said you can [09:13] but doesn't work here [09:13] yeah, works fine here [09:13] but yeah [09:13] do you guys run unity from your home directory or /opt ? [09:13] you running in a VM? [09:13] i can move them there [09:14] Saviq: nope [09:14] might be related [09:14] let me see [09:14] Saviq: though i don't know which kind of mega conflict i'll get if we push those to unity-2d [09:14] snadge, we're running uninstalled [09:14] tsdgeos, we'll manage [09:14] what do you mean.. as in.. no unity installed from tree [09:14] and compiled locally? [09:15] trying to run it with a prefix appears to be problematic.. the instructions are outdated anyway [09:15] snadge, well, ok, I'm talking unity-2d here, sorry [09:15] forgot this # is common [09:15] doh ;) [09:15] im talking about the faecal compiz/nux stuff [09:15] tsdgeos, indeed it doesn't work on my desktop either [09:15] that makes me want to stab people [09:16] tsdgeos, but it is supposed to, afaik [09:16] unity-2d is most likely awesome.. carry on ;) [09:16] Saviq: anyway, i'll move the tests, if they fail, they fail, it's not like we are enforcing passing of tests, atm [09:16] tsdgeos, we'll disable those that fail [09:18] btw.. unity 3d needs heaps more attention atm ;) [09:18] it blows [09:25] snadge: I'm a 2d guy also, but maybe this helpful: http://askubuntu.com/questions/28470/how-do-i-build-unity-from-source [09:28] Saviq: want me to create a new kanban card for "add rtl tests to unity-2d" or just assume i'm still working on "Put back in support for RTL " ? [09:28] tsdgeos, it's fine with just one [09:28] k [09:29] tsdgeos, maybe just move it back to in progress [09:29] done [09:30] tsdgeos, re contextual menu... it's even weirder than that - tdriver_visualizer shows just one QAction [09:30] but .count returns 2 [09:35] not only .count, but the .children() returns two, one of which has empty text, the rest seems to be the same [09:36] both are visible, both are TextHeuristicRole, both are enabled but not checkable... [09:36] wth [09:37] ok I'll just adapt the comments [09:39] Saviq: yeah it's weird, I've just looked, context menu of 3 items had 5 QActions. One was separator. But still leaves extra one [09:40] yup [09:41] but context menu of 3 actions with two separators (e.g. Firefox) have correct number - 5 - of QActions [09:42] so I'm thinking the ghost ones are leftover separators [09:42] -s [09:42] s/are/is/ [09:48] greyback: yeah .. those instructions are out of date :/ [09:48] i think the unity/compiz guys go to bed early.. but they shouldn't.. theres lots of work to be done [09:49] #ayatana is invite only now.. sigh :p [09:49] snadge: :( sorry [09:50] its okay i have plenty of moonshine [09:50] and a pregnant partner who gets angry at me for drinking it ;) [09:56] snadge, #ayatana doesn't exist anymore [09:56] snadge, it's been moved here [09:58] Saviq: we do have tests in -shell for the launcher that are not in unity-2d ? [09:58] I don't think we do, should we? [09:59] "Press Alt+F1 to focus/unfocus Launcher when dash is open" [09:59] this one is in shell [09:59] and not in unity-2d [09:59] or so it looks to me [09:59] should be [09:59] i can't find it [10:01] oops LP died [10:07] tsdgeos, https://code.launchpad.net/~saviq/unity-2d/shell_test-launcher-focus-with-dash/+merge/89456 [10:07] tsdgeos, indeed, that went straight into shell [10:08] needs to be backported [10:13] Saviq: you? me? [10:13] tsdgeos, if it blocks you in some way - go on [10:14] tsdgeos, but we'll have more backporting [10:14] so not sure it needs to be done now [10:14] ok [10:14] no hurries [10:22] Saviq: there [10:23] Kaleo, hey, I need to refactor ScreenInfo, which doesn't make sense for it to be a singleton [10:23] since there might be more screens [10:23] each having different geometry [10:23] Saviq: ok [10:23] Saviq: trunk then [10:24] yes of course [10:24] but there are some singleton things there [10:24] like workspaces [10:24] Saviq: are we working on that already? [10:24] Kaleo, I need that to fix MM in shell [10:24] Saviq: are we done with shell? [10:24] no, I'm doing that for shell to behave the same as unity-2d [10:24] Saviq: MM in shell should behave just as in trunk, ie. one panel per screen [10:24] Saviq: it should not have anything to do with the shell [10:24] Saviq: for now [10:25] Kaleo, it does, 'cause the whole shell moves to screen 0 [10:25] which is not necessarily topleft [10:25] Saviq: how was the dash doing it? [10:25] Saviq: just do whatever the dash and launcher were doing [10:25] I'm thinking the biggest difference was that it wasn't fullscreen [10:26] and moving to (0, 0) actually made the screen, as returned by QX11Info::appScreen [10:26] to be correct [10:26] well, ok, that's not the case [10:27] but either way, as we discussed with tsdgeos, QX11Info::appScreen is broken by design, 'cause an app might have multiple windows [10:27] spanning multiple screens [10:27] so I'm thinking a ScreenInfo {x: 0; y:0} or ScreenInfo {screen: 0} [10:27] that should be future-proof [10:28] and in current unity-2d it works... by chance, really.. [10:29] it's a non-issue in single-screen scenarios [10:30] Saviq: it works by chance? [10:30] Kaleo, looks like it ;) [10:30] Saviq: any better explanation? :) [10:30] not that I could find [10:30] Saviq: if it's reliable chance I'd rather postpone that fix by a few dasy [10:30] days* [10:30] well, one possible for the launcher is that it was a Unity2dPanel [10:30] and that handled the edges [10:31] and then the dash was glued to the launcher [10:32] so yeah, that's the explanation for the launcher [10:32] Unity2dPanel::updateGeometry [10:32] Kaleo, well, the problem is that now if you launch shell with MM [10:32] your launcher could just as well display in the middle of your workspace [10:32] at the left edge of your right screen [10:33] Saviq: are we spawning only one shell view? [10:33] yes [10:33] but it gets stuck on screen 0 [10:34] which might be your right screen [10:34] Saviq: and ScreenInfo does not necessarily have the right geometry info? [10:34] ScreenInfo relies on QX11Info::appScreen [10:34] which returns 0 regardless of me moving the window to 0,0 [10:34] which is screen 1 [10:34] Saviq: don't move the window to 0,0 [10:35] Kaleo, how do I move it to a different screen then? [10:35] Saviq: why do you want to do that right now? [10:35] 'cause otherwise it's unusable in MM [10:35] Kaleo, mumble? [10:35] Saviq: ok [10:35] Saviq: is it a regression? [10:36] Kaleo, Unit2dPanel::updateGeometry [10:49] Kaleo, http://ubuntuone.com/4H8HYQscWckJvYNroQWBW9 [10:50] Kaleo, http://ubuntuone.com/2v1bYpOxKfsvQ0yifJTgUk [11:02] Saviq: Kaleo: joining us for standup? [11:02] or busy? [11:03] greyback: joining [11:11] Saviq: ping [11:16] Saviq: unping === dyams is now known as dyams|lunch === greyback is now known as greyback|away [11:27] tsdgeos, lol [11:28] Saviq: well, now that you are here [11:28] ... [11:28] Saviq: i'm not sure i understand https://code.launchpad.net/~unity-2d-team/unity-2d/unity-2d-shell-panel-dash-buttons/+merge/90450 [11:29] Saviq: what you want is not using the activePageChanged signal? [11:31] tsdgeos, the panel is listening to activePage to see whether it should display the dash buttons or not [11:31] tsdgeos, it should listen to the "active" property instead, IMO [11:32] i'll tell you why it's listening to activePageChanged, because dashclient has that and hasn't an activeChanged : [11:32] :D [11:32] so ugo went the fast way [11:34] i'll expand dashclient [11:37] tsdgeos, well, yes, I know the reason [11:37] and yes, please extend DashClient === dyams|lunch is now known as dyams [11:42] dyams, you're eating your lunch at 5pm? ;) [11:43] saviq: yes, bit late today [11:43] saviq: :) === MacSlow is now known as MacSlow|lunch === greyback|away is now known as greyback [12:02] Saviq: your MR on shell_debian-transition, is it supposed to be able to build debs? Or you just added the transition stuff [12:02] greyback, it's supposed to build, why? [12:03] Saviq: https://code.launchpad.net/~unity-2d-team/unity-2d/unity-2d-shell-panel-dash-buttons/+merge/90450 is ready [12:03] tsdgeos, awesome [12:03] Saviq: it failed on me. Let me try again to make sure it's not my fault [12:12] Saviq: it fails with https://pastebin.canonical.com/59123/ [12:12] greyback, I will check it out [12:12] Saviq: thanks [12:18] Saviq: found a bug in the implementation, hold the review [12:18] tsdgeos, ok [12:23] Saviq: well, actually it's a bug that is present in the panel now, so as it's not new, please go back to reviewing the patc [12:23] +h [12:23] greyback: about this behaviour i found in the panel that i think it's a bug, i report it in launchpad as a bug? [12:24] tsdgeos: please do. Check it's not there already [12:25] could not find it [12:26] tsdgeos: go for it [12:27] tsdgeos: I briefly looked at your RTL tests. I noticed you removed a lot of the test descriptions. I did it in that way to allow manual tests to be scraped from then, and would help show our test coverage. But I can be persuaded. I need to think more [12:28] * greyback going to lunch :) === greyback is now known as greyback|lunch [12:28] greyback: i did remove no test description at all, just moved to a different place === MacSlow|lunch is now known as MacSlow === greyback|lunch is now known as greyback [13:28] tsdgeos: oh ok, I just skimmed, will look properly in a bit [13:29] * greyback puts his writing cap on === rsalveti` is now known as rsalveti_ === rsalveti_ is now known as rsalveti === m_conley_away is now known as m_conley === nuthinking_ is now known as nuthinking [16:05] hey salem_ [16:05] didrocks, hello [16:05] so, I tried to push my branch into launchpad, but I got this: bzr: ERROR: Permission denied: "~tiagosh/libqtdee/libqtdee-local-models/": : Project 'libqtdee' does not exist. [16:06] salem_: I'm trying to look at the dee-qt trunk then [16:06] salem_: can you try: [16:06] yeah, so wrong name [16:06] it's not libqtdee :) [16:06] ahh, that explains [16:06] * didrocks tries to find it, should bee dee-qt [16:06] be* [16:06] yeah it is [16:06] so ~tiagosh/qt-dee/libqtdee-local-models/ [16:06] and then propose a merge [16:07] didrocks, cool, thanks! My mistake, I used the package name, and not the repository name :) [16:08] salem_: yeah, it's confusing :) [16:08] yw [16:08] didrocks, ops: bzr: ERROR: Permission denied: "~tiagosh/qt-dee/libqtdee-local-models/": : Project 'qt-dee' does not exist. [16:08] dee-qt [16:08] silly me :) [16:09] didrocks, yay! thanks. [16:11] yw :) === yofel_ is now known as yofel [16:22] salem_: https://code.launchpad.net/~tiagosh/dee-qt/libqtdee-local-models/+merge/90895 says there are 20 conflicts? [16:23] tsdgeos, sorry, just deleted, something went wrong [16:23] ok [16:28] tsdgeos, https://code.launchpad.net/~tiagosh/dee-qt/dee-qt-local-models/+merge/90897 [16:29] smaller one [16:29] nice :D [16:31] tsdgeos, I am not familiar with libqtdee, so the code might be incorrect. [16:31] i'm much more less familiar than you :D [16:32] salem_: does that setModel need to take a void * [16:32] '? [16:34] tsdgeos, well, I thought about that, I just wanted to avoid including dee headers, as probably client applications that want to use the shared models wont be linking against it. [16:35] salem_: can you not forward declare it? [16:35] that was an assumption though, but I might be wrong. [16:35] like "class DeeModel;" [16:35] ? [16:35] struct DeeModel; actually [16:35] but yes [16:36] ah yes, I believe that is possible [16:39] nice, also being on the extreme nitpicker mode, there's on extra space after the setModel() implementation [16:42] tsdgeos, cool, I am fixing it. will update the branch soon [16:43] :-) [17:15] didrocks, I installed the PPA for the new Unity, but moving my mouse to the edge of the screen doesn't show the Launcher [17:16] jono: move faster [17:16] jono: you have to push! [17:16] seb128, still doesn't work [17:16] a lot :) [17:16] jono: over do it [17:16] I am slamming it into the edge [17:17] jason_: seems you are upseting a musician ^ [17:17] if the cursor doesn't come out through the other side of your monitor, you didn't push hard enough [17:17] did you set reveal on edge or corner? (the corner doesn't work I think) [17:17] you want make it music harder? :) [17:17] to make his* [17:17] didrocks, musician? [17:17] jono, dont slam, just push against the edge [17:18] jason_, sorry, pal it is not working [17:18] I set it to the Left Reveal [17:18] jono, did you restart X? [17:18] but it won't appear [17:18] I logged out and backin again [17:18] okay [17:18] does that restart X? [17:18] what is your screen resolution [17:18] yes [17:18] jono: you need your mouse/pad with your head till it gives up and work or you wind up concussed that should fix it :) [17:18] jason_, 1440x900 [17:19] jono, can you please install this PPA: https://launchpad.net/~raof/+archive/help-jason/ [17:19] and then restart X [17:19] jono, can you please install this PPA: https://launchpad.net/~raof/+archive/help-jason/ [17:19] and then restart X [17:19] jason_, what is in there? [17:19] jono, a new xserver [17:19] hmmm ok [17:19] one sec [17:19] which helps with this problem [17:20] also Cthulhu [17:21] jason_, installing now [17:21] Cthulu? [17:21] jono, not a lovecraft fan eh? [17:22] jason_, not metal [17:22] Call Of The Cthulu by Metallica is though [17:22] brb, restarting X [17:23] jason_, ok I upgraded X and logged back out and in again [17:23] so that means I should be running the new X in the PPA, right? [17:23] jono, thats the theory [17:23] same problem with the Launcher [17:23] jono: does it show on keyboard activation? [17:23] jono, if you hold Super does it come out? [17:24] jono: can you check in the control center ui that you are on edge reveal? [17:24] seb128, yep, pressing Super reveals [17:24] it [17:24] seb128, that setting does nothing right now [17:24] seb128, it is [17:24] jason_, right, I just want to make sure he's not on a broken ccsm value [17:24] hmmm [17:24] jono: "left side" is selected? [17:24] seb128, yep === balloons_ is now known as balloons === Malcolm^` is now known as Malcolm^ [17:25] ok, dunno then [17:25] jason_, anything else I can do? [17:25] jono, wait for me to think [17:25] np [17:25] also, the new home lens is empty when I show the dash [17:25] if I select another lens (e.g. apps) and then go back to home, it displays the content then [17:25] jono: does it get populated if you type something in the entry and clear it? [17:25] jono, are you using a mouse? [17:25] jono: that's a known bug, mhr3 was working on it [17:25] jason_, trackpad [17:26] seb128, cool [17:26] jono, can you try a mouse? [17:26] jason_, I can in a bit, but not now [17:26] its possible your trackpad is sending absolute motion events [17:26] jason_, give me 15mins to review a doc for willcooke and then will test with a mouse [17:26] I can also then test the multi-monitor goodness [17:27] in the mean time jono [17:27] can you tell me what trackpad you go? [17:29] jason_, I am not sure, it is on a Thinkpad T400 [17:29] lspci -vvv [17:31] jason_, I don't see anything listed there [17:31] lsusb maybe [17:32] jason_, nope [17:32] jono, give me your /var/log/Xorg.0.log [17:33] jason_, sent [17:37] jono, are you amd64 or i386 [17:37] i386 [17:58] jono, let me know how the mouse goes [18:00] jason_: someone on the french forum is also having "hard time to reveal the launcher" [18:00] so my xt2 wasn't the only case [18:01] jason_: I guess there will need some adjustement, if you want to push a version with debug info on the command line, we can maybe do that [18:01] jason_, about to go and test [18:05] jono, jason_ also testing currently, and about to unleash the u+1 folks on unity 5.2 [18:05] balloons, awesome :-) [18:08] are there some examples of lenses that require authentication? [18:09] AlanBell, gwibber, probably, but that uses a local db [18:09] AlanBell, there's a Lenses session in #ubuntu-classroom in an hour [18:09] AlanBell, nope. Only the Flickr scope which is relying on a great flickr API that does all the work. [18:09] oh cool [18:10] davidcalle: yeah, I am concerned that if there is no right way to do it and you install 6 lenses that all ask for credentials in randomly different ways it will be a bit of a mess [18:10] AlanBell, agreed. [18:11] I kind of want my openERP lens to sit quietly in the dash with server, username and password fields on it and no content until they are filled in, then it remembers them for the user [18:12] can you remind me if I can see the information I submitted again? if so how? [18:12] i am so scatter-brained this week.. so much going on :-) [18:12] I mean the information I submitted for the checkbox unity tests [18:12] but I have no means of asking the user to authenticate apart from ugly popups on loading of the lens even if the user doesn't want to use that lens right now [18:19] all, I put a write-up here: http://www.theorangenotebook.com/2012/01/unity-52-whats-new-and-call-for-testing.html. Please feel free to share and let me know if there are any mistakes [18:21] hi, how global menu works ? (from development side) [18:21] what alforithm was used for that ? [18:22] how it works with qt/gtk/fltk and other applications ? [18:27] Hm.. Launcher is not revealing in 5.2 (from unity-team/ppa) [18:27] Not revealing by cursor. Super is working alright [18:28] Daekdroom, you have to move the cursor all the way left [18:28] I'm pretty sure I know how to do that. [18:28] it's a bit different than in the past.. trying scrolling into the side of the screen [18:28] oook [18:28] is this the design channel for unity? [18:28] It's not showing up at all [18:28] I tried changing the option (left or top left) in gnome-control-center and it's still not working [18:29] prolly not [18:29] Daekdroom, on my box it won't show if I just place the cursor there.. I have to scroll into it.. if your doing that and it's not showing, something might be wrong [18:31] jason_, using a mouse now [18:31] still same heres [18:31] still same issues [18:31] every so often it works, but 99% it doesnt [18:32] jono, you also not able to pull up launcher? [18:32] by cursor that is [18:32] balloons, indeed [18:32] Daekdroom, it appears your not alone :-) [18:32] are you single monitor? [18:33] I'm multimonitor, it's working fine [18:33] I have the same problem on both single and multi-monitor [18:33] although, I have never had multi-monitor working before, so this is a first for me :-) [18:34] * balloons is just lucky.. /me never had issues with multi-monitor [18:34] jono, I have an application I need you to run [18:34] jason_, ok [18:37] jono, save this to a file: https://pastebin.canonical.com/59149/ [18:37] (call it barrier.c) [18:37] then in the directory you saved it [18:37] in a terminal [18:38] gcc barrier.c -o barrier -lX11 -lXfixes [18:38] then [18:38] ./barrier 500 50000 [18:38] jono, you here? [18:39] jason_, yep [18:40] sorry, networking issues [18:40] want me to re-type what I said? [18:40] yep [18:40] jono, save this to a file: https://pastebin.canonical.com/59149/ [18:40] then in the directory you saved it [18:40] in a terminal [18:40] gcc barrier.c -o barrier -lX11 -lXfixes [18:40] then [18:40] ./barrier 500 50000 [18:40] that will create a barrier 500 pixels into your screen (only the top 450 pixels of your screen) [18:41] it only will work moving right to left [18:41] jason_, think overscan could be at play? [18:41] barrier.c:60:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘PointerBarrier’ [-Wformat] [18:41] funny to mention it in the era of lcd's... [18:41] jono, yeah thats just a warning [18:42] balloons, seems more likely I have some logic mistake somewhere in unity [18:42] jason_, ok it is running, now what? [18:42] or hes not getting a threshold hit [18:42] jono, there is a barrier in the middle of your screen [18:42] start tripping it [18:42] yup [18:42] I want to know the velocity values you get [18:42] and the id values [18:43] do they seem to stay consistent throughout a "trap" of the mouse [18:46] sorry [18:46] it hung my machine at one point [18:46] http://pastebin.ubuntu.com/824223/ [18:46] jason_, ^ [18:46] well you are certainly generating the velocity required... [18:46] gotcha [18:47] on multi-monitor [18:47] are you still in multiple monitors jono? [18:48] jono, leave teh same program running, and push against the left edge of your screen [18:48] does it print out debug? [18:48] (the protocol lets us snoop, its a lovely security hole RAOF will have to close some time...) [18:48] jason_, yep in multimonitor [18:50] jason_, http://pastebin.ubuntu.com/824229/ [18:50] it's weird becomes sometimes it does appear [18:50] but rarely [18:51] thats really weird... [18:51] I mean, I see why its failing now... [18:51] but I dont understand why its acting that way [18:52] jono, can you try it on your monitor barrier (make sure to approach it slowly) [18:53] jason_, http://pastebin.ubuntu.com/824233/ [18:53] brb [18:54] jono you are pushing on the right edge of the left screen [18:54] jono, you need to push againt the left edge of the right screen [18:55] one sec [18:57] jason_, http://pastebin.ubuntu.com/824245/ [18:58] jono, want to go the full 9 yards for me here? [18:58] I need you to rebuild unity [18:58] no thanks [18:58] not now, on a call [18:58] even if I tell you how to make packages? [18:58] kk [18:58] maybe in a bit [18:59] anyone else here having this problem? [19:08] Huh. [19:08] I am. [19:09] Unfortunately I have to leave now. [19:10] jason_: what is needed to test it? [19:10] some peopleslauncher doesn't reveal [19:10] https://code.launchpad.net/~unity-team/unity/unity.dont-emit-on-id-change/+merge/90923 [19:11] that merge should fix it [19:12] AlanBell, ^^ [19:13] my launcher is set to not-hide at the moment, do I just need to update or get a PPA to have the monitor barrier stuff? [19:13] unity staging PPA [19:14] ok, and I need to purge HUD first? [19:14] ya [19:15] ok, I will have a go at that. Quite keen to test this as the launcher popping in and out was infuriating until I set it to be static [19:45] mhr3, i figured out the speed issues in the gwibber lens, it has nothing to do with the search speed [19:46] mhr3, it is because of the size of the results model before searching [19:46] since by default it displays everything [19:47] if i start with nothing in the results_model, searching is blazing fast [19:47] mhr3, do you think it is unity picking up the clear of 4000 rows that takes a few seconds to render? [19:48] my search finishes in about 20ms and the view in unity doesn't visibly change for about 3s after my search is done [19:53] Hi. I am working on a unity-lense, it's my first lense, and I can't get it to work. This is my project page with the source code. I wonder what I am doing wrong: https://launchpad.net/unity-buss [19:58] malin: you need to run your lens daemon in the GLib mainloop, like the same code has [20:00] how do I run my code in a GLib mainloop? [20:01] would it be possible/practical for Unity to check for lenses/scopes in .local/share/unity/lenses as well as /usr/share? [20:01] don't know? [20:02] malin: sorry, that was for the Unity devs [20:02] malin: starting at line 86 of http://bazaar.launchpad.net/~unity-team/unity-lens-sample/python-5.0/view/head:/unity-scope-wikipedia [20:02] mhall119, that would be soooooo nice [20:02] that's what I think you're missing [20:02] kenvandine: hey, could you help me get Singlet into the archives? [20:03] sure [20:03] I have a package in the scopes ppa [20:03] i happen to be doing patch pilot tomorrow... i'll do it in the morning, ok? [20:03] point me to the packaging branch [20:04] kenvandine, you could be, it also takes a while to send the results over, but yea processing them on the unity side might be the culprit [20:04] mhr3, it is VERY fast if i start with an empty results_model [20:04] but going from 4000+ results to 20 takes a few seconds to render [20:05] not sure what i can do about that... [20:06] hmm, maybe the removing is slow in unity [20:06] it's not path one usually optimizes :) [20:07] right [20:07] but for the gwibber case, i think it makes sense to start with a view of everything [20:07] pfft, nothing is slow in unity [20:07] :) [20:08] gord, like rendering icons until recently? :) [20:08] mhr3, rendering icons was fine, it was loading them and that was neil code! lucky we got rid of him before he did even more damage! [20:08] kenvandine: lp:~mhall119/singlet/precise-package has the ./debian/ files [20:08] lp:singlet is trunk [20:08] mhall119, great [20:09] gord, aaah, right, anything slow is njpatel's fault :) [20:10] oh we only ever remove one row at a time. maybe we should add a rows-removed signal [20:10] kenvandine, so you know who to blame ;) [20:10] plural [20:10] haha :) [20:10] all gord's fault [20:10] :-D [20:10] neil wrote that :P [20:10] gord, it would make sense to have a quick clear path [20:10] that could help [20:10] gord: is there not a clear-all signal? that seems like it wouold be a common use case [20:11] gord, cause most lenses are just clearing the model before adding the results back [20:11] indeed... every lens i have looked at does it :) [20:11] mhr3, yeah we should add that, both [20:12] so maybe it is both libdee and unity to blame :) [20:13] kenvandine, dee is never to blame :P [20:13] * kenvandine roflao [20:13] :-D [20:14] * kenvandine hugs dee [20:14] dee is perfect by definition [20:14] dee is the coolest thing I have seen in a long time :) [20:14] mhr3, and never any bugs [20:15] exactly! [20:15] kenvandine: what is this dee you talk of a chest freezer or a computer lib :D [20:15] just add a "cleared" signal and it'll be perfect [20:15] * kenvandine wonders what a chest freezer is [20:15] :-D [20:17] kenvandine: http://chestfreezer.co.uk/ rather than an upright [20:18] an... in american english we just call that a freezer :-p [20:18] davmor2, i don't get the dee reference to that though? [20:19] kenvandine: you said it was the coolest thing you had ever seen? [20:19] oh [20:19] hahaha [20:19] * kenvandine was looking at that too literally :) [20:19] dee is cooler than a chest freezer [20:20] i have to wear a parka to work with it [20:20] haha [20:23] davmor2: do you have 'perfect' as an IRC hilight or something? [20:23] or did your spidey senses tell you someone was claiming to have inbreakable code? [20:23] mhall119: Yeap [20:24] mhall119: I was getting the special hammers ready [20:24] lol [20:24] you have a particularly dangerous form of QA [20:25] mhall119: I found if the hammer don't work I can always move onto power tools hasn't gone that far yet though [20:28] AlanBell, hows it going? [20:57] jason_, still looking for someone who is having issues getting launcher to show? [20:57] balloons, try this: https://code.launchpad.net/~unity-team/unity/unity.dont-emit-on-id-change/+merge/90923 [20:58] sadly it works right now for me.. but I can verify this doesn't break anything :-) I was saying if you were still looking I could see if anyone testing has had the issues yet === salem_ is now known as _salem [21:28] 1 multimonitor implementation issue, You get two launchers on one screen after disconnecting the output cable (tested trunk) will file it tomorrow [21:28] or days for that matter its late :p [21:29] mhr3, awesome news! Yeah Ill have the branch ready to go as soon as we are unfrozen :) [21:30] bschaefer, awesome, thx [22:03] who can I talk to about lightdm on multi-monitor? [22:14] mhall119, Robert Ancell is working on lightdm [22:15] mhall119, it's 9:14 am for him, should probably be around soon [22:15] thanks Saviq [22:26] hi all! any idea why indicator-loader3 freezes the desktop when using it with the appmenu indicator? here's its output: http://paste.ubuntu.com/824509/ [22:26] it updates the menu bars just fine, but when opening a menu, the last message gets repeated over and over again. [22:31] thumper, hey quick question about a static variable in a function vs a private variable for a class. [22:31] thumper, where only one function will use this variable and no other ones need to know about it [22:32] bschaefer: what is the question? [22:32] thumper, [22:32] opss, which is better to use? [22:32] where I put the variable as a private member of the class or just use a static variable to get the same effect but keep the scope to only that function [22:32] bschaefer: if there should only be one value for every instance of the class, then static is the right thing [22:33] bschaefer: if it is effectively an attribute of the object [22:33] bschaefer: then a private member is right [22:34] thumper, when you say only one value do you mean const? [22:34] as it wont change [22:34] bschaefer: a static variable inside a function only gets initialized once for the program execution [22:34] and there is only once instance of that variable for all objects [22:35] thumper, alright cool [22:35] also if I remember reading something in the standard dont all static vars get set to 0? [22:35] automatically [22:35] not ones inside a method [22:35] but global statics [22:36] thumper, alright good to know! Thanks === m_conley is now known as m_conley_away [23:39] thumper, https://code.launchpad.net/~brandontschaefer/unity/new.fix-896122/+merge/90981 [23:39] merge for the new KeyNav mode [23:39] fixes [23:51] anybody know how I run manual tests for unity-team-ppa ? [23:51] message box on my screen told me I should... [23:51] but, I don't know how [23:52] hi codepal [23:52] nm - just found it in the dash [23:52] ok [23:53] running the tests - awesome! [23:53] what new features does checkbox implement? [23:53] sorry, no idea, didrocks does that bit