/srv/irclogs.ubuntu.com/2014/01/15/#ubuntu-app-devel.txt

dholbachgood morning08:03
=== shuduo is now known as shuduo|afk
=== shuduo|afk is now known as shuduo
popeydpm: mzanetti when i use ./run_on_ubuntu_touch.sh I keep getting password prompts for phablet@127.0.0.1...09:32
popeynot seen that before09:32
popeyhave i missed a step?09:32
dpmpopey, yeah, that's the issue I'm having too09:32
mzanettipopey: dpm: tun_on_device -s ?09:34
mzanettipopey: dpm: run_on_device -s ?09:34
popeyah duh09:34
popeyyea, i clean flashed phone09:34
popeyso need to do that09:34
dpmmzanetti, that didn't fix it for me when I tried last week09:34
popeyyeah, does it with -s too09:35
* mzanetti looks09:36
popeyi am on #12909:36
mzanettipopey: dpm: ah... maybe you are hit by the SDK bug... it generates a new ssh keypair every time you plug a freshly flashed device. at some point the system will give up trying all the old wrong keys09:37
mzanettitry deleting ~/.ssh/ubuntudevice*09:37
popeymzanetti: http://paste.ubuntu.com/6755293/09:38
* popey rm's /home/phablet/reminders-app too09:39
mzanettipopey: the stale ssh keys are on your pc09:39
popeyhttp://paste.ubuntu.com/6755295/09:39
popeybetter, but it wants r/w ?09:40
popeyE: Unable to write to /var/cache/apt/09:40
mzanettipopey: to install gcc and everything on the device09:40
popeyah09:40
mzanettipopey, dpm: please vote for this bug https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/123792309:40
ubot2Launchpad bug 1237923 in Ubuntu UI Toolkit "SSH keys should not be generated automatically - or at least kept for QtCreator use only" [Undecided,Confirmed]09:40
popeylooks like I already "me too'd" it09:41
popeymzanetti: maybe you should rm the ssh keys in the script ㋛09:46
mzanettipopey: would work for me as I don't use qtcreator's deploy and run for ubuntu anyways. but might annoy other people09:47
popeypffft, other people09:47
popeydpm / mzanetti can you reproduce bug 1264843 ?10:00
ubot2Launchpad bug 1264843 in Ubuntu Reminders app "Connection timeout if left too long before signing in" [Undecided,New] https://launchpad.net/bugs/126484310:00
popeyBasically start the app then go and get a coffee, come back and tap your login10:00
dpmmzanetti, but the script cannot be used via qtcreator anyway, can it?10:00
dpmpopey, will do, let me update to the image with the online accounts plugin and install10:01
mzanettidpm: not really... but if I remove all those ssh keys with the script, it might remove ssh keys used by qtcreator10:02
dpmaaah ok10:02
mzanettipopey: yeah... I've seen something like this10:02
mzanettipopey: and intentionally not caught that exception to be aware of when it happens10:03
mzanettiI'm still unsure if I should just catch that exception and try to reconnect10:03
dpmmzanetti, btw, as mentioned yesterday, the accounts plugin is now in the latest image. So for manual, local testing and demos we can now just install the click package without having to set the phone to R/W and install the accounts plugin first10:03
mzanettior if this shouldn't happen in the first place10:03
mzanettidpm: ah ok, nice10:04
=== tsdgeos_ is now known as tsdgeos
WebbyITehy popey, could you review this, please? https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/1267820/+merge/20131310:31
popeysure WebbyIT10:36
JamesTaitGood morning all; happy Hat Day! :-D11:01
WebbyITpopey, just see your comment, what escape key is supposed to do? Now it scroll down the page if last calc is not on view11:13
popey"Pressing "escape" in a label should revert the current edit and edit editing, not clear the calculation"11:14
popey(from the bug)11:14
WebbyITpopey, mhh, this is weird, on my pc it works.. do you have time to try a thing?11:19
popeyfor you, of course11:19
WebbyIT:-) On line 203 of Simple/SimplePage.qml, after Keys.onPressed, add console.log(event.key)11:19
WebbyITpopey, and then run the app and give me the output11:20
dholbachhey daker - how are you doing? does https://code.launchpad.net/~daker/ubuntu-html5-theme/fix.1216873/+merge/185360 need more work or does it need another review? do you need any help with it?11:24
popey16777216 WebbyIT11:27
popeywhen i press escape11:27
WebbyITpopey, ok, thanks.. It's the same I have, maybe it's something with Qt.Key_Escape. I try to exlicit it11:28
popeynp11:29
nik90WebbyIT: have you looked at http://doc.qt.digia.com/4.6/qt.html#Key-enum for the key names?11:29
WebbyITnik90, yap, I followed it11:30
nik90popey: btw, the stopwatch label bug should be a 1 line fix. Will propose MP soon11:31
popeyk11:31
nik90I need someone to review https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-alarm-analogue-format/+merge/20128211:31
WebbyITpopey, I updated the MR, could you try please? I have also found error you said when hit enter and fixed it11:38
WebbyIThttps://code.launchpad.net/~rpadovani/ubuntu-calculator-app/1267820/+merge/20131311:38
popeysure11:38
popeyWebbyIT: escape now works.11:40
popeyhowever the display jumps down when i press escape11:40
popeyWebbyIT: http://imgur.com/tgXgDC011:41
popeyi did 10 * 10 [Esc]11:41
popeyand it jumped down11:41
nik90timp: Would it be possible to get someone to merge your qml loader fix MP today?11:45
timpnik90: depends on whether zsombi has time for it11:46
timpzsombi1: ^ https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/pageHeight/+merge/20138211:46
timpnik90: ^ that one right?11:46
zsombi1timp: uhh.. ok, I'll push its priority up then11:47
=== zsombi1 is now known as zsombi
WebbyITpopey, mhh, what's wrong? If you press esc when you are doing a calc, you delete the calc11:48
popeywell, note how the number area has moved down11:50
popeyit scrolled without me scrolling11:50
=== _salem is now known as salem_
=== MacSlow is now known as MacSlow|lunch
dakerdholbach: alex-abreu did explain the situation to mhall11911:56
nik90timp: yeah that's the one12:07
dpmoSoMoN, do you have a minute for a quick cmake/translations question? I'm looking at indicator-location, which doesn't have i18n support yet, and I thought I could reuse the cmake rules you created for browser & co. Looking at indicator-location, it seems to have something in place already, though, but I'm not familiar enough with cmake to tell if it would be enough to build a .pot file and then the .mo files. It's at http://bazaar.launchpad.net/~in12:12
dpmdicator-applet-developers/indicator-location/trunk.14.04/view/head:/po/CMakeLists.txt - What do you think?12:12
oSoMoNdpm, I’m about to leave for lunch (eating out today), mind if I have a look when I get back?12:13
dpmoSoMoN, of course, no worries, thanks!12:14
ahayzentimp, ping12:32
dholbachdaker, ah ok12:36
nik90zsombi: Hey, on looking through your pickerpanel code, I noticed the following line, Component.onCompleted: isPhone = formFactorPhone && (QuickUtils.inputMethodProvider !== "")12:39
nik90zsombi: does QuickUtils.inputMethodProvider help in detecting if the device has a on-screen keyboard?12:40
nik90zsombi: I am asking since I may need to implement something similar for the clock app12:40
timpahayzen: pong12:46
ahayzentimp, this is still failing :/ https://code.launchpad.net/~andrew-hayzen/ubuntu-ui-toolkit/fix-swipe-delete-001/+merge/199906 ... looking at the logs https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4675/console its like the process doesn't even start12:46
ahayzentimp, how can such a small change be causing such chaos lol12:47
timpahayzen: at first sight is till looks like a broken jenkins to me :s12:53
ahayzentimp, :/12:54
timpahayzen: I'd ask for help in #ubuntu-ci-eng, but they may be very busy12:54
ahayzentimp, thanks understood12:54
=== MacSlow|lunch is now known as MacSlow
zsombinik90: QuickUtils does, however it is not a public API seo we don't promise anything for that. We have plans to have something that would help on detecting the form factor the app is running, so till then you need to use something else to find out in what FF are you running. Use the GU pixel size, that's better14:20
oSoMoNdpm, I had a look at the pot file generation for indicator-location, there is already some cmake logic that adds a pot target, however it’s not working, looks like the generated target is missing a parameter to call xgettext (-f path/to/POTFILES.in)14:26
oSoMoNdpm, it’s using a custom cmake module to do that which I don’t know14:26
dpmoSoMoN, do you think it might be worth fixing that to get it to do what we need, or just replace it by the rules you and the other guys created for the system apps?14:27
oSoMoNdpm, I think it’s probably much easier to fix what’s already there, let’s ask charles about it14:28
oSoMoNcharles, dpm and myself are trying to figure out how to make the pot target work for indicator-location, looks like you got that code from lp:indicator-session, did you ever get it to work?14:29
dpmcharles, to provide some more context, it's about this bug to make indicator-location translatable: bug 123241214:30
ubot2Launchpad bug 1232412 in Ubuntu Translations "Needs translation setup" [High,Triaged] https://launchpad.net/bugs/123241214:30
dpmhi charles, I'm not sure if you were up yet. Did you have the chance to look at the question from earlier on about indicator-location? ^^15:41
charlesoSoMoN, dpm: I seem to recall the problem was that cmake and intltool/gettext weren't playing nicely with each other15:59
=== Wellark_ is now known as Wellark
charlesoSoMoN, dpm: iirc seb128 was the one who found this in the indicators and came up with the original workaround. iirc he'd seen something similar in u-s-s but I'm less sure about that?16:00
charlesare there any cmake-based indicators that are known to work? If so we can modify the rest to use its rules16:01
=== gatox is now known as gatox_lunch
dpmcharles, sorry for not being too responsive, on a call right now. I'm not familiar with the build system of the rest of the indicators and whether they use cmake16:21
dpmthe other option is to use the cmake rules that are known to work for the system apps16:21
charlesdpm: no problem. I know the indicator side of it, but need guidance on which (if any) indicators are known to be working right, so that I can use their rules as in the others' code16:22
charlesI suspect seb128 knows the answer to this16:23
dpmcharles, all of the rest on the phone do load translations, but I've not had a look at their code yet to see if they're cmake-based. I can have a look after the call16:23
charlesdpm: on the phone, indicator-sound and indicator-datetime are both cmake based16:24
charlesthey're working correctly?16:24
charlesI'll compare what they do wrt i18n to what indicator-location is doing.16:25
charlessounds like it should be an easy thing; most likely indicator-location just got overlooked when we added the workaround to the other cmake indicators16:25
* charles assigns himself to https://launchpad.net/bugs/123241216:26
dpmcharles, they were working when I was testing the image yesterday, at least I remember the i-d being localized, but I can double-check later on today16:26
ubot2Launchpad bug 1232412 in Ubuntu Translations "Needs translation setup" [High,Triaged]16:26
dpmthanks charles!16:26
charlesdpm, oSoMoN: thanks for pointing this out to me :)16:27
WebbyITehy popey, I updated today branch to fix the error you notice, but I think it's a bug in SDK16:28
WebbyITIf I use formulaView.positionViewAtBeginning() doesn't work16:28
WebbyITbut if I use formulaView.contentY = 0 works as expected16:28
seb128charles, dpm: what's the issue with cmake/intltool?16:35
=== gatox_lunch is now known as gatox
dpmseb128, sorry, just got off the phone. So the context was that indicator-location is currently the last indicator missing i18n support. It seems to have some i18n cmake rules in place in the source tree, but they seem to be incomplete and do not generate a .pot file (nor they build the .mo files afaiui). We thought that if there are other indicators using cmake and implementing i18n support we could just steal the build rules from them, and as you r17:08
dpmeplied to the bug, you might know more about that17:08
seb128dpm, dh-translations should work, let me have a look17:11
dpmthanks seb12817:11
seb128dpm, is the issue with the vcs or the packaging?17:15
seb128dpm, because https://launchpadlibrarian.net/157540889/buildlog_ubuntu-trusty-i386.indicator-location_13.10.0%2B14.04.20131125-0ubuntu1_UPLOADING.txt.gz has17:15
seb128"Wrote indicator-location.pot"17:15
seb128I've it as well locally17:15
dpmseb128, oh, I was looking at the upstream project and noticed it didn't have translations enabled. I couldn't see them in the source package, either, but perhaps I missed something. Let me double-check17:16
seb128dpm, there is something wrong with launchpad there, that translation never made it to the queue17:17
dpmindeed it didn't: https://translations.launchpad.net/ubuntu/trusty/+source/indicator-location/+imports17:17
seb128dpm, I wonder if that's https://bugs.launchpad.net/launchpad/+bug/126075417:17
ubot2Launchpad bug 1260754 in Launchpad itself "Translation not imported from source to launchpad" [Undecided,New]17:17
seb128or a similar issue17:17
dpmthat's weird, I haven't seen LP failing on importing templates in a while17:18
seb128dpm, OH!17:18
seb128dpm, it's in universe, we don't langpack universe17:18
dpmaha!17:19
seb128I guess we don't import templates either?17:19
dpmwe can actually import them17:19
dpmlet me check how. Or is this planned to get into main soon?17:19
seb128there was some sort of effort to do that but I though we reverted the packages that did it because of some bug on the launchpad side17:19
seb128we should MIR it in any case17:19
dpmok, so doing the MIR looks like the way to go. In the meantime we can enable translations in the upstream project17:20
seb128right17:20
dpmcharles, were you planning in doing a MIR for indicator-location?17:20
seb128dpm, charles: https://wiki.ubuntu.com/MainInclusionProcess for the process details17:21
seb128should be easy nowadays (if it doesn't depends on stuff that are not promoted yet)17:21
dpmseb128, if dh-translations works, I assume that building the .pot locally from the source tree should work too, right?17:21
seb128dpm, yeah, I did a local build, worked fine, calling intltool-update -p also works (it just names the file untitled.pot)17:22
dpmok, so I think what I'll do is to do an intltool-update and manually upload the template in the upstream project, and then clarify with charles about the MIR17:23
seb128sounds good to me17:23
dpmawesome, thanks seb128!17:23
seb128yw ;-)17:23
myNameIsWhoHow do I add items to the Hud ?17:38
myNameIsWhothanks17:39
myNameIsWhoAlso I am making a torrent client/server and am wondering how I am going to get around the security issues of things like saving files and what not17:40
ahayzentimp, u still around?17:47
timpahayzen: yes18:15
ahayzentimp, so ur branch passed? https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/fix-swipe-delete-001/+merge/20178418:16
ahayzentimp, i was talking to the CI guys they said tht qmlscene crashed...18:16
timpahayzen: I wonder whether the fails are random and we are very unlucky.18:19
timpahayzen: I wonder whether the fails are random and we are very unlucky.18:19
timpahayzen: I top-approved it again. if it fails I will ask someone to top-approve my copy of the MR18:20
ahayzentimp, hopefully...they said to get one of the UITK devs to look at the .crash file18:20
=== salem_ is now known as _salem
timpI am one of the UITK devs18:20
timplooking now....18:20
timpah I looked at them before, and had no clue what's happening18:21
ahayzentimp, hehe18:22
timpI'll ask in #ubuntu-ci-eng why CI on my branch passes and your autolanding fails18:23
ahayzentimp, cool... i'll join tht channel as well18:24
=== bfiller is now known as bfiller_afk
ahayzenballoons, FYI we have a bug report now for the MediaPlayer autopilot issue https://bugs.launchpad.net/autopilot-qt/+bug/126957820:11
ubot2Launchpad bug 1269578 in Autopilot Qt Support "Autopilot cannot access MediaPlayer component" [High,In progress]20:11
balloonsahayzen, ahh perfect. I'd add that to the merge20:11
ahayzenballoons, it is linked20:11
balloonsnice find.. but sorry you had to hit it :-)20:11
ahayzenballoons, :) i like breaking things20:12
nik90hey guys, do you know how to set the minimum width of a qml app?20:49
nik90I don't want the clock app width to go below units.gu(50) since it makes the analogue clock face look bad.20:50
ahayzennik90, does ur clock app have swipeDelete in it?20:52
nik90ahayzen: it does20:53
ahayzennik90, do u have autopilot tests on it?20:53
ahayzennik90, as in performing the swipeDelete?20:54
nik90ahayzen: yup20:54
ahayzennik90, i'm just wondering how u do it cause i've just removed the music-app's custom swipeDelete component20:54
nik90ahayzen: I also removed the custom swipeDelete from clock app and started using the SDK component for that20:55
nik90ahayzen: the SDK autopilot emulator provides a function to swipe delete20:55
ahayzennik90, can u remember which test it is in?20:55
ahayzennik90, and my initial reorder component will hopefully land soon \o/20:55
ahayzennik90, just no scrolling yet :/20:56
nik90ahayzen: http://paste.ubuntu.com/6758385/20:56
ahayzennik90, think i've found it delete_alarm() ?20:56
nik90it is a simple swipe_to_delete() emulator function20:57
ahayzennik90, oh nice first_lap.swipe_to_delete(), first_lap.confirm_removal()20:57
nik90ahayzen: dont look at alarms tests, they are broken at the moment20:57
nik90ahayzen: yup that's it20:57
ahayzennik90, ah ok .. u having issues with autopilot as well ;)20:57
nik90ahayzen: well not really. the alarms feature is still a wip20:58
nik90hence no sense making the test to work :)20:58
ahayzennik90, oh u still waiting for the service?20:58
nik90ahayzen: waiting on the notification service yes20:58
nik90ahayzen: and some minute bugs in the alarms API20:59
ahayzennik90, we are waiting on two services :/ once they start landing it'll be awesome though :D20:59
nik90ahayzen: which ones?20:59
ahayzennik90, mediascanner and ... mediahub?20:59
ahayzennik90, one to scan for music and one tht plays music while the phone is locked etc20:59
nik90ahayzen: ah okay ... I am guessing they will replace the grillo plugin21:00
ahayzennik90, yep thts why we are not too bothered about issues in grilo21:00
nik90ahayzen: I thought the music app works even when the phonne is locked21:00
nik90using qt powerd21:00
ahayzennik90, we have an exception in powerd IIRC21:00
ahayzennik90, but it means our app is always running which is not best21:01
nik90ahayzen: ah.. then it makes sense21:01
ahayzennik90, so this would allow our app to sleep like the others21:01
nik90ahayzen: oh btw did you see today's convergence hangout?21:01
nik90we discussed about the sheets21:01
nik90in the music app21:01
ahayzennik90, and we're hoping will fix a few other issues21:01
nik90it has to go21:01
ahayzennik90, yeah i did thx for covering :)21:01
nik90:)21:02
nik90ahayzen: hey btw are you defining all your keyboard shortcuts in the main qml file? or did you put them in their respective files?21:13
ahayzennik90, https://code.launchpad.net/~andrew-hayzen/music-app/convergence-keyboard-shortcuts/+merge/201266 at the moment21:14
ahayzennik90, i dunno whether to move all of the HUD actions and shortcuts into a separate file21:14
nik90ahayzen: I was thinking the same thing. I am not a fan of making the main file big by adding everything to it21:14
nik90although I have no idea how to do it21:15
ahayzenu could just listen to the events?21:15
nik90using connections?21:15
nik90but say I move all the shortcuts to keyboard.qml, what would the object be defined as in that file?21:16
nik90Item {} ?21:16
ahayzennik90, erm probably... i'll have a look in a second just fixing up autopilot21:17
nik90ahayzen: oh yeah sorry. go ahead21:17
ahayzennik90, i have waaaay to many things going on21:19
ahayzennik90, literally the whole of the QtCreator sidebar just says music-app repeated from top to bottom of the screen must be a good 20 branches going lol21:19
nik90lol21:20
ahayzennik90, right keyboard shortcuts21:24
* ahayzen hates it how QtCreator just displays "music-app"21:24
nik90ahayzen: +121:25
nik90are you trying to search your sidebar for the right project? lol21:26
ahayzennik90, yeah i usually end up clicking the little computer icon then search tht list which shows the filepaths...click on it then it highlights the right 'music-app' :)21:26
ahayzennik90, hmm ur probably still gonna have a Keys { } in the mainView21:27
ahayzennik90, or not lol21:28
nik90ahayzen: right now, I defined the entire Keys.onPressed signal in the main file which is only going to get bigger. Hence pushing that into a separate file would be lovely21:29
ahayzennik90, easiest way would probably be to just call a function from Keys.onPressed: { myFunction(event) }21:30
ahayzennik90, and have tht function in another file21:30
nik90ahayzen: hmm yeah that could work21:31
ahayzennik90, probably the simplest/easiest :P21:32
nik90popey: as I said the stopwatch label fix is quite small -> https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-stopwatch-label-size/+merge/20184221:42

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