/srv/irclogs.ubuntu.com/2012/04/18/#ubuntu-unity.txt

tgm4883When installing a new scope, how do I tell dbus that there is a new scope without having to reboot? (in packaging)00:51
jo-erlendI thought it was the scope that made the connection?00:57
jo-erlendforget that. I'm tired. :)00:58
tgm4883so the issue is that it installs just fine, but I have to reboot the machine in order for stuff to show up when searching00:59
tgm4883indicating that dbus doesn't know it exists00:59
jo-erlendcertainly not reboot? A logout and back in must be sufficient?00:59
tgm4883nope01:00
tgm4883well, I did a quick test, it might have been searching01:00
jo-erlendsounds strange. It runs on the session bus as the local user?01:00
tgm4883um, sure?01:01
tgm4883IDK, it's my first time really playing with dbus stuff01:02
tgm4883I'm just creating a scope for the videos lens for MythTV01:02
tgm4883which works great, although I had to monkey around with some stuff since it doesn't seem unity supports episodic content too well01:03
jo-erlendno, I'm not sure.01:15
jo-erlendtgm4883, what do you mean Unity doesn't support episodic content?01:16
tgm4883so pushing things into the videos lens, there isn''t a good way to display episodic content. Basically I had to stuff NameSeasonEpisode into the name field01:17
mhall119jo-erlend: I think he means heirarchical data01:17
jo-erlendright.01:17
tgm4883it works fine for Unity, since it's searching, but will need fixed when UTV rolls out01:17
mhall119Unity results are very flast01:17
mhall119flat01:17
tgm4883yes01:18
jo-erlendthe Video lens could easily support Season categories though?01:18
mhall119jo-erlend: you'd have to be able to drill down01:19
tgm4883heh, categories are another pet peeve of mine01:19
jo-erlendwhat does that mean?01:19
tgm4883I'm not sure they would work so well for episodic content01:19
tgm4883you mean have a category for "season 1"?01:19
mhall119pick "Show A" and get "Season 1, Season 2, Season 3".  Pick "Season 1" and get "Episode Z, Episode Y, Episode X, etc"01:19
mhall119like a directory tree01:20
mhall119you can't do that with flat results01:20
tgm4883that would be the usual way of looking at episodic content01:20
jo-erlendit would show all episodes for Season 1, regardless of series.01:20
tgm4883yea that would be kinda strange I think01:21
mhall119that's a hard way to find an episode01:21
jo-erlendsure. It would work though. Not saying it'd be optimal. :)01:21
jo-erlendbut while we're at the subject.. Is the unity-tv thing available for install yet?01:21
mhall119it wasn't a functional thing01:22
mhall119just a mockup app01:22
tgm4883it's completely made up01:22
mhall119it didn't even use Dash, it was just made to look like it01:22
tgm4883like europe ;)01:22
jo-erlendoh.01:23
tgm4883Categories aren't great right now as you have to look in the lens source to see whats available01:24
jo-erlendDamn. I wish Canonical would be better at communicating things like that better. I've made a fool of myself showing this to people. I never got the impression it wasn't real. And now I have to wonder if Ubuntu for Android is also just a mockup?01:24
tgm4883If the scope could create categories, that would be better IMO01:25
mhall119tgm4883: the lens author could always provide documentation01:25
mhall119tgm4883: it would be messy though01:25
tgm4883mhall119, who is the author of the videos lens?01:25
tgm4883mhall119, yea it would01:25
mhall119tgm4883: davidcalle I believe01:25
tgm4883yea looks like he is the maintainer01:26
mhall119the good thing about the current categories is that they're always the same, no matter what scopes you install01:26
mhall119installing a scope should just give more results, not change the user experience01:26
tgm4883mhall119, I'll agree with that01:27
tgm4883a better solution is to fix the categories, there are only 4 right?01:27
tgm4883online, local, remote, ???01:27
tgm4883I'd like a recorded/dvr category01:28
mhall119I see "recent", "my videos" and "online" as categories01:28
mhall119I think "recorded" might be a good category01:28
mhall119or "downloaded"01:28
mhall119same thing, different ways of doing it01:29
tgm4883yea01:29
tgm4883downloaded and recorded01:29
tgm4883two new categories01:29
tgm4883mhall119, do the categories only exist for videos, or do they also have to work for music as well01:30
mhall119tgm4883: they are per-lens01:37
mhall119so the music lens has it's own set of categories01:37
tgm4883ok that makes sense01:37
tgm4883then no reason not to add these I say01:37
mhall119why would downloaded and recorded be separate categories?01:37
mhall119the both mean the same thing "Something that was available from somewhere else, and is now available locally"01:38
tgm4883perhaps01:38
tgm4883but the MythTV stuff isn't local to the machine01:38
tgm4883it's still on the backend01:38
tgm4883as would any other DVR backend01:38
mhall119local to the network then01:38
tgm4883ok, but still not downloaded01:39
mhall119you don't have to fetch it from the internet or broadcast01:39
mhall119downloaded to the backend01:39
mhall119I would consider the backend "local"01:39
mhall119tgm4883: maybe the category should be "Shows"01:39
mhall119that way it can be local or remote01:40
tgm4883I think downloaded and recorded are fundamentally different enough to warrant different catagories01:40
mhall119tgm4883: are they different enough from a user's intent?01:40
tgm4883I believe so01:40
tgm4883actually, I'm not sure you even need downloaded01:40
mhall119do you approach it thinking "Do I want to watch something recorded, or something downloaded?"01:40
tgm4883I want to watch a show :)01:40
mhall119then make the category "Shows"01:41
mhall119doesn't matter where they live01:41
tgm4883hmm01:41
tgm4883perhaps Local is the better spot for it01:42
mhall119I think "Shows" and "Movies" would be good categories01:42
tgm4883I agree with that01:42
tgm4883Shows and Movies01:42
tgm4883mhall119, should I be filing bugs against unity for the videos scope, or is there a better place?01:46
mhall119against the video lens01:50
mhall119https://launchpad.net/unity-lens-videos01:51
tgm4883!bug 98450701:58
ubot5Launchpad bug 984507 in unity-lens-video (Ubuntu) "unity-lens-video needs additional categories" [Undecided,New] https://launchpad.net/bugs/98450701:58
tgm4883thanks mhall11901:58
mhall119np01:58
bschaeferthomi, ping, or more or less to confirm you new changes to the ibus branch04:47
bschaeferRan 32 tests in 270.267s04:47
bschaeferOK04:47
bschaefer:)04:47
thomibschaefer: hey04:48
thomiI was looking for you04:48
bschaefersorry, was in class04:48
bschaeferfor 3 hours, now im back haha04:48
thomino worries - could I get you to review some branches?04:48
bschaefersure!04:48
thomicheers :)04:49
bschaeferany branch in particular or all the ap ones you pushed?04:51
thomibschaefer: if you have time - all the AP ones04:52
thomilots of them were approved, then I pushed more revisions04:53
bschaeferalright! Yeah I do, I spent this morning confirming the mem leaks I was looking at the last couple days gone04:53
bschaeferso reviewing for a little would be a nice change of pace haha04:53
thomiSweet, I need to head out for a bit. WIll be back later though04:54
thomitalk to you later :)04:54
bschaeferalright cool! Ill be running this ap test after I review the code, so it might take a litte haha04:54
bschaeferyup04:54
davidcalletgm4883, ping05:41
tgm4883davidcalle, pong05:55
davidcalletgm4883, nice scope :)05:56
tgm4883thanks05:56
davidcalletgm4883, I've just answered your bug. I think I could push something for you in 12.04.1.05:56
tgm4883that would be awesome05:57
thomibschaefer: I'm back06:00
thomionly one branch left - well done! https://code.launchpad.net/~thomir/unity/ibus-test-to-wait_for-feature/+merge/10223606:00
bschaeferthomi, I need to review the hud one, but it crashed, then I saw your branch to fix that haha06:03
bschaeferand was about to look at it06:03
bschaeferand no problem! These ap test are look nice!06:04
thomi:)06:04
bschaeferbut forgot to re approve the ibus test, done06:04
thomicheers!06:04
bschaeferthomi, wait are you working on the ap hud crash atm?06:05
bschaeferthomi, cause I see one that isn't proposed and one branch that is suspended06:06
thomibschaefer: I'm not sure what you mean by the hud crash06:06
didrocksthomi: nice work on all the AP stuff! :)06:06
bschaeferhttps://code.launchpad.net/~thomir/unity/ap-hud-crashing06:06
didrocksI didn't get the chance enough to tell you that ;)06:06
thomididrocks: thanks - any chance we can get the merge bot fixed? It's filling me with rage :(06:06
didrocksthomi: the pre-dependency issue?06:06
thomiit doesn't handle prerequisite branches well at all06:06
thomiyeah06:06
didrocksthomi: do you have a test case? you are the only one triggering it. I have some tests for prerequisite and when both branches are approved, I don't reproduce the issue06:07
thomidid yeah I know what' shappening06:07
didrocksthomi: so, really interested in knowing what exactly triggers it :)06:07
didrocksthomi: if you can decypher any pattern, I would be interested06:07
bschaeferthomi, because I got this crash while running the hud ap test06:08
bschaeferhttp://paste.ubuntu.com/935041/06:08
thomiThe merge bot doesn't merge a branch while it's prerequisite branch isn't merged (so far so good), but once the prerequisite branch is merged, the MP dissapears, and the merge bot gets stuck because it can't find a MP for the listed prerequisite branch06:08
thomibschaefer: running unity trunk? There was a problem, but gord fixed it06:09
didrocksthomi: ah, so you mean, master branch merged, and dependency branch just approved?06:09
bschaeferthomi, oo, cool must have not pull that version when I pull your branch06:09
didrocksthomi: if you are interested, we can have a look together at the pre-sprint, wdyt?06:09
thomididrocks: that'd be cool. I can probably come up with a test case before then06:09
didrocksthomi: because I tested that case IIRC and didn't trigger the issue either. There is clearly something wrong, we just need to find what :)06:10
didrocksthomi: thanks ;)06:10
thomino, thank *you* :)06:10
bschaeferthomi, hmm a hud ap test is failing but when I check it manually it passes06:22
thomibschaefer: which one?06:22
bschaeferi mean manually like I try it and it works06:22
bschaeferdef test_hud_to_dash_disabled_alt_f1(self)06:22
bschaeferAssertionError: True != dbus.Boolean(False, variant_level=1)06:22
thomi.... that's interesting, how does it fail?06:22
bschaeferlet me run it on its own06:22
bschaeferbecause the code looks fine...06:23
thomitiming issue possibly? Maybe we need a wait_for somewhere in an emulator06:23
bschaeferoo the dash doesn't close!06:24
bschaeferhttp://paste.ubuntu.com/935053/06:25
bschaeferthe whole stack trace06:25
thomiahhh06:25
thomithat's my fauly06:26
thomi*fault06:26
thomiyou can't use the launcher emulator in that test06:26
thomiyou need to use the keybindings06:26
thomisince we don't expect it to work06:26
bschaeferoo06:26
thomican you change it please?06:26
bschaefercan I push it on your branch?06:26
* thomi is eating dinner and watching pycon talks :)06:27
bschaefero haha, yeah, let me look those keybindings up!06:27
thomibschaefer: nah, just make a new MP06:27
bschaeferok06:28
bschaeferthomi, dammit I just found a  bug, un related to the ap tests06:35
bschaeferwell not dammit06:35
bschaeferhaha good, but Im surprised it hasn't been found. If you go from hud then to dash then exit you don't get window focus back06:35
thomibschaefer: I think there's tests for that06:37
bschaeferhmm, really? That one wasn't failing for me...06:38
didrocksthomi: on the "no commit specified", please blame thumper who asked for this check ;)06:38
bschaeferthe 2 that were failing were because the launcher thing06:38
bschaeferthomi, Ill check if there is an ap test for it06:38
bschaeferafter I push this branch06:38
bschaeferthomi, https://code.launchpad.net/~unity-team/unity/hud-tests-to-wait/+merge/102440 (I forgot the _for after wait)06:46
bschaeferthe diff should be done soon06:46
* thomi looks06:46
bschaeferit saved 2 more lines of code06:47
bschaeferhttp://bazaar.launchpad.net/~unity-team/unity/hud-tests-to-wait/revision/224906:47
bschaefereasier to see06:47
thomibschaefer: so that branch superceeds mine?06:48
bschaeferyeah06:48
bschaeferthats what you wanted isn't it?06:48
bschaeferor do you want to me do just make a side branch?06:48
bschaeferyeah, I think I messed that one up haha. Let me make a new branch...and Ill delete that one06:49
thomibschaefer: not hat's fine,06:49
thomiI'm asking if you replaced my MP (you probably should)06:49
bschaeferno, I didn06:49
bschaeferdidn't06:49
bschaeferI just put it against unity, because I've never had to merge it to a different back06:50
thomiok, if you just click 'resubmit' on my MP for that branch and list your own06:50
thomi...as the source branch then we avoid conflicts06:51
bschaeferyeah06:51
bschaeferI soon as you said that I realized what other open was for in the mp process06:51
bschaeferhaha06:51
bschaeferthomi, wait, it already is the source, and the target branch should be pointed at your branch?06:53
thomino... target should be lp:unity06:53
thomiactually, I'll just delet my MP - much simpler :)06:53
bschaeferok then I was just confused from something, it should be ready already06:53
thomicool.06:54
thomibschaefer: I just approved it... seems a bit cheeky as it's still mostly my code, but you approved mine, so we're safe :)06:55
bschaeferthomi, I was thinking it would be cool if I could just merge a change into your branch you made, so you would approve of any of someone elses changes06:55
bschaeferyup :06:55
thomibschaefer: we could have done that.06:55
bschaefer:)06:55
bschaefero well to late haha, that is what I thought you were asking haha06:56
bschaeferbut when I tried to put your branch as a target it couldn't find it :(06:56
thomiahh well06:57
bschaeferwell it's all fixed, and I should make dinner (as my I had a very very late lunch)06:57
bschaeferas I*06:57
bschaeferthomi, do you need any thing else reviewed?06:58
thomibschaefer: no thanks, I'm just trying to get everything merged now :)06:58
bschaefernice, don't forget commit messages!06:58
bschaeferIll also check if that ap test there for the hud to dash then window focus06:58
bschaeferelse Ill report that bug...06:59
bschaeferand most likely work on it tomorrow haha. Have a good night!06:59
thomicheers, you too!07:01
didrocksthomi: in most of the case, the rejection is because in those case is because the parent branch got rejected (no commit message) and so not approved, rejecting the child one then07:36
thomididrocks: yeah I saw those too.07:37
thomididrocks: let's look at it in SF07:37
didrocksthomi: but I know there is a wrong case as well, that's the one we need to debug ;)07:37
didrocksin this case, the rejection are "normal" :)07:37
thomididrocks: for some of them, yeah. I forgot a bunch of commit messages07:38
thomifor a few others however, there was a commit message, but it got the other problem.07:39
malindavidcalle: this http://pastebin.com/DCN8TC9G gives this error:07:50
malin  File "/usr/lib/unity-lens-buss/buss", line 8207:50
malin    results_list.reverse ()07:50
malin               ^07:50
malinSyntaxError: invalid syntax07:50
davidcallemalin, because your line 71 is not correctly closed, it misses a bracket : results_list.append(test(full_url,patjunk)07:53
davidcallemalin, and don't reverse the model, it will fail. (l 83)07:54
malinah07:54
thomibschaefer: you have conflicts on your hud branch...07:54
malinso If I reverse that, it wil reverse the text instead?07:54
* thomi -> EOD. Talk to you tomorrow maybe07:54
davidcallemalin, I don't understand what you mean.07:55
malinI could ask another way. What exactely will fail, and how :)07:56
malinI added a : to the end of results_ists.append(test(full_url,patjunk):07:56
malinso it looks like that, but still it gives syntax error07:56
malinah, okey. I removed the reversing of the model. Indeed that dosen't sounds right :)07:57
davidcallemalin, no, the syntax issue you have is because of a missing ")" You need to do "results_lists.append(test(full_url,patjunk))"07:58
malinof corse :S07:58
malinhow could I forget, when I belived I did :p07:58
malindavidcalle: http://pastebin.com/NvMyUJKJ08:02
davidcallemalin, model = search.props.results_model08:05
malinah, so that one shouldn't be changed? :)08:05
davidcallemalin, never ever :)08:06
malinoki :)08:06
malinin model.append(and things in here)  should I change test(full_url,patjunk)  with results_list   ?08:09
malinlooks like it don't like it08:09
davidcallemalin, if it's a list you have to iterate over it: http://paste.ubuntu.com/935120/08:15
malinah, so I actually need a for-loop :) I see08:16
malinbut where do the result comes from,  I can't remember having such a variabel08:16
davidcallemalin, yeah, because each model.append is a single dash result.08:16
davidcalleresult is a variable the loop creates for each element in results_list08:17
malinyeah, I see. it's made after the for :)08:17
malinthen I understand08:17
davidcallefor number in [1, 2, 3, 4, 5]:08:17
davidcalle    print number08:17
malinyeah, and then it wil print all numbers from one to five08:18
davidcallemalin, yep08:18
malinin java it would be something like: for (int i = 0; i <= 5; i ++) {08:18
malinsystem.out.println(i)08:18
malin}08:18
malinish08:18
davidcallemalin, that's why I love Python :)08:18
malinI can understand that......08:19
malinI learn java at school08:19
malinis it possible to do like this in python?08:20
malinfor number in number <= 500:08:20
malinto get all numbers from zero to 500?08:20
davidcallemalin, yes08:20
malinnice08:20
malinin fact it semce easier, but java is faster08:21
malin*looks easier08:21
davidcallei = 008:21
malinyeah08:21
davidcallewhile (i < 500):08:21
davidcalle    i = i + 108:21
davidcalle    print i08:22
davidcalleNot exactly the same spirit as java, but yes, it's very easy to read and understand.08:22
malinthe lense works again, but the results isn't present in reverse order :)08:23
davidcallemalin, what do you see when you print results_list ?08:24
ryehello, may I poke somebody with compiz knowledge about bug #946388, and especially my last comment with a vala test code which exhibits the same behavior?08:25
ubot5Launchpad bug 946388 in remmina (Ubuntu) "Remmina full-screen mode does not work under Unity" [Undecided,Confirmed] https://launchpad.net/bugs/94638808:25
* davidcalle needs coffee and cigarette, back in 10 min08:25
malindavidcalle: first it print the first result again08:26
mhr3davidcalle, for x in xrange(500) ;)08:27
malindavidcalle: it prints like this: http://paste.ubuntu.com/935133/08:27
davidcallemhr3, sure, but it was to show the basic structure of loops :)08:33
gordrye, duflu here may be able to help :)08:34
* duflu looks at the bug08:34
dufluHi rye08:34
davidcallemalin, it's the result of only one search?08:35
ryeduflu: hello!08:35
duflurye: I'm still getting up to speed on the bug, and multitasking :)08:36
malindavidcalle: it's the result after two search08:37
malinIt print the first result twice08:37
ryemalin: i think you may want to print the whole array first to see whether there are indeed 2 duplicate items08:37
malinI do print the arra as far as I know08:38
malinI make the array like this:08:38
malinresults_list = []08:38
duflurye: I encountered a very similar fullscreen bug in geeqie, which is now fixed. Unfortunately the fix was to fix the app in that case.08:38
malinthen I add results to the array like this:08:39
malinresults_list.append(test(full_url,patjunk))08:39
malinand I reverse it:08:39
malinresults_list.reverse ()08:39
malinand print it:08:39
malinprint results_lis08:39
malint08:39
ryeduflu: I don't like the following comment in src/window.cpp of compiz - /* Don't allow maximization or fullscreen of windows which are too big to fit the screen */ - suggesting that if a window + decorations does not fit, it won't be switched to fullscreen mode, even though it is already in fullscreen mode08:39
duflurye: Agreed.08:40
davidcallemalin, ok. Then replace lines 70 and 71, with results_list = test(full_url,patjunk).split('.Buss ')08:40
dufluThe aforementioned geeqie fix was *before* I joined the compiz team08:40
* duflu looks08:40
ryeduflu: i wonder if it works if i ask the wm to disable the decorations...08:41
davidcallemalin, it will directly make a list from your result string returned by test. Creating a new item in the list each times it finds ".Buss "08:42
duflurye: What is the expected behaviour for oversized fullscreen windows? How does Gnome etc deal with it? Just show part of the window?08:42
ryeduflu: it is not oversized, it is exactly the size of the screen08:43
malindavidcalle: shit... it made an answer for each bus, how did taht happend :D08:43
ryeduflu: however in gnome the request_size_change does not make the window to stop being fullscreen08:43
malinsometimes two different bus routes goes from the same place to the same stop, but different routes08:44
duflurye: OK, the bug in window.cpp looks simple08:44
malinand the results was splited up in two D:08:44
malin:D08:44
dufluI'll just verify your test case and then it's triaged....08:44
ryeduflu: and no, if i disable decorations the window is simply displayed the same broken way but without the decorations08:44
malindavidcalle: that looked great. But still, it puts last answer in the end and not in the start08:45
duflurye: Yes, it looks likely to be bad dimension calculations in window.cpp08:45
davidcallemalin, even with results_list.reverse () ?08:47
malindavidcalle: yes, but  maybe I have it on wrong line ?08:47
malinanyway. Now I really understand the .split thing08:48
malinthat was very smart08:48
davidcalleYou should have it between the line where you create the list and the for loop08:48
malinah08:49
malinbut it is08:49
davidcallemalin, hmm. Try to print the list before reverse, and after. Is the list the same ?08:51
=== chaoticuk_ is now known as chaoticuk
duflurye: Thanks. The bug is triaged. Looks like a relatively simple fix. I hope we get it done in the next maintenance update.08:54
malinhm :08:54
malinit looks the same08:55
malinhm, it reverse it another way08:56
malinit takes all after split first and the thing before the split first08:56
malinIt dosen't reverse the array, but the content of the array08:56
davidcallemalin, ok, then don't use reverse and use results_list = results_list[::-1]08:57
davidcallemalin, it will reverse the array.08:57
malinaha09:00
malinhm, now it just printed the previous results once more, before it gave the next result. It still puts last answer in the last and not the top09:04
malinmaybe it is possible to use a stack in stead?09:04
davidcallemalin, can you pastebin your code?09:05
malinyeah09:05
malinhttp://pastebin.com/4kYiTgrY09:06
davidcallemalin, uncomment model.clear ()09:07
malinaha09:09
davidcallemalin, I thought your issue was about several busses results from a single search and that you wanted this list reversed :)09:10
davidcallemalin, but in fact your lens wasn't cleared of results from previous searches.09:10
malinwhat I want is: several results, but the last search-result at top, not bottom. if there is a long list with previous results, thats okey09:12
angelochi guys, i'm having trouble with a java application in unity, it opens two pixel wide, a vertical ribbon that's impossible to resize09:13
davidcallemalin, in the Dash, you can't reorder results once they have been displayed. Results from next searches will only be added after the existing ones.09:13
angelocit works in unity-2d09:14
malindavidcalle: okey, so it is impossible to get it at the top? I see09:14
malinbut then I it just is the way it is then :)09:14
davidcallemalin, yeah, to have a result in the first position, you have to clear the Dash from existing results.09:15
malinI see, but In fact I think that's the best solution. There is no good reasons to store an old result, as the result is not valid for long time, as the day goes on09:16
malinso I think I will let it be like it is now. Splitting up the results in two, so the different buses appears in different results is smart and I didn't know about it :)09:17
=== malin is now known as Malinkb
davidcallemalin, this way, most of the time, you won't need to click on the result to get the full text.09:18
=== Malinkb is now known as malin
malindavidcalle: indeed. I never thought about it actually because I didn't know it was possible, but I now understand how it work to split the resutlts09:19
malinsomething.split('text where the new result should start and the first stop ')09:20
malinthat's so genius :)09:20
davidcallemalin, hehe :)09:22
malinyeah :)09:22
malinmaybe I should make it not write: Tidene angir tidligste passering osv også09:23
malinah, that's norwegian :p09:23
davidcallemalin, yes, just need to result.replace ('the tidene string', ''), in the for loop, before appending to the model09:27
malinok09:27
malinor I can clean it up in the patjunk-thing too?09:27
davidcallemalin, yes you can09:28
malinbut when you say in the for-loop09:28
malinyou mean in the for result in results_list09:28
malin?09:28
malinbut on the line before model.append09:28
angelochi guys, i'm having trouble with a java application in unity, it opens two pixel wide, a vertical ribbon that's impossible to resize, it works in unity-2d, anybody has infos about that?09:29
davidcallemalin, yeah, to do it for each result. But it also works if you do it in patjunk.09:30
malinif I do it in patjunk, will it be done in every result then?09:31
malinI think next time I make a lense, I will go on to use the for-loop and result.replace ('the string to change', 'string to change to')  :)09:32
davidcallemalin, it will replace every  occurence of the Tidene string it founds. So yes.09:33
malinok :)09:33
malinbut next time, I will make a lense without patjunk, and just use the for and replace-thing :) looks simple too and maybe more lense-ish :)09:33
malinpushed :D09:57
=== swilson_ is now known as swilson
apwdidrocks, ok i managed to trigger the stacking issue without an update to prove it is not that.  it _may_ be to do with the mumble dialog boxes, will try and confirm that tommorrow10:36
didrocksapw: thanks, did you ping sam?10:37
apwdidrocks, didn't remember and hes not on at the times of day i see it10:37
didrocksapw: please, ping him about it, he's the best to fix this10:38
apwdidrocks, will do10:38
jussimr mhall119, are you available?11:29
=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
mhall119jussi: yes sir I am11:55
=== _salem is now known as salem_
jussimhall119: mind if I PM for  a minute?11:57
=== greyback is now known as greyback|lunch
=== greyback|lunch is now known as greyback
tsdgeosdidrocks: got https://jenkins.qa.ubuntu.com/job/automerge-unity-2d/265/console when merging lp:~aacid/unity-2d/spread_focus into lp:unity-2d12:55
tsdgeosany idea what's up?12:55
didrockstsdgeos: yeah, I made a change in the builder to support multiple ppa, I just forgot to create a directory, already fixing it :)12:56
didrocksI'll approve it again then12:56
tsdgeosthanks12:56
tsdgeoshttps://code.launchpad.net/~aacid/unity-2d/spread_focus/+merge/102250 is the url for the merge12:57
didrocksalready opened in a tab ;)12:57
tsdgeosok12:57
alf_Hi! How is gtk-window-decorator started by unity? With the arm gles2 compiz/unity packages, I need to run it manually to get any decorations, and I am trying to figure out what's wrong.13:33
alf_ogra_: ^13:33
ogra_yep13:33
alf_ogra_: Do you get that, too?13:35
ogra_alf_, just started testing the panda images so not there yet13:35
alf_ogra_: ok, because it may just be a problem with my setup (although Ricardo encountered something similar)...13:36
ogra_i will report back later today once i'm done with testing13:37
thumperalf_: I'm not sure, but you can ask smspillaz13:38
thumperalf_: he knows most13:38
alf_thumper: thanks13:39
=== zyga is now known as zyga-food
hyperairhow does one set the title of an application indicator in python?16:33
mhall119hyperair: http://bazaar.launchpad.net/~mhall119/hello-unity/trunk/view/head:/hello_unity/indicator.py#L5017:12
mhall119like that17:12
hyperairmhall119: didn't work for me in precise. there wasn't a set_title() function.17:13
hyperairmhall119: i had to do set_property("title", _("Deluge"))17:13
hyperairoh hang on....17:13
hyperairfrom gi.repository..17:13
hyperairhmmm17:13
hyperairthat's gtk317:13
mhall119oh yeah, I'm using gtk317:14
hyperairdeluge is still gtk2 unfortunately17:14
mhall119oh, let me see if I can find those docs17:14
mhall119hmm, it should have set_title17:15
mhall119how are you importing appindicator?17:15
hyperairmhall119: https://paste.debian.net/163710/17:16
hyperairshould have, but doesn't.17:16
hyperairpython -c "import appindicator; help(appindicator.Indicator)" | pastebinit -i-17:16
mhall119and setting it as a property doesn't work either?17:16
mhall119try import appindicator317:16
hyperairdoesn't that use gtk3?17:17
hyperairno module called appindicator317:17
hyperairset_property works17:17
hyperairbut it had a __setattr__ method so i thought i could just do foo.title = _("Deluge")17:17
hyperairlooks like that didn't wokr17:17
hyperairor are attributes and properties different?17:17
mhall119I think they're different17:18
mhall119at least, when doing it the GObject way17:18
mhall119tedg: any idea why Indicator.set_title isn't available to hyperair?17:18
hyperairi see17:18
hyperairprobably because i'm using the old and dated appindicator library17:19
mhall119hyperair: you're on the latest Precise right?17:19
hyperairthe "title" probably got dynamically added due to the new libappindicator17:19
hyperairyes17:19
hyperaircould it be that libappindicator was updated to have the new "title" property (that's installed into the gobject type system)17:19
hyperairbut not python-appindicator?17:19
hyperairthat would explain thigns17:19
hyperairpresumably the documentation is auto-generated17:20
mhall119could be, since it'll directly reflect changes to the GObject17:20
mhall119I know the API docs are generated, yes17:20
mhall119if that's the case, it's a bug in python-appindicator17:20
mhall119tedg should be able to say for sure17:21
tedgYeah, I'd guess that's the case.17:21
tedgThe docs are from the GIR package.17:21
mhall119hyperair: you can always upgrade deluge to Gtk 3 :)17:21
tedgWhich if it's something you're coding now, I'd recommend using :-)17:21
tedgAlso we have a patch to allow the title to be set by using g_set_application_name() which might be easier.17:22
tedg(what ever that is in Python)17:22
mhall119tedg: does that require using GApplication?17:23
tedgmhall119, I don't believe so17:23
mhall119I know how to set window name, but not application name17:23
ryehyperair: erm, i was able to set title on python indicator which was not using gir...17:26
* rye looks17:27
ryehyperair: indicator_object.set_property("title", label)17:27
ryethere is no set_title() but you can set the property17:27
=== zyga-food is now known as zyga-afk
gotwigmhall119: hey there17:33
gotwighave a question to workspace switcher quicklist: why is there no quicklist for it?17:33
gotwigI saw one from the community that allowed you to add workspaces, etc.17:34
gotwigbut its not in upstream17:34
gotwigand why is (really) lo-menubar not included :/17:34
mhall119gotwig: where did you see it?  was it working code or just a mockup?17:34
hyperairtedg: weird. i tried g_set_application_name first with alarm-clock but that didn't work17:34
mhall119I don't know the details about libreoffice, sorry17:34
hyperairo17:34
gotwigmhall119: wait. I search for a link17:35
mhall119gotwig: last I heard there was some stability concerns with lo-menubar17:36
gotwigmhall119: yes, but only for china :/17:36
mhall119but that was at least one cycle ago, so I'm not sure if it still applies17:36
gotwigmhall119: you cant use the HUD without this lo-menubar (all know)^^17:36
mhall119right, it has to export the menu structure17:37
gotwigIMHO that could block many users...17:37
gotwigor give them a badder experience17:37
mhall119agreed,  but again I don't know the details, I'm sure there was a risk/reward analysis done17:38
hyperairtedg: i just tried g_set_application_name with alarm-clock-applet, but it says untitled indicator.17:38
hyperairtedg: running p g_get_application_name() with gdb shows the correct name, though.17:39
ryehyperair: set the "title" property on the indicator and it will set the title17:40
hyperairrye: i know, but title is part of the new libappindicator API.17:40
ryehyperair: so you get an error about invalid property when you try to set the title?17:41
hyperairrye: in alarm-clock, which i submitted a merge proposal for, that requires #ifdefs for backward compatibility. whereas g_set_application_name() is present in glib going all the way back17:41
hyperairrye: earlier i was talking about deluge, which is in python. now, regarding g_set_application_name(), i'm talking about alarm-clock-applet, which is in C.17:42
gotwigmhall119: I somehow dont find the quicklists on askubuntu again :X17:42
mhall119gotwig: the workspace switcher is different from App launchers anyway, adding a quicklist to it probably requires code in lp:unity itself17:43
seb128hyperair, the g_set_application_name() fallback didn't make it to precise, it just got suggested,written this week17:44
gotwigmhall119: and point 4 on this site is also not included for libre office :/ http://maketecheasier.com/8-really-useful-ubuntu-unity-quicklists/2011/05/0717:44
seb128hyperair, it will be in a SRU17:44
ryehyperair: understood. Well, you can query for the "title" property and use it if it exists. But g_set_application_name fallback might be a better thing though17:44
seb128hyperair, https://code.launchpad.net/~ted/libappindicator/app_name/+merge/10216117:45
hyperairseb128: i see. that's a pity. weirdly enough, i don't see any hint of tomboy setting its title, but it seems to still get set anyway17:46
seb128hyperair, I added a patch to tomboy in Ubuntu17:46
hyperairoh you did?17:46
hyperairthat explains it17:46
hyperairthanks17:46
seb128yes17:46
seb128yw17:46
hyperairso why don't we get that merged in?17:46
hyperairthe application name one, i mean17:47
seb128hyperair, because it was acked 5 hours ago and nobody went to merge approved stuff yet (they usually do before rolling tarballs)17:47
mhall119hyperair: it is, it'll be a post-release update17:47
hyperairah, i see17:47
hyperaircool =)17:47
seb128hyperair, the tomboy fix I did was to add "indicator.Title = Catalog.GetString ("Tomboy Notes");" to the indicator patch17:48
hyperairi figured as much. thanks17:49
seb128yw17:49
hyperairi was staring at tomboy code some days back and wondering how the "Tomboy Notes" string got onto the indicator17:49
hyperairheheh17:49
hyperairhmm speaking of which, that's a new string, so it would be untranslated.17:49
hyperairor not17:50
hyperairokay, it's not a new string.17:50
seb128hyperair, I picked an existing string ;-)17:51
seb128I would have used "Tomboy" otherwise17:51
seb128i.e names are usually a good pick to avoid translation issues ;-)17:52
hyperairaha :)17:52
seb128well at least when the name is not a function like GNOME does nowadays17:52
hyperaira function?17:52
hyperairwhat do you mean?17:52
seb128they renamed epiphany "Web"17:52
seb128or like gnome-contacts is "Contacts"17:52
seb128those names get translated17:53
seb128sorry that's frenglish17:53
seb128function->common name, i.e a word describing the purpose of the app17:53
hyperairah, right.17:53
hyperairbut isn't that in the desktop file?17:54
seb128yes17:54
hyperairand i thought it was done ages back17:54
hyperairand reverted17:54
hyperairit flip flopped a couple of times iirc17:54
seb128but in practice people will translate "Contact" to the equivalent in their locale17:54
seb128they will not translate "gimp"17:54
seb128or "tomboy"17:54
hyperairindeed.17:54
hyperairbut "Tomboy Notes" would get translated.17:54
hyperairhmm i wonder if names get translated in the case of japanese17:55
JanCdepends17:55
JanCnobody would translate "Lotus Notes" for example17:55
hyperairトンボイノートす17:56
hyperairtonboi notosu17:56
JanCwell, maybe some would  ;)17:56
hyperair;)17:56
hyperairi made that up17:56
hyperairi'm not sure if it actually was translated like that17:56
hyperairmsgstr "Tomboy メモ"17:57
hyperairTomboy Memo17:57
JanCit mainly depends on how the name is perceived: is it named "Tomboy" and allows you to make "notes", or is it named "Tomboy Notes"17:59
JanCfor commercial software that's generally clear from marketing, for (some) open source apps things can be more confusing...  ;)18:00
kklimondawhat are the plans for Unity and Gtk "App Menus"?18:15
seb128kklimonda, what do you mean by 'Gtk "App Menus"'18:29
kklimondaseb128: check the description for GtkApplication: http://developer.gnome.org/gtk3/3.3/GtkApplication.html18:29
kklimonda(and a few screenshots)18:30
seb128kklimonda, they just work, gmenus support was added to indicator-appmenu this cycle18:30
seb128kklimonda, they will show under the unity panel similar to the mac example18:31
kklimondaseb128: the example doesn't really work well18:32
seb128kklimonda, how so?18:33
kklimondaseb128: when you show the menu it displays the standard, clipped Bloatpad application name, then the "Unknown Application Name" and the standard menu18:33
kklimondaseb128: I expect that, when the small bug with "Unknown Application Name" is fixed, we'll see the "Bloadpad" name twice - once clipped, and the second time as a part of the menu18:34
seb128kklimonda, that seems a bug in gtkapplication or the example you use18:35
seb128kklimonda, tetravex which uses gmenus doesn't have that issue18:35
kklimondaseb128: and it illustrates my point pretty well18:36
seb128kklimonda, what does?18:37
kklimondaseb128: when you launch Tetravex and show the menu you can see name "Tetravex" twice18:37
seb128oh18:37
seb128that's the application title and the menu name18:37
kklimondaseb128: yes, but it looks wrong18:37
seb128if you don't mouseover you just see the title18:37
seb128how would you call the menu?18:38
kklimondaseb128: I know, but it doesn't look right - that's why I've asked if there was a plan to somehow change it18:38
hyperairdoes anyone get the idea that the HUD search works a *lot* better than the unity dash?18:38
hyperairfor example searching for compizconfig in the dash doesn't work.18:38
seb128kklimonda, that changed pretty recently in gtk in fact, the menu was called "applications" until recently18:39
kklimondaseb128: imo the menu name is not the issue here, the additional window name is18:39
seb128kklimonda, well menus need to have a name, you can't have a blank space in the panel opening a menu18:39
seb128hyperair, hud is being smart ;-)18:40
kklimondaseb128: it wouldn't be the problem if we kept the "Ubuntu" button in it's initial position :(18:40
hyperairseb128: can we make dash as smart as HUD? it feels really sluggish.18:40
hyperairand i'm quite sure it's not just a rendering issue. it takes forever to search for stuff18:40
seb128kklimonda, that has issues as well18:41
kklimondaseb128: I know18:41
seb128hyperair, does it?18:41
hyperairseb128: yeah, compared to the HUD in any case18:41
hyperairseb128: and compaerd to GNOME Do.18:41
hyperairif you try out GNOME Do for a couple of days, and then switch back to the dash, you'll get what i maen18:41
seb128hyperair, well so hud and dash work differently, kamstrup or mhr3 are better person to talk to about the dash18:41
seb128hyperair, is that an ui stuff?18:41
hyperairgnome-do?18:42
hyperairsure it is18:42
hyperairit's the thing that came with docky sometime back..18:42
seb128hyperair, no, the "slugish" issue18:42
seb128because I can "super", type, enter and it always run what I typed for18:42
hyperairseb128: the spinner continues spinning for a while before getting any results.18:42
seb128like I can't go faster than it matches18:42
hyperairhmm weird.18:42
hyperairmaybe i've got a lot of stuff18:42
seb128what sort of disk do you have?18:43
hyperaira hard disk.18:43
hyperairare you running on an ssd?18:43
seb128rotational or ssd?18:43
hyperairrotational.18:43
seb128yes18:43
hyperairfigures.18:43
hyperairmaybe it's an i/o issue after all18:43
seb128well, mhr3 pointed to me yesterday that most of the "slowness" in the app lens is due to parsing the .desktop on disk18:44
seb128is gnome-do caching those in some way?18:44
hyperairi think it does18:44
seb128that's probably it18:44
hyperairaha18:44
hyperairdoes unity re-parse all the .desktop files each time?18:44
seb128that's something that should be fixed in gnome-menus18:44
seb128it uses gnome-menus18:45
hyperairi see18:45
seb128which has no cache18:45
seb128we had one in GNOME218:45
seb128but it was not updated for GNOME318:45
seb128we should really try to get that back and upstream18:45
hyperairyou mean a gnome-menus with cache?18:45
seb128yes18:45
hyperairi see.18:45
hyperairdo you have a link to it?18:46
seb128the old one?18:46
hyperairyep18:46
seb128looking...18:47
seb128hyperair, https://launchpad.net/ubuntu/+source/gnome-menus/2.28.0.1-0ubuntu218:48
hyperairthanks18:48
mhall119seb128: does appmenu-gtk support both window menu *and* the new GtkApplication menu at the same time?18:51
seb128mhall119, yes18:52
mhall119ok18:52
seb128mhall119, it append the second one to the next one in those case iirc18:52
mhall119ok, makes sense18:52
mhall119is the GtkApplication menu single-level, or does it allow nested menus?18:53
mhall119if single-level, maybe it could be used as a Quicklist intead18:54
seb128mhall119, I didn't check but I would guess it's any menu you want to build18:55
seb128it doesn't really make sense to technical limit it, if it's better as a flat list design guideline should suggest that18:55
seb128then if an app as a valid reason to do differently they still can18:55
kklimondayeah, it supports nested menus19:09
kklimondaI think quicklists and app menu serve different purposes, aren't gnome-shell developers working on quick lists for their launcher?19:10
kklimondaon Mac, you put stuff like "About" or "Preferences" there and I expect GNOME to create similar guidelines19:11
bschaeferthomi, ping19:46
thomiHi19:46
bschaeferhey, so Im not sure how those conflicts got in there19:46
bschaeferbut they should be fixed now...19:46
bschaeferopps some indenting to fix one sec19:47
thomiok, I'll take a look in a second...19:47
thomi:)19:47
bschaeferyeah, wait a sec haha19:47
thomiremember to check the trailing shitesapce :)19:47
bschaeferyeah I have that in my vimrc file, it does it when I save :)19:48
bschaeferok the diff is done...19:54
malindavidcalle: I get this build failed message all the time https://launchpadlibrarian.net/102516068/buildlog.txt.gz20:27
malintried to fill in more lines to the description section, but it fails20:27
thomibschaefer: approved20:38
mhall119malin: can you link to your debian/control file?20:40
davidcallemalin, http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Description20:41
davidcallemalin, you can't have blank lines in your description. If you want to add a blank line, you have to fill it with one space, and a dot.20:41
davidcallemhall119, http://bazaar.launchpad.net/~malinkb/unity-buss/unity-buss-experimental/view/head:/debian/control20:42
malinmhall119: og davidcalle: http://bazaar.launchpad.net/~malinkb/unity-buss/unity-buss-experimental/view/head:/debian/control20:42
malinbut if I write a long line, how can I break it more lines ?20:44
malinwith a bank line and a dot?20:44
malinI have to look at the example again20:44
malinah, I understand. I needs a dot like here: http://bazaar.launchpad.net/~telepathy/empathy/ubuntu/view/head:/control20:45
mhall119malin: I think your blank lines need at least a space to indicate that it's a continuation of the previous lines20:45
malinoki20:46
mhall119malin: do you run debuild locally before uploading?20:46
bschaeferthomi, thanks!20:49
malinnope I haven't done because I don't know how to do it. I Think it would save the launchpad building-server to do it locally first :)20:53
malinmhall119: but all I do is: debuild <project-folder>   ?20:53
seb128r20:53
bschaeferthomi, also there is a failure in test_dash.py, but it's from trying to use the launcher instead of the keybinding20:56
bschaeferill be making a branch for the fix to the hud to dash and then losing key focus soon, and I can just push that change with it20:56
thomicheers20:56
malinmhall119: I just installed devscripts20:57
malinso I can try locally first20:57
mhall119malin: "debuild -us -uc", no need for signing the binary when you're test-building20:57
mhall119then "debuild -S -sa" for a signed source package if you're uploading to a PPA20:58
mhall119or let the recipe do it at that point20:58
malincan I upload myselv with that method?20:59
malinupload deb-files20:59
malinor is just for testing purpose before requesting a build at the launchpad-site?20:59
malinmhall119: http://pastebin.com/nd55DSPG21:00
bschaeferthomi, I think the merging bot isn't very happy today21:03
bschaeferthomi, im not sure what revisions it's talking about here: https://code.launchpad.net/~unity-team/unity/hud-tests-to-wait/+merge/10244021:04
bschaeferalso I just put a commit message for the homes lens, as it kept crying about that21:06
bschaeferthe home lens branch21:06
=== salem_ is now known as _salem
mhr3seb128, hyperair, the apps lens startup is slow due to desktop files, then it should be fine21:13
thomibschaefer: yeah, it's pretty borked today21:14
malinmhall119: what do I do wrong with debuild to get the errors?21:17
mhall119malin: ugh, i'm not sure, try asking in #ubuntu-devel or #ubuntu-motu21:19
malinmhall119: okey :) Thanx however :)21:20
mhall119np21:24
bschaeferthomi, could you review these ap test? https://code.launchpad.net/~brandontschaefer/unity/hud-to-dash-loses-win-focus/+merge/10259821:49
thomisure thing21:49
bschaeferalso I should remove that sleep(1)...21:49
bschaeferI thought I would be a good idea, then the next test realized I didn't need it haha21:49
thomibschaefer: yes please21:50
thomisleep() is an abomination21:50
thomibschaefer: ping me when you need another approve :)21:50
bschaeferis there anything else that needs to be changed?21:51
thominope, looks good21:51
bschaefercool, ill ping you when the diff is done :)21:51
bschaeferthomi, hmm also looking at it should I change the 41+ self.assertTrue(calc_win.is_focused) to use eventually?21:55
bschaeferthomi, also the diff is done updating21:56
thomibschaefer: no, the bamf emulator attributes aren't supported by Eventually.... yet21:57
bschaefero, hmm then should I change this then? 58+ self.assertThat(calc_win.is_focused, Eventually(Equals(True)))21:57
bschaeferit was passing...and failing when I made it21:58
thomithat shouldn't work at all21:58
bschaeferwell shoot, let me change it21:58
bschaeferthomi, ok done22:02
bschaeferand diff is updated22:02
thomiapproved., Thanks22:03
bschaeferthank you!22:03
thomibschaefer: still around?22:40
bschaeferthomi, yup!22:40
thomicould I get your to review this (again): https://code.launchpad.net/~thomir/unity/hud-tests-to-wait_for-feature/+merge/10260122:40
bschaeferyup22:41
thomiit's the same branch as before, but with the conflicts fixes22:41
thomi*fixed22:41
bschaeferthomi, hmm did my branch just break haha?22:42
thomibschaefer: how so?22:42
bschaeferdid it get merged?22:42
bschaeferbecause my hud one was saying some revisions weren't approved?22:42
thomihmm, duno22:43
thomiit looks good to me22:43
bschaeferyeah, o well haha22:44
bschaeferthomi, 149- launcher_shows_pre = launcher.is_showing22:45
bschaefershouldn't that one be used?22:45
bschaeferas I thought it was a property22:46
thomibschaefer: good catch22:46
* thomi fixes22:46
bschaeferThe only reason I know is I ran into that same problem haha ;)22:47
thomibschaefer: pushiong new version now22:47
thomidone.22:48
* bschaefer waits for diff22:49
bschaeferthomi, approved, now I have to relocate my self...22:51

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