/srv/irclogs.ubuntu.com/2012/03/23/#ubuntu-unity.txt

=== Jens is now known as Guest44167
=== chaoticuk_ is now known as chaoticuk
=== chaoticuk_ is now known as chaoticuk
=== chaoticuk_ is now known as chaoticuk
=== chaoticuk_ is now known as chaoticuk
=== jalcine is now known as jalcine_
=== jalcine_ is now known as jalcine
elvisddidrocks, hi07:32
elvisddidrocks: Alan P. asked me to report to you a unity bug07:32
elvisddidrocks: mentioned here http://goo.gl/byrd607:33
didrockselvisd: hey, you are on the unity-team/ppa right?07:33
elvisddidrocks: wait i check07:33
elvisdyes, i am07:34
didrockselvisd: can you try adding temporarly the unity-team staging ppa? (unity-team/staging)07:34
didrocksthen upgrade07:34
didrocks(and then remove the entry in your source.list, it's not a safe ppa generally ;))07:34
elvisddidrocks: should i remove the unity-team/ppa first?07:35
didrockselvisd: no, you can keep it, that's fine07:35
elvisddidrocks: ok. give some minutes, should finish ajob first07:40
didrockssure :)07:40
elvisddidrocks: ok. ppa added and dist-upgrade too. rebooting now. i'll contact you after.07:57
davidcallemhr3, ping07:59
didrockselvisd: thanks!07:59
elvisddidrocks, i rebooted, but after login i had the same issue08:05
elvisddidrocks, no launcher, no panel, no right click08:06
didrockselvisd: ok, we have maybe a fix, do you have time?08:06
elvisdyes08:06
didrocksgreat ;)08:06
* didrocks pushes a new compiz to the ppa shortly08:06
mhr3davidcalle, hey08:07
elvisddidrocks, what i can report too, is that right click on desktop doesn't work and the panel hasn't the shadow, it's so flat. :)08:09
elvisddidrocks, and desktop icons aren't shown08:09
didrockselvisd: yeah, everything is linked08:12
elvisddidrocks, ok.08:14
davidcallemhr3, when zeitgeist gives me the n latest video activities, does it checks for the file existence? Same question for GAJ, does it displays deleted files?08:18
mhr3davidcalle, no, the files might be already deleted08:18
mhr3davidcalle, we need the bug where video lens displays old results fixed08:19
davidcalleOk, that's what I thought.08:19
davidcallemhr3, I will push the fix tonight/tomorrow for you to test it in the PPA.08:22
mhr3davidcalle, show me the code, i'll tell you if that fixes it :)08:22
davidcalleOk :) I think I'm just going to check the status of the search before appending my batch of results to the model.08:23
mhr3you need to spin the mainloop in between though08:23
mhr3(i guess everything you're doing is synchronous)08:24
davidcallemhr3, no actually, the thumbnailer and locate are async.08:25
mhr3davidcalle, but the rest isn't08:26
davidcallemhr3, right08:27
mhr3davidcalle, where did you find the zg code you're using?08:27
mhr3even that is sync, and we strongly discourage its usage08:27
davidcallemhr3, a buch of places I believe : rainct code samples, rb plugin, etc08:29
davidcallemhr3, oh, I wasn't aware of it08:29
* mhr3 wants to eradicate all sources where the sync variant is used :)08:29
mhr3davidcalle, this is how the api is supposed to be used> http://paste.ubuntu.com/896135/08:30
mhr3well.. minus the awful magic numbers for the constants :)08:32
davidcallemhr3, hehe. Ok, I will switch to async zg.08:33
mhr3davidcalle, also doing that will force you to spin the mainloop, so the cancellable will have correct state when you'll be about to append results to the model08:34
davidcalleIndeed08:34
mhr3and you'll be able to do simple if cancellable.is_cancelled(): return08:34
davidcallemhr3, that's what I was thinking about, but without caring about the loop, thanks :)08:35
mhr3davidcalle, btw should you also wait for the updatedb call to finish?08:36
mhr3shouldn't?08:36
mhr3or does locate block in case updatedb is running?08:37
davidcallemhr3, nope. I don't want to wait, in case there is an existing updatedb, I still want to trigger the first results of the search on it.08:38
didrockselvisd: around?08:39
elvisddidrocks:  oh yes08:39
didrockselvisd: if you upgrade from the staging ppa, you should get compiz 1:0.9.7.2-0ubuntu1~ppa508:39
didrockselvisd: can you try with that?08:39
mhr3davidcalle, but then you might get results which aren't there, or not get results which are there now08:41
elvisddidrocks:  dist-upgrade says: The following packages have been kept back: compiz08:41
didrockselvisd: apt-cache policy compiz?08:41
elvisddidrocks:  http://pastebin.ubuntu.com/896143/08:42
didrockselvisd: looks good, maybe you had some archive skew08:43
didrockselvisd: try apt-get update08:43
didrocksif dist-upgrade still says keeping back compiz08:43
didrockstry apt-get install compiz08:43
elvisddidrocks:  http://pastebin.ubuntu.com/896148/08:46
didrockselvisd: ok, every binary is not published, funny ppa :)08:46
didrockselvisd: let's wait 5 minutes08:46
didrocksshould be fine08:46
davidcallemhr3, I GIo check several time during the process for the existence of the file.08:46
mhr3davidcalle, ok that fixes the first part, not the second08:47
davidcalleAnd results which are there will arrive at some point during the search. I've tested updatedb with more than 1000 video files in nested folders and it's stays fast.08:48
davidcallemhr3^08:48
davidcalleit*08:48
didrockselvisd: if you are braced, and if apt-get upgrade and dist-upgrade don't work right now (not publishe)08:49
mhr3davidcalle, on your machine :)08:49
didrockselvisd: you can download the binary directly:08:50
didrockshttps://launchpad.net/~unity-team/+archive/staging/+build/331134608:50
didrocksunder "Built files"08:50
didrocksyou need compiz-core_0.9.7.2-0ubuntu1~ppa5_amd64.deb , compiz-gnome_0.9.7.2-0ubuntu1~ppa5_amd64.deb, compiz-plugins-default_0.9.7.2-0ubuntu1~ppa5_amd64.deb , compiz-plugins_0.9.7.2-0ubuntu1~ppa5_amd64.deb , libdecoration0_0.9.7.2-0ubuntu1~ppa5_amd64.deb08:50
davidcallemhr3, I mean, it deals with very big files, is waiting for updatedb to finish worth the wait for everything to be displayed on the first letter in the search field?08:50
didrocksand then install them with sudo dpkg -i <all deb files>08:50
mhr3davidcalle, well from what you're saying it seems like it's implicitly waiting for it anyway (it the locate call doesn't return until updatedb finished)08:52
mhr3davidcalle, plus you need to drop kernel disk caches everytime you test these kind of things, to see how it *really* behaves08:53
elvisddidrocks:  Ok, downloaded and installed. I'll reboot in minutes08:53
didrockselvisd: thanks ;)08:54
elvisddidrocks:  thanks to you! :)08:54
davidcallemhr3, locate will still return results on the existing db. If updatedb takes time, it means there are a lot of files and the lens only displays 100 results max in any case. So, to get a specific result on a large video db, you need to enter several letters. It gives updatedb the time to run.08:55
davidcallemhr3, updatedb doesn't block locate. It writes results in a temp file, then copies them to the final db when it's done.08:56
mhr3davidcalle, or just that the disk is busy08:57
davidcallemhr3, indeed, but in this case, any updatedb will take time. The files lens will, for example.08:58
mhr3if it doesn't block then it's creating races where search for one letter won't return any results at one point, and if you try 10 seconds later it will return something08:58
davidcallemhr3, ok, how do you suggest this to be solved? Updatedb is the fastest thing I could find, and I don't want locate to depend on it : big video db would have to wait for every single search.09:02
mhr3davidcalle, well the first problem i see is that you run updatedb on every single search09:03
mhr3but any io is going to be slow, you're unlikely to find anything faster09:04
elvisddidrocks:  Funziona! ("It works!" in italian)09:04
didrocks\o/09:04
didrockselvisd: thanks a lot! :-)09:04
didrocksI mean, really, *a lot*09:04
mhr3davidcalle, a "fix" could be to use only zeitgeist, but then there may be files which aren't logged, so... :/09:05
elvisddidrocks:  as said, thanks to you! Can i leave the staging ppa until released?09:05
davidcallemhr3, I could trigger updatedb only when the lens is opened, but I definitely want to cover the use case where the users imports a large video db, and while it's doing it, searches for new videos in the lens.09:05
didrockselvisd: sure, just remove it from your source.list09:05
didrockselvisd: but keep the packages09:05
didrocks(no ppa-purge)09:05
elvisdok09:06
didrockselvisd: we will hopefully release tomorrow and then, you will get the released one :)09:06
mhr3davidcalle, yea, that is probably a step in right direction (to limit the invocations of updatedb)09:06
elvisddidrocks:  ok. have a nice day!09:06
didrockselvisd: thanks, you made my day until now! Have a nice day as well :)09:07
elvisddidrocks:  and you my day. 1 day and half without unity and i'm lost!09:08
davidcallemhr3, I could correlate, somehow the size of the video folder, the number of items it contains and the size of the db file to see if an updatedb is needed + updatedb on lens opening.09:08
mhr3davidcalle, that sounds too magical09:08
davidcallemhr3, I agree.09:08
didrockselvisd: heh, we got really easily used to it, right? :)09:08
elvisddidrocks: absolutely right!09:09
mhr3davidcalle, i wouldn't really mind something simple, like only run updatedb when the lens is shown + a limit of one run per minute or so?09:09
elvisddidrocks: and it's the same for "converted" family and friends (the grand-father too!)09:10
didrockselvisd: waow, nice to know! Thanks for the cheering, we work hard to make it the best we can :)09:10
mhr3davidcalle, how long does the updatedb take approximately on a huge video folder?09:10
davidcallemhr3, yeah, but there really is a magic feeling to the lens when you are importing a bunch of videos and they just appear as you search and you can see the thumbnails created if front of you. :) But ok, less magic for less IO...09:11
mhr3davidcalle, 2 seconds, 30seconds? 5minutes?09:11
elvisddidrocks: and we'll achieve it! cheers from switzerland, to you and the whole team!09:11
didrocksthanks again elvisd ;)09:11
davidcallemhr3, I currently have more than 500 videos and it's less than one second.09:11
mhr3davidcalle, in that case there's no harm in waiting for it to finish09:12
mhr3as long as a spinner shown the user will be happy :)09:12
davidcallemhr3, there is harm, big db will have to support this wait each time the open the lens.09:12
davidcallethey*09:12
mhr3davidcalle, but if nothing changes the updatedb will be much faster, no?09:13
=== chaoticuk_ is now known as chaoticuk
davidcallemhr3, not sure. But I'm going to restrict updatedb on lens opening, it feels like the right thing to do. I'll ask the novacut guys to test the PPA on their outrageous amount of raw video footage.09:16
mhr3davidcalle, heh, ok, anyway the bug we talked about earlier is more important that this atm09:17
davidcallemhr3, ok. Got to go (one hour late for work ... :-)09:18
popeyelvisd / didrocks nice one!09:24
elvisdpopey: Oh yes! Thanks to you too09:24
popeyI did nothing :D09:25
elvisdpopey: you routed me.09:25
popey"It's not what you know, it's who you know" :D09:25
apwdidrocks, am i expecting the new unity features in already today ?10:10
didrocksapw: well, you should, we are still fighting since yesterday to some remaining issues10:11
didrocksapw: so, can't ensure we will release today, we are doing our best and not sleeping a lot…10:11
apwnasty /me hands didrocks some coffee10:11
* didrocks takes it with pleasure :)10:12
didrocksspeaking of coffee10:12
didrockstime to take a real cup again ;)10:12
didrocksapw: if you have time, please update to the staging ppa10:12
didrocksand reboot10:12
didrocksjust to ensure that the workaround we introduced for some special cases didn't regress for you10:13
greybackdidrocks: hi, a recent Unity change means unity2d has one MR to add: https://code.launchpad.net/~gerboland/unity-2d/averageBgColor-use-our-key/+merge/9883810:51
greybackdidrocks: is this possible now, or shall we be patient?10:51
didrocksgreyback: unblock now please :)10:52
didrocksit's fine ;)10:52
greybackdidrocks: I've UNBLOCK in commit message & description10:52
didrocks(I saw the discussion on the ML)10:52
didrockswell ML -> launchpad emails10:52
didrocksgreyback: there are some unity branches merging, it's probably why it's waiting10:55
greybackdidrocks: ah of course, my bad. Is there any way for me to see that?10:55
greybackas in a status page of the merger?10:56
didrocksgreyback: no, unfortunatly, you don't have shell access, isn't it?10:56
didrocksgreyback: I can remove the dep between unity and unity-2d10:56
didrocksgreyback: it's just when there is an ABI break, you have to wait manually10:56
greybackdidrocks: yeah, leave it for now.10:56
greybackbad time to start changing things10:56
greybackdidrocks: ok, thanks for your help. I'll leave you to your other business :)10:57
didrocksgreyback: yeah, I confirm there is a unity merge going on10:58
greybackdidrocks: ok, will wait. Many thanks10:59
didrocksgreyback: on https://code.launchpad.net/~gerboland/unity-2d/update-pots/+merge/9839211:56
didrocksyou set the unblock on the commit message11:56
didrocksnot the description11:56
greybackdidrocks: oops, fixing11:57
didrocksgreyback: the other branch is failing11:57
greybackdidrocks: /lib/x86_64-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.1' not found (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)11:58
didrockslooking :)11:58
didrocksgreyback: that's weird12:00
didrocksgreyback: is it a new requirement,12:00
didrocksor maybe curl doesn't have the right dep12:00
didrocksgreyback: for now, one the pot file merged12:01
didrocksI can disable test12:01
didrocksfor this run12:01
greybackdidrocks: not our requirement. I'm guessing curl changed12:01
didrocksnot really have the time to look at it more12:01
greybackof course12:01
greybackthanks12:01
didrocksyeah, maybe a dep missing :)12:01
didrocksgreyback: ok, let's wait for the pot change merged12:01
greybackdidrocks: ok, but I expect same error :)12:01
didrocksgreyback: I mean, I remove both testing ;)12:02
mhall119good morning12:02
greybackdidrocks: ah ok :)12:02
=== smb` is now known as smb
=== _salem is now known as salem_
=== greyback is now known as greyback|lunch
tgardnerdidrocks, you mentioned earlier this week a feature that would allow a user to only have one launcher bar on a dual monitor setup. do you know when hat will get released? having my mouse captured every time I transition from one monitor to the other is driving me mental.12:57
didrockstgardner: I'm releasing now13:04
tgardnerdidrocks, cool, I'll watch for the upload13:05
=== MacSlow is now known as MacSlow|lunch
=== greyback|lunch is now known as greyback
ccookehuh. That's an interesting bug. software updater is requiring a partial upgrade, then balking because "Can't guess meta-package", "Your system does not contain a ubuntu-desktop, kubuntu-desktop, xubuntu-desktop or edubuntu-desktop package and it was not possible to detect which version of Ubuntu you are running. Please install one of the packages above first using synaptic or apt-get before proceeding.14:18
=== MacSlow|lunch is now known as MacSlow
ccooke"14:18
ccookeProbably transitory apt error14:18
ccooke(ubuntu-desktop is installed, naturally)14:19
=== jalcine is now known as jalcine_
zgregdbarth: why did you mark #927441 as fixed?15:22
mfischdavidcalle: mhall119 says you're writing a lens writing guide?15:22
davidcallemfisch, I have two different things going on : a simple lens tuto and more general lenses guidelines for third-party devs.15:24
mfischdavidcalle: when one or both are done, where can I find them?15:24
davidcalleThe tuto will appear on the Ubuntu appdev blog, the guidelines will probably be on the Ubuntu wiki.15:25
dbarthzgreg: hi15:26
dbarthlet me check this one15:26
zgregthis is not fixed yet, I proposed a branch with a simple fix, but it's pending15:27
dbarthzgreg: committed, the branch has been approved, so it should be in nux's autobuild by now15:27
dbarthbut not release yet15:27
zgregwell, it's not merged yet, is it?15:28
zgregif the approval is good enough that's rather confusing, but ok :)15:28
=== jalcine_ is now known as jalcine
elopiogreyback: sorry, but ping again :)15:49
greybackelopio: hey16:01
elopiohey greyback. I hope not to be bothering you. But did you try your changes to launch testability on u1?16:02
elopioyesterday after fixing the machine I got caught by other tasks.16:03
elopioand now I'm trying it and I have the same ApplicationNotAvailable :(16:03
greybackelopio: my change caused the script not to fail with ApplicationNotAvailable16:03
elopiothe log says TasNativeUtils::pidOfActiveWindow Resolved -116:03
greybackelopio: hmm16:03
elopiogreyback: http://paste.ubuntu.com/896606/16:04
elopioit's even more weird if it works for you.16:04
greybackelopio: damn it failed on me too. I swear it was okay yesterday16:05
elopiogreyback: I believe you :)16:08
elopioum, I'll continue playing with the hash to see if I find something...16:10
greybackelopio: I had the app open in visualizer, that made the script succeed. Now why is that...16:11
elopiogreyback: yes, confirmed that.16:14
elopiothis will let me work. But is there a td channel where I can report this?16:14
greybackelopio: I'll keep at it. I'm not aware of any channel for TD unfortunately16:19
elopiogreyback: I found the bug tracker. I'll add a ticket, please let me know if you find something else.16:22
elopiothanks a lot, again.16:22
greybackelopio: np16:22
angelochi guys, big trouble with a java app in unity16:33
angelocin unity 2d, starting the app makes the window 2 pixel wide, shooting with right click and maximizing the window, make it fully visible16:34
angelocin unity 3d, maximizing the windows, the windows still remains two pixels wide16:34
angelocnobody?16:42
elopiogreyback: I think it also has to do with the -testability argument.16:48
elopiowithout the visualizer, if I start the control panel from the command line with ubuntuone-control-panel-qt -testability16:49
elopiothen the script works too.16:49
elopioso, starting it from the command line and try_attach=>true seems to be a good workaround for me.16:50
greybackelopio: good find, it must be bug that start_command does ot append the arguments16:53
greybackelopio: so this works: http://pastebin.ubuntu.com/896661/16:53
elopiogreyback: ahh, that's even better!16:53
greybackthe :arguments switch is probably useless too16:53
elopioI can start now with the funny part :)16:54
greybackbut in the background, all it's doing is starting the process separately then connecting, which isn't perfect16:54
angelochi guys, big trouble with a java app in unity16:54
angelocin unity 2d, starting the app makes the window 2 pixel wide, shooting with right click and maximizing the window, make it fully visible16:54
angelocin unity 3d, maximizing the windows, the windows still remains two pixels wide16:54
greybackelopio: I must strongly point you to https://projects.developer.nokia.com/Testabilitydriver/wiki/FeatureTDriverVerify16:56
elopiogood. I'll read it.16:56
elopiopura vida greyback16:57
greybackelopio: don't use assert_* for checking properties you read straight out of the application. The verify_* methods are better, as they allow for timing discrepancies.16:57
greybackelopio: using 'sleep' should only be at last resort :)16:57
greybackelopio: I'm here if you've any questions16:58
elopiogreyback: I'll have more questions, that's for sure :D16:58
greybackelopio: well you know where I am16:59
greyback:)16:59
=== jalcine is now known as jalcine_
=== yofel_ is now known as yofel
=== jalcine_ is now known as jalcine
willhey guys. i'm looking at the BamfLauncherIcon.cpp file in the Unity plugin and I'm seeing Focus(arg); and SPread(true,0,false); etc.20:03
willare these compiz functions?20:03
willwhere could i find descriptions of what they do?20:03
willer, actually. scratch that, I've found what I was looking for. Sorry about that!20:10
=== Guest35182 is now known as jalcine
=== jalcine is now known as Guest31394
=== Guest31394 is now known as jalcine
=== jalcine is now known as jalcine_
=== jalcine_ is now known as jalcine
=== salem_ is now known as _salem
=== rsalveti` is now known as rsalveti

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