/srv/irclogs.ubuntu.com/2012/01/18/#ayatana.txt

=== m_conley_away is now known as m_conley
bschaeferandyrock, woot, I think I fixed the space problem! (Or I am on the right track)01:13
bschaeferandyrock, you are always up so late01:13
andyrockeheh compiz's fault01:14
bschaeferhaha, I have yet to start tacking parts of that beast. Sam has told me about it before haha01:14
bschaefertackling*01:18
andyrocknux is something like a beast too01:18
andyrock:)01:18
bschaeferyeeah, I have gone through that01:19
bschaeferparts at lease01:19
andyrockbschaefer, to understand/fix this bug i've lose to day 89367001:21
andyrock#89367001:21
andyrockand after a night in a disco01:22
andyrockwhen i got to home01:22
andyrockI was inspired01:22
andyrock:)01:22
bschaeferhaha, let me look the bug up really quick. the bot seems to fail at parsing atm01:23
bschaeferandyrock, nice!01:24
bschaeferandyrock, that is about as much time as I have learning the ibus, ibus-hangul and libhangul code haha01:25
andyrockcool, let me know if you fix the problem01:26
bschaeferandyrock, well I have to space working correctly, because they didn't think they would be responsible for the space that gets sent to them01:27
bschaeferandyrock, so the more annoying part the space is fixed in a build i have, but i want to make sure it is the correct fix :)01:27
andyrockgo it01:27
andyrock*got it01:27
=== m_conley is now known as m_conley_away
=== chrisccoulson_ is now known as chrisccoulson
=== DBO is now known as jsmith
=== jsmith is now known as DBO
mick0davidcalle: The spotify-precise branch works on precise. Just took a look at the packageing you commited yesterday.. Will start on that this evening.11:37
davidcallemick0, great! I will give it a try when I'm on my Precise install.11:38
mick0davidcalle: I think I have to change the recepie for the other branch to not include precise as it does not have the unity 5.0 changes?11:39
davidcallemick0, you just need to create another recipe and when you build : one with Precise, the other with Oneiric. The recipe itself does not change, you can copy-paste it.11:40
mick0ok11:40
mick0davidcalle: btw, I still saw the album art not loading bug when testing on precise.11:41
davidcallemick0, http://www.grillbar.org/wordpress/?p=58511:41
davidcallemick0, I know, I don't think that gord had the time to look at the issue. I hope it will work fine on the release.11:43
mick0Oh ok.11:44
gordnope not had time yet, was sprinting last week, maybe next week11:44
mick0davidcalle: That was a good blog post! Will try out the cancellable thing later instead of thaw. Have to run to a lecture now.11:52
davidcalleIndeed! Have fun :)11:52
noordungHi guys. I'm writing an application that needs to know whether an AppMenu is active and being used. How can I detect that?12:22
kamstrupJohnLea: hey, good progress on lenses in the home screen, it is basically working, just one question12:45
kamstrupon the category names12:45
kamstrupfrom the files lens we pull in "Recent" and "Downloads" and from the apps lens we pull in "Recently Used". The two "Recent*" are inelegantly similar12:45
kamstrupshould I change to "Recent Files" and "Recent Apps" (or "Recent Applications" - it might be overly hip to call it "Apps"? :-))12:46
kamstrupmhr3: incidentally... I have a rather complex thing to test out today... requiring someone on the unity team with jhbuild skills... (someone != /me)12:47
kamstruphint hint12:47
mhr3kamstrup, yea sure12:48
kamstrupunless someone else on #ayatana has a unity-jhbuild stack at the ready12:48
kamstrupmhr3: the homelens stuff could use a test spin before we waste time on review12:48
=== MacSlow is now known as MacSlow|lunch
kamstrupmhr3: gimme 15 mins to push the latest tweaks12:48
* mhr3 starts preparing food meanwhile12:49
=== mdeslaur is now known as mdeslaur_
=== mdeslaur_ is now known as mdeslaur
mhr3kamstrup, also fwiw we already call them "apps" in the sources filter13:10
JohnLeakamstrup; yes, "Recent Files" and "Recent Apps" is good13:23
kamstrupJohnLea: phew :-) Already committed it locally :-)13:24
kamstrupJohnLea: running the still-WIP branches here it feels really good13:24
kamstrupmhr3: can you read the status report on https://bugs.launchpad.net/ubuntu/+source/unity/+bug/885738 and try out the branches?13:26
ubot5Launchpad bug 885738 in unity (Ubuntu) "Dash - Remove Dash Home shortcut icons" [High,In progress]13:26
* mhr3 updates .jhbuild13:30
mhr3kamstrup, any chance you could sync with trunk? if not done13:31
kamstrupmhr3: should be fairly recent, but let me do it13:31
kamstrupmhr3: done13:33
kamstrupmhr3: only unity needed sync13:33
mhr3great13:34
kamstrupJohnLea: currently in home screen search the music lens uses two categories. This seems a bit out of proportions as the files- and apps only use one collated category each13:34
kamstrupwhen searching in the home screen the results a dominated by music, which is rarely what I look for13:35
JohnLeakamstrup; what are those 2 categories?  Songs and Albums?13:35
kamstrupright13:35
kamstrupI am thinking maybe only include Songs13:36
kamstrupas they'll match on the album title anyway afaik13:36
JohnLeakamstrup; how about combining both into a single category?13:36
kamstrupso ppl can go easily from the song to the album when the player is up13:36
kamstrupalso possible13:36
kamstrupboth are easy tweaks13:36
JohnLeakamstrup; I think both would be good, with albums ordered infront of songs13:37
kamstrupJohnLea: ok13:37
JohnLeaalso "music" should be the last category header13:37
kamstrupgreat, on it13:38
mhr3kamstrup, it's kinda crashing every time i press bfb :)13:39
kamstrupmhr3: meh, it's rock steady here13:40
mhr3kamstrup, can it be cause i'm not running latest files lens?13:40
kamstrupmhr3: still it shouldn't crash... but could be13:40
mhr3kamstrup, http://paste.ubuntu.com/808585/13:41
mhr3i'll try rebuilding it all, it might be because of the incremental build...13:42
kamstrupmhr3: looks nasty. mind that there is an abi break in UnityCore13:50
mhr3yea, i'm rebuilding... i just dont have 8 cores :P13:52
mhr3kamstrup, works now :)14:00
=== MacSlow|lunch is now known as MacSlow
=== mgedmin_ is now known as mgedmin
mgedminso, middle-click on the top panel brings the focused maximized window to the background -- awesome!15:05
mgedminunless the area that looked like blank top panel reveals an application menu at the last moment -- d'oh!15:06
=== nuthinking_ is now known as nuthinking
tgm4883I'm trying to create a mythtv scope for ubuntuTV and there doesn't appear to be a way to do this yet  http://www.extremetech.com/wp-content/uploads/2012/01/tv-experience-spongebob.jpg16:36
tgm4883Does an API exist for this yet?16:36
mhall119tgm4883: exist for what?16:51
tgm4883mhall119, for adding the content so it shows in a preview as in the screenshot16:51
tgm4883The only thing I've really seen is the default unity way of showing things16:52
mhall119tgm4883: I  don't think so, but I think it's supposed to make it's way back into Unity, so it will at some point16:52
tgm4883is there a roadmap for that?16:52
mhall119tgm4883: some of the things that *look* like scopes in the demo are custom code made just for the demo16:52
=== zyga_ is now known as zyga
tgm4883I've got a scope for MythTV made that puts the shows in the videos lens, but that doesn't really work so well for TV recordings16:54
tgm4883The Schema doesn't really seem suited for recorded shows16:55
=== zyga is now known as zyga-break
mick0mhr3: Im experimenting with Dee.Transaction and want to show results while appending them. Like you could do with flush_revision_queue before. Is there any good way to do this?19:26
mhr3mick0, the reason Transaction exists is to prevent that :)19:27
mhr3(showing results while you're appending them)19:27
mick0So I should just do that the old way. And check is_cancelled alot.19:29
mhr3mick0, if you're not doing any async io, you really dont need to check the cancellable19:30
mhr3the cancellable can get cancelled *only* if you return to mainloop at some point19:30
mick0what do you mean? As I understand it is_cancelled will return true if an new search query has been entered.19:31
mhr3yes, but that can't happen magically, you need to be doing async io for that to happen19:33
mick0By async you mean the io (in my case requests to a web server) running in its own thread?19:35
mhr3yes, or a callback based io (like gio is - or at least its non _sync methods)19:36
mhr3you could also spin the mainloop yourself for a while even between synchronous operations19:37
mick0Hmm. I don't think cancel will work better then thaw in this scope.19:38
mhr3well if you're not doing async operations you dont need freeze/thaw in the first place19:39
mick0Actually thaw makes a difference. It will make the scope to ignore some redundant search querys.19:42
mick0for example, a long string will be searched in the start and then at the end.19:42
mhr3unity does that, not lenses/scopes19:42
mhr3but it'll change in 5.2 ;)19:43
mick0even in oneiric? I've noticed a difference when Im using thaw and when I don't19:43
mhr3yep, even in oneiric19:46
mhr3what you saw was probably different typing speed ;)19:46
mhr3or a webserver having good/bad moment19:47
mhr3not sure what your scope is doing...19:47
mick0oh. It's the spotify scope. It querys spotifys metadata server for tracks and albums and fetches album art.19:48
mhr3well... if the server was *really* slow, you actually could see some difference with the thawing19:50
mick0I understand it as I wont get any new querys while Im freezed?19:51
mick0and then get a new when I thaw.19:51
mhr3right, they're queued and dispatched once you thaw19:51
mick0That is the what I see then.19:51
mhr3well ultimately it'll behave the same way now even without freezing anyway19:52
mhr3s/anyway/anything/19:53
mick0As every with query I do a few querys. In theory max 26. Two to the metadata server and 24 to get album art (if all results are from different albums).19:53
mick0thaw seems to make a difference19:54
mhr3damn, that must take a while19:54
mhr3what's the average time to completely all the queries?19:54
mick0I havent got any number but I estimate the first result to show with album art within 1 or 2 secs.19:56
mhr3wooo19:56
mhr3but yea... webservices are slow...19:56
mhr3we're aiming for ~80ms with the default lenses19:57
mhr3and they still get cancelled from time to time ;)19:58
mick0thats all local requests?19:58
mhr3mick0, yea, there's no way a webservice would reply in such short time20:00
mhr3they're all in java and take 80ms just to process the http header :D20:00
mick0^^20:01
=== yofel_ is now known as yofel
mhall119davidcalle: mhr3: is there any reference of what changed in the Lens api for Unity 5?20:33
mhr3mhall119, kamstrup published a nice blog post about it20:34
mhr3it's on planet20:34
mhall119ah, I've been so busy today I haven't even consulted my readfeeder20:34
bschaefermhr3, thanks for that update. I should be able to finish that today at some point!21:14
mhr3bschaefer, no hurry, but let me know of the progress :)21:15
bschaefermhr3, will do :)21:15
bschaefermhr3, hey, quick question. So there is still a possibility that when results->count == 0 and for it to not have no-result-hint. correct?22:07
bschaefermhr3, also noticed the results->count updates correctly now :)22:08
mhr3bschaefer, right, and it may the other way around as well22:08
mhr3like you'll get "no-results-hint" and have > 0 results22:09
bschaefermhr3, cool, ill just check if results == 0 then check if there is a no-results-hint. :)22:09
bschaeferthanks22:10
mhr3me skipping verbs is a sign that i should to bed :)22:10
bschaefermhr3, haha yeah, it's just 2pm here. Have a good night. I should be done with this in under an hour :).22:10
mhr3bschaefer, cool, have fun with it22:11
bschaefermhr3, will do, you did most the work!22:11
bschaeferand a good job at it. Very easy to finish this now22:11
mhr3thx, and gn22:12
bschaefernight22:12

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!