[01:03] thumper: ping [01:39] bschaefer: pong [01:43] thumper: so I am pretty sure if found out exactly where fix this dash problem [01:43] bschaefer: awesome [01:43] bschaefer: do tell :) [01:43] about to log out and test really quick (1 line of code change) [01:43] thumer: under DashController under window set up window_->SetPathToKeyFocusArea() [01:44] thumper: ^ [01:44] let me log out to confirm [01:44] :) [01:44] ok [01:46] thumper: yup worked. I would have figured it out yesterday but for some reason I thought BaseWindow was below the View class [01:47] thumper: also the only reason clicking was working on start up also was because it SetKeyFocusArea on mouse_over_area, otherwise it wouldn't work with [01:47] either* [01:47] bschaefer: so this is purely a nux fix? [01:47] thumper: nope, unity [01:48] nux gets left alone [01:48] let me get a branch up so you can see [01:48] oh? [01:48] ok [01:50] thumper: well the fix I had in nux was bad and would get called all the time and you only need it to be called once [01:51] thumper: I thought it was in nux at first because it showed the same problems as the quick list bug [01:52] ok [01:54] thumper: apologies on taking so long to fix this, trying to reduce my work load else where...but at lease it's fixed :) [01:55] (hopefully :) ) [01:55] that's cool [01:55] is the branch up? [01:55] yup getting the link now [01:55] https://code.launchpad.net/~brandontschaefer/unity/fix-860805 [01:58] thumper: now just to figure out how to test this... [01:59] yeah :) [01:59] I was thinking when this function isn't called and you use super the end_of_key signal is emited [02:00] ok... [02:00] on start up, so possibly setting up a listener for that and fake a key stroke [02:00] do you get the same behaviour on the stand alone dash? [02:00] or is that all different? [02:00] hmm, I haven't tried it on the stand alone dash [02:01] my guess is that it is likely to be different [02:01] as it is created and focused differently [02:01] so testing this is a challenge [02:01] hmm yeah, also there was a function that could not find the area [02:02] in nux, that I believe is public [02:02] (going to look for it) [02:03] FindKeyFocusArea [02:03] hmm it's not public though [02:03] is it protected? [02:04] yeah, it is over ridden a few times and is public in Area [02:04] so it returns a NULL if it can't find the area [02:04] if it is public in Area, then you can call it [02:05] yeah [02:05] (was looking and typing since it is virtual there are multiple ones) [02:07] so we should be able to set up the dash then call this and check if it returns NULL after window_->SetPathToKeyFocusArea() is called [02:12] the standalone_dash is pretty different... [02:14] yeah... thought it might be [02:17] well I will start playing around with it [02:18] also I have a couple files in nux that I initialized some variable. Theres also some in unity from that log file you gave me [02:19] ok [02:19] cool [02:45] thumper: just realized that wont work anyway since we dont have the event which FindKeyFocusArea takes as an argument [03:01] finally the proper Unity configuration for me :) - fixed Launcher + 36 pixel icons ;) [03:15] bschaefer: can we fake it? [03:16] bschaefer: sorry, was on the phone [03:32] thumper: sorry I ran to the store, umm we should be able too [03:33] thumper: Ill make a function that does that, but I am slightly worried still because the Dash Controller isne't getting called which is where SetPathToKeyFocusArea() gets called [03:36] thumper: I could possibly re write it using the DashController instead of just the DashView [03:37] good night to everyone [03:51] thumper: ugg, it actually just needs the event type, key sym and key state which are very easy to fake [03:51] thumper: ie. it doesn't actually need the full event [04:06] bschaefer: cool [04:07] thumper: actually some bad news it looks like the function I was looking at is in WindowCompositor but it is private in that class [04:08] which method [04:09] same name [04:09] FindKeyFocusArea [04:09] but it's different then View and Area [04:09] ie. it is not overriding it [04:10] overloading* [04:11] bschaefer: can you give me some file and line numbers? [04:12] yeah. It is in nux/Nux/WindowCompositor.cpp around line 807 [04:13] thumper: that function is what returns NULL if it can't find the focus_area, [04:13] * thumper pokes [04:14] I wonder if we could write most of this function in unity... [04:15] nevermind, _view_window_list is private and doesn't get returned anywhere [04:17] bschaefer: lets go back, what did you change? [04:19] ok, in unity under DashController::SetupWindow() [04:19] window_->SetPathToKeyFocusArea() [04:19] was added in that function [04:20] thumper: ^ [04:22] * thumper pokes some more [04:22] SetPathToKeyFocusArea() is in nux/Nux/Area.cpp line 950 [04:22] thumper: [04:24] bschaefer: it seems that SetPathToKeyFocusArea() is called internally from the window compositor in nux [04:24] yeah [04:25] bschaefer: from SetKeyFocusArea [04:25] thumper: yup [04:25] bschaefer: shouldn't we then be calling that instead of SetPathToKeyFocusArea? [04:26] which seems weird [04:26] as that is called from ShowDash [04:26] thumper: hmm, well it doesn't get to the SetPathToKeyFocusArea when called in unity [04:26] I feel it is probably due to line 237 in dashcontroller.cpp [04:27] view_->default_focus() is probably wrong [04:27] thumper: i removed that line and tried it [04:27] where is that set I wonder [04:28] hmm... it doesn't get there normally? [04:28] I can see why the author thought it should [04:29] thumper: yeah, the only reason clicking on the dash works right away [04:29] thumper: is because it SetKeyFocusArea for mouse_over_area in WindowCompositor [04:30] thumper: so it kinda works by accident because calling that invokes the SetPathToKeyFocusArea() [04:31] thumper: which is why this bug seemed so inconsistent and weird... [04:31] bschaefer: but do you agree that nux::GetWindowCompositor().SetKeyFocusArea(view_->default_focus()); should work? [04:31] yeah I thought it should.. [04:31] did you try stepping through the debugger? [04:31] thumper: no, haven't used one in a long time [04:32] bschaefer: ah... gdb is a wonderful thing [04:32] bschaefer: especially since you have to use a vt [04:32] bschaefer: since you are breaking into the window manager :) [04:32] thumper: vt? not ringing a bell for some reason [04:32] ctrl-alt-F1 [04:33] thumper: haven't been using that [04:33] before you do that [04:33] you have to go ctrl-alt-F7 to get back :) [04:33] thumper: yup, I call that tty [04:33] thumper: well for some reason my VM hates that mode so I cant use it haha [04:34] which mode? [04:34] thumper: 1-6 [04:34] F1-F6 [04:34] oh, you are using a vm? [04:34] thumper: yup, I am currently looking for a laptop right now but have to wait a little [04:34] * thumper nods [04:35] thumper: but got 3d working with out to much fuss [04:36] thumper: but I was taught that debuggers were evil for learning [04:36] thumper: so I have stuck with print statements and reading code haha [04:36] I'd agree with that, in general [04:36] but they are great for debugging [04:36] thumper: haha, hence the name :) [04:37] thumper: yeah a lot of time I use print statements like a debugger would be doing anyway, like mem address and values [04:38] thumper: but I will dl gdb and start learning that as it looks like the tool you use? [04:39] thumper: guess it's built in, and I am guessing this is the logger nux uses [04:39] what do you mean? [04:39] well all the calls to LOGGER [04:39] gdb is the gnu debugger, so part of build-essential I think [04:39] yeah, I wrote that [04:40] i am guessing gets sent to the gdb [04:40] cool! Yeah I see those and didn't really know where that was getting sent to, so just used a printf instead :) [04:41] thumper: i am also still getting use to how large everything is, code wise...there is so much code [04:41] bschaefer: it gets sent to std::cout or std::cerr, I can't remember [04:42] no, the logging is independent to gdb [04:42] * thumper goes afk for person at door [04:43] thumper: hmm, a little bit of a digress. I am wondering if FindKeyFocusArea in Area would still return NULL if it cant find the area... [04:55] bschaefer: so... let me see if I can get this straight [04:56] thumper: well it's protected in the nux::View class [04:56] bschaefer: when unity starts for the first time, the text input doesn't have focus if you push the super key to get the dash? [04:56] bschaefer: is that the underlying issue? [04:56] thumper: yes [04:56] ok... [04:56] what I'd do is to start compiz with gdb and add a breakpoint [04:56] since you can't really do that... [04:57] hang on, what is your VM running on? [04:57] you may be able to start gdb in the host [04:57] and connect over tcp to the VM [04:57] to debug [04:57] windows [04:58] is it your machine? [04:58] yeah [04:58] have you heard of mingw? [04:58] nope, but can dl it [04:58] that can give you gdb on windows [04:58] see if you can do a little research [04:58] on gdb over tcp [04:58] to see if you can get it working [04:58] it'll make some things much easier [04:59] I'll see if I can get unity running under gdb again [04:59] and debug the process [04:59] and stop at that location [04:59] and step through [04:59] see what's happening [04:59] but [04:59] thumper: alright thanks. I will be getting flash drive soon to run ubuntu off until i get a laptop [04:59] now it is dinner time [04:59] thumper: alright enjoy! [04:59] caio [05:30] hi i'm a noob ubuntu 11.10; i was messing around with compiz and messed up my desktop; i removed compiz and unity; and now i'd like unity back; but i can't seem to figure out how to do that [05:31] i tried adding it from the ubuntu software center but well it didn't seem to change my desktop; [05:32] now i think i'm using gnome [05:34] azrad: if you start ccsm, add the unity plugin [05:34] smspillaz: can you help azrad? [05:35] so install compiz? [05:36] is it not installed? [05:36] if you have unity installed, you'd have compiz installed [05:36] no i said i removed them both [05:37] so go and install ubuntu-desktop [05:38] ok i'm doing that [05:38] thumper: got mingw set up with ssh and running unity --advance-debug and it looks like it's working [05:38] thumper: so Ill look into get the break point set up for that process if you haven't already [05:39] bschaefer: I haven't [05:39] thumper: alright, gives me time to learn gdb :) [05:40] * thumper walks away again [05:40] thumper: Go eat! (surprised you were back haha) [05:41] brb [05:44] thumper: ah that did the trick; thankyou very much === rodrigo__ is now known as rodrigo_ === rodrigo__ is now known as rodrigo_ [09:00] 'morning [09:07] Where can I find the docs for libindicator for python? [09:07] http://developer.ubuntu.com/api/ubuntu-11.04/GIR/python/AppIndicator-0.1.html [09:07] doesn't work [09:08] Found the link on: https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators#Libraries [09:13] TheCowboy, here http://developer.ubuntu.com/api/ubuntu-11.04/python/AppIndicator-0.1.html [09:14] ty [09:17] is there any keyboard shortcut to move a window between monitors? [11:24] ping ronoc [11:25] glatzor, yep [11:28] hello ronoc you are working on the indicator session service? [11:29] I am the author of aptdaemon, AFAIK we haven't met yet. [11:29] glatzor, no I dont think we have, how's it going ! I am not working onthe session service I'm afraid this cycle, [11:30] ronoc, aptdaemon nowadays provides the PackageKit dbus API. So it could make sense porting indicator session service to PackageKit [11:30] glatzor, so the session service should talk straight to package kit instead of the apt dbus interface ? [11:30] ronoc, right. aptdaemon now supports PackageKit UpdatesChanged signal. [11:31] ronoc, currently you perform an UpgradeSystem simulation after each transaction AFAIK. [11:31] glatzor, i could not get any consistent behaviour out of the apt dbus api for O [11:31] glatzor, yes that's right [11:32] ronoc, just feel free to ask if you need anything by aptdaemon. I am quite open to new use cases [11:33] ronoc, in the future aptdaemon will emit the UpdatesChanged signal when it is a good idea to ask query updates. [11:33] to query for updates [11:36] ronoc, So I have to leave now. sorry. But I will poke you in the next days again :) [11:36] glatzor, grand, anytime [11:39] glatzor, ok we should talk at some point about the whole interaction, I was having difficulties last cycle to say the least with that api design / stability === rodrigo__ is now known as rodrigo_ === MacSlow is now known as MacSlow|lunch === MacSlow|lunch is now known as MacSlow [14:58] too silence... time for a breaking question :) [14:58] Break it [14:58] Saviq: what do you think about starting some tests of Unity-2D and Qt5? Is it too early? (the question is for everyone of course) [15:01] Qt5 (a very preview release) can already be built, and it runs on N9/N950. We could build it on Ubuntu, package it and make it available trough a PPA. Then we could try to buuild the actual Unity-2D against it and start taking notes about the necessary changes required. [22:19] hi all [22:19] can anyone help me with bug 773841 [22:19] Launchpad bug 773841 in unity-place-files (Ubuntu) "\\192.168.1.x opens http:\\192.168.1.x in firefox as opposed to smb://192.168.1.x in nautilus" [Low,Confirmed] https://launchpad.net/bugs/773841 [22:19] angelo-c, help to fix? [22:19] I'm in trouble with launch_default_for_uri because it doesn't work with [22:19] not mounted volumes. [22:20] I talked about this strangeness with gtk developer on gtk+ dev irc [22:20] channel, and they explained me that the function is not intended to open [22:20] not mounted volumes. [22:20] They only way I found to open an uri like ssh:// or smb:// is to open [22:20] with nautilus using GLib.Process.spawn_async. [22:20] mmm.... [22:20] so launch_default_for_uri [22:20] doesn't work for not mounted volumes right? [22:21] and you don't know on which volume the uri is... [22:21] you can test yourself using gnome-mount, it uses the same launch_default_for_uri function [22:21] so you cannot mount the volume by yourself [22:21] right? [22:22] gnem-open sorry [22:22] gnome-open sorry again [22:22] the bug involves unity-len-files that is not a gui application, so I cannot use i gtkmount diaolog to mount the volume [22:23] but you can use a gmount... [22:23] :) [22:23] gmount? [22:23] TheMuso, Sorry, I missed your ping yesterday. [22:23] TheMuso, Yes, I think it should be a new property. [22:24] TheMuso, Make sure to put it in the defaults list. I don't know that there should be a default value as much as to set the type. [22:24] yeah.... http://developer.gnome.org/gio/2.31/GMount.html [22:24] angelo-c, ^^^ [22:25] sorry, I was not clear [22:25] nautilus and unity launchbar use this to mount a volume... [22:25] I cannot use gmount because it involves using a gtk mount operation that I cannot use because the daemon is a non gui app [22:27] tedg: Sorry, the defaults list and type? [22:27] tedg: Not sure what you mean by those. [22:27] angelo-c, gvolume and gmount doesn't open any dialog box... [22:27] angelo-c, you are Italian? [22:28] Ok, I thought adding a property would be the way to go. [22:28] I have to open dialog boxes, mounting an ssh volume should ask for a username and password, if you enter nautilius ssh://127.0.0.1 it opens a dialog [22:29] yes, I'm italian, is so recognizable? [22:29] :) [22:29] angelo-c, I'm italian too ;) [22:30] great, can we speak in Italian? [22:33] tedg: nvm I think I understand, I'll try to catch you later if I have more questions. [22:33] TheMuso, cool [22:35] Ok thanks. [23:11] Anyone have any thoughts on how to implement an indicator/widget for adjusting the screen brightness? [23:25] TheCowboy: You would need to leverage UPower at the backend to adjust brightness, if thats possible. I think UPower is responsible for reading any light sensors and adjusting the brightness based on the readings, but I am not sure if there any APIs to allow other apps to change brightness, as its usually something a user would do with their monitor controls/brightness keys on their device. [23:32] hi everybody, I put ubuntu 11.10 on as rock but no sounds, could u help me? [23:50] TheMuso, thanks, will take a look at that (one reason for wanting this is that for older Thinkpads there's a basically unfixable bug which doubles the step in the controls) [23:58] TheCowboy: Ah ok. [23:58] TheCowboy: In terms of older thinkpads, how old? [23:59] i don't think it's only for older thinkpads [23:59] my thinkpad is less than a year old, but i think it doubles the step [23:59] ah ok. [23:59] the xbacklight controls were added recently in the 3.1 kernel.