/srv/irclogs.ubuntu.com/2011/01/25/#ayatana.txt

=== godbyk_ is now known as godbyk-laptop
kvalomorning06:35
Omeganight :)06:44
kvalo:)06:48
MacSlowgreetings everybody!07:57
kvalohello MacSlow07:58
MacSlowhey kvalo, kamstrup07:59
didrocksgood morning08:11
kvalokamstrup: morning. I'm sure you have missed my merge requests ;) so here's a new one: https://code.launchpad.net/~kvalo/indicator-network/libconnman-vala/+merge/4736608:18
kvalokamstrup: this one was so strange, I didn't get it: http://bazaar.launchpad.net/~kvalo/indicator-network/libconnman-vala/revision/15308:19
kamstrupkvalo: is it |just| the cheader_filename that you've changed in the .vapi?08:28
kamstrupkvalo: because in that case it could make sense to a 'sed' invocation in your Makefile.am to get the Connman-1.0.vapi to be purely autogenerated08:29
kamstrupkvalo: needs fixing08:36
kvalokamstrup: the regexp wouldn't be simple, because there are two different filenames08:41
kamstrupkvalo: ah, bugger08:42
kvaloyeah, it really sucks08:42
kamstrupkvalo: although I guess you could fix that by making one super header that includes the two, no?08:42
kvalokamstrup: can you check if you have libreadline-dev installed? I'm guessing configure check doesn't fail if it's missing08:43
kamstrupkvalo: and generally I push for single header includes everywhere anyway. Including discrete headers is a path of pain for consumers and maintainers alike08:43
kvalokamstrup: so you are saying that I should have libconnman.h which will contain all classes?08:44
kvaloah, it will just include all the class .h files08:44
kvalomakes a lot of sense08:44
kamstrupkvalo: a libconnman.h that just includes manager.h and service.h or whatever you need08:44
kamstrupkvalo: in fact for all my public08:44
kamstrupkvalo: (damn return key!)08:44
kamstrupkvalo: in fact for all my public libs i *force* this and raise a compile time error if you try to include one of the subheaders08:45
kamstrupkvalo: like http://bazaar.launchpad.net/~libzeitgeist-developers/libzeitgeist/trunk/view/head:/src/zeitgeist-monitor.h#L2108:46
kamstrupkvalo: but of course this is not as important for an internal lib08:46
kvaloI'll add it anyway08:47
kamstrupthis gives absolute freedom for me to restructure the internal source layout, which is otherwise impossible08:47
kvalokamstrup: thanks for the tips08:48
kvaloyeah, configure doesn't fail if readline is missing08:50
* kvalo starts reading the autoconf bible08:50
kamstrupkvalo: meh, readline doesn't have pkg-config integration...08:54
kamstrupkvalo: you can just do: echo '#include <readline/readline.hads>' | gcc -E - > /dev/null 2>&108:54
kamstrupkvalo: in configure.ac and check $? == "0"08:55
kvalokamstrup: I'm using AC_CHECK_LIB already, I was just missing the error case08:55
kamstrupkvalo: ah, ok08:55
kvalokamstrup: but yeah, readline is _old_.08:55
kamstrupkvalo: but it works :-)08:55
kvalosure does08:56
kvalokamstrup: just to keep merge requests simple, I will create a new branch for the automatic vapi generation09:03
kvalokamstrup: ok?09:03
kamstrupkvalo: suer09:04
kamstrupsure09:04
kamstrupnjpatel: !09:32
njpatelkamstrup, !09:32
kamstrupnjpatel: I was thinking...09:32
njpateluh-oh09:33
kamstrupnjpatel: why is the group_model per PlaceRendererInfo and not just shared globally across a PlaceInfo (like the sections_model already is)...09:33
kamstrupnjpatel: considering https://wiki.ubuntu.com/Unity/Places09:33
kamstrupnjpatel: sorry, the correct terminology would be RendererInfo and PlaceEntryInfo respectively in the above09:34
njpatelkamstrup, I think it's because different renderers might have different groups, where sections would remain constant across the place entry09:34
kamstrupnjpatel: at least it makes for some oddities in the place daemons09:34
njpateloh, wait, I se what you mean09:34
njpatelkamstrup, I guess it could be global09:35
kamstrupnjpatel: indeed, and you can still have different renderes even if you use the same label for the group, that would just be two entries in the group model with the same labeæ09:35
njpatelright09:35
kamstrupnjpatel: so I think it's a taad more consistent, and it's one less DeeSharedModel on startup (they are not entirely cheap)09:36
kamstrup((because of the dbus interactions)09:36
njpatelkamstrup, this isn't something we need to change, though, right? I mean I've just come out of doing this and if you make me go back to gdbus I might kill you09:36
njpateloh, you do want to change09:36
* njpatel books tickets to Denmark09:36
kamstrupnjpatel: i don't have to09:36
kamstrupnjpatel: it's because I am sitting here adding the Control Center stuff to the apps place09:37
njpatelkamstrup, I'd say leave it for now, we've got enough to do for A2. Maybe once the places stuff has settled down next week?09:37
kamstrupnjpatel: and the current spec makes this rather ugly in my code09:37
kamstrupnjpatel: ok, I'll put it in the gdoc of pending changes09:37
njpatelthanks09:37
kvalokamstrup: I updated now https://code.launchpad.net/~kvalo/indicator-network/libconnman-vala/+merge/4736609:42
kamstrupkvalo: ok, on it09:42
kvalokamstrup: thanks09:44
rodrigo_dbarth_, a11y call now?09:52
kamstrupkvalo: approved, with a small request...09:53
kvalokamstrup: hey, I can't say no to you ;)09:54
rodrigo_API, dbarth_: a11 weekly call now?10:13
rodrigo_hey aruiz10:13
aruizhey rodrigo_ !10:13
aruiz:-)10:13
rodrigo_API, hmm, about your last comment in my branch, the PanelViewAccessible has several children, not only 1 (the layout), as shown on accercizer10:25
rodrigo_API, not sure what you mean?10:25
APIrodrigo_, it has several because you are exposing layout content10:27
rodrigo_API, right, and you'd prefer to just expose the layout as the only child?10:27
APIno10:27
APIplease read again10:27
APImy last review10:27
APIyour way to implement that could be also valid10:28
APIbut, there is any reason to do that?10:28
APII mean that the normal is the other way10:28
APIexpose the only child10:28
APIbecase after all10:28
APIis the only child of the panel10:28
APIyour way is also valid10:28
rodrigo_hmm, but what do we need the layout for?10:28
APIbut, imho, it should be a reason to do that in this way10:28
APIand why repeat the code to expose the children of a layout?10:29
APIwe have that code on nuxlayoutaccessible10:29
APIso it is valid for any layout used10:29
rodrigo_hmm, ok10:29
rodrigo_so, I just change it to return 1 child (the layout) then, right?10:30
APIwell, unless you find a good reason to do that in the other way ;)10:32
APIyes,10:32
APIyou can take basewindow as reference10:32
kvalokamstrup: I want to create a uber test script/makefile target which would run all possible tests there are and print an "OK!" banner if there are no errors. would makefile target "allchecks" or similar be the best solution?10:32
rodrigo_no, just didn't think we needed the full real hierarchy, but if that's how everything is done, I'll change it10:32
rodrigo_so yeah, don't have a good argument to convince you :-D10:32
kamstrupkvalo: just stick this in your makefile for s in test_foo test_bar test_baz; do echo $s OK; done10:33
kamstrupkvalo: is everything using the gtester framework?10:34
kvalokamstrup: most are, but I want to also run distcheck10:34
kamstrupkvalo: check how I do it lp:libunity. You need a Makefile.decl copy pasted to your source root from there10:35
kamstrupkvalo: and then include it in your test makefiles10:35
kvalokamstrup: thanks, I'll check it10:35
smspillazgord: could you file a bug saying that we need multimonitor support in the switcher and staticswitcher plugins so I don't forget :)10:47
gordsmspillaz, not right now, if i remember when i'm less busy though :)11:02
smspillaz:p11:03
ronocnjpatel, a serializedstring gvariant would look like something like this no -> "(s)", "thing"11:25
ronocfor the gsettings command line tool11:25
njpatelronoc, erm, no idea dude. kamstrup ? ^11:29
kamstrupronoc, njpatel: ehhh, probably? What does "serialized" mean here?11:30
ronockamstrup, njpatel from the docs of the gsettings command line tool the set command takes key and then value, "The value is specified as a serialised GVariant "11:32
kamstrupronoc: it probably refers to the format used by g_variant_print()/g_variant_parse()11:33
ronocah yes11:33
ronocthx guys11:33
kamstrupronoc: so what I see here is that a variant created with g_variant_new ("s", "Hello") prints as ('Hello',)11:39
ronockamstrup, tried that already, doesn't like it11:41
kamstrupronoc: he - then I'm at a loss11:41
ronockamstrup, no worries - just trying to helpful on a bug report ...11:42
kamstrupronoc: look at the format from a get command - the docs say it's the same11:43
kamstrupronoc: gsettings get org.gnome.desktop.default-applications.terminal exec11:45
kamstrupronoc: so it's a 'single quoted string'11:45
ronockamstrup, the format of the value in my hash is an array of strings11:46
ronocso I have been trying gsettings set com.canonical.indicators.sound blacklisted-media-players @as ["rhythmbox"]11:46
ronocsince get returns11:46
ronoc@as []11:47
kamstrupronoc: ['foo', 'bar']11:47
kaleohello11:48
kamstrupkamstrup: gsettings get com.canonical.Unity.Launcher favorites11:48
kamstrupkaleo: Where's the original Kaleo?!11:48
=== kaleo is now known as Kaleo
Kaleo:)11:48
* Kaleo is me 11:48
kamstrupKaleo: oh, hi Kaleo, you here too?11:48
kamstrup;-)11:48
Kaleoafter a good night of rest yes11:49
kamstruphehe11:49
ronockamstrup, still not working, a key error is now the problem even though it has no problem fetching11:49
ronocweird11:49
ronocwill come back to it later11:49
multiplatinumivanka,  remember me? (last week xD)11:50
ronockamstrup, got it11:51
ronocgsettings set com.canonical.indicators.sound blacklisted-media-players "['rhythmbox']"11:52
kamstrupronoc: right, looks sane11:52
=== MacSlow is now known as MacSlow|lunch
kvalokamstrup: actually I can't generate the vapi automatically. I just remembered that I did other manual changes as well12:25
kvalokamstrup: I think I just leave as it is for now and revisit then the api is stable, and hopefully tools are more stable12:26
kamstrupkvalo: right, no worries12:26
didrocksseb128: do you still have the issue with alt + mouseclick not dragging your window?12:38
seb128didrocks, still get it12:43
seb128you don't?12:43
seb128using alt-click-dnd doesn't move anything there12:43
didrocksseb128: no, I never had it12:44
didrocksseb128: can you try this (maybe it's a perf issue that some people have): ccsm -> move plugin -> opacity back to 100%12:44
didrocks(and check that alt + button 1 is set as well)12:44
seb128didrocks, it's not happening in a guest session, just checked12:45
seb128so don't bother12:45
didrocksseb128: ok, something weird again in the session :)12:45
seb128hate compiz, it's still crashing every second ccsm run12:47
didrocksseb128: do you enable/disable pluginis?12:48
seb128no12:48
didrocksplugins* even12:48
seb128just run ccsm12:48
didrocksoh, weird, I didn't with that12:48
seb128every second run compiz crashes12:48
seb128ok12:48
seb128I can move the dialogs which are not focused12:49
didrocksI have some random crashes though12:49
seb128that's weird12:49
seb128like if I've to dialogs on screen I can alt-click and dnd the one which is not focussed12:49
seb128but not the one which is focussed12:49
didrocksseb128: maybe related to the new decorator? (just a stupid guess)12:49
didrocksthere is still the older one if you want to give it a try12:49
seb128didrocks, that fixes it12:50
didrocksnot that stupid then \o/12:50
didrocksin the guest session, which decorator is running? (should be the unity one still…)12:51
seb128or not12:52
seb128didrocks, it seems restarting the decorator just made it work once12:52
seb128didrocks, I will keep watching for it but don't bother with that for now12:52
didrocksok, that's weird :/12:52
seb128it doesn't happen in my guest session so it's likely a profile thing12:52
seb128I will try to debug it later12:52
didrocksseb128: ok, keep my in touch :)12:52
seb128but I've other tasks I want to get done before12:52
seb128k12:52
seb128session restart brb12:52
didrocksthanks :)12:52
ograKaleo, so (finally) looking into the merge, do you think we could drop some of the depends in u-2d-d-s to recommends ?13:08
ograthe dependency list is quite long13:08
Kaleoogra: hmmm, that's kind of a broad question13:10
Kaleoogra: any specific depends you have in mind?13:10
ogranautilus looks like a good candidate13:10
ogrametacity too (since you apparently can also use compiz)13:11
Kaleoogra: metacity is a no go13:11
ograwhy ?13:11
Kaleoogra: we want to run by default on hardware without hw accelerated OpengGL13:11
Kaleo-g13:11
didrockswell, there is custom patch in metacity like the decorator one13:11
ograif i can use compiz instead there needs to be an option to uninstall metacity13:11
Kaleoogra: and we do not QA on Compiz very much13:12
ograKaleo, by default the unity-2d package will pull in metacity13:12
Kaleoogra: so for now it's experimental13:12
Kaleoogra: which is normal13:12
Kaleoa13:12
Kaleoah13:12
ograwe install recommends by default13:12
Kaleoright13:12
ograits just about the optional removing13:12
Kaleoogra: I see13:12
ograand i can see people using it with pcmanfm or compiz13:13
didrocksogra: what do you set in the session file?13:13
didrocksmetacity ?13:13
Kaleoogra: to back up a little here our package u-2d-d-s should depends/recommends most of the same things that Unity deps/recommends13:13
Kaleodidrocks: yes13:13
ograprobably even with xfce-session if there is nothing that hardcodes gnome-session functions13:13
didrocksso, the session won't start if someone uninstall metacity13:13
Kaleodidrocks: good point13:13
ogradidrocks, no, but you can modify it manually13:13
didrocksright, but I'm unsure about letting people shooting on their feet :)13:14
* didrocks tries to think how to do that13:14
ograwell, we will get complaints if we have to hard deps13:14
Kaleodidrocks: ogra: what package should I look at that contains Unity's session?13:14
didrocksKaleo: gnome-session13:14
Kaleodidrocks: thanks13:14
ograi'm fine going with what we have but try to think ahead13:14
didrocksogra: maybe gnomewm needs some tweaking13:15
=== agateau_ is now known as agateau
ograso things that arent absolutely needed should be removable13:15
didrocksKaleo: you need to look at /usr/share/gnome-session/sessions/ubuntu.session13:15
ograif we indeed have hardcoded bits that really depend on gnome stuff there is no way for recommends13:15
=== MacSlow|lunch is now known as MacSlow
ograbut i see for example ubuntu-wallpapers in the deps13:15
didrocksogra: strictely speaking, I can only see the decorator patch13:16
ograand light-themes13:16
ograthese seem like recommends candidates13:16
Kaleoogra: light-themes does not have to b there at all AFAIK13:17
ograwe often have people building custom images for unsupported arm HW ...13:17
Kaleoogra: so, we have a long list of deps13:17
Kaleoogra: it needs cleaning while keeping all existing functionalities13:17
ograi just try to think of that guy who wants to run everything xfce and pcmanfm with custom themes13:17
ograKaleo, right, thats why i ask :)13:18
Kaleoogra: and we should look into Unity's deps13:18
Kaleoogra: and mimick what is done there13:18
ograugh13:18
ograthey are way bigger than ours :P13:18
Kaleoogra: sure13:18
Kaleoogra: but for example the indicator-* are recommends for them13:18
Kaleohttp://packages.ubuntu.com/natty/unity13:18
ograheh13:19
didrocksyeah, because without the indicators…13:19
didrocksand it's only recommends13:19
didrocksthe required bits are:13:19
didrockscompiz of course13:19
didrocksunity-common which is internal13:19
didrockslibglib2.0-bin for the gsettings binary13:20
ograthe indiocators would have been the bits i wouldnt have made recommends :)13:20
ografunny13:20
didrockspython for some migration script and the unity binary13:20
didrocksnux-tools for the detection bits13:20
didrocksunity-asset-pool for the icons13:20
didrocksogra: well, if you install unity, you want to have a way to disconnect from your session for instance13:20
didrocksor you maybe want the clock :)13:21
ograright13:21
Kaleoogra: http://ietherpad.com/2s0NezImPo13:21
ograthats why i mean i wouldnt have made indicators a recommends13:21
Kaleoogra: I started putting the plan there13:21
didrocksogra: oh, you mean a dep?13:21
Kaleoogra: let's figure out the whole changes there, agree on it, and then push it13:22
didrocksogra: we have some people who wants to remove the appmenu13:22
ograugh13:22
ograKaleo, wallüpapers and themes should be recommends there13:24
ograKaleo, hmm we could drop wallpapers and themes and move them into the netbook/desktop seeds13:26
ogra(i think they are in there anyway)13:26
Kaleoapt-cache rdepends answers part of the question I suppose13:27
didrocksogra: they are13:27
ograright, lets drop them13:27
Kaleodidrocks: http://ietherpad.com/2s0NezImPo contains the discussion in a more efficient format13:27
Kaleoogra: can you leave them on the document please13:27
ograoops13:27
ograback13:27
Kaleothanks13:28
ograwhat about metacity ?13:28
ograif its hardcoded in the session file we indeed need to keep it13:28
ograhow about gnome-session ? can we use other session managers without breaking ?13:29
Kaleoogra: don't forget that this pacakge is meant to install the session in GDM13:31
ograand what about the dep on unity ? that should be lowered to the bits we actually need i guess13:31
Kaleoogra: that's its purpose13:31
ogra(unity-common/-asset-pool)13:31
ograKaleo, what if i want to use it with kdm ?13:31
Kaleoogra: we don't depend on these13:31
didrocksright, we need to clean up what's in -common13:31
ograKaleo, right13:31
didrocksI'll have a look to ensure you have all you need13:31
ograKaleo, we depend on unity though13:31
Kaleoogra: not in 2d-default-settings AFAIK13:32
ograor am i misreading the doc ?13:32
ogradidrocks, so drop g-s-d and nautilus ?13:32
Kaleounity-2d-launcher depends on unity-asset-pool13:32
didrocksogra: yes, you should IMHO13:32
ogracan you tag it DROP ?13:33
didrockssure13:33
ograthanks13:33
ograso only the pixbuf engine left13:33
didrocksshould be brought by something else IMHO13:34
didrockslet me check13:34
didrocksogra: finally, you have more dep than unity has :)13:34
ograwell, can i install unity-2d and still have a working UI ?13:34
ograwith these deps13:34
bregmadidrocks, could you look at #684275 (upload request for the ginn project)?13:34
ograelse we need to re-add recommends13:34
didrocksogra: that's the question, I don't really know for that one  :)13:35
didrocksbug #68427513:35
ubot5Launchpad bug 684275 in ginn "New source package: ginn" [Medium,New] https://launchpad.net/bugs/68427513:35
ogradidrocks, can i do that with unity ?13:35
didrocksbregma: excellent, will get to it that week, thanks :)13:35
ograKaleo, i agree with your comment in the doc13:36
didrocksogra: we don't use any theme engine13:36
ograit should still be possible to just install unity-2d13:36
ograwithout a toplevel metapackage13:36
bregmadidrocks, thank, there are a few more multitouch upload requests pending I'll follow up on later13:36
ograso things we need for functioning should be recommends13:36
didrocksbregma: got it, do not hesitate! :)13:37
didrocksogra: you need rather a metapackage then, but we can have the same rationale with every apps…13:37
=== klattimer1 is now known as klattimer
ogradidrocks, we will have a unity-2d package, i need to migrate unity-2d-default-settings into something13:38
didrocksin that case… :-)13:38
ograat some point i would like to merge the other binary packages of the unity-2d source package into that too, but Kaleo wants them distinct for now for flexibility13:39
Kaleoogra: what what13:39
Kaleoogra: that's a very different problem13:39
ograthats probably natty+113:39
Kaleoogra: merging the binaries is an upstream thing13:39
Kaleoogra: that will not happen13:39
ograKaleo, no, its a packaging thing13:39
Kaleoogra: which is equivalent13:40
ograyou currently build four binary packages13:40
ograwhile unity doesnt13:40
Kaleoogra: we distribute separate binaries for reasons that make the binary package existence valid13:40
ograwith my merge we will have one meta and four binaries13:40
Kaleoogra: Unity _cannot_13:40
Kaleoogra: Unity does not have multiple binaries13:40
ograand it would make sense *at some point, i dont say _now_* to merge all binaries into the meta13:41
Kaleoogra: I hint never :)13:41
ograthat doesnt make sense13:41
Kaleoogra: we want to keep the flexibility for users13:41
Kaleoogra: that means separate binaries and separate binary packages13:41
ograwhy do you actually need these binary packages? do you expect anyone to use either of them standalone ?13:41
Kaleoogra: yes13:42
didrockswell, for instance, we have in the unity package the plugin and the unity panel service, but you can't use one without the other one13:42
Kaleodidrocks: that is actually going to change AFAIK13:42
Kaleodidrocks: because it's likely Unity 2d is going to depend on the unity panel service13:42
didrocksKaleo: if you are going to migrate to it, for sure13:42
didrocksyeah, I'll make a separate bin package for it then13:42
ograwell, if the intention is to use the launcher standalone (and if it acrtually works without any of the other) then i agree indeed13:42
Kaleodidrocks: right13:42
Kaleoogra: that is the intention13:42
Kaleoogra: and it does work13:43
Kaleoogra: in fact some people already use it athat way13:43
ograyeah, tne i fully agree13:43
Kaleo-a13:43
ogra*then13:43
didrocksKaleo: just keep me in touch once all the seperating work done, so that we can work on the minimal package req.13:43
Kaleo:)13:43
Kaleodidrocks: sure, I will let you know when the time comes13:43
ograi thought there were inter-dependencies between them13:43
Kaleoogra: hopefully they will be resolved one day13:43
Kaleoogra: oh, sorry13:43
Kaleoogra: I misread you13:43
Kaleoogra: there are no inter dependencies13:43
Kaleoogra: or rather13:43
ograright, sorry for assuming that :)13:44
Kaleoogra: if they are they are going to be fixed soon13:44
Kaleoogra: there is no runtime dependency that's for sure13:44
Kaleoogra: you can run all four binaries on their own13:44
ograk13:44
Kaleoogra: there is some packaging dependenc for wrong reasons13:44
Kaleoogra: and bug reports to fix them13:45
Kaleo+ies13:45
ograso back to our cod13:45
ogra*doc13:45
Kaleoright13:45
* ogra cant type today13:45
ograpixbuf engine13:45
Kaleoso, I don't know for that one13:45
ograwhat about that ?13:45
Kaleolet me bzr qlog13:45
ograi cant imagine any qt binary using it13:45
ograso it would only be pulled in as a meta dep13:46
ograwhich makes it a recommend13:46
Kaleohttps://bugs.launchpad.net/watuppa/+bug/64597713:48
Kaleoogra: we use a bit of GTK internally13:48
ograok13:49
ograheh, not allowed ... but i belive you :)13:49
ograso keep it as dep13:49
Kaleoogra: no13:49
Kaleoogra: that's not the reason13:49
Kaleoogra: we depend on libgtk2.0-0 in unity-2d-launcher already13:49
Kaleoogra: looking at the bug report I think that it could be made a recommends13:50
ograk13:50
Kaleoogra: so13:51
Kaleoogra: what is the difference between13:51
Kaleo ubuntu-wallpapers and nautilus13:51
Kaleofor example13:51
Kaleowhy DROP one and make the other a RECOMMEND13:51
Kaleo+s13:51
ograyou can run completely without wallpapers, but you should have some filemanager to be functional ?13:52
ograand recommends allows you to replace nautilus with something else13:53
Kaleoogra: I get it13:53
ograso i would keep g-p-m, gnome-session, polkit and nautilus as recommends13:53
Kaleoogra: didrocks: everybody happy with the final list?13:53
* ogra is13:54
Kaleoogra: thanks for bringing this up13:56
ograKaleo, well, it blocked me :)13:56
didrocksogra, Kaleo: looks good to me. Still ensure about g-s-d and other stuff, but we'll see if you need a separate metapackage or not :)13:56
ograi'll create the unity-2d package now and show you a diff for review13:56
Kaleogreat13:57
danilosnone of the gtk+ menus work for me in natty anymore since today13:58
danilosanyone knows what might be the problem and how do I best debug them?13:58
Kaleoogra: do you want to take care of this too? https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/70317014:00
ograKaleo, heh, yeah14:02
didrocksdanilos: stacking issue, try to right click on the wallpaper14:04
lucazade1Hi all! Is it a known bug that maximized windows don't blend in unity-panel if I use unity2d + compiz ?14:10
lucazade1(at least in maverick)14:11
Kaleolucazade1: yes14:12
Kaleolucazade1: and let me give you a tip14:12
thisfredohai. I wonder if there is anything like a PPA we (the ubuntu one team) can start using to look at the launcher progress bars API. Or are they in Natty proper already?14:12
lucazade1Kaleo: ok14:13
Kaleolucazade1: set the gconf key /apps/compiz/plugins/decoration/allscreens/options/decoration_match14:13
Kaleolucazade1: to !(state=maxvert)14:13
thisfrednjpatel: ^ (sorry yours is the only irc nick I know :D )14:14
lucazade1Kaleo: great, it works!14:14
Kaleolucazade1: fantastic14:16
jcastrocando__: jamalta: hey guys I'm working on the unity report, anything you'd like to add for this week?14:24
boulabiardidrocks, ping14:27
didrocksboulabiar: hey14:27
boulabiarI want to ask you about putting a package in universe14:27
boulabiarbug #68427514:27
ubot5Launchpad bug 684275 in ginn "New source package: ginn" [Medium,New] https://launchpad.net/bugs/68427514:27
didrocksboulabiar: I was already pong by bregma some minutes ago )14:28
boulabiarahh, haven't seen that14:28
didrocksboulabiar: so, will do a first review before EOW is the summarry :)14:28
boulabiarthanks14:29
didrocksyw14:29
multiplatinumivanka,  remember me?14:33
cando__jcastro, nope..nothing new..:(14:37
nerochiaroKaleo: did you see my note about CacheEffect on your MR ?14:58
Kaleonerochiaro: yes still waiting for more input from you15:03
nerochiaroKaleo: what do you need ?15:03
Kaleo"Florian, please hold on on this merge for a bit."15:04
KaleoI suppose that "a bit" means you are going to investigate15:04
Kaleoand come back to me with "please merge"15:04
Kaleoor "don't merge"15:05
nerochiaroKaleo: well, it was actually meant in the sense of "it seems broken in this case, so please don't merge before first figuring it out (or merge and go ahead if you don't care that i don't use it in my code for now)"15:05
nerochiaroKaleo: guess it wasn't clear. sorry about that15:05
Kaleonerochiaro: it was very clear15:06
Kaleonerochiaro: but in the wrong sense15:06
Kaleonerochiaro: so, you have the code that is broken with it15:06
nerochiaroKaleo: ok. so if you want i can spend time and investigate it. i just know nothing about CacheEffect15:06
Kaleonerochiaro: please investigate15:06
nerochiaroKaleo: sure15:06
Kaleonerochiaro: do you have the link to your todo list?15:11
nerochiaroKaleo: http://ietherpad.com/eVgMjsVwiF15:12
Kaleonerochiaro: thank you15:12
multiplatinumany gmail users in here?15:13
* spikeb 15:13
multiplatinumspikeb,  may I pm u?15:14
spikebsure15:14
nerochiaroKaleo: i don't really understand why the cache effect actually caches. some explanatory comment would actually help in the class file. all i see is that it takes the sourcePixmap and paints it. doesn't the same thing happen normally when there's no effect at all ?15:19
Kaleonerochiaro: you need to look at how an effect works15:22
nerochiaroKaleo: well, the effects sit between the source element and the destination (i.e. the viewport in our case) and basically do their own custom painting by reimplementing the draw function15:24
nerochiaroKaleo: " If effects are disabled, the source is rendered directly." which looks like pretty much what happens in your cache effect: you take the source and render it straight on the destination15:25
nerochiaroi'm surely missing something15:25
Kaleonerochiaro: yes you are mising reading the code of Qt15:26
Kaleonerochiaro: let me fetch the file15:26
nerochiaroKaleo: so you're basically saying that the documentation sucks and one should not rely on it ;)15:26
Kaleonerochiaro: src/gui/effects/qgraphicseffect.cpp15:27
Kaleonerochiaro: no, I am saying you are interpreting the documentation15:27
nerochiaroKaleo: and anyway, if one has to go read the QT source to now how your code works, you surely need comments, in my opinion15:27
Kaleonerochiaro: that's true15:27
Kaleonerochiaro: probably15:27
nerochiaroreading that source15:27
Kaleonerochiaro: someone who wrote effects before would not need that documentation15:27
nerochiaroKaleo: no, but someone trying to figure out why the effect wrote by something else screws up his otherwise working code does15:28
Kaleonerochiaro: sure15:29
Kaleonerochiaro: you are frustrated because your work is broken and there is no explanation in CacheEffect15:30
Kaleonerochiaro: take the time you need to read src/gui/effects/qgraphicseffect.cpp and then we can talk15:30
nerochiaroKaleo: doing that right now15:31
smspillaz(#ayatana, if you are cool with compiling compiz from source, then there is a fix for stacking http://smspillaz.ucc.asn.au/0001-Fix-stacking-madness.patch - I need testers :) )15:33
nerochiaroKaleo: so basically the source internally uses a global cache, so whatever comes out of sourcePixmap is cached and you just draw it. right ?15:50
Kaleonerochiaro: irhgt15:53
Kaleonerochiaro: orrather whatever you draw is cached15:53
nerochiaroKaleo: but isn't that what happens with declarative images anyway ?15:53
ograKaleo, http://paste.ubuntu.com/558148/15:53
Kaleonerochiaro: not necessarily15:53
Kaleonerochiaro: besides we are not dealing with an image here15:53
ograi'm waiting for persia to return to cross check the transition for me15:54
nerochiaroKaleo: isn't the background an image ?15:54
ograbut thats essentially what i plan to put into natty-release15:54
Kaleoogra: is that the merge into unity-2d?15:54
ograright15:54
Kaleoogra: can you submit a merge request instead?15:54
Kaleonerochiaro: look at the code15:54
nerochiaroKaleo: ok, i take that back, it's the entire Item15:54
ograKaleo, into my own branch ?15:54
Kaleo:)15:54
ograk15:54
Kaleoogra: into trunk15:54
ograKaleo, does trunk already have all bits from natty-release ?15:55
Kaleoogra: I don't know I was not aware of natty-release until a few days ago15:55
Kaleoogra: I have not synced anything yet15:56
nerochiaroKaleo: so what's wrong there is that the effect doesn't take into account correctly the fact that the Item is being scaled15:56
nerochiaroprobably15:56
ograi think natty-release is a bit ahead atm15:56
ograat least chanbgelog wise15:56
ograupstream should be identical15:56
ogra*changelog15:56
Kaleoogra: you see why I dislike having 2 branches15:56
ograKaleo, totally15:57
Kaleoogra: because we end up having that conversation :)15:57
ograyeah, but its there now15:57
Kaleoyep15:57
Kaleotrying a merge15:57
ogra:/15:57
Kaleoogra: I merged natty-release into trunk15:58
Kaleoogra: can't you just do the work on trunk?15:58
ograno conflicts ?15:58
Kaleoogra: none15:58
ograKaleo, well, then i need to change all the Vcs-Bzr entries again15:59
Kaleoogra: that's a small price to pay :)15:59
ograi just adjusted all of them for the natty-release branches15:59
Kaleoyes that's what I just merged15:59
ograright15:59
Kaleobut unless NCommander comes in screaming15:59
ograthere was also a .bzrconfig setup i added15:59
KaleoI say let's drop them15:59
Kaleoogra: which is great for trunk15:59
ograto get bzr builddeb working16:00
Kaleoogra: we like .bzrconfig16:00
ograright, did that get in as well ?16:00
Kaleoogra: yes16:00
ogragreat16:00
Kaleoogra: bzr did its job :)16:00
ograjust wanted to be sudre16:00
ogra:)16:00
ogralets discuss the natty-release branches once NCommander is awake, i dont want to rule that above his head16:01
ograi fully agree with you though16:01
multiplatinumivanka1,  you there?16:09
ivanka1multiplatinum: hi - I am in meetings all afternoon. We will have to talk another day. Sorry!16:10
multiplatinumNp, cya16:10
nerochiaroKaleo: ping me whenever you want to pick up where we left16:35
Kaleonerochiaro: back16:54
nerochiaroKaleo: ok. so basically i was say that probably what's wrong there is that the effect doesn't take into account correctly the fact that the source Item is being scaled16:58
Kaleonerochiaro: hmmm, interesting idea17:06
nerochiaroKaleo: well, that's what i am imagining from seeing the visual issue and peeking at the code, and the fact that you only used it with backgrounds whose scale is not animated17:07
nerochiaroKaleo: so you probably didn't test if it worked in case the source changed17:07
Kaleonerochiaro: the source changed? what?17:07
Kaleonerochiaro: you mean in case the scale changes17:08
nerochiaroKaleo: for example, yes17:08
Kaleonerochiaro: what do you mean for example? isn't it the entire problem here (supposedly)17:08
nerochiaroKaleo: well, in my case yes. but i guess it will have the same problem if the source is rotated or transformed in any other way. i guess you need to reimplement QGraphicsEffect::sourceChanged to be notified about any changes17:09
Kaleonerochiaro: so you see here the issue is17:10
Kaleonerochiaro: that the cacheeffect purpose is to prevent redraws when this happens17:10
Kaleonerochiaro: when it's being moved or transformed17:11
Kaleonerochiaro: and it's important if you want to get smooth animations17:11
Kaleonerochiaro: I need to see the issue visually, can I pull your branch?17:12
nerochiaroKaleo: certainly. you only have to comment the cacheeffect in the gnomebackground17:12
nerochiaroKaleo: i mean, un-comment17:13
nerochiaroKaleo: then trigger the workspace switcher, and un-zoom a workspace and zoom another17:13
nerochiaro(that's the nastiest case)17:13
Kaleonerochiaro: is there a workspace switcher button?17:14
nerochiaroKaleo: not yet. it's down in the list17:15
nerochiaroKaleo: just activate it as you did the original spread17:15
Kaleook17:15
KaleoI see17:15
nerochiaroKaleo: same as last time you tried it17:16
* Kaleo is going to make some pasta17:16
Kaleo(and think)17:16
nerochiaroKaleo: damn, you're making me hungry now17:16
Kaleonerochiaro: the way I see it it sounds like a bug in Qt17:17
nerochiaroKaleo: I can't honestly say i understand enough of the whole effect framework from my quick look today to be able to tell. I just don't see where you take scale into account in the effect code though17:19
nerochiaroKaleo: i mean, the cacheeffect code17:19
Kaleonerochiaro: you don't have to17:19
Kaleonerochiaro: http://bugreports.qt.nokia.com/browse/QTBUG-591817:21
Kaleonerochiaro: not the same thing but interesting17:22
nerochiaroKaleo: that's rotating the destination, but i guess similar indeed17:25
Kaleonerochiaro: http://bugreports.qt.nokia.com/browse/QTBUG-954317:28
Kaleonerochiaro: this is probably the one17:28
=== ogra is now known as Guest34014
nerochiaroKaleo: looks like that one is fixed in 4.7 though17:31
=== Guest34014 is now known as ogra_
lamalexdbarth_, njpatel who is going to that x meeting / what time is gmt?18:16
njpatellamalex, what x meeting? http://www.google.co.uk/search?sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8&q=time+in+gmt18:16
lamalexnjpatel, im sorry i meant to ping jay- but he's not here18:17
lamalexso i guess me18:17
=== m_conley_away is now known as m_conley
=== ivanka is now known as ivanka-train

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