[06:03] good morning [07:07] greetings everybody [07:18] good morning! which component is responsible for drawing (or getting the data for) the progress bar on the nautilus launcher item? [07:21] htorque: I'm not sure, but I'd guess it'll be the unity compiz plugin, with libunity for the client-side communication. [07:23] RAOF: thanks. it seems to draw the progress bar in the wrong direction, so i guess "unity" is affected anyways: http://img.xrmb2.net/images/149883.png [07:37] htorque: indeed, it's unity [07:38] didrocks: thanks. no bug report found, so i'll open one. :) [07:38] sure :) === API is now known as Guest15739 === Guest15739 is now known as apinheiro [08:49] didrocks: https://launchpad.net/zeitgeist-extensions/trunk/0.0.11 should fix the buggers [08:50] kamstrup: you are eating versions like buns! Trying to race with chrome? :-) [08:50] kamstrup: do you have the bug # fixed? [08:51] didrocks: https://bugs.launchpad.net/zeitgeist-extensions/+bug/722762 [08:51] Ubuntu bug 722762 in Zeitgeist Extensions "zeitgeist-daemon using ~100% of CPU" [Critical,Triaged] [08:52] kamstrup: only this one? all the rest are duplicates, isn't it? [08:52] didrocks: yeah, just dupe hunting right now :-) [08:52] kamstrup: excellent, trying this and pushing :) [08:53] didrocks: hold on I have a handy test script for you... [08:53] kamstrup: oh nice! :) [08:54] didrocks: kill zg and run http://paste.ubuntu.com/682426/ and restart zg... this should trigger a reindex because of missing cjk metadata [08:55] and this was one particular place the race is very likely to occur [08:55] didrocks, we should have the return of kamstrup celebrated as a ubuntu holiday [08:55] seif: I agree, less than a week he's back and he already triggered a critical bug! what a score :-) [08:55] kamstrup: trying trying ;) [08:57] kamstrup: what should be sys.argv[1]? zeitgeist? [09:04] strupday :P [09:04] didrocks, sounds good right [09:09] kamstrup: ok, it worked (no crash), but as I didn't get the issue on Friday… let me push that, thanks! [09:10] didrocks: ah, sorry sys.argv[1] should be ~/.local/share/zeitgeist/fts.index, but I also tested it numerous times here; and I could in fact reproduce it before this patch [09:11] kamstrup: great! ;) [09:57] kamstrup, u rock [09:58] good morning! [10:02] mardy: hi :) [10:02] Andy80: hi :-) [10:04] mardy: a little question about your last comment. how do I delete the ref at the end? Using g_object_unref (but please note that m_nautilusIface is a Qt object) or using a "delete" in the destructor? [10:05] Andy80: use delete; or, if the QDBusInterface takes a "QObject *parent" parameter, you can pass "this" to it, so you don't need to worry about deletion [10:06] mardy: let me check... [10:07] mardy: yes, it should support it: QDBusInterface ( const QString & service, const QString & path, const QString & interface = QString(), const QDBusConnection & connection = QDBusConnection::sessionBus(), QObject * parent = 0 ) [10:08] Andy80: good, then just append "this" as last parameter, and that should do the trick [10:16] mardy: committed/pushed :) p.s: the line is not exactly 80 chars or it would have splitted in 5 lines... there are even longer lines than mine :P anyway I splitted a bit [10:32] seif: check twitter, I am on a roll today! ;-) === MacSlow is now known as MacSlow|lunch [10:53] mhr3: I have fixed a range of races and other oddities in zg fts trunk. Maybe you wont need ForceReindex() after all ;-) === chrisccoulson_ is now known as chrisccoulson [11:40] kamstrup, now that would be awesome, but let me test that first :) [11:41] mhr3: indeed. you probably already have your own ways to trigger this, but if not I posted some hints on how in the two bugs I tweeted [11:46] kamstrup, btw is the new fts backwards-compatible? [11:46] mhr3: yes [11:46] i mean will it work if i upgrade now without the xapian patches? [11:47] if it will, we can just package it and throw to synapse users [12:06] kamstrup, ^^? [12:09] a quick question: are you aware of this regression in Oneiric: using the dash, once you have found (for example) "Text Editor", you cannot select it using TAB? [12:13] mhr3: yes, it should work with and without the xapian patches [12:13] Andy80: hmmm don't know - but arrow keys definitely work... [12:14] njpatel: ^^ ? [12:14] gord, ^^^ [12:16] :( [12:17] kamstrup: let me try arrows... [12:17] looks like a bug with nux, tab is broken [12:17] kamstrup, and will it upgrade properly if one is to use the new version now and later upgrade to oneiric? :) [12:18] mhr3: yes [12:18] mhr3: you should be able to ix and match any way you choose [12:18] kamstrup: uhm... they work (arrows) only if you first press arrow-down then you move with left-right... I think it's a regression. [12:19] Andy80: I think gord just volunteered to fix it ;-) [12:19] kamstrup: perfect :) [12:20] kamstrup, gord: same thing also happens in Unity-2D, if it's not too hard, I can see how you fix it in Unity and apply the same method to Unity-2d, just let me know :) [12:20] kamstrup, ok then [12:52] kamstrup, forgot to ask, did you have any luck with python and libunity? Did the sample port over okay? [12:54] njpatel: i've been hunting down bugs in zg-fts ever since I opened my editor to hack on the Python lens sample [12:54] njpatel: but I think I have it under control now :-) [12:54] so python lens slowly bubbling back up to top prio :-) [12:55] kamstrup, heh, sweet [12:55] I might end up playing around with it tonight too, i Need to get something ready for the app devel week thing tomorrow [12:55] weird capitalisation there [12:55] njpatel: hehe :-D [12:56] njpatel: i'll grab some tea and then be on it [13:04] thanks dude [14:02] njpatel: there seems to be some magic incantations I miss for unity to pick up my .lens file... [14:03] kamstrup, do a dance [14:03] njpatel: I have /usr/share/unity/lenses/sample/python.lens [14:03] njpatel: or must the .lens be names as the parent dir? [14:03] yep [14:03] $lens_id/$lens_id.lens [14:03] trying [14:04] sudo mv /usr/share/unity/lenses/{sample,python} [14:04] bracket expressions is TEH awesome [14:04] heh [14:19] njpatel: I have something working here! [14:19] woohoo! [14:19] njpatel: but I also managed to segfault unity ;-) [14:19] waaaa? [14:19] :) [14:19] njpatel: yeah, I know!? unity is bug free so it must be a bug in g++ [14:20] kamstrup, exactly! [14:20] njpatel: on a related note... I can't open files from the files lens [14:20] njpatel: nothing happens when I click them [14:21] kamstrup, the files lens should be getting the activate trigger, is it printing out anything? [14:21] it seems to work okay here [14:21] although I do need to upgrade to latest O [14:22] njpatel: odd... now it works again [14:22] darn gremlins [14:22] heh [14:23] maybe input issues? [14:23] or do you get the prelight square etc? [14:27] njpatel: just for ref I am pushing my stuff here as I go along lp:~unity-team/unity-lens-sample/unity-place-python [14:28] still some work before it makes sense, but it is "runnable" if you know *exactly* how to deploy it ;-) [14:29] kamstrup, heh, awesome dude, will check it out after I'm done breaking, er fixing, the dash [14:31] njpatel, kamstrup, on a related note, is it possible to activate something like "xdg-open file://somefile" from a python lens? [14:36] davidcalle: it should be, but no one has tried it yet :-) [14:39] davidcalle: you normally don't want to use xdg-open from a Python program - use something like Gio.AppInfo.launch_default_for_uri("http://google.com", None) instead [14:39] it'll "do the right thing" [14:39] kamstrup, nice [14:39] indeed, I was just looking for the pythonic version of that call :) [14:39] davidcalle: and the None param can be a Gio.LaunchContext you can use to control which desktop it's spawned on and such, but normally the default is ok [14:44] Anyone knows why ewe reject to run 'unity --advanced-debug' from a gnome-terminal and insist on a tty? [14:45] it sucks because the nvidia drivers really don't like switching to a tty all that much [15:19] question: in Oneiric should the indicators that want to draw attention turn green or blue? [15:20] njpatel_, Hi there is a bug 839200 where unity will hand and wont start at all on a netbook and maybe other resolutions [15:20] Launchpad bug 839200 in unity (Ubuntu) "Trying to minimize Unity Dash to make it fit on a 1024x768 screen makes Unity freeze and then, after I log out by killing X, never start again" [Critical,Confirmed] https://launchpad.net/bugs/839200 [15:21] this happens on un-maximing the dash [15:21] wow [15:21] om26er, will investigate [15:21] assigned it to myself [15:21] njpatel_, cool, i'll assign it to you then. [15:22] oier_, I believe that blue is now being used to indicate a new communication. Red for a warning requesting user action. [15:22] done :) [15:23] I maintain an indicator, should the natty version turn green and the oneiric version blue? [15:23] oier_, and if I recall correctly, green is for availablity/success [15:23] om26er, I thought you weren't coming to IRC today, but it's good to see you here [15:23] oier_, which indicator? [15:23] indicator-bug [15:24] ephan, internet became stable after I knocked their heads on the call ;-) [15:24] cool [15:24] oier_, isn't blue being used for the messaging-menu on natty? Don't remember. [15:25] green in natty for messaging menu [15:25] it was changed for oneiric [15:34] JohnLea, blacklisting a cd-rom makes everything harder to do... but not problem i will find the best solution [15:34] :) [15:35] andyrock; thx! Btw do you agree that some people may not want their CD rom to appear in the Launcher? [15:35] The Unity source code changed a lot since I last browsed it two weeks ago, time to update myself. [15:37] JohnLea, of course... But blacklist a cd-rom can mean: "blacklist all the cd-roms" or "blacklist just one cd-rom e.g. Ubuntu 11.10 Beta 1 cd-rom" [15:37] I prefer to have all mount points (CDs, USB, or just partitions) only show in the Files app [15:38] and what happens if there are more than one cd-rom readers? [15:38] jbicha, at the moment you can hide all device icons from ccsm [15:39] i'm working to remove this option but you can easily blacklist one or more (or all) devices [15:40] yes, it was just especially annoying in Natty when the default icons would overflow the launcher on netbooks or even laptops [15:41] jbicha, even it natty you can hide this icons but you should use gsettings (or dconf-editor for a gui) [15:42] andyrock: I never use ccsm ;-) [15:42] andyrock; Per CD as this is more in line with how we treat other removable storage? [15:43] andyrock, note the item 3 in the bug description that covers the difference between ejecting storage and removing it from the Launcher [15:44] JohnLea, so if i blacklist "Ubuntu 11.10 Beta 1" cd-rom and then I insert another cd-rom "Debian..." this cd-rom should be shown? [15:45] andyrock; yes, but what are your thoughts on this? [15:48] JohnLea, well blacklisting per CD is more in line whit the other devices but i'm not sure that exist a method in gio to identify a single cd-rom [15:48] a single partition has an uuid [15:49] i'm thinking: do you know /etc/fstab? [15:50] andyrock; if you can't identify specific CD roms it's ok to go with the other option of removing the specific CD rom drive. But it would be better to do it on a CD by CD basis if possible. [15:51] JohnLea, we can use the device name but is't errors prone... I mean: what happens if there are two different devices with the same name both without an uuid? [15:51] let me think, btw i will try to do it [15:52] andyrock; good luck, thx! ;-) [15:52] JohnLea, btw i really like this design :) [15:52] ;-) === njpatel_ is now known as njpatel [16:19] JohnLea, we can use the same format of mount command [16:20] so we can blacklist by LABEL UUID [16:20] or by name (/dev/sda) [16:21] using the gui we can blacklist just the label and the uuid [16:21] something like it: if the device has an uuid blacklist his uuid [16:22] if a blacklist has not an uuid (e.g. cd-rom) blacklist his label [16:23] power users can be able to blacklist devices by name [16:23] e.g. /dev/sdc1 to blacklist all CD-ROMs [16:23] naturally editing properly the blacklist file [16:42] andyrock; sounds good ;-) [17:42] RAOF, you working today? [17:43] RAOF, oops, wrong nick, sorry === yofel_ is now known as yofel [20:19] JohnLea, ping [20:34] JohnLea, about https://bugs.launchpad.net/unity/+bug/841941 i need more info about the correct behavior. The virtual drives should be treated as removable drives or un-removable ones? [20:34] Ubuntu bug 841941 in unity (Ubuntu) "Unity Launcher shows only physical drives, not virtuals such as FTP" [Undecided,Incomplete] [20:35] so a un-removable drives is shown on the launcher otherwise it is blacklisted (read unpinned) [20:36] a removable drives is shown on the launcher if isn't blacklisted and afterall if it's connected [20:37] a virtual drive (ftp://...) can be both a un-removable drives and a removable drives [20:37] *drive [20:38] i mean [20:38] it's anun-removable drive becuase it's virtual... [20:40] but it's alo a removable drives because once it can be umount [20:40] the problem is: [20:40] the un-removable drive can be easy listed [20:41] the virtual drive cannot be easy listed (each uri on the Internet can be a virtual drive =) ) [20:42] finally, i need detailed as possible info or the license to decide :) [21:05] andyrock: Trevinho : I think I found a bug in the dropdown menus [21:05] Trevinho: do you know where's the code for them? [21:05] Trevinho: I think the menu is shifted 1px on the left === Cimi__ is now known as Cimi [21:06] Cimi, dropdown menus? do you mean launcher quicklists? [21:06] andyrock: menubar and indicators [21:06] andyrock: they look aligned, because I added an offset in the menuitem [21:07] andyrock: but my feeling is that the dropdown menu is shifted 1px on the left [21:07] Cimi, ok... so do want to know where the dropdown mene is drawn right? [21:08] andyrock: yep [21:09] Cimi, i think that it's drawn in unity-panel-service [21:10] but we decide the postion [21:10] in PanelInidcatorObjectEntryView.cpp (or something like this) [21:11] mmm... i've just found this [21:11] proxy_->ShowMenu(GetAbsoluteX() + 1, //cairo translation [21:11] GetAbsoluteY() + PANEL_HEIGHT, [21:11] time(NULL), [21:11] nux::GetEventButton(button_flags)); [21:11] the "+1" is weird... [21:13] andyrock: yep [21:13] andyrock: without looking at the code, I imagined it [21:13] you rock we know :) [21:13] lol [21:46] Cimi sees the code [21:46] it's like matrix :) [21:46] lol [21:46] in matrix [21:47] he can see a beautiful blonde girl in a red dress [21:47] I'm still not able to do that [21:47] Cimi, just open a browser ;) [21:47] but that's not code :D [21:48] the end result is what matters, no? :)