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

=== chriadam|away is now known as chriadam
amrlimahi, is it possible to use qtwebkit to parse a webpage in a scope project?01:01
bzoltanzbenjamin: rpadovani: technically it is possible to create qmake for 14.10 chroots, but it requires an upgraded qtbase and that would bring some risks. I would not invest our time on this. The 15.04 will come out soon and it will make the 14.10 Kits obsolate.03:55
zsombi_mhall119: Force the focus on teh component you want in Component.onCompleted of the Page. There's no automated way to do that.04:07
=== chihchun_afk is now known as chihchun
bzoltanrpadovani: I have replied your mail on the ML. I hope it clarifies that your issue is not an SDK problem.05:16
davidcalleGood morning o/07:38
davidcallebzoltan, ping07:40
bzoltandavidcalle:  yo07:40
davidcallebzoltan, hey, I've discovered yesterday the translations building features of the QtCreator plugin and it's awesome, are there any plans to include desktop files translations to it?07:41
davidcallebzoltan, I'm asking because the app i18n tutorial is coming today or monday and I'm wondering if I add the manual way to do that for desktop files to it or if users can expect something coming soon-ish.07:43
bzoltandavidcalle:  I would go for the manual .. but let me check around first07:44
mivoligoHi, how can I get rid of usermetrics infographics from the circle after I uninstall an app which displays them?08:03
dpmhi mivoligo, I'm not sure. Perhaps you can ask pete-woods when he's online. He tends to be on #ubuntu-unity08:04
mivoligodpm: thanks08:05
mivoligomzanetti: any idea? ;)08:05
mzanettino08:06
mivoligook08:06
mzanettimivoligo, how do you add it? isn't there something like clear() or so?08:06
mivoligomzanetti: well, someone sent me an email that he uninstalled PopThat Wrap but he still get usermetrics on the circle08:08
mzanettihave a link to the documentation for that usermetrics stuff?08:08
=== chriadam is now known as chriadam|away
mivoligomzanetti: I did it based on http://nik90.com/adding-infographics-to-ubuntu-phone/ by08:10
mzanettidpm, hey, the usermetrics stuff is not shown in the docs08:11
popeymivoligo: known bug, we don't delete user data when apps are removed08:11
mzanettishouldn't this give me something? https://developer.ubuntu.com/api/qml/development/search/?query=UserMetrics08:12
mivoligopopey: thanks, can it be done manually somehow?08:12
dpmmzanetti, which docs? tutorials or API? If it's tutorials, I don't think we've got any yet. If it's API, it's a bug we need to fix. As per the search, we're planning a new deployment of the API site in the next few days that should give you results both from the API part of the site and the more "textual" part of the site08:13
popeyno idea08:13
mivoligook08:14
mivoligomzanetti: here's the source code but you probable got to this: http://bazaar.launchpad.net/~unity-team/libusermetrics/trunk/files08:17
mzanettidpm, it's completely missing from the docs08:17
mzanettiso yes, imo a bug08:17
dpmdavidcalle, can bug 1428963 be marked as Fix Released?08:29
ubot5bug 1428963 in Ubuntu App Developer site "Links are broken on the article" [Undecided,New] https://launchpad.net/bugs/142896308:29
davidcalledpm, the missing doc file (https://bugs.launchpad.net/accounts-qml-module/+bug/1429038) is fixed so when the new api website is live, yes, I assume it will contain the fix08:31
ubot5Ubuntu bug 1429038 in accounts-qml-module "manifest-files.qdoc is missing when generating the doc" [Medium,Fix released]08:31
dpmmivoligo, mzanetti, reported bug 144252108:31
ubot5bug 1442521 in Ubuntu App Developer site "No API documentation for libusermetrics available" [Low,Triaged] https://launchpad.net/bugs/144252108:31
dpmok, thanks davidcalle08:31
mivoligodpm: many thanks :)08:31
mzanettidpm. oh... good thing I got distracted and din't yet click "ok" on the report I just wrote :)08:32
mzanettithanks08:32
dpm:-)08:32
mzanettidpm, while we're at it... many docs pages don't show return values for methods. drives me nuts at times. probably others too08:33
mzanettilemme get you an example08:33
mivoligopopey: do you have a link to the bug you mentioned?08:34
mzanettidpm, https://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Components.PageStack/08:34
mzanettidpm, https://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Content.ContentPeer/08:35
mzanettidpm, especially things like the ContentPeer.request() are quite useless without evaluating the return value08:35
mzanettidpm, IMO someone would need to go through each and every page of the whole docs and verify that08:36
mzanettithey're missing all over the place08:36
mzanettidpm, this is an example how it should look like: https://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.OnlineAccounts.AccountService/08:36
* dpm looks08:38
=== greyback__ is now known as greyback
dpmmzanetti, I've got a hunch that that's perhaps a bug in the original source code when defining what will be extracted for the api docs? I'd suggest asking mhall119 when he's online, he'll definitely know more than I do08:40
mzanettidpm, yes, it is the original code08:40
mzanettidpm, what I'm trying to say, apparently we can't just trust that all the devs get it right. we need an instance that evaluates the docs and reports such things back to the devs08:41
dpmmzanetti, it might be worth reporting a bug for that. I know we've got an importer script for each type of doc (qdoc in this case). It might make sense to integrate these checks in there. But also to set the expectations: after this next deployment, we're not going to focus on developer site infrastructure for a while08:43
mzanettinot sure how to read that08:44
Jim___hello ? how to add content to Notifications panel of status bar pulled down from the top of screen? who can give me a runnable example ?09:11
Jim___the content is to tell user some application's information , or the user can press it to back to some application!09:12
Jim___my requirement is relative to push notification client / server ?09:13
Jim___Which heroes help ah?09:15
rpadovanibzoltan, thanks for your reply. Indeed, it's not a SDK problem, but I think that there is a lack of documentation on qmake. I'll wait to update my app until vivid will land in RTM09:19
Jim___qml: GOT ERROR An AppArmor policy prevents this sender from sending this message to this recipient, 0 matched rules; type="method_call", sender=":1.48922" (uid=32011 pid=22811 comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene $@ M") interface="com.ubuntu.PushNotifications" member="Register" error name="(unset)" destination="com.ubuntu.PushNotifications" (uid=32011 pid=2054 comm="/usr/lib/ubuntu-push-client/ubuntu-push-cli09:20
Jim___please help me ??09:20
bzoltanrpadovani:  IMO the qmake should be hidden for the majority of the developers. It just works...09:21
bzoltanrpadovani:  also, where have you read that on Vivid you need PPA?09:22
Jim___GOT ERROR bad auth09:23
rpadovanibzoltan, actually, you said me in Feb, because click package in the ppa was more updated that the one in the repo09:24
rpadovani(and indeed it was)09:24
Jim___GOT ERROR bad auth after add push-notification-client09:24
mivoligoJim___: I have no idea about it but maybe you need to add something to apparmor09:25
bzoltanrpadovani:  ahh.. that was a temporary issue during the integration process as click needed an important fix09:26
=== rmescandon is now known as rmescandon|afk
bzoltanrpadovani: landing stuff onthe archive takes more time. Developers are disapointed if I tell them to wait for the official release as they are unhappy if I push a quick fix to a PPA :) Is there anything I can do to please everybody? :D09:28
Jim___do you know what added exactly?09:30
Jim___or you can give me an example?09:30
rpadovanibzoltan, I think is impossible to make anyone happy :-) But let ee it on my side: I have this little app and I have some issue every time I try to update it. It's annoyiung. Luckly, with the switch to vivid, seems there will not be any other problem, so it's ok :-)09:31
bzoltanrpadovani: What I see as important detail is that you understand that using the unstable release as build environment brings certain risks. The 15.04 was and still is a moving target. It was and still is hardly possible to offer a stable tool what provides a stable abstraction of an unstable  foundation.09:34
bzoltanrpadovani:  what makes me sad a bit is that we as the SDK team take the bullets for pretty much all frustration... when in fact we have limited options to prevent such issues.09:35
mivoligoJim___: push-notification-client maybe? But I'm just guessing, never used that myself09:37
rpadovanibzoltan, I'm sorry to shoot to you, but I had a thing was working one month ago and doesn't work anymore now. It's a bit frustrating. But I fully understand your position, so I'm happy to hear that things will be better with vivid. I know I'm using unstable tools (I mean, I think all things here are not so stable) but chroots have the special property to make me crazy anytime I try to use them09:39
rpadovanibzoltan, anyway, sorry. Now I reply to the mail09:40
Jim___yes, policy error appear before add push-notification-client,but another error about "GOT ERROR bad auth" appear after add push-notification-client!  would you help me check it again ?09:40
Jim___I am a beginer! you are my hero! please~~~~09:41
bzoltanrpadovani: thanks mate :) nor worries... Anyway, chroots are indeed pain to deal with. That is the only part of thge SDK I am not fully happy with. In general using chroot is fine as long you know what you are doing and you have the ability to clean up sometimes the mess it leavse and configure to your needs. But to put it as a foundation and build 3 layers (schroot, click, QtC) above it is not a good idea. The reason why it was selected that chroot09:43
bzoltansaves us from creating toolchains. In chroot you just use the native toolchain and that is it. With the Qt SDK model, the rootfs is rock solid but you need toolchains :) what are not less pain in fact. So there is no silevr bulett :)09:43
mivoligoJim___: I'm a beginner as you are :)09:45
rpadovanibzoltan, I see that. Thanks for your time :-)09:46
Jim___~~~~I can not search helper, would you search somebody?^_^09:46
mivoligoJim___: I know Stuart Langridge did push notification stuff for his app "caxton". But he does not seam to be here atm. You can try asking on https://plus.google.com/u/0/communities/11135078027092554054909:51
Jim___ok ,thanks very much!09:55
dpmJim___, that should probably help you: https://developer.ubuntu.com/en/apps/platform/guides/push-notifications-client-guide/10:00
Jim___thank dpm but I have read it10:03
Jim___Registration: the appId and token properties  To register with the push system and start receiving notifications, set the appId property to your application's APP_ID, with or without version number. For this to succeed the user must have an Ubuntu One account configured in the device.10:25
Jim___to implement push notification client, I need register Ubuntu One account?10:26
mivoligodpm: when I got my simple app translated in Launchpad, how can I add those translations to my app?10:34
dpmmivoligo, this should give some guidance: https://wiki.ubuntu.com/Translations/LpProjectConfiguration - in summary, I recommend setting up automatic exports10:42
dpmthat'll get the .po files into your source code10:42
dpmthen it's a matter of building binary .mo files from them and shipping them in the click package10:42
dpmthe question is a bit broad, so if you tell me which step is not clear, I can expand on it10:43
dholbachhey jdstrand, how about the click-reviewers-tools upload? :)10:45
vitimitiI want to have a big column of options that can be scrolled so that all of the options are accessible. Should I use a ListView or a Flickable?10:52
mivoligodpm: thanks, I'll catch you later then, my kids want to play Minecrat now :D10:55
dpmhave fun! :-)11:06
=== MacSlow is now known as MacSlow|lunch
jdstranddholbach: I won't be ready until next week. if you want to do one now, go ahead12:09
=== _salem is now known as salem_
dholbachjdstrand, ok, thanks!12:15
dholbachjdstrand, I just felt like we had a good bunch of fixes piled up and it might be good to get it into the archive and backport it before the release etc12:15
mivoligodpm: ok, so I have some translations in Launchpad already: https://translations.launchpad.net/pop-that-wrap Now I want to add them to the app12:23
chihchunyo, anyone tried to run Android controller with ubuntu emulator? (for multi touch emulation)12:24
chihchunI found the screen is mirrored,12:25
jdstranddholbach: hold off on the upload a moment12:25
chihchunlooking into details, wonder if anyone see or fix that before12:25
* chihchun <- Rex12:25
jdstranddholbach: only the debian/changelog was updated in the mvo merge12:25
jdstranddholbach: also, I'm not comfortable with the open()12:26
dholbachjdstrand, ugh, I'm sorry - you're right12:30
dholbachjdstrand, what would you rather do instead of open()? just print out the filename?12:30
jdstrandyes please12:32
dholbachok, wfm!12:33
dholbachthanks12:35
=== MacSlow|lunch is now known as MacSlow
=== rmescandon|afk is now known as rmescandon
=== _salem is now known as salem_
=== chihchun is now known as chihchun_afk
sverzegnassipopey: hey! do we have a list of manual tests for docviewer?14:46
popeysverzegnassi: we do not! We should.14:54
sverzegnassipopey: huh, ok! I hoped to be able to steal a bit of inspiration for writing some QML test... :D14:57
sverzegnassiI'll try to write a list of what it's not covered by automatic tests during the weekend then14:57
popeyok.14:58
popeysverzegnassi: maybe just put manual tests in a plan text file in trunk?14:58
sverzegnassipopey: +114:59
popeysverzegnassi: happy to help write some.14:59
sverzegnassigreat! ATM the whole documentPage and content hub stuff have no autopilot test. same thing for command-line parser...15:02
sverzegnassii should start giving autopilot some hugs and write some test :P15:02
balloonssverzegnassi, file some bugs and tag them .. that way others can understand what you need and pitch in :-)15:05
=== _salem is now known as salem_
sverzegnassiballoons: already did! :) need to check if i forgot to file some.15:07
=== ara is now known as Guest6665
mzanettianyone knows what happened to nik90's flashback app?16:26
=== ahayzen_ is now known as ahayzen
newsageshi. hola18:43
newsagesI can make this?  "QFile saveFile(QStringLiteral("settings.json")); ".. or need Path for phablet user?18:44
foo-scriptevening :)19:11
foo-scriptGuys, QtCreator is complaining about missing chroot when I try to ssh to my phone. What are the missing packages? Cross compilatorion tools for armf?19:12
ahoneybundamn does BQ know how to sell a phone19:31
mhall119zsombi_: I want a keypress anywhere on the page to be caught, not just on certain components19:36
foo-scriptGuys, I've tried to connect by OpenSSH to my phone, but instead of bash/tsh prompt I see "Cannot find the shell"20:40
foo-scriptany ideas?20:41
=== aaron is now known as Guest26264
=== salem_ is now known as _salem
=== Guest26264 is now known as ahoneybun

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