/srv/irclogs.ubuntu.com/2015/05/01/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
gabriel15959hello00:50
gabriel15959hi01:03
gabriel15959ol[a01:03
gabriel15959ola01:04
=== chriadam is now known as chriadam|away
mzanettipopey, hey, I think I have a fix here, but can't find the bug any more. you happen to have a link handy?09:07
popeymzanetti: yeah, i filed one I think09:14
popeylemme find it09:14
popeymzanetti: bug 144592809:16
ubot5bug 1326513 in unity8 (Ubuntu) "duplicate for #1445928 Applications are orphaned when unity8 crashes" [Medium,Invalid] https://launchpad.net/bugs/132651309:16
popeyhttps://bugs.launchpad.net/ubuntu/+source/qtmir/+bug/1445928 being the one that i filed, marked as a dupe of another one (I filed) :)09:16
mzanettipopey, thanks09:17
popeynp09:17
mivoligohi, what AppArmor policy do I need to use "Alarm" in my app?09:49
mivoligonevermind, it turns out to be "calendar"09:53
mivoligonik90: hi10:18
nik90mivoligo: hi10:18
mivoligonik90: as you are the time expert, I'd like to ask you about a timer app10:19
nik90mivoligo: sure, shoot10:19
mivoligonik90: I'm trying to do one using Alarm but it's not very precise when the time is short10:20
mivoligonik90: is there any other way to sound the timer finish than Alarm?10:21
nik90mivoligo: unfortunately no ... there has been a plan to rewrite the alarm backend using a simple dbus API and provide a timer and alarm API using that. But at this point, it is just a plan.10:22
nik90mivoligo: sounding the timer was always the hardest part even when the clock app had its own timer10:22
mivoligo:(10:22
mivoligonik90: what about using notifications? Is it doable?10:23
nik90mivoligo: the current alarms backend is just too heavy due to EDS and as such is also the reason why I have been avoiding using it for timers..that said when does it become a problem?10:24
mivoligonik90: when I set time for example 30s, it sounds after 5s10:24
nik90mivoligo: You can't..afaik apps cant send notifications when suspended unless you use push notifications which seems like a overkill for this situation10:24
mivoligohmm10:25
nik90mivoligo: pretty much the main reason we don't have timer apps yet..they just aren't feasible without platform support10:25
mivoligonik90: there are some but not working properly :D10:26
nik90mivoligo: well a timer without being to able to notify the user doesn't help10:27
nik90mivoligo: although10:27
nik90I think you could set a min. limit to the timer to be greater than a minute and use that for now I guess10:27
nik90s/min./minimum10:27
mivoligonik90: that's what I'm going to do probably10:28
nik90mivoligo: hopefully we can get to the new API this cycle10:28
mivoligonik90: is that new API expected any time soon?10:28
nik90mivoligo: looking at https://developer.ubuntu.com/en/blog/2015/04/15/retrospective-and-roadmap-ui-toolkit/, it seems it will be part of 2.0 which is a bit too late imo.10:29
nik90mivoligo: but it seems like 15.10 is indeed focussing on the convergence of sdk components which is quite important as well.10:30
nik90so hard to get it done earlier10:30
bzoltannik90:  I fully agree with you, it is too late, but our hand is so full with the stuff planned for 15.1010:30
nik90bzoltan: I know and I understand, which is why I did not come complaining to you about it :-)10:31
mivoligonik90: sure, I can imagine you guys are busy10:31
bzoltannik90:  it is always good to complain :) it helps us to understand what app developers want10:32
mivoligonik90: is there any way to get rid of "snooze" button from the alarm notification dialog?10:33
bzoltanmivoligo: nik90:  right now the biggest issue in our hand is to enable multiversion in the Toolkit. So if your app pulls 1.0 UITK then it looks, behaves and feels like 1.0 even if the package contains the 1.3 That means we have to refactor the source tree and enable theme and artwork versioning plus few other things.10:33
nik90mivoligo: there has been a request for that, it seems that the unity8 notifications require atleast 2 buttons which is why we added the snooze button in the first place :P.. yeah I know ..things are sometimes weird10:34
nik90bzoltan: ah ...looks like aquarius got to you :D10:34
nik90mivoligo: but again in the new API (seems like the new thing I keep saying these days) will fix that10:34
mivoligonik90: can I somehow overwrite it?10:34
bzoltannik90:  yes, he is good at finding critical issues...10:34
t1mpnik90: I would to be able to set a snooze time >10m, and to specify the snooze time per alarm. Should I report a bug for that?10:35
nik90mivoligo: nope..the notification is actually triggered by the indicator-datetime and not the clock app10:35
nik90t1mp: the snooze times that were given to use were by design. If you want it longer, please report a bug and we can add it quite easily.10:35
nik90t1mp: as for the snooze time per alarm, you need to wait for the new Alarms API in 16.0410:36
t1mpok I'll report two separate bugs10:36
t1mpnik90: what's the lp project for the clock?10:36
mivoligonik90: heh, then I need to add "Beta" to app name :D10:36
nik90t1mp: https://launchpad.net/ubuntu-clock-app10:37
nik90mivoligo: :)10:37
mivoligonik90: another idea, can I just sound the alarm without displaying notification?10:38
nik90mivoligo: then how would you dismiss it?10:39
mivoligonik90: in the app10:39
t1mpnik90: ok, thanks. I reported 2 bugs10:40
t1mpnik90: https://bugs.launchpad.net/ubuntu-clock-app/+bug/145076710:40
ubot5Ubuntu bug 1450767 in Ubuntu Clock App "Snooze time more than 10 minutes" [Undecided,New]10:40
t1mpnik90: https://bugs.launchpad.net/ubuntu-clock-app/+bug/145076810:40
ubot5Ubuntu bug 1450768 in Ubuntu Clock App "Snooze time per alarm" [Undecided,New]10:40
mivoligonik90: after unlocking the phone10:40
nik90mivoligo: either way the answer is no. At the moment, the clock app is like a puppet..it allows you to create/edit alarms and that's about it. Everything else like snoozing the alarm, showing the notification and adding to the indicator is *all* done by the indicator-datetime service. The reason for that is simple..clock app is usually not in the foreground when an alarm rings.10:41
nik90t1mp: thnx.10:41
t1mpnik90: on android I can sound the alarm without displaying the notification ;)10:41
t1mpnik90: ^that's a bug :) when I take my phone out of the docking station the notification closes :s10:42
mivoligonik90: I'm talking about my Timer app :)10:42
t1mpnik90: and then I spend 10 minutes restarting and killing apps trying to stop the annoying alarm sound...10:42
nik90mivoligo: I know..but my point is that your timer app will come under the same restrictions as the clock app since you are using the alarms API10:42
t1mpthat may be a custom sony bug though, and not a generic android thing10:43
nik90t1mp: well you get to snooze the alarm on android through the lock screen?10:43
mivoligonik90: mzanetti: how is Reminders doing it? I got sound alarm but no notification? Or is it a bug?10:43
nik90mivoligo: no notification?10:44
* nik90 checks now10:44
mivoligonik90: yep10:44
t1mpnik90: I don't have an android phone now to check. But I didn't think of locking the phone in order to snooze the alarm..10:44
nik90mivoligo: I got the notification but without any buttons..very similar to a calendar event going off.10:45
nik90mivoligo: you can do that by using the QOrganizer QML API similar to the way the calendar app does it.10:45
nik90mivoligo: so instead of a one-time alarm, you will be creating a one-time event.10:46
mivoligonik90: now we're talking :D10:46
nik90mivoligo: actually I think that's a way better idea..than using the alarms API.10:47
nik90mivoligo: no snooze button or ok button..but a notifications like any other timer app in other platforms show10:47
mivoligonik90: I wonder how precise it is10:48
nik90mivoligo: I set the reminder event for the next 15-20 seconds and it worked10:48
mivoligonik90: nice :)10:49
nik90mivoligo: one drawback is that it will still show up in the indicator-datetime as a calendar event..but that's not too bad for now10:49
mivoligonik90: true10:50
mivoligoworking timer app is coming MWAHAHAHAHA!10:51
nik90:D10:51
mivoligonik90: and I had plans never touch anything to do with time manipulation before :P10:52
nik90mivoligo: well your zeegaree app would be nice for a start..still runs nicely on my desktop10:53
mivoligonik90: do you still use it?10:53
nik90https://imgur.com/nJhMFb410:54
mivoligo:)10:54
mivoligonik90: show the calendar panel ;)10:54
nik90yeah you don't want to see that10:56
mivoligo:D10:56
=== AlanBell_ is now known as AlanBell
=== aaron__ is now known as ahoneybun
ant400468hi all11:15
ant400468someone explains the difference between updates by apt-get update/upgrade and those from the system? in short, as I update the system ubuntu-phone?11:17
ant400468thers is a possibility for whatsapp to appear on ubuntu phone?11:23
mivoligonik90: do you know any example of using QtOrganizer in QML?11:29
nik90mivoligo: I think it is best to look at either the reminders app or the calendar app for examples on how to use Qtorganizer API. Have you looked at the API docs?11:31
nik90https://www.google.nl/search?client=ubuntu&channel=fs&q=Qtorganizer+QML+API&ie=utf-8&oe=utf-8&gfe_rd=cr&ei=w2NDVa_YB66o8wfi4oGwBA11:31
nik90bah I meant https://developer.ubuntu.com/api/qml/sdk-1.0/qtpim.qml-organizer/11:31
nik90personally I haven't had the opportunity to use it11:32
mivoligonik90: thanks11:32
mivoligonik90: examples and tutorials does not work on that page :(11:34
popeyant400468: if facebook/whatsapp port it, sure11:38
nik90mivoligo: hmm .. I am trying to see if there are official qt docs11:47
mivoligonik90: I found this: http://qt.developpez.com/doc/5.0-snapshot/qmlorganizerlistview/11:48
mivoligonik90: I guess I need to ask mzanetti for help :D11:48
nik90mivoligo: surprising that I cannot find official qt 5.4 docs for this component11:48
ant400468@popey thanks11:54
mzanettimivoligo, nik90, what up?12:17
mivoligomzanetti: hi, I'm trying to do a timer app12:18
mzanettimivoligo, countdown timer?12:18
mivoligomzanetti: yes12:18
mzanettimivoligo, done already :P12:18
mivoligo:D12:18
mzanettijust waiting for charles to fix up some things12:18
mzanettihere's the branch: https://code.launchpad.net/~mzanetti/+junk/stopwatch-countdown12:19
mivoligomzanetti: oh man, and I'm torturing my mind :P12:19
popeysheeh, you should have learned by now, let mzanetti torture his mind first!12:19
mivoligo:D12:19
mzanettiit'll ring an alarm when it's due, however, there's a bug in the alarms framework where the alarm won't ring at the proper time12:20
mzanettias soon as that's fixed I'll publish an update to the stopwatch app12:20
mzanettisorry guys :P12:20
mivoligomzanetti: heh, that's the problem12:20
* mzanetti afk for 10 mins12:21
mivoligomzanetti: nik90 suggested we can use QtOrganizer insted of Alarm12:21
mzanettimivoligo, that's what I do12:37
mzanettimivoligo, that branch I posted works fine already, except that the alarm rings immediately if the countdown time is within the current minute12:38
mzanettilemme see if I have a click for you to try12:39
mzanettihttp://notyetthere.org/data/stopwatch.mzanetti_0.4_armhf.click12:40
mzanettiprobably only working on vivid12:40
mivoligomzanetti: same here when I used Alarm, but have no idea how to use QtOrganizer in QML12:44
mzanettiI don't think there's a QML api for it... could be I'm just not aware of it though12:44
mivoligomzanetti: I found this:  http://doc.qt.digia.com/qtmobility-1.1.3/qml-organizer.html12:45
nik90pretty sure calendar app uses the qml api afaik12:45
mzanetticould be... dunno... seemed easy enough with Qt to me12:46
nik90Woohoo I finally see a fix to the lockscreen being unresponsive when starting app from QtC https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/143536412:58
ubot5Ubuntu bug 1435364 in unity8 (Ubuntu) "Lockscreen unresponsive after starting app from QtC or cmdline" [High,In progress]12:58
JackHjust installed13:14
JackHgoing to make a kick ass scope!13:15
JackHor app13:15
JackHyou all wait and see now13:15
popey\o/13:15
faenilpopey: do you know if the calendar is supposed to autorefresh?14:03
popeyfaenil: no, there's a sync option in the menu14:03
faeniloh...I couldn't find that...where is it?14:04
faenil^14:04
faenilpopey: ^14:04
popeytop right14:04
faenilthere's only New Event and Calendars14:04
popeyuh14:05
popeyin calendars, are your calendars enabled?14:05
faenilyes I see other events14:05
popeyhttp://people.canonical.com/~alan/screenshots/device-2015-05-01-150552.png14:05
popeyyou dont see that?14:05
faenilnope XD14:06
popeyhttp://people.canonical.com/~alan/screenshots/device-2015-05-01-150603.png14:06
faenilall enabled14:06
popeyhow odd14:06
faenilI'm on r20214:07
popeythat number means nothing to me :)14:07
faenilit's the latest fw revision :)14:07
faenil(the app is latest version as well)14:08
popeysounds like a bug then14:08
faenilyay14:08
popeyI'm on 20114:08
popeyjust upgraded to 20214:08
popeywill check14:08
popeyfaenil: i still have a sync menu14:09
faenilmm14:10
popeywonder if your google UOA account has expired14:10
faenilAccounts screen doesn't show anything suspicious, at least..14:11
faenilit appeared now!14:12
popeyhah14:12
popeyMAGIC!14:12
faenilwithout closing and relaunching the app! I just closed other apps!14:12
faenilmmmmmmm14:12
faenil:D14:12
faenilI wonder if there's any check..รน14:13
faenil(process:12195): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.14:14
=== _salem is now known as salem_
nik90popey: you need to post a picture with *all* your mobile devices which might include UT, firefox os, tizen, jolla, ios and android..and what not...and perhaps even create an alarm on every one of them to ring at the same time :P16:05
faenilDanChapman: hey, I built dekko on desktop and checked why it wasn't logging it with my gmail account. I just needed an "app password", using that instead of my password fixed it ;)16:06
DanChapmanfaenil, \o/ awesome! yeah that's a real pain atm.... Oh you needed to get an app password, i thought google had dropped that. And just had a switch for allowing less secure apps.16:09
DanChapmanthat's all it is for me now anyway16:09
DanChapmani just have a turn on/off buttons here https://www.google.com/settings/security/lesssecureapps no mention of passwords anymore16:09
faenilDanChapman: that kind of switch basically means turning off 2FA, and you don't want to do that16:10
faenilapp passwords make more sense, imho16:10
faenilDanChapman: that option is only available if you don't use 2FA16:10
* DanChapman didn't know that16:11
faenilDanChapman: I've just read it on that webpage :P16:11
DanChapmanfaenil: :-D anyway that won't be an issue with the move to UOA.16:12
faenilDanChapman: right..16:12
faenilwoah, populating the email model really puts the UI down on its knees16:14
DanChapmanfaenil: yeah the first fetch is a real drain.16:18
faenilalso scrolling lags quite a bit :/16:18
faenilhave you already had a look at that? is it optimized already?16:18
faenil(not sure how much can be done about that, just asking out of curiosity)16:19
DanChapmanfaenil: i've only just got my hands on krillin so I havn't had much time to look at it. It was previously nearly unscrollable so I extended the cacheBuffer (which is bad) to at least get it to scroll semi ok on krillin. On mako scrolling is much better. Feel free to look into that one :-D16:20
faenilDanChapman: I see, okay...first thing I'd try is shrink the delegates as much as possible16:21
faenilbut it needs some benchmarks :)16:21
popeynik90: ok! :D16:21
DanChapmanfaenil: indeed :-D It would be good to get some compared to the new ListItem in vivid aswell16:24
faenil:)16:24
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== kenvandine_ is now known as kenvandine
=== salem_ is now known as _salem
alesageballoons, ping?  working on reminders testing and wondering what popey might mean by "remote" "local" and "website" (assuming he's not around)21:17
alesageballoons, thought you might know21:17
popeyalesage: website means "on evernote.com"21:37
alesagepopey, that checks out :)21:37
popey:)21:37
alesagepopey and "local" and "remote" means having set up the connection or not21:37
alesagepopey, riight?21:37
popeyis this in the spreadsheet of tests?21:38
alesagepopey, yessir21:38
popeyremote means "a user defined elsewhere" - as in, an evernote account has been setup on the device21:39
popeylocal meaning "no evernote account configured"21:39
popeyor rather, local, as in, not synced to evernote.com21:39
popeymake sense?21:39
alesagepopey, seeing that setting in accounts now, yes21:40
popeyso when you very first launch reminders you get asked a yes/no question about syncing online21:40
popeyif you choose "no" then you create "local" only notes21:40
alesagepopey righto, got it21:40
popeycoolio21:40
popeythanks for testing it21:40
alesagepopey thanks for making this sheet of tests21:40
popeymzanetti: made them :)21:43
popeyso thanks mzanetti :)21:43
popeyalesage: I never really know what you guys want exactly in terms of manual tests.21:43
popeymichael made those, I've been putting stuff in etherpads with screenshots and stuff.21:43
popeyfeedback welcome on what's best for you guys to effectively test stuff21:44
alesagepopey, well this is a really good start actually :) , anything that helps to get your intention across21:44
alesagepopey, ok will give some feedback21:44
popeyexcellent, thanks21:44
rpadovanihttp://blog.launchpad.net/general/git-code-hosting-beta \o/22:21
mcphailGit? Brilliant!23:07
DF__hi all23:58
DF__i have a prob here with the makefile23:58
DF__it doesnt make me make an app that works on uphone23:59

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