/srv/irclogs.ubuntu.com/2014/05/07/#ubuntu-app-devel.txt

vthompsont1mp, are you around?00:06
vthompsonall, is there anyone about that knows a thing or two about the new tab drawer and header back button?00:09
=== chriadam|away is now known as chriadam
=== sen_ is now known as sensae
=== _salem is now known as salem_
mhall119vthompson: I am,what can I do for you?01:36
vthompsonmhall119, ahayzen_ and I saw your G+ post with the new tab drawer and header back button and were going to ask you about 14.04 availability of what's being put in place. Or is it all 14.10 only?01:43
vthompsonWe did manage to come up with a backwards compatible way for our custom back button to still work in Trusty, however.01:44
vthompsonmhall119, I guess the only remaining question we have at the moment is about the in header search and settings icons. Is that currently in Utopic? Or are you using the PPA?01:46
mhall119vthompson: the implementation will only be in utopic, but the plan was to not break the API01:47
mhall119vthompson: so those buttons in the header are actually ToolbarItems from the toolbar, just relocated to the header01:47
vthompsonmhall119, relocated auto-magically?01:48
mhall119at least, that was the plan, I haven't seen the actual implementation yet so it may not have been possible to remain 100% API compatible01:48
mhall119vthompson: yup, recall that you never put things in the buttom edge, you put them in the tools: property of a page and the UI Toolkit put them in a toolbar on the bottom edge01:49
mhall119now, going forward, the toolkit will put them in the header instead01:49
vthompsonneat, we can then re-implement tools: then since it won't conflict with our custom toolbar01:50
mhall119you'll still use tools:01:50
mhall119it just ends up in the header instead of the footer01:51
mhall119though there will be a flag to set that will keep them in the footer01:51
vthompsonright, sorry, I was just rejoicing in the fact that the music-app can now use it01:51
vthompsontoolbar icons in general that is01:52
vthompsonwhen I said re-implement, I just meant add in "tools:" to the app, which have been missing and set to null as it conflicts (obviously) with our custom toolbar01:53
mhall119ah, yes01:53
mhall119right, because music app has a custom footer, not the standard toolbar01:53
vthompsonYep01:54
vthompsonmhall119, some of the pieces of the new SDK header/toolbar stuff landed in 14.04, making the useDeprecatedToolbar a part of MainView. Do you know if that is also in the 14.04 images?01:59
vthompsonMeaning that I have it on my Trusty desktop... is  it safe to assume it is also a property on the Trusty phone images?02:01
mhall119usually yeah02:01
vthompsonok, t1mp must have had the smarts to get the property into 14.04 before the rest of the implementation landed in 14.1002:01
vthompsonmhall119, do you know if anyone is around who could grab music-app from trunk and push to the store?02:02
mhall119I think only popey has access to do that02:03
mhall119devel channel images can't download app updates anyway :(02:03
vthompsonok cool, we had planned on pinging him tomorrow. I just wanted to see if we could expedite things :)02:03
vthompsonThat's one reason I grab every image update as soon as it's out now.02:04
vthompsonfrom devel-proposed that is02:04
mhall119I'm not brave enough to run devel-proposed02:19
=== chihchun_afk is now known as chihchun
=== salem_ is now known as _salem
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
* Aki-Thinkpad watches linux unplugged04:54
Aki-ThinkpadPopey, if you love Mageia so much, why don't you marry it?05:09
dholbachgood morning06:41
Aki-Thinkpaddpm, ah hey, I detracted the merge because I was not satisfied with the feature. Taking a look at the showcase again, I was thinking of trying to change that delegate into a removable list item07:04
Aki-ThinkpadThat makes more sense as far as animations are concerned, sticking with the existing ubuntu component frameworks07:05
dpmAki-Thinkpad, ah, ok07:06
Aki-Thinkpaddpm,  what do you think though about that method?07:06
Aki-ThinkpadThat way when you want to delete a note, you don't neccessarily need the popover07:07
dpmAki-Thinkpad, I'm always up for using standard SDK components, so +1 :)07:07
dpmAki-Thinkpad, here's another bug that I came across yesterday, in case you're looking for something else to work on: https://bugs.launchpad.net/reminders-app/+bug/131682707:08
Aki-Thinkpaddpm, okay now that I have an idea of what to tackle, I think I will try to port the notes component to a list item07:08
dpmand I'm about to fix a bunch of bitesize ones07:08
Aki-Thinkpaddpm,  I don't mind giving that one a tackle. Will allow me to get familiar with the networking framework07:10
Aki-Thinkpadokay I assigned it07:10
* Aki-Thinkpad wanders off into the sdk07:11
dpmAki-Thinkpad, however, before you undertake any major changes to existing app components for your animations, I'd recommend to have a chat with mzanetti about the implementation when he's up. He's the main developer and a chat might save you quite a lot of work before you start :)07:11
Aki-Thinkpaddpm, yah well do07:11
dpmcool07:28
Aki-Thinkpaddpm,  got a refresh icon handy?07:38
dpmAki-Thinkpad, http://pastebin.ubuntu.com/7408971/07:43
Aki-Thinkpadthanks07:43
Aki-Thinkpad~:| I already did all that07:44
Aki-Thinkpadanyways, found one07:44
=== chihchun is now known as chihchun_afk
mihirdpm: if you get time can you just top approve this MR , https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/1314912/+merge/217885 ?07:46
popeyAki-Thinkpad: haha! i have never run mageia ☻07:49
=== chriadam is now known as chriadam|away
Aki-Thinkpadmorning o/07:49
popeymihir: approved07:50
mihirpopey: thanks :)07:50
=== chihchun_afk is now known as chihchun
Aki-Thinkpaddpm, oh wait, I am a silly goose. Sorry08:01
JamesTaitGood morning all; happy School Nurse Day! :-D08:02
Aki-Thinkpado_o08:02
Aki-Thinkpadsomeone mentioned how they missed JamesTait 's morning messages08:03
JamesTaitIt might have been me. :-P08:04
Aki-Thinkpadhow existential;08:04
Aki-Thinkpadbeing able to miss one's self08:04
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dpmpopey, where do we stand with https://code.launchpad.net/~popey/ubuntu-seeds/add-quicklayouts/+merge/218405 - does it need top-approval?08:30
dpm(and morning :)08:31
popeyogra_: ^ does that need top-approving?08:32
ogra_popey, nope, i'll take care for it after the meeting (didnt i say so in my comment ?)08:32
popeygreat, thanks. wasn't sure if it needed a top approver08:33
ogra_its a manual fiddly thing, top approving wont help :)08:33
ogra_(needs manual rebuild of the meta etc)08:33
popeythanks ogra_08:34
justCarakasgood morning all :)08:46
justCarakasAki-Thinkpad JamesTait that was me :D08:47
Aki-ThinkpadjustCarakas, lies08:47
justCarakasAki-Thinkpad: I was the one who mentioned it that I missed the moring messages08:48
Aki-Thinkpadmzanetti, http://i.imgur.com/oJexBiW.jpg  << What do you think about switching the note delegates over to list items like this? I ended up scrapping my animation merge due to well; using an actual ubuntu component would just be better.08:53
mzanettiAki-Thinkpad: nope...this is the design we're implementing right now: https://docs.google.com/a/canonical.com/document/d/1EAokX1bXN5HG6B1MxxuYWiGbf3pjNdy7-h7aERBFk5k/edit#08:54
Aki-Thinkpadmzanetti, Can't you do that with the list items though? The icon shouldnt be a problem, neither should the labels or spacing08:56
mzanettiAki-Thinkpad: I'm not sure what the question is tbh :) do you want a grouped list or waht?08:57
mzanettior is it about the slide to remove delegate?08:58
mzanettiwe're going to do that, yes. rpadovani is currently implementing the new notes delegates08:58
Aki-Thinkpadmzanetti, Partly; in the showcase, it would be a culmination of several of the examples08:58
Aki-Thinkpadmzanetti, is he just doing it manually with his own flickable?08:58
mzanettidunno yet08:59
Aki-Thinkpadrpadovani, have you started yet?08:59
t1mpAki-Thinkpad, mzanetti note that there is an "Empty" list item which has no contents (so you can put anything you want inside it), and it has the swipe-to-delete09:01
Aki-Thinkpadmzanetti, t1mp  if I could create a demo using the list items, that corresponds pretty much exactly to your design, would it be worth considering?09:01
mzanettiah cool, thanks t1mp09:01
mzanettiAki-Thinkpad: I'm still not exactly sure what you want to do. is it just for swipe to delete or is there anything else?09:02
Aki-Thinkpadoh is that what the empty was? Didn't realize that was a list item09:02
mzanettiAki-Thinkpad: if its just the swipe-to-delete, isn't it just setting that to enabled and puttin an icon in there?09:02
Aki-Thinkpadsec, give me 30 minutes, i'll show you a demo09:03
t1mpAki-Thinkpad: I'm not making decisions on apps, just working on the UITK. But I would recommend to use as much as possible of what is available in the toolkit to save you work and to make the apps more consistent with each other09:04
nik90zsombi: Was the MP https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/alarm-date-fix/+merge/215125 part of the recent UITK update?09:04
nik90zsombi: I only see the alarm-fetch-fix MP in the UITK update.09:04
Aki-Thinkpadt1mp, yah I agree, which is why I want to use the list items as done in the showcase09:04
Aki-Thinkpadsaves the effort of having to throw in animations and what not manually09:05
* Aki-Thinkpad lurks ominously into the sdk to create a monster09:05
t1mpAki-Thinkpad: maybe this one is handy http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Components.ListItems.Empty/09:08
Aki-Thinkpadt1mp, 14.10 is out?09:08
t1mpAki-Thinkpad: err, no but branches have been created so it can come out in 6 months ;)09:09
t1mpAki-Thinkpad: this one is the same http://developer.ubuntu.com/api/qml/sdk-14.04/Ubuntu.Components.ListItems.Empty/09:09
Aki-Thinkpadheh okay :P09:09
zsombinik90: alarm date-fix had the other one as prereq, so I think it was09:10
Aki-Thinkpad http://iso.qa.ubuntu.com/qatracker/milestones/315/builds << ubuntu+1 just pointed me here09:10
nik90zsombi: ok. Do you happen to know if the UITK update hit the phone in the recent images?09:10
zsombinik90: yes, it did09:11
zsombinik90: ~2 days ago09:11
zsombior even last week?...09:11
nik90zsombi: thnx..I will test the alarm bugs now09:11
=== sephiap_ is now known as sephiap
nik90popey: Can you ensure that MP https://code.launchpad.net/~renatofilho/qtorganizer5-eds/fix-1309041/+merge/216395 makes it into the images by the end of this week? I have done the appropriate device testing to confirm that it fixes the alarm status bug.09:16
popeynik90: hiya.09:18
nik90popey: hi. good morning09:18
sergiusensdpm: just bringing the conversation here; wrt music, do you know of an eta for getting rid of grilo?09:19
popeynik90: will chase it down09:19
nik90popey: thnx09:19
dpmpopey, what's the status of the mediascanner2.0 migration ^09:19
popeydpm: sergiusens ahayzen and vthompson have been working on it the last few days, but they're blocked on upstream mediascanner devs...09:23
popeybug 1273625 I believe09:23
popeythat branch was updated yesterday09:23
* sergiusens reads09:24
dpmpopey, what's the actual blocker? I don'T see any activity in the last month on that bug09:24
popeyMirv: please upload music r453 to the store when you get a moment http://s-jenkins:8080/job/music-app-click/lastSuccessfulBuild/artifact/out/com.ubuntu.music_1.3.453_armhf.click09:24
popeyhttps://code.launchpad.net/~jamesh/mediascanner2/qmlplugin-updates was updated yesterday dpm09:25
popeylinked from that bug09:25
dpmpopey, right, but what are the music devs blocking on?09:25
popeythe qml interface to mediascanner2 AIUI09:25
popeymissing bits they needed - see recent revs on that merge09:26
popeye.g. exposing information like genre via the qml interface09:26
popeysomething the music app needs09:26
dpmok, let's discuss it in our call later09:26
Mirvpopey: done (https://myapps.developer.ubuntu.com/dev/click-apps/143/)09:28
popeythanks Mirv09:28
dpmt1mp, could you give us a hand with https://bugs.launchpad.net/reminders-app/+bug/1316176 ? The toolbar on Reminders seems to go crazy and show all icons when it's not supposed to09:30
dpmwe're not really sure what's causing it09:30
mzanettioSoMoN: hey, the UbuntuWebView is not using QtWebkit any more, right?09:41
oSoMoNmzanetti, not if you import version 0.2 of Ubuntu.Component.Extras.Browser (it still does with version 0.1)09:42
mzanettioSoMoN: ah. interesting09:42
mzanettioSoMoN: will the new one still support things like "experimental.userScripts:" etc?09:42
oSoMoNmzanetti, it’s not under the "experimental" attached property anymore, but yes09:43
mzanettioSoMoN: awesome. I'll try to get it updated then asap09:44
mzanettithanks09:44
t1mpdpm: is there a simpler qml example to reproduce it?09:44
oSoMoNmzanetti, and there are a few changes to how userscripts work, but they are rather minor09:44
mzanetticool. shouldn't be too hard... things I need are still relatively simple09:44
mzanettiactually just message passing to know if a checkbox in the site has been checked/unchecked09:45
t1mpdpm: I'm looking at NotesPage.qml and it defines Delete, Reminders and Edit buttons in the toolbar09:55
t1mpdpm: but they all have visible: root.selectedNote !== null, so I guess selectedNote has some value09:55
t1mpdpm: seems like I cannot run reminders-app without an evernote account? :s10:00
dpmt1mp, you'll need an Evernote sandbox account, but it should take 2 mins to get it at http://sandbox.evernote.com - the README file has all the info10:01
dpmt1mp, I'm not sure we can isolate it to a smaller app, mzanetti? (re: https://bugs.launchpad.net/reminders-app/+bug/1316176) ^10:01
mzanettit1mp: hmm.. probably... but it would take me a bit I guess10:03
mzanettiand right now I can't work on it10:03
mzanettiif you've troubles with reproducing let me know and I'll try to get you a standalone testcase for it10:03
t1mpI commented on the bug10:04
t1mpdpm: is there a plan to make reminders-app work without an evernote sandbox account eventually?10:06
mzanettit1mp: yeah... hopefully on friday it'll happen10:07
ahayzent1mp, ping10:10
=== hunger_ is now known as hunger
t1mpahayzen: hello10:15
t1mpmzanetti: ah, nice :)10:15
ahayzent1mp, have u seen this issue with the new header drawer before https://docs.google.com/file/d/0B3XynHVKfrvMZ24zS1BMSVNwbFk/edit10:15
ahayzent1mp, where the arrow isn't at the top of the bubble... only seems to happen when the width of the window is reduced10:16
Aki-ThinkpadE-Commerce; my friends retired when they were 22 years old!!!10:16
Aki-Thinkpad>:/ Second person in a coffee shop to approach me with that10:17
Aki-Thinkpadthis coffee shop*10:17
t1mpahayzen: yes, this bug https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/120883310:17
t1mpahayzen: thanks for reminding me of that one ;)10:17
ahayzent1mp, cool thanks :) the music app is using the new header when on utopic now \o/10:17
t1mpnice :)10:18
popeymihir: PING!!!10:27
popey10:27
popeymihir: can you take a look at https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/1308001/+merge/217683 please?10:27
mihirpopey: pong !!10:27
popeyLooks good to me, maybe needs kunal input?10:27
mihirpopey: already done pushed all the changes !!10:27
mihirpopey: yeah, kunal didn't review last committed changes10:28
dpmAki-Thinkpad, while waiting for your branch to be reviewed, and if you're interested, here's a bitesize (hopefully :) bug that would have a big usability impact when fixed -> https://bugs.launchpad.net/reminders-app/+bug/131617610:43
ahayzent1mp, the ability to put items such as a settings or search button in the header has not landed yet right?10:43
nik90ahayzen: it is in the staging branch..it hasn't landed10:45
ahayzennik90, o/10:45
ahayzennik90, it just uses the ToolbarItems right?10:46
t1mpahayzen: no, but it is in our staging so it will be included in the next UITK landing10:46
nik90ahayzen: yes10:46
ahayzennik90, t1mp, do u know how to add an item globally (rather than adding to every page?)10:46
t1mpahayzen: it uses the actions of your toolbarItems. So (only) if you set the action property of the ToolbarButtons it will work automatically10:46
nik90ahayzen: you can define the action property in the main qml file and then use it in every page10:47
nik90ahayzen: that's what I do for my app10:47
nik90t1mp: btw, if there any other branches which are landing some design changes, let me know. I can test them with my app.10:47
t1mpahayzen: ^ what nik90 said :)10:47
t1mpnik90: thanks10:47
Aki-Thinkpaddpm; I am about to head. I'll pick it up tomorrow (3:40am) if no one has grabbed it.10:47
ahayzennik90, t1mp, hmm preferred not to do tht but thanks :)10:47
t1mpnik90: everything that we approve now goes to staging first, so all new stuff goes there10:47
dpmok, thanks for your help so far Aki-Thinkpad!10:48
t1mpahayzen: we're working on a new API for the header where you just give it a list of actions10:48
ahayzent1mp, cool :)10:48
nik90t1mp: ok. Yeah I try to keep an eye on the MPs in the staging area10:48
t1mpahayzen: that is still work in progress, first we want to make the functionality available as soon as possible using the old API10:48
Aki-Thinkpaddpm, yah its been fun. Learning a ton too10:48
dpmexcellent :)10:48
ahayzent1mp, ah i see10:48
dpmglad to hear it's fun10:48
t1mpahayzen: but once the new API is there you can just add the id of your "global" action to the list of actions for each page10:49
ahayzent1mp, ok that would be cool :)10:49
ahayzent1mp, and u said in the other channel sheets are depreciated, wht should we be moving to instead or do u not know yet?10:49
t1mpahayzen: maybe it depends on the use case. I think in general where sheets were used, you can simply push a new Page on the stack10:50
nik90t1mp: I wanted to ask, what's the best way to set an image as the background image of a tab or page? The reason I ask is that when I set an image to anchor fill the entire page, it doesn't cover the header. So as a hack I added anchors.topMargin = -units.gu(10) which seems to do the trick. However the hack doesn't work when flickable isn't set to null.10:50
ahayzent1mp, ok thanks10:51
t1mpnik90: we don't have functionality for that10:51
t1mpnik90: perhaps you can put an Image behind your MainView (and set its background color to transparent)10:52
t1mpnik90: I haven't tried that myself10:52
* nik90 tries that now10:52
ahayzennik90, i think we did do something like this before for the music-app10:53
nik90ahayzen: Did you do what t1mp suggested? Or my current method I mentioned above?10:53
ahayzennik90, idk was just trying to find the code lol10:53
ahayzennik90, we have a Rectangle within the MainView which fills it10:54
ahayzennik90, then an image inside that10:54
ahayzennik90, but tht image has blur, centre alignment and things so you may not need the rectangle10:55
nik90ahayzen: I wonder why we need the rectangle. Why not just set the image to fill the mainview?10:55
nik90ahayzen: ah10:55
nik90gotcha10:55
nik90ahayzen: can you give me the link to the code you saw with the rectangle10:56
nik90ahayzen: having some issues on my side implementing it10:57
ahayzennik90, http://bazaar.launchpad.net/~music-app-dev/music-app/trunk/view/head:/common/BlurredBackground.qml10:57
nik90ahayzen: thnx10:57
ahayzennik90, which is then defined here http://bazaar.launchpad.net/~music-app-dev/music-app/trunk/view/head:/music-app.qml#L88410:57
ahayzennik90, note we force the header to have a colour now...but it was being shown behind, unless u get that bug where the header is not transparent ;)10:58
nik90ahayzen: yeah currently for me the header has a white color despite making the rectangle fill the mainview10:59
ahayzennik90, damn10:59
ahayzennik90, i never worked out what caused that to happe10:59
t1mpMainView.backgroundColor: "transparent" might help11:00
ahayzennik90, it used to happen on some of our pages11:00
nik90t1mp: I set that but when I do that, the header text disappears :)11:01
nik90and the header remains white11:01
nik90hmm weird the white header issue happens only when flickable != null11:02
t1mpnik90: that's not what I expect11:02
dpmnik90, popey, is https://bugs.launchpad.net/ubuntu-weather-app/+bug/1297357 not already fixed? I cannot see the duplication of tests anymore, and the screenshots look good to me11:04
nik90t1mp: I just used my hack for now and it seems to work. Only drawback is that I cannot set the page flickable. so the header won't hide on scrolling up. But that's okhttps://imgur.com/baQmWHq11:04
nik90dpm: duplication of tests?11:05
popeyi think he means texts11:05
popeyit does indeed look fixed11:05
dpmsorry, texts, yeah :)11:05
nik90oh yeah11:05
nik90dpm, popey: But on image #15, I see the app description duplicated though11:06
* popey comments11:06
dpmargh11:06
dpmyeah, I'm still on image #211:06
popeynik90: i dont11:06
nik90popey: the duplication happens for clock app..11:07
popeyhttps://imgur.com/0ezOqLf11:07
nik90popey: It doesn't happen for weather, file manger11:07
nik90manager*11:07
popeyah, so it does11:07
popeyso we need to update the copy in the store11:08
t1mpnik90: heh there's a subtle texture. I thought my screen was dirty :)11:08
nik90t1mp: hehe..its intended to be subtle..11:08
popeydpm: nik90 compare https://imgur.com/UWAfW2g with https://imgur.com/IDCtYVM - under General11:09
popeyi can't edit that, sergiusens can...11:09
nik90popey: so its the tagline11:09
nik90it is the same as the description for the clock app11:10
nik90hence the duplication11:10
popeysergiusens: https://myapps.developer.ubuntu.com/dev/click-apps/121/ the tagline is duplicated with description as per bug 129735711:10
nik90popey: also the friends app is empty...it has no screenshots, no developer team mentioned11:10
nik90popey: I will update the bug with a more precise description per app.11:10
nik90I think that should help11:11
popeyi think we need to have the text to be proposed on that bug report, then we can paste it into the ...11:11
popeyyes11:11
dpmsergiusens, can you give popey and I the credentials to edit the core apps descriptions in the store?11:13
popeydpm: nope, I don't want to11:13
popeyI do not want to have the ability to edit apps and accept them - indeed arguably I shouldn't have that right11:13
dpmbut you're managing core apps, that'd be only for the core apps' metadata. In any case, I'm happy to request it if it helps us updating it and taking some work off sergiusens' plate11:15
=== _salem is now known as salem_
popeydpm: I am happy for you to have it, I don't want it.11:18
dpmyeah, that's what I meant, that's fine11:19
nik90popey, dpm: I have updated the bug description with every app that needs to be updated11:21
dpmawesome, thanks nik90!11:21
sergiusensdpm: but you already do have it, right? btw; there's a full translation pane that could be filled up ;-)11:31
sergiusensdpm: I'm not sure if the click manifest is translatable yet11:31
sergiusensor ever will be11:31
dpmsergiusens, I don't have the credentials (or if I ever had them, I've lost them) Yes, I looked at the translations stuff, as now that support for it in the click scope is landing, I'll have to take care of filling it up :)11:32
dpmsergiusens, the click manifest is not translatable yet11:32
dpmsergiusens, so would you mind sending (or re-sending) me the credentials to update the core app's metadata in the store?11:33
sergiusensdpm: sure11:35
dpmcool, ta11:35
=== jhodapp|afk is now known as jhodapp
mihirpopey: dpm your inputs https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/NewEvent-Refactoring/+merge/21859211:50
ahayzent1mp, u still around?11:50
t1mpahayzen: yes11:58
t1mpahayzen: for a few more minutes, then I go to eat11:58
ahayzent1mp, Is there a proper way to tell programmatically at runtime if you are running an SDK with the header stuff?11:58
t1mpno11:59
ahayzent1mp, Victor found that header.useDeprecatedToolbar is undefined in the old sdk but is false or something in the new11:59
t1mpahayzen: you can check MainView.hasOwnProperty("useDeprecatedToolbar")11:59
t1mpahayzen: but if it is there, it doesn't mean everything is there. We have it in current trunk, but that one doesn't have actions in the header yet11:59
ahayzent1mp, his trusty machine had useDeprecatedToolbar in the mainView12:00
t1mpahayzen: but the value is undefined? that is weird, it was always true by default12:00
ahayzent1mp, and his trusty didn't have any of the header stuff12:00
t1mpahayzen: yeah, that property was introduced a bit earlier than the first new header features (tabs in header)12:00
ahayzent1mp, no on his trusty (without PPA) it was false i think (I'll have to check)12:00
ahayzent1mp, ah ok12:00
t1mpahayzen: and sicne then, there have been several versions incrementally adding features to the header (and more will be added), so it is difficult to tell what is there and not by checking only that variable12:01
ahayzent1mp, because we could put the toolitems in to support the new header stuff but we need them to not exist in the old sdk versions as we have a custom toolbar ;)12:01
ahayzent1mp, or for them to be hidden12:01
t1mpohh12:02
t1mpahayzen: there will be a completely new API for the header, but that will take another month to arrive12:02
ahayzent1mp, hmmm ok... well tbh with us moving to mediascanner2, media-hub and other things supporting trusty is becoming more difficult anyway12:02
t1mpahayzen: what if you lock the toolbar in closed position?12:02
ahayzent1mp, ooo thats a good shout12:03
t1mpahayzen: good :) I'll be afk now to get some food. bbl.12:03
ahayzent1mp, enjoy ur food :)12:04
t1mpthanks12:04
=== gcollura is now known as gcollura|afk
nik90popey: when you got time, can you approve https://myapps.developer.ubuntu.com/dev/click-apps/401/12:51
popeynik90: done13:05
nik90thnx13:05
dpmrpadovani, mzanetti, does it work if I move the Reminders meeting to 30 minutes later, at 16:30? It's the same time I moved it to last week, but I forgot to do it for the subsequent events in the calendar13:41
mzanettidpm: nope13:41
mzanettidpm: 16:30 is my daily standup, and every other week we're doing a hangout for one hour13:42
mzanettitoday is such a "ever other week"13:42
dpmok, no worries, I'll leave it as it is, then!13:42
mzanettidpm: you can move it by 1.5 hours if you want13:42
dpmno, that's fine, then I'd have a clash13:43
=== gatox is now known as gatox_lunch
dpmhi kenvandine, so this morning I noticed that the content hub bits in Reminders (loading an image from Gallery) no longer work. AFAIK, we've not changed anything in the code related to that. Do you have any ideas that could have caused this? I.e. new API landing, regressions or changes in Gallery? -> https://bugs.launchpad.net/reminders-app/+bug/131694214:24
kenvandinedpm, no content-hub api changes recently14:25
kenvandinedpm, can you get me the upstart log for reminders and gallery?14:26
dpmsure14:26
kenvandinethx14:26
kenvandinedpm, well looking at the old version of reminders i have installed, it does indeed use the old API14:31
dpmaha14:31
kenvandinedpm, but that landed like 2 months ago14:31
kenvandinei haven't looked at trunk, and i have a pending update for reminders14:32
kenvandinethat i can't update too because of the updating bug :)14:32
dpmkenvandine, that most probably still uses the old API too. I don't think we've done any changes on the content-hub bits between the two store updates14:32
kenvandineok14:33
kenvandinedpm, i can update it and propose a branch14:33
sergiusenskenvandine: manually uninstall and install again ? :-)14:34
dpmkenvandine, that'd be awesome14:34
kenvandinei guess i'll be doing that to test my branch :)14:34
dpmkenvandine, I think all of our content hub stuff is contained within this QML file: http://bazaar.launchpad.net/~reminders-app-dev/reminders-app/trunk/view/head:/src/app/qml/ui/EditNotePage.qml14:36
kenvandinelooks like EditNotePage.qml and EditNoteView.qml14:36
dpmkenvandine, you can use Qt Creator to run the app unconfined on your device for testing purposes (see the README)14:36
kenvandineok14:37
dpmI think we don't actually use it in the *View.qml file14:37
kenvandinedpm, do you want it to show the peer picker?  or only import images from gallery?14:37
kenvandineor rather the default source (gallery)14:38
dpmkenvandine, I think for now to import images only. In the new designs that we have, I believe we've got the peer picker, which would show the camera too. But for now, to minimize the changes I'd just use gallery14:38
dpmmzanetti, what do you think? ^14:39
kenvandineto use the peer picker, it would be adding a page to the stack that shows all peers that can provide images14:39
kenvandinebut we could do this in two steps14:39
kenvandineimport from default for now14:39
kenvandineand later add the peer picker14:39
mzanettikenvandine: yeah... we didn't update that part of the app in a long while14:40
rpadovanimzanetti, a question about Layout, how can I specify margin in a child of a child of a Columnlayout? I have ColumnView > Rectangle > Label. In the label if I don't specify left:parent.left, leftMargin doesn't work. What's wrong?14:41
mzanettirpadovani: if the label is inside a Rectangle, you need anchors. only items directly in a Layout don't need them14:42
dpmkenvandine, yeah, sounds like a plan14:42
rpadovanimzanetti, ok, thanks!14:43
rpadovanimzanetti, I (should) have corrected the layout/anchors, I have only to do the Shape. What's the best mode to do it? Use UbuntuShape?14:50
=== gatox_lunch is now known as gatox
mzanettirpadovani: shape?14:51
rpadovanimzanetti, ops, shadow14:52
mzanettirpadovani: you mean the gradient?14:52
rpadovanimzanetti, yap14:52
mzanettithere's Gradient {} in qml14:52
* rpadovani needs to improve vocabulary14:53
rpadovanimzanetti, ok, thanks14:53
rpadovanimzanetti, dpm https://code.launchpad.net/~rpadovani/reminders-app/new-notes-design/+merge/21850515:18
mzanettirpadovani: nice. will check it out in a bit15:22
popeymhall119: do you want to file a bug in indicator-datetime for the icons?15:26
fgintherballoons, popey, dpm, I'm in the process of moving the coreapps builds and tests to utopic. Should I remove the saucy builds while I'm at it?15:34
balloonsfginther, I would support having only utopic and trusty.. though we expect trusty to break at some point15:35
popeyyes15:35
popeywe do not expect trusty to break!15:35
balloonsohh popey ?15:35
popeywell, *I* don't expect it to break15:35
balloonslol :-)15:35
popeywe have a customer for core apps on trusty15:36
fgintherIf that's the case, I would like to keep the autopilot testing running on trusty as well15:38
popeyrenato: could you cast an eye on https://code.launchpad.net/~renatofilho/ubuntu-calendar-app/fix-1311125/+merge/217251 - seems kunal is having trouble here?15:42
=== mzanetti is now known as mzanetti|otp
=== mzanetti|otp is now known as mzanetti
=== chihchun is now known as chihchun_afk
=== jhodapp is now known as jhodapp|lunch
fgintherballoons, can you take a read over https://code.launchpad.net/~fginther/cupstream2distro-config/coreapps-utopic/+merge/21865316:03
dpmpopey, bummer, phablet-screenshot no longer works on the N416:07
dpmit used to at least in image #216:07
popeyknown bug16:07
popeyfudge it to have _60Hz in the filename16:07
dpmknown workaround too?16:07
popeylook in /tmp on your device16:07
dpmha, really?16:07
popeyyou'll see the filename has changed16:07
dpmok, cool16:07
popeyyes.16:07
dpmas in $ phablet-screenshot notes_60Hz.png ?16:08
dpmthat doesn't seem to work16:08
popeyeh, no.16:08
popeyone mo16:09
popey    adb $ADBOPTS pull /tmp/mir_screencast_$1.$sfx ${PICDIR}/fb16:09
popeythat line in phablet-screenshot16:09
dpmaha, ok16:09
popeyquick fudge it to16:09
rpadovanidpm, mzanetti bug in toolbar: https://code.launchpad.net/~rpadovani/reminders-app/1316176/+merge/21865616:09
popeyadb $ADBOPTS pull /tmp/mir_screencast_$1_60Hz.$sfx ${PICDIR}/fb16:10
=== bfiller is now known as bfiller_afk
dpmrpadovani, NICE! http://i.imgur.com/Gyfu0FK.png16:12
rpadovanidpm thanks, I hope the code make mzanetti happy :-)16:13
rpadovani*makes16:13
mzanettirpadovani: doesn't yet :)16:14
mzanettirpadovani: there's still anchors combined with layouts16:15
mzanettirpadovani: was just writing the review comment16:15
rpadovanimzanetti, ok, thanks :-)16:15
mzanettirpadovani: https://code.launchpad.net/~rpadovani/reminders-app/new-notes-design/+merge/21850516:20
rpadovanimzanetti, thanks. what does "for the arrow, use "Base" instead of "Empty"" means? I don't use Empty for arrow16:23
mzanettirpadovani: I mean, at the topmost item for the delegate, we're currently using Empty {}16:25
mzanettirpadovani: change that to Base {} and it'll have a property "progression"16:25
mzanettirpadovani: setting that to true paints the arrow for you16:25
mzanettiand shrinks the available space so that anchors.fill: parent will still work without interfering with the arrow16:26
rpadovanimzanetti, doing this, will be the arrow at the left of Image as for design?16:26
mzanettirpadovani: ah right... that might be a problem indeed16:26
mzanettirpadovani: in that case, I'd say use Rectangle for the gradient as topmost item16:27
mzanettirpadovani: and place the Base item inside that16:27
dpmrpadovani, added some comments on https://code.launchpad.net/~rpadovani/reminders-app/new-notes-design/+merge/21850516:27
rpadovanimzanetti, ok, I'll try16:27
rpadovanidpm, mzanetti The left and right margins between note entry and edges need to be slightly smaller16:29
rpadovaniNow it's 1.5, and for dpm is too big16:29
rpadovanibefore was 1.0, and for mzanetti is too sball16:29
rpadovani*small16:29
mzanettirpadovani: yeah... I think I have it 1 in the other branches16:29
mzanettirpadovani: sorry for that16:30
dpmrpadovani, oh, sorry for the ping ponging16:30
mzanettilet me check16:30
rpadovanimzanetti, dpm, no problem, just to be sure on which is better for you :-)16:30
mzanettirpadovani: yeah, see here: https://code.launchpad.net/~mzanetti/reminders-app/new-notebooks-design/+merge/21834316:31
rpadovanidpm,  The Notes tab should be dark gray, not white. Unfortunately I have no idea on how do this. If I understood well, mzanetti said me that tab color is setted by the toolkit itslef16:31
mzanettiit's 1. sorry again16:31
rpadovanimzanetti, no problem at all :-)16:31
mzanettirpadovani: also, merge with the upstream new-notes branch16:31
mzanettirpadovani: the tab font color is fixed there16:31
mzanettiwell, more like cheating... but I hope noone will notice :P16:32
mzanetti /food. bbiab16:32
dpmok, I need to run too, see you all tomorrow, nice work rpadovani and mzanetti!16:32
rpadovanio/16:32
=== chihchun_afk is now known as chihchun
mzanettirpadovani: re. does it work?17:03
rpadovanimzanetti, I started to rewrite from scratch, bexause I red also dpm comments. I have a good idea, hope to push in ~10 minutes17:04
mzanettirpadovani: ok, cool17:04
rpadovanimzanetti, could you take a look? https://code.launchpad.net/~rpadovani/reminders-app/new-notes-design/+merge/21850517:17
rpadovaniI'm going to dinner, please don't approve it, I have to change date format :-)17:17
mzanettiok17:17
=== jhodapp|lunch is now known as jhodapp
=== bfiller_afk is now known as bfiller
rpadovanimzanetti, back :-)17:42
mzanettirpadovani: hey. just typing the comment17:45
mzanettirpadovani: actually lets just do it here17:45
mzanettiso I think top and bottom margins are too small still17:46
mzanettiby now I'm confused myself too...17:46
mzanettibut the code looks perfectly fine now17:46
mzanettijust some tweaking of margins or spacings left17:46
mzanettiand for the overall size I'm not sure if it isn't too big17:46
mzanettibut its a bit hard to tell from the design doc17:46
mzanettirpadovani: I just measured the doc... the notes ones seem to be a bit bigger than the notebooks ones. I have 10 for the notebooks so I think 12 is fine17:50
mzanettirpadovani: so just make the top and bottom margins a bit bigger and we're good17:50
rpadovanimzanetti, mhh ok, but which top and bottom margins? I set no topmargin and bottom margin17:52
mzanettirpadovani: make it 1 gu17:52
rpadovanimzanetti, also, I'm merging with trunk, do you want to try with header? Seems better17:52
mzanettirpadovani: found another small bug. left a comment17:53
rpadovanimzanetti, I'm going to fix it. Where do I have to set margins? In gradient rectangle?17:55
mzanettirpadovani: I think the RowLayout in there17:56
mzanettierr. wait17:56
mzanettiwrong17:56
mzanettirpadovani: the RowLaout *arount* it17:57
rpadovanimzanetti, nope, doesn't works, because (a) Gradient starts before the end and (b) image doesn't touch the top color line18:01
mzanettirpadovani: ah right. one sec18:01
mzanettirpadovani: in here: 81+ ColumnLayout {18:01
rpadovanimzanetti, works well, thanks18:03
rpadovanimzanetti, ok, I did another push :-)18:13
rpadovaniNow have to go, see you tomorrow o/18:13
mzanettibye18:17
rpadovanimzanetti, ops, I pushed on wrong branch, going to fix18:18
mzanettirpadovani: which one?18:18
rpadovanimzanetti, the new one for design. You have to kill me :/18:18
mzanettirpadovani: nah... its ok18:19
mzanettirpadovani: I would have approved it anyways18:19
mzanettirpadovani: push to the other too for completeness18:19
rpadovanimzanetti, pfiuuu, ok, thanks18:19
xhoch3ok, I managed to get Ubuntu Phone development to work by reinstalling my OS18:19
xhoch3will I need a launchpad account to have my app offered to the users?18:20
mzanettixhoch3: no18:21
mzanettixhoch3: actually... I think you need an ubuntu account, which would then also work as a single sign on for launchpad18:22
mzanettixhoch3: so in that sense yes, but you don't need to touch launchpad.net itself if you don't want to18:22
=== chihchun is now known as chihchun_afk
xhoch3mzanetti, any way to create an app without QML?18:26
mzanettixhoch3: yes, html18:26
xhoch3how is one supposed to write games?18:27
xhoch3or other high performance applications?18:27
mzanettixhoch3: Qt/C++18:27
mzanettican also use SDL I think18:28
mzanettiah, not so sure about that yet18:28
mzanettibut eventually I think18:28
mzanettiright now C++/Qt is the "high performance" way to go. we'll also support Go soon, altough I personally have no idea how that performs on the phone18:29
xhoch3yeah, I really wished there was a way to use Qt Widgets18:29
mzanettiI guess you can use them, altough they probably look bad. But is it about performance concerns?18:30
mzanettiin that case I don't think QML would do much worse than QWidgets18:30
mzanettiif you want to use QPainter, you can18:30
xhoch3well, I have a lot of building blocks already, don't want to rewrite that much :P18:30
mzanettiincluding QGLPainter etc18:30
xhoch3plus you have libraries like Qwt18:31
mzanettiyou should be able to bundle them up with your click package18:31
xhoch3oh ok, I understood that direct access won't work18:31
mzanettiwell, going through Qt it should be fine in any case18:32
mzanettiphone rings18:32
mzanettibbiab18:32
mzanettithat was quick... but it'll ring again soon :/18:33
mzanettixhoch3: so yeah... you obviously can't do any X11 calls but if you're using Qt you should be fine18:33
mzanettiwidgets will look bad18:34
xhoch3ok, do you need help in developing system apps?18:35
xhoch3probably it's a good idea to make small changes until I get the hang of how things are supposed to work18:36
mzanettixhoch3: yeah, I think there are lots of projects you could help with. try asking dpm about that, but he's left already for the day.18:39
mzanettixhoch3: you do need a launchpad account for that tho18:40
DanChapmanHey folks, is there a way to dynamically set the height of a webview based on it's contents  or is it restricted to the size of it's parent container18:52
DanChapmanpopey mhall119 ^^ who's the best person to ask about this18:53
popeyDanChapman: mzanetti may know ☻18:53
mzanettiDanChapman: should be possible I guess. but I haven't ever tried it18:54
mzanettiyou'd need to get to the contentHeight18:55
DanChapmanmzanetti: how would i go about getting that?the standard api is pretty lacking and webkit.experimental doesn't provide (from what i can see) a way to determine content height either.  Initially i thought i could get round it using webview.preferredHeight but it seems that's non existent in webkit 3.018:59
nik90renato: ping19:02
renatonik90, hi19:02
nik90renato: hi, I tested and confirmed your MP which fixes the alarm status19:02
renatowhich one?19:02
mzanettiDanChapman: in the worst case you can probably get the height of the root item in the document though the experimental stuff19:02
nik90renato: https://code.launchpad.net/~renatofilho/qtorganizer5-eds/fix-1309041/+merge/21639519:03
DanChapmanmzanetti: ahh ok i'll give that a shot. Thanks19:03
renatook I will try to release it19:04
renatonik90, could you mark the MR as approved?19:04
renatohaa you already did19:05
renatothanks19:05
nik90renato: yup :)19:05
nik90renato: but I actually wanted to talk to you about another bug19:05
nik90renato: Currently saving an alarm (recurring alarm) takes about 15 seconds...which is kinda weird..19:07
nik90renato: do you have any thoughts?19:07
mhall119DanChapman: this is for Trojita email message display right?19:08
renatonik90, I think szombi did some changes on saving alarm, I am not sure if this has landed , you should talk to him19:09
nik90renato: those two MPs of zsombi landed19:09
nik90renato: he said they landed a week ago19:10
DanChapmanmhall119: yes it is.19:10
renatook then I do not have any idea, we need to investigate19:10
DanChapmanmhall119: It's turning into a real PITA :-)19:10
mhall119DanChapman: I can imagine19:11
nik90renato: ok. I will wait until your branch lands and then try again. I will report a bug then.19:11
mhall119DanChapman: maybe the solution is to make the other components small enough to stay on screen, and just scroll within the webview19:12
DanChapmanmhall119: it's looking like it's going to have to be something like that.19:19
mhall119DanChapman: IIRC, if you don't set the title: property on a Page, the big Ubuntu UI Toolkit Header won't be shown, so that'll leave enough room for a smaller component to hold the subject, sender, etc19:23
nik90mhall119: just a note..if you don't the title of a Page, then you will not be able to navigate out of the app when the new headers land in the UITK. Since the toolbar icons will move to the header and if there is no title there is no header.19:24
nik90set*19:25
mhall119nik90: hmmm, interesting problem...19:29
DanChapmanmhall119: the issue is for large multipart messages there isn't going to be much room for the webview if we can't delegate the webview flickable to the page flickable. ideally we would want attachments tags etc intially off screen to give as much screen estate to the webview as possible19:38
mhall119yeah.....I'm not sure how this can work19:48
kenvandinemhall119, i'm getting a server error trying to login to myapps, who should i bug to make sure someone knows?19:59
nik90me too..20:05
nik90kenvandine: it seems fixed now..20:06
kenvandineoh, cool20:06
mhall119kenvandine: bug beuno about myapps20:10
beunostuff is broken20:10
kenvandinebeuno, famous tagline :)20:11
kenvandinebeuno, i'm glad it was less broken in time for me to update pathwind before i get distracted again :)20:14
beuno:)20:14
beunoit's being fixed20:15
beunoa server got upset20:15
kenvandinethey do that.... tempers!20:15
popeybeuno: did you see bug 1317233 ?20:50
beunopopey, there's a paging API that hasn't been implemented, probably20:53
beunoI'm a bit overloaded atm20:53
beunopopey, can you follow up with alecu and jayteeuk?20:53
popeykk20:55
kenvandinepopey, can i get another approval?  the last version of pathwind i uploaded didn't save the highscore :)20:56
popeysure20:56
kenvandinethx :)20:57
popeydone20:57
popeyfuel really doesn't last long does it kenvandine ?20:58
kenvandinenope20:58
kenvandinebut20:58
kenvandineyou get it back fast20:58
kenvandinei don't want you to be able to fly through the whole game20:59
popeywhere's the code for it?20:59
* popey wants to make some games20:59
kenvandinehttps://github.com/kenvandine/pathwind/20:59
kenvandinepopey, checkout bacon2d, hopefully it makes it easier21:00
kenvandinepopey, and feedback/ideas to improve bacon2d would be welcome21:00
popeyits very pretty21:00
popeykk21:00
* popey retires for the evening21:01
kenvandinepopey, pathwind works on android and ubuntu with just a couple lines of code changed21:01
popeyoh wow21:01
kenvandineyup :)21:01
kenvandineonly for orientation21:02
kenvandinethat is the only difference21:02
kenvandineof course building for android means no qmlscene...21:02
popeywait, you can run qml apps on android okay?21:02
kenvandineso i have to build the wrapper and use qrc21:02
popeyahh21:02
kenvandineyeah... works well now :)21:02
popeyoooooh21:02
kenvandineit's still a pure qml app21:02
kenvandinebut it builds a little binary for loading it21:03
kenvandineso that complicates things a little, but it's awesome to have the same codebase work on both21:04
popeykenvandine: where do i get bacon2d to use this game on desktop?21:06
kenvandineit's a git submodule there21:06
kenvandineso build it in qtcreator21:07
kenvandineand it'll work21:07
kenvandineoh... but you actually need to fetch the submodule :)21:07
kenvandinegit submodule update --init21:07
kenvandinethen21:07
kenvandinecd plugins/Bacon2D21:07
kenvandinegit submodule update --init21:07
kenvandinethen you're good :)21:07
kenvandinethere are 2 submodules there21:07
kenvandinepopey, i have a version built in a ppa too, but it isn't current21:08
popeyi see no plugins directory21:08
kenvandineor plugin?21:08
popeynope21:08
kenvandinehttps://github.com/kenvandine/pathwind/tree/ubuntu/plugins21:09
popeyi just did a git clone of your source and then your instructions above inside the pathwind folder21:09
kenvandineoh... i bet you need to change branches21:09
kenvandinegit checkout ubuntu21:09
kenvandinemaster is a little behind i think21:09
popeyyup, that got it21:09
kenvandinepopey, i'll update bacon2d in my ppa tonight and send you a link21:10
kenvandineto make it easier to play with that for other games21:10
kenvandineand checkout github.com/Bacon2D for it's source21:10
kenvandinewhich has examples21:10
popeyk21:10
popeykenvandine: trying to build and run in qtc21:12
kenvandinepopey, it's actually going to fail in linking until this branch gets merged https://github.com/Bacon2D/Bacon2D/pull/3021:13
popeyah21:13
popeyyeah, failed21:13
kenvandineoh.... he merged it21:13
kenvandinecool21:13
kenvandinego into plugins/Bacon2D21:13
kenvandineand git pull21:13
kenvandinethen try again21:13
popeyk21:13
* kenvandine really hates git...21:14
popeyuh21:14
kenvandinebut submodules are pretty sweet21:14
popeypaste.ubuntu.com/7412640/21:14
kenvandinemaybe git pull origin master21:14
popeypaste.ubuntu.com/7412638/ is the build failure21:14
popeyyeah, that got something21:15
kenvandineyup... that's the fix for it21:15
popeyyay, works21:15
popeyhow do you quit? ☻21:15
popeyalt-f4 will do ☻21:16
popeythis is sweet!21:16
kenvandine:)21:16
kenvandineno quit of course :)21:16
kenvandinepopey, of course running on the device won't work... not using cmake21:18
=== salem_ is now known as _salem

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