/srv/irclogs.ubuntu.com/2014/11/05/#ubuntu-desktop.txt

seb128good morning desktopers!07:26
pittibonjour seb12807:26
pittibonjour tout le monde07:26
seb128pitti, hey, wie gehts?07:26
pittiseb128: geht so -- ich habe bis um 1:00 gehackt :)07:26
pittiseb128: et toi ?07:26
seb128ça va bien !07:27
seb128what did you hack on?07:27
seb128oh, systemd07:27
* seb128 just reading g+07:28
larsuhehe07:29
larsugood morning!07:29
seb128hey larsu07:37
seb128hey dednick07:37
dednickseb128: hi07:47
seb128dednick, how are you today?07:48
dednickseb128: fine thanks. you? taken a look at the usc branch. wondering why we're doing this rather than supporting translations.07:50
dednickseb128: since the only branch to change is usc.07:50
seb128dednick, Saviq was arguing that usc shouldn't have translations for some reasons07:50
seb128dednick, it's also a smaller change/easier/give us a translated string, so works better for rtm07:50
dednickseb128: well, this isn't really any diff. I think Saviq was arguing that we shouldn't have translatable strings at all07:51
seb128dednick, if we enable translations in usc now the langpacks are going to miss the string and it's going to take some time before it's there and used07:51
seb128dednick, I'm fine working on enabling translations in usc next, that just seems the best rtm friendly solution07:52
dednickseb128: if we're changing u8 to translate the "Call back" and "Send" strings, i'd rather put a passthrough property to that "Reply" string which u8 needs to set07:52
dednickseb128: this bug isn't going to get rtm'ed though is it? it's not on the critical list07:53
seb128dednick, https://code.launchpad.net/~tiagosh/telephony-service/add-translation-strings/+merge/24064307:53
seb128dednick, I'm going to ask Pat about it, that's a visible string and bq ships in a non english country07:54
seb128it's going to be at least ota1 I guess07:54
dednickseb128: ok.07:55
dednickseb128: i think the u8 fallback strings need to be translated anyway.07:55
seb128dednick, well, feel free to reject, but as said that's a temporary workaround until we properly enable translations07:55
seb128dednick, ok, I can mp that as well07:55
didrocksmorning08:01
seb128lut didrocks, en forme ?08:01
dednickseb128: cool. in that case, can you add a property to the usc SnapDecision for the replyPlaceholderText ? and override in u8?08:01
seb128dednick, ok, rather than enabling translations in usc?08:02
didrocksseb128: toujours en train de tousser :/ mais sinon, ça va, et toi ?08:02
dednickseb128: yah. there are still some requests for translations in there, but for the quick fix i think it's better.08:02
seb128didrocks, ça va bien, merci !08:02
dednickseb128: should probably just remove the default strings all together from usc.08:03
seb128dednick, well, the easiest one is the one I proposed ... you don't want that in as step1 ?08:03
seb128dednick, it's the only solution that is going to give us a translated string on the UI without needing a langpacks update08:03
seb128we can do the proper one in vivid then08:04
dednickseb128: need to update the lang packs for the other strings though.08:04
seb128yeah, but 1 is better than nothing08:04
seb128and that's a cheap one liner08:04
pittiseb128: systemd-shim to be precise08:06
pittiLaney: I tested gnome-terminal from the PPA, profile migration still doesn't work at all08:06
seb128pitti, yeah, saw your post08:06
dednickseb128: heh. if we're landing 2 packages and lang packs, is 3 much worse?08:06
seb128shrug08:06
pittiLaney: with 3.6 and no gconf I switched the color schema (black on yellow) and a smaller font, then upgraded, restarted g-t, it was back on the defaults (white on black, big font)08:06
dednickyou could use the domain translate in u8 if you really want :)08:07
seb128dednick, the point is that I doubt we are going to have an unity8 or langpack landing for rtm08:07
seb128but well, I feel like I spent more time trying to argue than 1 liner than it's worth it08:07
dednickseb128: as far as i know, there's loads of u8 langing08:07
seb128so your call08:07
dednicklanding08:07
seb128it's a 1 char change08:07
seb128tr->dtr08:07
seb128not sure why you push back so much on it08:08
dednickseb128: because we have to change it later!08:08
seb128we have to do another changeset to enable translation anyway08:08
seb128which I'm working on08:08
seb128and which is going to revert the workaround08:08
seb128but meanwhile it doesn't hurt to land the workaround08:09
seb128imho08:09
dednickseb128: bah. whatever. ok, as long as you do the mps to fix properly now as well.08:09
seb128yeah, that's on my todolist08:09
seb128dednick, so do you think translations in usc are needed?08:10
seb128there are more strings with i18n.tr()08:10
seb128not sure they are used anywhere though08:10
dednickseb128: no, they shouldn't be08:10
seb128or would you just do the property thing and let unity8 define that?08:10
dednickya. property thing. all the strings are context sensitive08:10
seb128k08:10
seb128what happens if unity8 tries to use a non existant property?08:11
seb128or asked differently, do we need to land usc before/in sync with unity8?08:11
dednickseb128: hm. i think so. i think the component may not load08:11
dednickcant remember08:11
seb128I'm going to try08:12
seb128but I might just land usc first08:12
dednickor just get a "property does not exist"08:12
seb128then update unity808:12
seb128easier than trying to land them in sync08:12
dednickseb128: ok. well the u8 one should technically not be needed at this point since the telephony-service is proving the "Send" & "Call back" strings now08:13
seb128right08:13
seb128but I mean for the proper fix08:13
dednickok08:13
seb1281. add the property to usc08:13
seb1282. make unity8 set it08:13
dednickyup08:13
seb128dednick, thanks for the discussion08:14
seb128I'm going to work on that/put mps up for review08:14
dednickseb128: sorry for the arguement :)08:14
seb128no problem!08:14
seb128dednick, can you change the mp status to approved as well, for the workaround08:31
dednickseb128: done08:32
seb128thanks08:32
willcookemorning08:59
didrockshey willcooke09:00
Laneyhey hey09:02
seb128hey ukers09:03
seb128how are you?09:03
seb128willcooke, the fix for the unity8 lockscreen/liveCD issue landed in vivid, we can update whatever instructions you had which suggested the "go to vt, change password" workaround09:04
seb128didrocks, ^ fyi09:04
willcookeseb128, excellent, thanks!09:04
willcookemhall119, we can remove the note from your blog post ^^^09:05
seb128willcooke, didrocks, also, workaround for non starting unity8 is to remove qtubuntu-media09:05
willcookeyeah, I saw conversations about that - very strange09:05
seb128they are working on a proper fix09:05
seb128but meanwhile09:05
seb128willcooke, not so strange, it's back to the conversation we had in Washington with Jim, media-hub needs to be made to work on desktop as well09:06
seb128though yeah, weird that it segfaults now when it was working09:06
willcookeseb128, it sounded like Jim expected us to port media hub?09:06
seb128well, you sort of told him we would do it...09:06
seb128or that we could have a look09:07
seb128imho we don't have the cycles to handle that09:07
willcookeI agree09:07
didrocksseb128: ah removing then!09:07
seb128dpm, hey, can you review https://code.launchpad.net/~seb128/ubuntu-system-settings/build-translations-template/+merge/240696 ? if/when that lands, what do we need to change to the project setup so it prefers the ubuntu template to the trunk one?09:11
=== Saviq is now known as Saviq-codedive
Laneypitti: ah, it seems to be a problem with the default profile09:21
Laneyhttp://people.canonical.com/~laney/weird-things/g-t.mp4 <- non-"Default" working09:22
larsu(a) transparent terminal?!09:24
Laneybest feature ever09:24
larsu(b) why is that profile dialog so wide?09:24
larsuanother wide-window bug I haven't caught yet?09:24
Laneyi'm running gtk 3.14 there09:24
Laneyalso I had to hack the .ui file to get the profile dialog to open ...09:24
LaneyInvalid property: GtkHScale.update_policy on line 231109:25
larsuhm, I wonder if that was ever a property...09:26
larsugtkrange apparently had it in the 1.x days09:28
larsuah, 2.x as well09:28
larsumakes sense09:28
larsuLaney: master doesn't have that09:30
LaneyI know09:31
Laneybut the gnome-terminal we have in the archive does09:31
larsugnome-3-14 branch also doesn't09:31
larsudo you know where that comes from?09:31
Laneywe have 3.609:31
larsuoh, in _that_ version, right09:32
dpmseb128, reviewed and added a comment09:49
seb128dpm, thanks, that came before and is probably something we should look at09:50
dpmseb128, as per the question of the project setup, there is nothing you need to change really. Optionally, you can disable the upstream translations, if you want, but if you could leave enabled there for a while, you'd do me a favour, as the stats page cannot yet count the stats from source packages, as I'm pending on an export from LP09:53
seb128dpm, well, since the translations are shared, what template is going to "win"?09:54
dpmseb128, ah, no template "wins" - it doesn't matter where you do the translation, they are changed instantly on both sides09:54
seb128dpm, right, but what if the template in trunk is outdated and the one in ubuntu has extra strings?09:55
seb128do we get 2 different lists depending of where you go on launchpad?09:55
seb128isn't that going to confuse translators?09:55
dpmseb128, ah, sorry. So there are two templates then, and only the identical strings are shared. But as soon as both templates are in sync, then the translations are fetched from the database and populated on both sides. Indeed, it's not an ideal situation, that's why I'm asking for it to be temporary.09:57
seb128k09:58
seb128dpm, I though it would make sense to disable the trunk template and use the ubuntu one as shared to avoid the confusion09:58
dpmseb128, yeah, but if you could leave it there for a while, that'd be great, as u-s-s takes a big chunk of the translations stats. I'm trying to get a stats export from LP to get the stats counted from the source packages, but it's not there yet10:01
dpmso let me ping Colin about this again10:01
seb128dpm, ok10:02
dpmthanks seb12810:02
seb128yw, thanks for the review!10:02
dpmnp, my pleasure to get more automation in translations :)10:02
* didrocks upgrades to vivid!10:16
didrocksafter doing a lot of removal to avoid getting rpm3 ;)10:17
ochosihey folks, quick question, does anybody here know when status.ubuntu.com will switch to V? (it still redirects to -u by default)10:40
Laneyochosi: maybe dpm knows10:40
ochosiseb128: btw, thanks for the pointer, robert_ancell said he'll improve the patch for simple-scan10:41
LaneyI think it's his team which does that?10:41
* Laney guesses semi wildly10:41
dpmLaney, ochosi, I don't know, sorry. It's generally cjohnston who does (or used to do) that10:42
ochosiok, thanks Laney :)10:42
ochosidpm: used to? i hope you're not abandoning it, it's quite a useful tool to keep an overview10:43
seb128ochosi, yw!10:43
ochosidpm: thanks for the heads up anyway, at least now i know who i should go after :)10:43
seb128ochosi, don't worry about status, it's not abandoned10:43
seb128willcooke plans to use it for our team this cycle10:43
ochosiyeah, was just guessing because i saw that kubuntu doesn't use it anymore10:43
seb128so he's likely going to make sure that things work10:43
ochosiok cool10:43
seb128ochosi, what is kubuntu using?10:43
ochositrello afaik10:43
ochosiwe also evaluated it this cycle vs. launchpad10:44
ochosilaunchpad is really great and blueprints make sense and all, but it feels quite slow and heavy at times10:44
seb128k10:44
ochosibut yeah, we still decided to go back to it10:44
seb128well, the main advantage is that it's integrated in our process10:44
ochosiits benefits by fair outweigh the performance penalty10:44
seb128like you can make launchpad bugs part of the blueprint items10:44
ochosiyeah, exactly10:44
ochosii saw a few nice mockups on how to meaningfully integrate the burndown chart in websites targeted at developers/potential contributors10:46
ochosiwould be nice to see something like it on the ubuntu website too10:46
dpmochosi, sorry, I didn't mean it like that. I meant "cjohnston used to do it", as in "I don't know if someone else does it now"10:49
ochosidpm: ok, thanks :)10:50
Laneypitti: no, sorry, it's working for the default profile for me now11:03
Laneymaybe someone else could try it and see11:03
Laneyblargggggggggggg11:20
Laneynow it doesn't work11:20
Laneywhat is going on here11:20
pittiLaney: ah11:21
pittiLaney: yeah, I was pretty sure it worked for me a few weeks ago too11:22
pittiLaney: where "me" is "fresh user account, do the same config changes in g-t, then upgrade"11:22
pittiLaney: so, if that's somehow specific to my system, I don't mind reconfiguring my terminal11:22
pittibut I guess if it happens for most/all users it's a bit awkward11:22
pittiLaney: if you  have a succeeding case, what's the output of gnome-terminal-migrate? does that say more than just the three lines?11:23
Laneywhat's gnome-terminal-migrate?11:24
LaneyI've just been running the server11:24
Laneyhaha11:44
Laneymy grep was wrong so I didn't see the binary11:44
mlankhorstoh seb128 here?12:03
Laneypitti: aaaaaaha12:06
pittiLaney: that sounds like enlightenment?12:06
LaneyIf you gconftool --recursive-unset12:06
Laneythen it removes /apps/gnome-terminal/global which isn't always recreated12:06
Laneyand if this isn't there the migration doesn't happen12:07
Laneyso in old g-t if I go to Profiles and get that re-created then it migrates12:07
pittiah! so gnome-terminal-migration needs to do/fake that?12:08
Laneymaybe it can assume "Default" if there's no value there12:08
Laneyor if there's only one profile then this must be the default one12:09
mlankhorstwho do I poke for https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1388738 ? I don't think it's a driver bug. although initially screen cursor is apparantly not set12:24
ubot5Ubuntu bug 1388738 in xserver-xorg-video-intel (Ubuntu) "No cursor while compositing" [Undecided,Confirmed]12:24
mdeslaurseb128: is there a better way of doing this? http://paste.ubuntu.com/8835187/12:32
seb128hey mdeslaur12:32
mdeslaurseb128: or is getenv still the good way12:32
mdeslaurseb128: oh! you just got here, hi!12:32
seb128mdeslaur, getenv is still the good way, and IRC dropped during lunch not sure why12:33
mdeslaurseb128: are we getting proper support in vivid soon, or is it worth uploading and SRUing to utopic?12:34
seb128I didn't look at the gnote ui/code, but for e.g evince we keep the headerbar, we just don't set it as a titlebar and hide the close button, so it becomes a toolbar12:34
seb128it might make the patch smaller to do that if you can12:34
seb128mdeslaur, http://bazaar.launchpad.net/~ubuntu-desktop/evince/ubuntu/view/head:/debian/patches/unity_normal_titlebar.patch12:35
seb128just for reference12:35
mlankhorstseb128: who do I poke about gsd cursor bugs?12:35
seb128mlankhorst, what sort of bugs? that seems xorg related so yourself? ;-)12:35
seb128but otherwise we don't have an assigned maintainer, just ask on the channel12:35
seb128usually it's Laney, robert_ancell or myself looking at such issues12:36
mlankhorstok12:36
* larsu offers to help as well12:36
mlankhorstI'll try to reproduce it first, https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/138873812:36
ubot5Ubuntu bug 1388738 in xserver-xorg-video-intel (Ubuntu) "No cursor while compositing" [Undecided,Confirmed]12:36
mdeslaurseb128: ah, interesting, I'll see if I can do something similar, thanks12:36
seb128larsu, sorry for not listing you there12:37
seb128that's what you get when you list names ;-)12:37
seb128mdeslaur, otherwise "proper" support is coming in vivid, that's probably not going to be SRUed12:38
larsuno worries!12:38
mdeslaurseb128: so not worth uploading then?12:38
seb128mdeslaur, knowing that "proper" support means that those should have borders, etc, they are still going to look/act slightly inconsistently compared to native decoration, but we don't plan to patch the universe, mostly the default apps to have a good out of the box experience12:39
seb128mdeslaur, you have it ready, upload, it's going to take some time before unity changes land imho12:39
mdeslaurseb128: ok, thanks. I'll work on a better patch, and I'll upload12:40
seb128thanks12:40
Saviq-codediveanyone else's laptop not allowing screen brightness adjustment any more in vivid?13:00
Saviq-codediveneither Fn+Sun keys or the control center work (no slider at all there)13:00
Laneywee, looks like this works... maybe...13:02
* Laney PPAifies13:02
* Laney goes for a celebratory lunch at the cafe13:05
Laneybiab13:05
willcookeSaviq-codedive, thinkpad?13:11
Saviq-codedivewillcooke, no, XPS1213:12
willcookeSaviq-codedive, not this then: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/130867413:12
ubot5Ubuntu bug 1308674 in linux (Ubuntu) "[Lenovo ThinkPad X220] kernel 3.13 i915 brightness settings broken when going from docked -> undocked" [Medium,Incomplete]13:12
willcookewhich smells like a kernel issue to me13:13
Saviq-codedivewillcooke, no, no dock available here13:13
Saviq-codedivewillcooke, weird thing is, I got the /sys/ thingies, and can echo into them to change brightness, there's just no UI13:13
willcookeoh, totally different thing then, sorry13:13
willcookegood luck with fixing it ;D13:13
=== MacSlow is now known as MacSlow|errand
Laneypitti: care to try ppa1?14:21
pittiLaney: doing14:21
* Laney suddenly remembers to sign seb128's key14:22
seb128Laney, :-)14:22
Laneywhere's that slip ...14:22
pittioh, right!14:22
pittiseb128: hang on, did I already do that? ^ I don't have the slip any more14:23
pittiah yes, I did14:23
seb128pitti, yes you did, thanks ;-)14:24
pittiLaney: *hug*14:24
pittiLaney: working great now!14:24
* pitti tries with his own user account, brb14:24
Laneyhaha14:25
Laneyhad been through the wash14:25
Laneystill more or less readable if I can unfold without it turning to dust14:25
pittiLaney: works mostly well, too (profile migration)14:26
pittiLaney: the one thing that's annoying is that it now eats Alt+<Number> apparently14:26
pittii. e. I can't switch between channels in weechat any more14:26
=== MacSlow|errand is now known as MacSlow
pittiLaney: but other than that, ship it! :-)14:27
Laneyhmm14:27
pittimeh, alt+j too?14:27
Laneythat's supposed to be migrated too, global shortcuts?14:27
pittiit's not a gnome shortcut14:27
Laneyglobal to all of g-t14:27
LaneyPreferences->Enable mnemonics or so?14:27
pittiit's supposed to go to the app that runs in the terminal14:27
Laneyalso other shortcuts in there14:28
Laneylike Switch to Tab x14:28
pittiLaney: ah, it does have that (but so did the old g-t)14:28
Laneyyes, these should be migrated14:28
pittiif I had tabs, alt+n switched between those14:28
pittibut if I didn't have tabs, alt+<n> worked14:28
Laneyif not then it's a bug14:29
pitti... I mean, were passed to the app14:29
pittiLaney: that's not a migration issue (that part works fine)14:29
pittiI didn't change them in gconf or anywhere, that was the default behaviour14:29
Laneyyou hadn't unbound alt-<numbers> in old gt?14:29
pittino14:29
pittialso, alt+j isn't defined as shortcut but is also eatn14:30
pittiand apparently the same is true for just about any alt+<something>14:30
Laneytried the mnemonics setting?14:30
pittinot sure what that is (need to restart in English)14:31
pittibut almost everything (except F10 for the menu) is off14:31
* Laney tries14:31
Laneywfm :(14:33
pittiLaney: alt+something?14:33
Laneysame as in 3.6 for me14:34
Laneyalt+X switches tabs by default, happens on my utopic system too14:34
Laneyalt-j works, takes me to #debian-derivatives, alt-q to #ubuntu-motu14:34
Laneyand if I clear the keybindings they migrate to disabled properly, then alt-X works to switch to 0-914:35
pittiLaney: confirmed, if I disable the keybindings for "switch to tab", they start workin in IRC14:38
pittibefore, they kind of worked in both14:38
pittiI bet it's a feature, "consistency"14:38
pittiif there was no tab, older g-t sent alt+n to the application14:38
Laneyit's weird because in 3.6 I cleared those keybindings for just this reason14:39
Laneyahh, in the no tabs case14:39
pittialt+j is still broken, though14:39
Laneyindeed, confirmed14:39
pittiLaney: anyway, don't just block it on this issue; we need to get away from this ancient version and gconf at some point, and such stuff is fixable14:39
larsuis this the last thing using gconf?14:40
pittion my system, anyway14:40
pittioh, and .gconf/apps/nm-applet/%gconf.xml14:41
pitti(WTH)14:41
pittialthough I'm not sure whether that's real14:41
pitti<entry name="stamp" mtime="1415034936" type="int" value="3"/>14:41
larsuindicator-network is ready for desktop any day now!14:41
pittithat's the only line in it (aside from <gconf> and xml version)14:41
Laneylarsu: can you try the ppa version?14:44
larsuLaney: do I need vivid for that?14:45
larsuin any case: yes I will14:45
larsuif I need vivid, it might take a bit longer14:45
* larsu hasn't upgraded yet14:45
Laneyyou should be able to manually install the debs on utopic14:45
Laneyhttps://launchpad.net/~ubuntu-desktop/+archive/ubuntu/ppa/+packages14:46
LaneyI quite like the hideous theme I created while testing migrations14:47
Laneysemi transparent red background with size 26 text14:47
willcookeship it14:47
Laneyneeds moar wingdings14:47
larsuhot dog theme!14:47
Laneywoah14:47
Laneygetting a cool dash bug14:47
Laneyhope this screencasts14:48
larsuooh, a menu bar14:48
larsu(ooh, that's my override)14:48
larsuLaney: it's transparent, even though I have tht option off before14:49
Laneyhmm14:49
larsuah, it only has "use transparency from system theme" checked14:50
larsuwhich didn't exist before?!14:50
larsualso showing scrollbar, which I hadn't before14:50
Laneyhttp://people.canonical.com/~laney/weird-things/dash.mp414:51
willcooke:/14:52
larsuawesome!14:53
seb128kenvandine, do you keep the "drop dialog hack" from kalikiana out of u-s-s landings for a reason?14:53
kenvandineseb128, yes...14:53
kenvandineit depends on a uitk version that hasn't landed in vivid yet14:53
kenvandineunless they've landed something this week14:54
kenvandinelast i checked it was way outdated in vivid14:54
seb128shrug14:54
kenvandineyeah, still not there14:54
kenvandine:/14:55
Laneylarsu: hmm, not confirmed, solid background is migrated here14:55
kenvandineit needs a version that landed in rtm on the 15th i think14:55
Laneyalso I made it set that theme one to false when migrating unconditionally14:55
Laneydid you get ppa1?14:55
seb128kenvandine, sorry for the stupid question, I didn't think vivid could be behind rtm, that's stupid14:56
kenvandineindeed14:56
kenvandinei said the same thing when i tried to land it last week14:56
larsuLaney: yes14:56
Laneyhmm14:57
Laneylarsu: if you do /usr/lib/gnome-terminal/gnome-terminal-migration --clean --force --verbose do you see it migrating your profile and does it then work?14:58
kenvandineseb128, i loved seeing your update pot branch...14:58
Laneykill the server if it's running14:58
kenvandineseb128, my only question is what about getting the updated pot committed back to trunk?  or does this mean we can drop it in trunk?14:58
seb128kenvandine, eparse14:59
seb128kenvandine, oh14:59
larsuLaney: yes, that worked14:59
Laneyokay14:59
Laneydid you run 3.12 before?14:59
larsuLaney: my other profile is back now, too14:59
seb128kenvandine, I discussed that earlier with dpm, basically he wants to keep trunk for stats until launchpad can pull stats from ubuntu14:59
Laneymaybe when testing rishi's patch last cycle14:59
seb128kenvandine, but basically we are going to turn the trunk one off and use the ubuntu template14:59
larsuLaney: yes, I about-boxed. I did have a 3.6 instance on another desktop running15:00
larsuLaney: oh, _before_. Yes I did15:00
larsuthanks for the work!15:00
Laneyit probably didn't re-run the migration then15:00
larsuseems likely15:00
Laneythis seems shippable15:00
Laneydo you have the alt-j bug that pi_tti was reporting?15:00
dpmah, seb128, I think that's something I asked already a while ago, but can't remember what the plan was - is u-s-s going to eventually be migrated to a click package?15:01
seb128dpm, I think that's wanted, I don't know of any plan to make that actually happen, so dunno15:02
seb128kenvandine, ^?15:02
dpmok15:02
larsuLaney: how can I find out?15:02
larsuhm, command line is different now15:03
larsuno more --class and --disable-factory15:03
Laneye.g. irssi window switching15:03
kenvandineseb128, it's been talked about... but not something i'm excited about15:03
seb128kenvandine, same here15:03
seb128dpm, I guess "not in the near futur" then15:03
larsuLaney: argh, Alt+N is broken15:04
seb128dpm, I guess we need to revisit the pot update if/when that happens though15:04
larsuLaney: Alt+<number>15:04
Laneyyeah, we discussed that15:04
Laneyyou need to clear the shortcuts15:04
dpmseb128, exactly, that's why I was asking15:04
kenvandineit wouldn't be trivial to make it click15:04
seb128kenvandine, let's no worry about it and enjoy auto pot update meanwhile then15:04
kenvandineand with convergence... i see uss as something that needs to stay deb15:05
kenvandineindeed15:05
kenvandineseb128, to prevent confusion, i'd like to remove the pot file from trunk15:05
larsuLaney: that's annoying... how can I disable them completely without setting a new one?15:05
ogra_kenvandine, what makes you think desktop "stays deb" ?15:05
Laneybackspace15:05
kenvandinedpm, when do you think we can do that?15:05
kenvandineogra_, well... i mostly mean keep it updated via the system update15:06
kenvandineetc15:06
ogra_yeah15:06
Laneymaybe this is fixable15:06
kenvandinelike it shouldn't be in the click store15:06
tedgdesrt, Can we change g_variant_print() to take in a const variant? It sucks that I have to cast away my const to print it.15:07
seb128kenvandine, dpm wants to keep it for the stats, at least until launchpad get fixed to get stats from the ubuntu package as well (or something around those lines, not sure I understood the stats details)15:07
desrttedg: there's no such thing as a const GVariant15:08
kenvandineseb128, understood15:08
tedgdesrt, I'm confused, aren't there functions that don't modify the contents of the variant?15:09
desrttedg: probably not15:09
desrtGVariant internally is a rather complicated state machine that can undergo all sorts of transitions at almost any time15:10
desrtin response to relatively innocent API requests15:10
tedgYou're making me nervous about printing them…15:11
desrti considered at one point using 'const' to mark "you don't own the ref to this" (which is the only meaningful thing to consider talking about since GVariant is always immutable from a value identity standpoint) but i abandoned it on account of not *strictly* being true by the C sense of the word 'const'15:11
desrttedg: even refcounting modifies the struct...15:11
desrttl;dr: never write 'const GVariant *'15:12
desrtsame way we never have const on GtkWidget or anything else15:12
* desrt doesn't pass around const GHashTable just because he only plans on doing lookups...15:13
tedgIt's also a compiler optimization, i.e. if I know it won't change I can parallelize.15:13
desrtthe compiler has no idea what's happening once you do the function call and it's a opaque type so you can't access it yourself anyway15:14
desrtso it can't possibly make a difference15:14
desrtwe could argue for annotating some GVariant functions with pure/const if you're concerned about performance/optimisation15:16
desrtbut i haven't really heard any calls for that sort of thing since most GVariant code tends to be pretty straight-up15:16
desrt(not like GObject stuff where you may do multiple typechecks of the same instance due to preconditions, casts, etc)15:16
tedgI think that probably the more practical case for not having const actually is that most functions do a ref_sink()/unref() pair on any variants coming in.15:17
desrtmost don't, actually15:17
desrtjust the ones that 'build'15:18
desrtbut it is a good illustrative example indeed...15:18
desrtyou would expect to be able to put a GVariant into a container without "modifying" it15:18
desrtbut indeed this is definitely a refcounting operation at the least15:18
desrt(ditto setting a value to gsettings, sending a dbus message, etc etc)15:19
desrtfwiw i considered the 'const' thing specifically because i was sure it wouldn't change the compiler's behaviour15:19
desrtie: we probably would have gotten away with lying15:19
desrtbut it just seemed so evil.... and didn't match existing practice with other types in glib15:19
tedgWell, I never encourage lying, that always gets you into #ifdef SOLARIS_1_2 type code real quick.15:20
desrt#ifdef COMPILER_IS_WISE_TO_US ...15:20
desrtya... i was imagining the promised future of whole program optimisation15:20
desrtstill waiting on that ;)15:20
tedgIt'll come right before the year of the Linux Desktop, it's what's holding us back.15:21
desrtbut uh... imagine this as a thought exercise:15:21
desrtvoid gv_func(GVariant *x) { ... }15:21
desrtvoid gv_const_func (const GVariant *x) {15:21
desrt  GVariant *y = NULL;15:21
desrt  while (y != x) y++;15:21
desrt  gv_func (y);15:21
desrt}15:21
desrtthis is the sort of thought exercise i was considering at the time...15:22
desrtie: even if you pass a const pointer to a function, it's still possible to imagine a function that could modify what's at the end of that pointer without any 'evil' casts15:22
desrtyou could even do it 'efficiently' by having a global hashtable of all references and do a lookup15:22
tedgSure, but that's arguably as "evil". I don't think that should be expected to work. It's like all conventions, they're breakable, but then people don't trust you.15:23
desrttl;dr: never write 'const GVariant *'  :)15:23
tedgHeh15:24
=== broder_ is now known as broder
=== pitti` is now known as pitti
* Laney ships gnome-terminal15:31
LaneyI think the alt-numbers thing might be annoying but we'll see15:31
larsuLaney: \o/15:32
LaneyI'll note it in the changelog anwyay15:32
Laneylarsu: oh I noticed that if you have transparency on then the inactive tab has a transparent background15:33
Laneyusing gtk 3.14, don't know if that makes a difference there15:33
larsuit does15:34
larsubug bug bug15:34
larsuhm, transparent bg + tabs looks _really_ ugly15:34
larsuno wonder it's not upstream anymore ;)15:34
larsuit might be better in adwaita15:35
kenvandineseb128, fyi, i've prepared updates for syncevolution and libsynthesis for vivid, but won't upload until i get a thumbs up from renato16:13
kenvandineseb128, i merged from debian first then updated to the latest release which has some interesting fixes for us16:13
kenvandineseb128, just in case that's on someone's list of desktop updates to do :)16:14
seb128kenvandine, great!16:14
kenvandinei guess i could put that on the etherpad, do you guys still use that?16:15
LaneyI recommend the versions page or MoM16:15
kenvandinehaha... i guess not :)16:15
Laney(that is to say: no)16:15
kenvandinethings to not forget for R16:15
kenvandineancient16:16
Laneysomeone set -t so that we can purge that from the topic16:16
Laneyseb128: /msg chanserv op #ubuntu-desktop /mode #ubuntu-desktop -t plz16:18
seb128Laney, " #ubuntu-desktop t ntcs :MODE cannot be set due to channel having an active MLOCK restriction policy"16:35
Laneywhat is that16:35
seb128dunno16:35
seb128have fun ;-)16:36
Laneyseb128: try this /msg chanserv set #ubuntu-desktop mlock +16:37
* Laney googles16:37
Laneywinning16:37
seb128Laney, seems that worked16:37
=== Laney changed the topic of #ubuntu-desktop to: Welcome to the Desktop Team | https://wiki.ubuntu.com/DesktopTeam | For support please join #ubuntu
seb128there we go16:37
dednickseb128: hey. any more review comments on the USS check sync branch?16:41
dednickseb128: trying to get it in a silo16:42
dednickasap16:42
seb128dednick, let me have a look now16:42
dednickseb128: ta16:42
seb128kenvandine, ^ if you want to look at that one as well16:42
seb128dednick, yw, sorry that review is taking time16:42
Laneyoh good, I started a let's complain about gnome-terminal thread16:54
willcookesomeone had to do it16:55
willcooke;p16:55
didrocksLaney: nice! :)16:57
mhall119didrocks: ping17:09
seb128we still have people doing contentless pings here?17:10
seb128mhall119, you can do better than that ;-)17:10
mhall119:-P17:10
mhall119I wanted to make sure he was around before typing something long17:10
mhall119my fingers are lazy17:11
didrocksmhall119: pong17:11
seb128mhall119, lame excuse ;-)17:11
didrocks /quit ;)17:11
mhall119seb128: fingers are too lazy to form a good excuse17:11
mhall119didrocks: I used udtc to install android studio, created a new project, but right off the bat it's giving me Gradle sync errors, am I missing something?17:12
didrocksmhall119: hum, no, you shouldn't, are you trying on utopic?17:13
didrocksmhall119: it's downloading Gradle on first launch17:13
didrocksand which version of android studio?17:13
didrocks(they changed some Gradle things in the latest, forcing Gradle to update, but it was working for me on trusty)17:14
didrocksmhall119: ?17:17
mhall119didrocks: sorry got pulled away to the kitchen17:18
mhall1190.8.14 of android studio17:18
mhall119and yes I'm on utopic17:18
didrockswas it the version you just installed or upgraded from an older one?17:19
mhall119I installed it yesterday (I think, could have been Monday)17:19
didrocksok, so you just downloaded the latest Gradle option and got in the "no automatic SDK configuration" though17:19
didrockswhat is the error you are seeing?17:20
mhall119I never did anything that specified gradle17:20
mhall119I ran "udtc android"17:20
didrocksyou started android studio! and that's what is installing gradle :)17:20
mhall119ah, ok17:20
didrocks(it's their build system)17:20
didrocksin beta17:20
mhall119well it did something wrong, want me to pastebin the idea.log?17:21
didrockssure17:21
mhall119as long as it's not Maven, I'll use the beta17:21
didrocksyou can as well bet it's the download which failed17:21
didrocksso you can:17:21
didrocksstop android studio17:21
mhall119didrocks: http://paste.ubuntu.com/8838579/ looks like I installed it yesterday17:21
didrocksrm ~/.gradle17:21
didrocks-r17:21
mhall119then re-run studio?17:22
didrocksyep17:22
didrocksit will redownload and resetup gradle17:22
didrocksI don't see any error on your last launch, what is it telling you exactly?17:22
mhall119not much17:22
didrocksthe error that you saw? :)17:23
mhall119let me get it up again and I'll tell you17:23
didrocksok17:23
mhall119it starts with "Gradle project sync in progress...." in a yellow bar above the editor pane17:23
didrocksyeah, and that will take some time the first time17:24
mhall119and some Gradle info messages going on in the bottom bar17:24
didrocksthat's "normal"17:24
didrocks(only on first launch while you let the gradle configuration happening until the end)17:24
didrocksmhall119: it can be quite long, gradle is ~500M17:25
mhall119didrocks: https://www.dropbox.com/s/73jvfl7aaqg5sbx/Screenshot%20from%202014-11-05%2012%3A24%3A47.png?dl=017:25
mhall119easier to show a screenshot than to try and describe it17:25
didrocksah, that's different :)17:26
didrocksyou don't have downloaded the support library17:26
mhall119Error:Failed to find: com.android.support:support-v4:20.+17:26
mhall119<a href="openFile">Open File</a><br><a href="open.dependency.in.project.structure">Open in Project Structure dialog</a>17:26
didrocksyou have set a newer sdk17:26
mhall119I guess that's the important bit17:26
didrocksand you wanted to support older ones17:26
mhall119I used the default option17:26
didrocksso you want the "backport of features"17:26
didrocksyep17:26
didrocksthat was installed by default before this week-end release17:26
didrocks(as they don't install the sdk by default anymore :/)17:26
didrocksI guess you had fun with that one (see my blog post about it)17:27
didrocksso, ok, to install it:17:27
didrocksTools -> Android -> SDK manager17:27
mhall119ok17:27
didrocksin Extras, check:17:27
didrocksAndroid Support Repository and Android Support Library17:27
didrocksthen press Install17:28
mhall119installing...17:28
mhall119is this the "use newer APIs on older versions of Android" package?17:29
didrocksright17:29
didrockslike having headerbar in Android 2.x17:29
mhall119ok, downloading slowly, might take a few17:29
didrocksbasically, they backport the new APIs in a library for older version of Android17:30
didrocksjust a world of warning, the import differs17:30
mhall119yeah,  I'd read about that17:30
didrocksbut the template by default, if you checked the "use newer…" have the right imports17:30
didrocksand the API can slightly differ17:30
didrocksthey often have "compat" in their names17:30
mhall119fragmentation fun17:30
didrocksyeah, not sure why the API is different17:30
didrocksapart from the one you have to import17:31
didrockslike instead of Activity, it's FragmentActivity17:31
didrocksto get Fragment support in 2.x17:31
didrocks(and believe me, you want it :))17:31
mhall119I just read an anti-Fragments blog post17:37
didrocksinteresting, the guy is anti-progressive-enhancement as well and anti-convergence? :)17:38
mhall119it was more of a "This is a great idea in theory, but in practice it just makes things harder"17:40
mhall119I'm not sure I'll be using Fragments anyway17:41
didrocksthe thing is that it's really easy to use it wrong17:42
didrocksbut if you read content on how to use it right, it helps moving the abstraction at the right position17:42
didrockslevel*17:42
didrocks(basically one fragment shouldn't know about any other fragment, but just about the API that they require their containing activity implements)17:43
didrocksmhall119: ok, I'm heading out. Do not hesitate if you have any questions or you need any help on your project!17:47
willcookequitin' time17:56
willcookeg'night17:56
ogra_enjoy17:57
=== alan_g is now known as alan_g|EOD
Laneyme too18:20
Laneyfireworks tonight18:20
seb128Laney, what occasion?18:23
seb128Laney, enjoy!18:23
=== Saviq-codedive is now known as Saviq
czajkowskiseb128: Guy fawkes over here19:35
czajkowskimuch fireworks19:35
davmor2I have some going off over the road  very nice display :)20:08
robert_ancelldesrt, how are you generating debian/patches/mir-backend.patch using git?22:17
desrtrobert_ancell: git format-patch --stdout23:04
robert_ancelldesrt, yeah, but how do you combine all the mir patches and backport to 3.14?23:04
desrtrobert_ancell: i backported the one that was on master23:05
desrtrobert_ancell: but larsu already made a new package23:05
robert_ancellI've done two updates to it23:05
desrttwo more commits, you mean?23:05
robert_ancellyep23:06
desrtdid you put them on master upstream?23:06
robert_ancellyep23:06
desrtso then you can combine them with git-format-patch HEAD^^ (two ^^ for two patches)23:06
robert_ancellbut they're interleaved with other changes...23:06
desrtyou can use any commit-range specification with format-patch23:07
desrtso if the commit is abcd then abcd^..abcd would work23:07
robert_ancellso if I have changes a b and c I can do something like a^..a b^..b c^..c?23:07
desrti think you'd have to do that as 3 separate commands23:08
robert_ancellso how do I make one patch with git?23:08
desrtrebase squash23:08
robert_ancellcherry pick the three changes to a local branch then merge them?23:08
desrtsounds good23:08
desrtyou could also do git-diff on the subdir but you won't get the nice format for the patch23:08
robert_ancelldesrt, can we maintain a 3.14 branch on GNOME git with the backported changes? i.e. can you do a rebase and push without screwing up other users of that branch?23:13
robert_ancellIn bzr I'd maintain a branch with bzr merges and use bzr diff --old to make this patch23:13
robert_ancellNot sure if there is git equivalent23:13
desrtrobert_ancell: interesting question23:19
desrtyou want to follow 3.14 but with our changes?23:19
robert_ancellwe need that for vivid23:19
robert_ancellI have a local branch which I just used to generate an updated patch, but it would be nice to share that with everyone else23:20
desrtwhat we could do is create a new branch from what you have now and regularly merge in 3.1423:20
desrtand also cherry-pick from master to the same branch23:20
desrtthat would be fast-forward friendly23:21
robert_ancelldesrt, can we rebase then push that?23:21
desrtwhy rebase?23:21
robert_ancellTo keep the last commit just the Mir changes23:21
desrtahh23:21
desrtyou're right -- this is tricky :)23:22
robert_ancellThat would be frowned upon in bzr (you'd have to do a bzr push --overwrite)23:22
desrtwhat we could always do is diff that branch to 3.14 stock that we just merged in23:22
desrtwhich would give us only the mir changes, by definition23:22
robert_ancellBut bzr diff --old (parent branch) would make the nice diff for us23:22
robert_ancelloh, can you just diff two branches?23:22
desrtyes23:23
robert_ancellsyntax for that?23:23
desrtgit diff branch1 branch223:24
desrtor in general two commit ids23:24
robert_ancellyeah, that makes it minus the nice header23:25
robert_ancellgit format-patch gtk-3-14..mir-3-14 seems to work too23:25
desrtneat23:25
desrtwhat does it put in the commit message, though?23:25
desrtor does it just make a huge series of patches?23:25
robert_ancellNo format-patch makes two patches so that wont work23:26
robert_ancellI guess we just use git diff and put a DEP header on it23:26
desrtya so like.... diff23:26
desrtbecause really, what would you expect to be int he commit message of the nicely-formatted one?23:27
robert_ancellI hoped it might prompt me :)23:27
desrtyou surely joke :)23:27
desrtthis is meant to be used as part of a pipe23:27
desrt(also:... git doesn't ask questions) ;)23:27
robert_ancellThe nicer plugins/functions do e.g. rebase23:28
robert_ancellIt's the old grumpy basic ones that don't23:28
desrt>:|23:51
sarnolddesrt:  < robert_ancell> The nicer plugins/functions do e.g. rebase < robert_ancell> It's the old grumpy basic ones that don't23:52
robert_ancellsarnold, ta23:52
RAOFrobert_ancell, desrt: You gents wouldn't happen to know offhand if there's anything that would usefully call gtk_window_set_transient_for() multiple times? I can't think of a usecase for it.23:55
robert_ancellRAOF, i.e. an application?23:55
RAOFrobert_ancell: Oh, I meant for the same window.23:55
robert_ancellRAOF, yeah, but an application calling that or GTK+ itself?23:56
RAOFrobert_ancell: Either.23:56
desrtRAOF: this seems like an odd question.  why do you ask it23:56
robert_ancellI can't think of anything needing to migrate transient status23:56
RAOFdesrt: I want to know if there's any need to allow reparenting.23:56
robert_ancellI could imagine badly written apps might call it multiple times23:56
desrtRAOF: let's go with no23:57
desrtwe have a warning in gtk right now that if you try to create a dialog without a parent you get a warning23:57
desrtwe could probably add one for trying to reparent a shown window23:57
RAOFSuperb.23:57
desrtfile a bug about that maybe?23:57
RAOFGNOME bugzilla?23:58
desrtya23:58
desrtthe new warning would be similar in spirit to one we already have (and even more sensible, in my opinion)23:58

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