/srv/irclogs.ubuntu.com/2015/10/21/#ubuntu-app-devel.txt

snizzoI checked the "don't uninstall app after deployment" while developing.03:01
snizzoapp starts and all is fine but when I close it and tap on the icon it won't launch again, is this the normal behaviour or should it launch?03:01
snizzooh sorted out, sorry :)03:08
bzoltan_mhall119:  the 5.5 was just released and Mirv has already startd the packaging work. It will come. Is there a particular feature or fix you are waiting for?03:53
Mirvmhall119: https://wiki.ubuntu.com/Touch/QtTesting - to be precise, 5.5.1 was just released, 5.5.0 was released already in July but we have still bugs open https://bugs.launchpad.net/bugs/+bugs?field.tag=qt5.504:54
Mirv5.5.1 seems to be helping with some of them, but there are also some unresolved issues still04:54
=== chihchun_afk is now known as chihchun
dholbachgood morning06:36
zzarrhello! "Open SSH connection to the device" in Ubuntu SDK starts, logs in and crashes in a hurry06:51
=== chihchun is now known as chihchun_afk
=== chriadam is now known as chriadam|away
=== chihchun_afk is now known as chihchun
dpmpopey, I'm going to try my convergence demo for UbuCon this evening - any hints on which branches or click packages to use to test the latest convergent music and dekko work?09:21
dpmbrb09:22
popeydpm: lp:~ahayzen/music-app/refactor-adaptive-page-layout/09:33
dpmcool, thanks popey - does the branch need any particular channel to run?09:38
popeydpm: I have only used that on my desktop, not device09:41
popeyshould work on any modern image09:41
dpmyeah, I was just wondering if it had dependencies that are either on a silo or on a particular image09:43
popeydon't think so09:49
popeyI dont have any special PPA on my desktop09:49
popeybut I am on wily, so...09:49
popeydpm: DanChapman is cranking out a new build of dekko for you09:51
dpmwow, awesome, thanks DanChapman!09:52
mhall119bzoltan_: thanks, I was going to try building the new plex-media-player to try and snappy-package it, but it needs 5.510:55
=== _salem is now known as salem_
Saviqpopey, hey, so re: bug #1508363, do we have people that could be made responsible for the remaining (bug status: New) apps, or do we need to draw straws?12:04
ubot5bug 1508363 in Canonical System Image "Coordinated migration to UITK 1.3" [High,In progress] https://launchpad.net/bugs/150836312:04
popeySaviq: is it literally just a case of bumping the import?12:05
Saviqzsombi, are there caveats when migrating to 1.3 ↑?12:05
Saviqpopey, doesn't look like it, not if you use Themes (Theme vs. theme)12:07
zsombiSaviq: I don't think there are... it's just the import must be done uniformly, as PageStack will crash when using Pages from different version12:07
popeyBe nice if there was a link in the bug to docs or steps to do12:08
zsombiand yes, Theme->theme12:08
popeymake it easy for those doing it12:08
zsombipopey: import Ubuntu.Components * 1.* -> 1.312:08
Saviqzsombi, what if they import 0.* ;)12:09
zsombipopey: so all sub-modules (i.e. ListItems, Popups, Pickers, Theme) shoudl go for 1.312:09
zsombiSaviq: :P12:09
popeyThis should probably go in the bug description :)12:09
Saviqpopey, done12:11
popeythank you!12:12
Saviqzsombi, I can see "config" became a proper property of the header?12:13
popeyWhat's the timeline on this?12:13
Saviqpopey, 1.5w ;)12:13
Saviqpopey, we want it for ota812:13
popeyok. that will be fun. hello QA!12:13
zsombi:D12:13
* ogra_ hopes QA installs all 2000 apps from the store to make sure they didnt regress :P12:14
Saviqogra_, they'd have regressed already12:15
ogra_ah12:15
Saviqogra_, UITK doesn't change, we just need to migrate u8 and apps to 1.312:15
ogra_so it carries the legacy forever ? i.e. when do we drop 14.04 compaibility ?12:16
Saviqyup12:16
Saviq;)12:16
Saviqwhen do we indeed12:16
ogra_we need to clean up at some point :) diskspace isnt endless12:16
Saviqpopey, not sure if that's your area, but we should also likely make an announcement that app devs should get moving to the new framework and 1.3 UITK if they want to look the part12:17
Saviqmaybe mhall119 ↑?12:17
popeyIf someone types it up I'll happily share it.12:17
Saviqzsombi, can you guys please write up a small migration wiki somewhere?12:18
dpmor a post on d.u.c could be helpful too12:18
popey+10012:18
Saviqindeed12:18
Saviqzsombi, description from bug #1508363 can be a starting point12:18
ubot5bug 1508363 in Canonical System Image "Coordinated migration to UITK 1.3" [High,In progress] https://launchpad.net/bugs/150836312:18
popeymaybe excessive, perhaps +7512:18
ogra_it would be really helpful to have a page on d.u.c that lists all import versions for a specific framework12:18
* ogra_ got bitten badly recently by importing Oxide 1.8 12:19
didrocksogra_: you deserved it! ;)12:19
ogra_took me ages to find the right version for the stable phones out there12:19
dpmpopey, is bug 1508438 perhaps something that could be discussed at the next calendar meeting?12:19
ubot5bug 1508438 in Ubuntu Calendar App "Do not notify for events marked as not attending" [Undecided,New] https://launchpad.net/bugs/150843812:19
ogra_(the app ran fine on rc-proposed )12:19
zsombiSaviq: we will do a d.u.c post for it12:20
dpmnice, thanks zsombi12:20
Saviqzsombi, great, thanks, please mention that OTA8 is our target to migrate the shell and all apps we have control over12:20
zsombiwe already have one which tells what will be there, but it is the time to make an other one to tell how to move there12:20
zsombiSaviq: ack12:20
popeydpm: sure12:21
dpmgreat, thanks12:21
mhall119Saviq: popey: indeed, a post on developer.u.c would be ideal for announcing UITK 1.3, the API docs are already there and marked as current12:53
Saviqmhall119, yup, zsombi's on it12:53
mhall119as for maintaining previous versions of UITK, I believe that the SDK team has committed to not breaking backwards compatibility for apps, so everythign back to 1.0 should be supported still12:55
=== salem_ is now known as tiagosh
Saviqmhall119, yeah, today it is, I think ogra_'s just asking when do we go for 2.013:07
snizzois there a way to have an app active (receiving qml signals) while the screen is off?15:11
ogra_not an app ... only system services (specificall the notification service)15:17
snizzoogra_: ah ok. I'm using an Audio item and onStopped signal isn't received until the user power on the screen again15:19
snizzois there a possible workaround for this?15:19
ogra_oh, audio is different, it uses the media-hub to play when the screen is off15:20
snizzoYes, Audio works. But I have some qml code like Audio{ onStopped:{ code... } }15:21
snizzoand onStopped isn't handled until the screen is on again.. is there a way to make it work?15:21
ogra_i think there is a way to get the focus change15:27
greybacksnizzo: sorry not at the moment, when the screen is off, your app is suspended shortly after15:27
ogra_which you could tie the audio playback to15:27
ogra_right, there will be some delay15:27
snizzoahn15:28
snizzogreyback: is it in your plans to have a workaround for this someday?15:29
snizzoall I have to do is play 2 mp3s, one after an other15:31
greybacksnizzo: there are plans for dealing with these scenarios, I'm not really aware of them though. Ideas of background services apps can use, maybe waking up app briefly if needed.15:32
seb128do we have a recommendation of what color should be used for neutral action buttons?15:48
seb128https://design.ubuntu.com/apps/building-blocks/buttons doesn't say if it's Ubuntu.warmGrey or Ubuntu.lightGrey or something else15:48
snizzogreyback: so there's no way of playing two audio files if the screen is off...15:56
=== chihchun is now known as chihchun_afk
snizzonot even support for playlists on media hub?16:05
Elleosnizzo: I believe jhodapp was working on playlist support at one point, not sure how close it is to being finished though16:07
ogra_snizzo, i thought that landed recently, jhodapp should know16:07
pmcgowanahayzen, is this fix releasing anytime soon https://bugs.launchpad.net/ubuntu-docviewer-app/+bug/146942216:45
ubot5Launchpad bug 1469422 in Ubuntu UX "[Doc Viewer] Opening a file from content-hub should open the file or the notfication timeout should be increased" [Medium,Fix committed]16:45
popeyfor the public record...16:58
popeypmcgowan: I'll take a look tomorrow - but yes, we can do a bump to the store - I had held off while we were working on the libreoffice stuff, but thats in a separate branch and not ready yet16:58
snizzoogra_: i have a bq e5 with ota7, it should be there?18:25
snizzojhodapp: ping18:27
jhodappsnizzo, I'll get back to you in a few mins18:46
snizzothank you :D18:51
lituhi20:05
davmor2snizzo: music player should continue to play while the phone is off, you can also have some webapps do the same like dholbach's mixcloud iirc20:09
ahayzensnizzo, you can set a track playing and then the screen go off, to support a set of tracks we are working on that at the moment :-)20:12
snizzoahayzen: can I contribute?20:30
snizzothat's a terribly killer feature for my app20:30
snizzodavmor2: yeah, I need to change Audio source while the screen is off20:33
=== tiagosh is now known as _salem
ahayzensnizzo, Jim is writing it as we speak, and we (me and another developer) are linking the music-app to it20:36
ahayzensnizzo, so its best to contact him if your looking to contribute to it directly20:39
ahayzensnizzo, Jim being jhodapp ;-)20:39
jhodappsnizzo, hey sorry, forgot to reply20:39
ahayzenjhodapp, o/ :-)20:42
davmor2ahayzen: o/ :-)20:42
ahayzendavmor2, o/ :-)20:44
ahayzenlol20:45
davmor2lol indeed sad but lol20:45
ahayzen:-)20:45
snizzo?20:47
davmor2snizzo: long story, it start way back and ahayzen was young...so about 10 minutes ago :D20:48
ahayzenhaha20:48
snizzoah20:52
snizzojhodapp: so for real, how can I fix that quickly (multiple audio file played one after another while the screen is off)?21:01
jhodappsnizzo, you are welcome to give the new QML Playlist type a try21:02
jhodappsnizzo, it's buggy, but that's what I'm currently working to fix21:03
=== nemo is now known as Guest32690
snizzojhodapp: where can I find it?21:12
snizzoshould i flash particular version of os?21:12
jhodappsnizzo, it's shipping in all latest images21:12
jhodappsnizzo, take a look at what the music-app guys are doing: https://code.launchpad.net/~music-app-dev/music-app/media-hub-bg-playlists-rework21:13
jhodappyou're interested in newPlayer21:13
ahayzen:-)21:14
ahayzenapp/components/NewPlayer.qml21:14
jhodappsnizzo, the more people helping to test background playlists the better21:14
ahayzenjhodapp, its only in rc-proposed at the moment right ?21:14
jhodappahayzen, no it's shipping21:14
jhodappstable21:14
ahayzenoh its in OTA7 ?21:14
jhodappdefinitely21:15
ahayzen\o/21:15
jhodappjust not really used :)21:15
snizzoyay21:15
ahayzenjust fix those bugs!21:15
jhodappworkin on it! ;p21:15
ahayzenhehe :-)21:15
snizzoahayzen: so it's on Ubuntu.Components right?21:18
ahayzenerr...QtMultimedia ?21:18
* ahayzen checks21:18
=== Guest32690 is now known as nemo
ahayzensnizzo, http://bazaar.launchpad.net/~music-app-dev/music-app/media-hub-bg-playlists-rework/view/head:/app/components/NewPlayer.qml#L1921:19
snizzoahhhhhhhhhhh21:19
ahayzensnizzo, note things are broken (spot the FIXMEs!) and things are still changing :-)21:20
davmor2ahayzen: you should call it odo  well he was a changeling to right21:21
snizzowell, that's surely a starting point, definitely better than it's impossible :)21:25
ahayzensnizzo, it 'works'21:26
davmor2ahayzen: no the quote is "It just works"™21:27
snizzoahayzen: if it plays 2 audio files with screen off, it's perfect21:27
ahayzenit does that :-) just in its own buggy way, we have a list of issues here https://docs.google.com/document/d/1xzI4D6knVJ6VmXxqJ2gyGSMowbtVVoNPgQl1fywim_U/edit which i believe are being converted into bugs21:27
snizzowell... better than nothing21:35
snizzohowever I hope this app lifecycle policy will be changed... it seems more like of a "don't want to do design and solve this problem, so let's remove features" :(21:36
ahayzensnizzo, let me know if you hit any issues :-)21:37
snizzoah ok :)21:37
snizzoI'll try to use that now :D21:55
snizzois there an event triggered when screen goes off, so some code I can execute just before the process goes inactive?22:00
balloonsahayzen, you about?22:00
ahayzenballoons, yup, whats up ?22:04
ahayzenballoons, i spotted the new jenkins :-)22:04
balloonsahayzen, I'm afraid I lied to you. Yes indeed, I used clock first22:04
balloonshttps://code.launchpad.net/~nskaggs/ubuntu-clock-app/jenkins-test/+merge/27496622:04
balloonsI'm so sorry :-(22:04
ahayzenhaha22:04
ahayzensnizzo, you get 1-2 seconds after the app loses focus IIRC22:04
ahayzenballoons, hah no worries :-) we've been busy trying to get weather ready for release anyway22:05
ahayzenballoons, but both the new jenkins and the pilot testing results pages look awesome :-)22:05
balloonsglad you enjoy :-)22:07
snizzoahayzen: but there's a variable, an event triggered when it goes inactive?22:15
ahayzensnizzo, i think in the mainview there is a event22:15
snizzook22:15
snizzohttps://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.MainView/ nothing's mentioned in the api22:18
ahayzenno :-/ try listening to the active property22:18
snizzoahh ok22:19
snizzosorry22:19
ahayzenthe telegram definitely knows when its focussed somehow22:19
snizzoahayzen: last question (sorry for bothering), telegram app has special lifecycle settings?22:32
ahayzensnizzo, i don't believe it does, just if you watch it when it loses focus it switches to saying "connecting"22:33
snizzooh i see, but how can it shows notification? I mean, there's some code running even when the screen is off22:34
ahayzenthats through the ubuntu-push service22:35
ahayzensnizzo, https://developer.ubuntu.com/en/start/platform/guides/push-notifications-client-guide/ https://developer.ubuntu.com/en/start/platform/guides/push-notifications-server-guide/22:36
snizzook sorry, thank you :)22:37
ahayzenno problem :-)22:37
balloonsahayzen, does this need to land?22:55
ahayzenballoons, what?22:55
balloonsif so, I'll use it to test the autolanding triggers22:55
balloonshttps://code.launchpad.net/~vthompson/ubuntu-weather-app/weather-updated-icon/+merge/25976222:55
ahayzenoh22:55
ahayzenballoons, well we have passed the new app to QA, so i don't think we need to update the old app now? popey ^^ ?22:56
balloonsahayzen, well, is it going to hurt anything if it merges?22:56
ahayzenballoons, probably not :-)22:56
balloonsok, brillant, that's what I'm after22:56
balloonsI'll use it to test22:56
ahayzenthanks :-)22:56
balloonsahayzen, it worked :-) mwahaha23:29
ahayzenballoons, i just saw, awesome man :-)23:29
ahayzenare you gonna do the same for music ? ;-)23:29
balloonsso, tomorrow, I'll clone everything to all the apps. And yep, we'll be in business23:30
ahayzensweet, balloons does this have vivid/wily autopilot tests running again now ?23:30
balloonsyes. On a real krillin device23:30
ahayzenOMG :-D23:31
ahayzenballoons, is the plan to expand that to other devices as well or not23:31
ahayzen?23:31
balloonsahayzen, yes, we'll try and add some more devices23:32
ahayzen:-)23:32
balloonsbut it will pull one likely at random in the future23:32
ahayzenooo nice23:33
balloonsperhaps not. We want things to work on all devices23:33
ahayzenhaha :-)23:33
balloonsahayzen, it's not all sunshine and lollipops though. I'm guessing the tests fail on the device23:34
ahayzenballoons, for which? oh weather? .. it'll need the API keys23:34
ahayzeneven OWM (OpenWeatherMap) needs an API key now :'(23:35
balloonsyea, we'll have to do the API key thing for weather23:35
balloonsbut also for music. I should kick off a run and see23:35
ahayzenballoons, pass any links to any failures and i'll take a look :-)23:35
balloonsahayzen, ack, it's running here: https://core-apps-jenkins.ubuntu.com/job/adt-krillin/23/23:36
ahayzenthanks23:37
balloonsI just reflashed the thing, heh, hopefully I didn't messa anything up23:38
ahayzenhaha23:38
* balloons tries one more time.. the apt indexes didn't update23:40
balloonsyea, looks like I can't hit the ppa. I'll debug tomorrow23:43
ahayzenthanks anyway balloons it'll be good to have jenkins back at full strength :-)23:58

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