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

=== _salem is now known as salem_
=== salem_ is now known as _salem
mblaymanhello. I am experimenting with the SDK this evening and I'm having a rather disappointing start. I've added the PPA like the install instructions indicated, but my experience with the SDK on 13.10 seems pretty broken. Is the SDK only working well on 14.04?03:14
sarnoldmblayman: I believe it is expected to work on supported desktop releases, e.g. 12.04, 12.10, 13.10, in addition to trusty03:15
mblaymanAll the Qt Creator documentation links are broken (404). It seems that the docs have move on the Digia website. Also, the "Build Something Solid" link on the Ubuntu screen links to an unknown location on the dev website.03:16
mblaymanThen I attempted to do the simplest thing possible, create a new "Simple UI" app and run it with no modifications. Even that was broken.03:16
mblaymanI certainly have no intent to be down on the project because I think the goal is awesome, but this is more than a little rough around the edges for me.03:17
mblaymanIs the best recourse to start filing bugs (if they aren't filed already)?03:18
mblaymanoh, I should add that the integrated IRC seems to be working quite well. :)03:19
sarnoldmblayman: haha, I hadn't heard about integrated irc :) that's neat03:19
mblaymanyep, coming to you live from inside of the SDK app.03:20
sarnoldmblayman: probably filing bugs is the best approach; I know that there was a very-recent overhaul of developer.ubuntu.com, I suspect they know those links are busted, but the digia links may be news03:20
mblaymanAny idea where the best place to file bugs is for this? ubuntu-sdk on lp or something like that?03:21
toartisthow can I develop a home desktop aapp for ubuntu03:22
mblaymantoartist: have you started looking at http://developer.ubuntu.com/apps/?03:25
mblaymanI believe that is supposed to be the starting point for app development on Ubuntu. It has quite a bit of information.03:25
toartistyeah,I see it.I want to develop a home application as start one.03:26
toartistlike the phtable app03:26
toartistmanager the app icons03:27
mblaymanphtable app? I'm not familiar with that. Do you have a link?03:27
sarnoldtoartist: i suspect our security policies won't allow you to replace the entirety of the shell; it probably couldn't be distributed via the ubuntu app store03:28
sarnoldtoartist: if you still want to try, I think my first try would be to fork the unity8 environment and start making changes from that03:29
toartistok,thank you,because we can do it under the android.so I want to try under ubuntu,I hope it can be allowed by office.03:59
ribonhai08:16
randomcppcan I compile an armhf binary with cmake? or do I only need a chroot to a armhf enviroement09:01
kempeanyone knows of a good example on how to fill a listview from localstorage?09:23
aquariuskempe, you may want to look at u1db, which makes that a lot, lot easier09:47
aquariuskempe, if you have some requirement why you definitely need to use LocalStorage SQL, you'll need to read and populate a ListModel yourself09:47
kempeaquarius, ok, i might look at a u1db solution but i would still like to learn how to use localstorage for to populate a listview10:03
aquariuskempe, OK -- you'll need to read the data out with SQL, iterate through it, and for each row (or whatever), construct a ListElement and .append() it to your ListModel10:13
randomcpppopey, ping10:16
popeyrandomcpp: pong10:16
nik90Good morning folks...sweet weekend ;)10:17
randomcppI'm building the click pkg for trojita, you only need to include the binary, resources are included in the executable, but does it work for you? I can't get through the account settings page10:19
popeyrandomcpp: not tried it on device10:21
popeyrandomcpp: it builds on the desktop10:21
randomcppneither did I10:21
randomcppI'm using a chroot env to build the binaries, it takes a bit of time unfortunately10:22
popeyrandomcpp: and it builds okay, against qt5?10:26
randomcppI'm only at 9%, it's building though10:27
randomcppcross building on an i3 laptop takes ages10:28
kempeaquarius, ok. thanks yeah i already have the sql functions done (load and save) it was how to use it to get it to the list i was wondering about10:31
nik90popey: Can you check the following package versions and let me know -> http://paste.ubuntu.com/7011850/10:33
popeynik90: http://paste.ubuntu.com/7015338/10:35
popeyseems i dont have qtorganizer5-eds installed10:35
nik90popey: can you install it and see if you hit the sunday bug10:36
nik90popey: we have 2 clock bugs which are blocking image promotion10:36
popeyok10:36
nik90one of them just got a fix from victor10:36
nik90so just 1 more to go10:36
popeyok, installed it and re-ran clock app, set an alarm for th,fr,sa,sun and it's set correctly10:37
popeyoh balls, not when I save10:37
popeyonly thu,fri,sat once saved10:38
nik90popey: yes!10:38
nik90popey: so EDS is again the culprit!10:38
popey10:38
popeyalso, the app segfaults when i close it10:38
nik90yup again EDS's fault10:38
popey\o/10:38
nik90renato already has a fix for the crash10:39
nik90no idea when it will land as an update though10:39
* nik90 goes to reply to didier's email10:39
aquariuskempe, I'd strongly advise you to look at u1db, though. It's a lot, lot easier :)10:55
* randomcpp wants a real computer10:55
aquariuskempe, see http://www.kryogenix.org/days/2014/01/23/a-simple-u1db-example-for-ubuntu-sdk-apps/ and http://www.kryogenix.org/days/2014/01/23/using-u1db-in-listviews-in-ubuntu-sdk-apps/10:55
aquariuskempe, and http://wordchainapp.tumblr.com/post/60178716314/using-u1db-to-store-data-in-word-chain10:55
kempeaquarius,  yeah =) i will do that when i got this working :P10:56
idebugI got something wrong when i start ubuntu-emulator.11:02
idebugemulator: Initializing hardware OpenGLES emulation support signal: aborted (core dumped)11:02
idebugand.emulator: registered 'boot-properties' qemud service em libGL error: Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be broken. emulator-arm: ../../../../src/loader/loader.c:129: asserted_dlsym: Assertion `result' failed.11:03
idebugCan somebody give me some suggestions?11:04
aquariuspopey, do I need to be on trusty to run the emulator?11:07
popeyi dont know aquarius i am on trusty11:07
aquariusfair enough :)11:07
nik90aquarius: you can run it on saucy11:09
nik90aquarius: I had it running on saucy perfectly. In fact after the upgrade to trusty, I can no longer run it due to some core dump issue :P11:09
aquariusnik90, ah, cool. Where do I get it from? :)11:09
nik90will talk to bzoltan on monday about this11:09
nik90aquarius: if you have the PPA, it should already be installed on your system.11:10
nik90check the Devices -> Emulator tab11:10
aquariusooh, so it is!11:10
aquariusthe instructions say "install the ubuntu-emulator package in trusty" :)11:10
nik90:)11:10
nik90http://developer.ubuntu.com/apps/sdk/tutorials/using-the-ubuntu-emulator/11:11
bzoltannik90: aquarius: what's up folks... anything i can do for you?11:11
nik90bzoltan: when I run the ubuntu emulator on trusty, I am getting a crash (core dumped)11:11
bzoltanaquarius: the emulator should work on saucy .. it is just horrible slow to boot and unpredictable11:12
aquariusah11:12
bzoltannik90:  you are not the only one11:12
aquariusso what you're saying is "don't run the emulator on saucy" :)11:12
nik90aquarius, bzoltan:11:12
bzoltanaquarius: I do not say that :D I say that sometimes it does not boot and if it boots it takes ages11:12
aquariusis the x86 emulator released yet, or is it still arm emulation?11:13
aquariuspopey, btw, my 404 page is meant to look like this: http://pasteboard.co/12EFtXIY.png11:14
aquariushrm. I have ~/.local/share/ubuntu-emulator but it's owned by root11:16
aquariuswhat's that all about?11:16
aquariusshould I just delete that>?11:16
popeyaquarius: uh11:16
nik90aquarius: no11:17
nik90aquarius: I had that issue11:17
nik90aquarius: just chown it to your user account11:17
nik90aquarius: then you should be able to create emulators in that folder11:17
popeyaquarius: you sure about that image?11:17
nik90dont ask me why it is owned by root11:17
aquariuspopey, yep. What's wrong with it?11:17
popeyaquarius: http://imgur.com/XJaZvD411:17
aquariuspopey, hm, maybe it didn't upload right11:18
nik90aquarius: nope, the link worked for me11:18
nik90:P11:18
nik90popey: http://imgur.com/cyIHMjR11:19
aquariusweird11:19
aquariusanyway, nik90's image is OK :)11:19
nik90inception :)11:19
popeyheh11:19
nik90aquarius: it is a known fact...software doesn't behave well with popey (take a look all the bugs he has reported)11:20
popeyIndeed, software hates me11:20
popey (ʘ∇ʘ)ク 彡 ┻━┻11:20
aquariusit is useful to have someone who breaks stuff just by standing near it available for testing ;)11:20
nik90:)11:20
aquariuspopey, anyway, now you can see the 3d-ness -- is that what it looks like for you?11:20
popeyurl?11:21
popeyno11:21
aquariushttp://imgur.com/cyIHMjR11:21
popeyoh, yes11:21
popeyit takes a while11:21
aquariusthat's what it's supposed to look like :)11:21
aquariusyeah, it shows up flat first, and then flips11:22
aquariusyou're supposed to go: ooooooo, 3d :)11:22
* popey goes "oooooo, 3d" as commanded11:22
aquariusYou are, I feel, less impressed than you were supposed to be :)11:22
* aquarius starts the emulator11:27
aquariushow can I know if it's doing anything? It's just an Edge with a black screen at the moment11:28
aquariusah, the Log tab is quite chatty11:28
aquariusI see what bzoltan means about it taking a long time to start up, now11:28
aquariusthis is using qemu to be an arm emulator, right? Can I run the x86 emulator, or is it not out yet?11:29
nik90I dont think x86 emulator is out yet11:29
nik90only the first time is slow11:29
aquariusah, OK11:29
nik90subsequent starts are better11:30
popeythere is a demo of the x86 one11:30
nik90popey: If you have an alarm that rings only during weekday, would you recommend it says "Every weekday" or "Every Mon, Tue, wed...Fri"11:30
popeyhttps://plus.google.com/u/0/100264483712374857174/posts/1u7HSYjF2He11:30
popeyweekday imo11:31
nik90popey: also what should it say for the weekend?11:31
popey"Weekends only"11:31
nik90popey: awesome11:31
aquariusGoogle Calendar says "Every weekday (Monday to Friday)"11:31
bzoltanaquarius: the x86 image is coming in days ... or weeks11:31
aquariusiOS doesn't let you make an every weekday alarm in one push: you just get "every monday, every tuesday, every wednesday, ..." as separate options and have to tick five of them11:33
popeyyes11:33
aquariusbzoltan, ah, OK. That'll be cool when it happens :)11:33
popeybut when it displays it it doesn't list the days does it11:33
nik90okay11:34
aquariusinterestingly, if you have ticked MTWTF, it says "Alarm, weekdays" when displaying that alarm11:34
aquariusso iOS knows that MTWTF are the weekdays, but it won't let you set a weekdays alarm with one tick11:34
nik90yeah it would be cool to have an option that ticks all weekdays or weekends..11:34
aquariushrm! the emulator Log tab now has "ubuntu-phablet login:" at the end of it ;)11:35
aquariusand the displayed emulator screen is black11:35
popeyyeah, leave it11:35
aquariusis this it not working?11:35
popeybe patient11:35
aquariusoh, it hasn't finished starting up yet? ok11:35
popeyif you've already been patient, be more patient11:35
nik90wait it will continue logging in etc11:35
nik90it is working11:35
aquariussome sort of "not ready yet" thingy would be nice :)11:36
nik90well the x86 emulator will be much faster11:36
popey"File a bug" ☻11:36
nik90so why work on a temp "not ready yet" thing11:36
aquariuspopey, I'm trying to, but I can't work out where11:37
aquariusubuntu-bug doesn't work for things in PPAs :(11:37
popeyyou on trusty?11:37
aquariussaucy11:37
nik90aquarius: which is why you upgrade to trusty :P11:37
popeyubuntu-emulator package, surely?11:37
nik90I asked the same question and got that response :D11:37
popeyhttps://bugs.launchpad.net/ubuntu/+source/phablet-tools11:38
popey?11:38
aquariushttps://code.launchpad.net/~phablet-team/phablet-tools/ubuntu-emulator, if I say Bugs, says "Phablet Tools must be configured in order for Launchpad to forward bugs to the project's developers."11:38
popeyits in the repo11:39
popeyso  https://bugs.launchpad.net/ubuntu/+source/phablet-tools11:39
aquariusok.11:39
aquariushow confusing :(11:39
=== nik90 is now known as nik|muffin-shopp
popey11:40
aquariushttps://bugs.launchpad.net/ubuntu/+source/phablet-tools/+bug/1286513 filed.11:41
ubot2`Launchpad bug 1286513 in phablet-tools (Ubuntu) "No indication that the emulator is still starting up" [Undecided,New]11:41
* aquarius continues to be patient11:42
aquariusI am not good at this :)11:42
bzoltanaquarius:  practice my friend, practice :D11:44
* aquarius tries looking away from the emulator and then quickly looking back to see if it changed11:45
bzoltanaquarius: our SDK is supersmart ... you can ask on the IRC if your emulator is up or not.11:47
bzoltanaquarius: I can tell you that not yet11:47
ogra_aquarius, the x86 emulator is nearly there ... that runs a lot faster ... patience :)11:48
popeyyeah, the x86 one is stupid fast compared to the arm one11:53
popey(or glass-half-empty, the arm one is stupid-slow)11:54
aquariusyou guys weren't kidding when you said it takes a long time. That's now half an hour and it still ain't started yet :)11:57
bzoltanaquarius: and it is not impossible that it is stuck12:01
aquariushow can I know?12:02
bzoltanaquarius:  one can not know that ...12:03
bzoltanaquarius: try to check with adb if it become available ... and kill it after few hours12:04
aquariusadb devices shows nothing :)12:18
randomcpphow can I turn off haptic feedback?12:31
popeygood question, probably a dconf setting12:33
encompassI get the following error and I am confused about it. "Cannot create cordova object" is this something I need to worry about? I am making an html5 app12:35
encompassDoes QT creator have zen coding support?12:38
encompassI also get this error: Xlib:  extension "NV-GLX" missing on display ":0". When trying to run the camera tutorial12:45
bzoltanaquarius:  the other good hint is to startthe emulator from terminal and see what it puts there ... the QtC eats all th eoutput12:47
aquariusbzoltan, how do I do that?12:48
encompasssigh. :) https://melodigram.com/gram/W8zcew3P7L4xxF6rKDHtMP12:48
encompasssigh. :) http://melodigram.com/gram/W8zcew3P7L4xxF6rKDHtMP12:49
aquariusah, ubuntu-emulator --help is helpful :)12:50
aquariusexcellent. running the emulator from the terminal works.12:56
encompassaquarius: is this an emulator for just ubuntu touch so we can run our apps in it?12:58
aquariusencompass, yep. See https://wiki.ubuntu.com/Touch/Emulator12:58
justCarakasis there a unified way to clear an input field ?12:59
aquariusit's being worked on quite heavily at the moment -- in particular, at the moment it emulates arm (which you need, if you are compiling a binary for your app, of course) but there's an x86 one on the way which should be way, way fast because it doesn't need to emulate :)12:59
aquariusjustCarakas, myinputfield.text = ""13:00
justCarakasI meen like a button or something13:00
encompassaquarius: thanks13:00
aquariusjustCarakas, if you're using Ubuntu.COmponents, then a TextField should automatically have a "clear" button on the right hand side of it13:01
justCarakasIm writing an HTML5 app and I don't realy see it there13:02
aquariusjustCarakas, ah. HTML5 apps may not have a clear button13:03
aquariusjustCarakas, sorry, I didn't realise you were using HTML5 rather than QML.13:03
justCarakasaquarius, okidoki, so I can use a normal button for that ?13:03
aquariusjustCarakas, yeah, you can just add a normal button to clear it13:04
justCarakasaquarius, no problem, I forgot to mention it :)13:04
aquariusor with some semi-clever CSS, you can make it look like the button's inside the field13:04
justCarakasaquarius, thx :)13:04
aquariusjustCarakas, http://jsbin.com/jegeyuti/1/edit or similar.13:05
aquariusyou'll want to tweak the look of it, and I just stole that from a stackoverflow question, but it's relatively easy to do :)13:05
justCarakasaquarius, thx :)13:07
encompassDoes the html5 camera tutorial work with the standard F5(run) button?13:28
JoshStroblHey guys, is there a way to get the Ubuntu "SDK" (Qt Creator + plugins) on other Linux distributions, more specifically Arch (checked AUR and didn't see anything) or will I need to jump over to Ubuntu (no issues with that, just need to know). Going to be participating in the Ubuntu App Developer Showdown.15:16
aquariusJoshStrobl, you'll certainly find it easiest to get it on Ubuntu. I don't think anyone's done much work making it available on Linux distributions -- it's certainly possible to do, but I think if you get into that you'll likely be helping to forge that ground. That's a good thing to do, big-picture-wise, but you may want to make apps rather than port the SDK :)15:17
JoshStroblThanks for letting me know aquarius. I'm not going to dedicate the time to porting the SDK, since I want to be able to spend the time developing the backend infrastructure (APIs and such) that'll be utilized by the Ubuntu Touch App. I think it'd be faster for me to switch from Arch to Ubuntu.15:19
aquariusJoshStrobl, I'd agree with that assessment, I think :)15:20
JoshStroblWorks out anyways since I was planning on going with 14.04 on launch and currently maintain an Ubuntu Juju Charm for my open source DB system. The tools are simply more easily available and accessible on Ubuntu.15:23
aquarius*nod*15:23
aquariusI shall upgrade to 14.04 when it's released, too15:24
JoshStroblHave a great day aquarius, I shall be off to back up files on Arch and jump to Ubuntu.15:24
JoshStroblGood man *high fives aquarius*15:24
aquariusJoshStrobl, have fun -- welcome to the show that never ends :)15:24
=== nik|muffin-shopp is now known as nik90
randomcppcan any autopilot expert help me a second?15:44
randomcpphow can I select a page instead of a tab?16:05
randomcppIn my mainView I have a PageStack { Tabs { Tab {} Tab {} ...}}16:05
randomcppnik90, Flashback is awesome!!16:12
randomcppok solved16:36
nik90randomcpp: thnx :)16:39
randomcppit's my favorite app now!16:39
randomcppnik90, I'm writing autopilot tests for saucybacon finally :D16:43
nik90:D16:43
randomcppdo you know how to wait until a component shows up? (for example a result of a search) and then select it?16:45
nik90randomcpp: you can wait for the the listview count to be more than a certain number perhaps?16:45
randomcppyeah exactly16:46
nik90randomcpp: in autopilot you do that by using self.assertThat(.... Eventually(Equals(count + 10)))16:46
nik90Eventually will wait until the condition is met for a few seconds16:46
randomcppok thank you!16:46
nik90check out the clock app ap tests when you get stuck16:47
nik90we did a massive cleanup and not it is up to the standards of the QA team16:47
nik90s/not/now16:47
carakasis localstorage sandboxed per app ?17:08
nik90carakas: yes17:09
popeyIt certainly gets nicely busy here on the weekends17:26
vishalvicky17:30
encompassWhen I try to run the camera html5 tutorial I get the following: Invalid message received: {"messageType":"callPluginFunction","plugin":"com.cordova.Device","func":"getInfo","params":[2,3]}19:05
encompassAny ideas into this?19:05
encompassThe camera never shows.19:05
asdffdsaWhen I'm using an OptionSelector with a ListModel delegate, is there a way to access a property of the selected ListItem?19:47
asdffdsaMy ListModel's ListElement has a variable named "filename" that represents the path to a music file.  When I press a button I would like to have QtMultimedia play whatever file is selected in the OptionSelector19:51
asdffdsaI'm currently using "sound.Source = soundChoice.selected.filename", but that's not right.  I suspect that there's a QML way to do this that I just haven't thought of19:54
justcarakasIm having some problems with Lists in an HTML5 app. UI.list("#locations").setHeader("Recente locaties"); somehow this doesn't work does anyone got an idea why ? I'm not getting errors20:31
asdffdsajustcarakas: There hasn't been any activity here for the last hour, just FYI.  I suspect it's because it's nighttime in Europe.20:43
justcarakasokey, I found out why, there is a fault in the function. I have a fix for it how can I pass that fix on ?20:48
asdffdsajustcarakas: no idea.  Good luck though!20:49
asdffdsaTo rephrase my problem: I want my QTMultimedia Audio component to have it's source be whatever element is selected in an OptionSelector that uses an OptionSelectorDelegate.21:12
asdffdsaMy current solution is "source: optionselector.selectedindex.filename" does not work.21:13
snipesHey i'm trying to run through the ubuntu dev CurrencyConverter tutorial.  I had that issue where the ubuntu template wasn't showing up and had to tell qt creator where the qmake file was.  Now I am just trying to run the copy and pasted qml, but build->run is blacked out and I'm not sure why.. Any ideas?21:41
=== jackson is now known as Guest95629
=== Guest95629 is now known as Noskcaj
rpadovaniHow can I use a XmlListModel in a OptionSelector?23:22
rpadovaninevermind, found it23:24

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