UbuntuIRC / 2014 /12 /03 /#ubuntu-app-devel.txt
niansa
Initial commit
4aa5fce
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
[08:14] <dholbach> good morning
[08:18] <justCarakas> Good morning all :)
[08:27] <cor3ntin> Hello. Is there someone from canonical here ? I had a few question about my apps, and no one seems to monitor the "feedback" tab these days.
[08:50] <rpadovani> cor3ntin, you can ask to mhall119 or popey
[08:51] <cor3ntin> rpadovani> thanks !
[08:51] <rpadovani> yw
[09:05] <deshack> rpadovani: o/
[09:05] <rpadovani> \o
=== rmescandon is now known as rmescandon|brb
[09:25] <uglyandstupid> hello
[09:28] <uglyandstupid> i'm using FontLoader (loging the onStatusChanged) to load some otf fonts and then assigning Text font.family = fontID.name, the issues are that the OnStatusChanged never change .. and also the font is not loaded, any insights please ?
[09:38] <dholbach> hey DanChapman
[09:39] <dholbach> DanChapman, somebody asked in the Ubuntu on Air show yesterday for a dekko daily build for the desktop
[09:39] <dholbach> in my local build I get:
[09:39] <dholbach> ....qml/AccountsView/AccountsPage.qml:41: ReferenceError: imapPasswordWatcher is not defined
[09:40] <dholbach> is there a file missing in the branch somewhere?
[09:41] <DanChapman> dholbach: hey there! oh great... well there is no debian packaging atm, i presume that will be needed. That error is correct for trunk we are making some rather intrusive changes atm which has broken pretty much everything :-D lp:dekko/0.3 is the stable branch
[09:42] <dholbach> ok... so I should set up a daily build for 0.3 rather?
[09:42] <dholbach> ... for now
[09:42] <uglyandstupid> anyone for my FontLoader issue please ? :(
[09:43] <dholbach> DanChapman, ok... I'll set it up for 0.3 for now - let me know when to switch over
[09:44] <DanChapman> dholbach: yeah for now i would advise to use 0.3. In the next week or so trunk should be working again :-)
[09:44] <dholbach> ok
=== chihchun is now known as chihchun_afk
[09:50] <JamesTait> Good morning all; happy Make A Gift Day! :-D
[09:58] <uglyandstupid> can anyone review me what i'm doing wrong please http://pastebin.com/iW7V7cjM still unable to understand why my font is not loaded and why the FontLoader does not raise the onStatusChanged :(
[10:10] <thecosmicfrog> Anyone ever come across this error with Ubuntu Emulator?
[10:10] <thecosmicfrog> https://bugs.launchpad.net/ubuntu/+source/phablet-tools/+bug/1398755
[10:10] <ubot5> Launchpad bug 1398755 in phablet-tools (Ubuntu) "Error when running Ubuntu emulator -- fork/exec /usr/share/android/emulator/out/host/linux-x86/bin/emulator: no such file or directory" [Undecided,New]
[10:12] <dholbach> DanChapman, popey: I added it to https://code.launchpad.net/~ubuntu-touch-coreapps-drivers/+archive/ubuntu/daily
[10:13] <dholbach> it built and is installable and runs, but seems to have some problems on the desktop
[10:13] <dholbach> I can't configure an account
[10:13] <dholbach> shall I file a bug about this?
[10:13] <DanChapman> dholbach: hmm that's odd. Yes please :-)
[10:16] <dholbach> DanChapman, https://bugs.launchpad.net/dekko/+bug/1398761
[10:16] <ubot5> Launchpad bug 1398761 in dekko "[desktop] can't configure an account" [Undecided,New]
[10:16] <dholbach> maybe something's wrong with how the package was built - I can't rule that out :)
[10:20] <DanChapman> dholbach: ouch!!! how has that happened, the AccountsManager and the New accounts page you mention is from the 0.4 branch (lp:dekko). Looking at lp:dekko/0.3 it's definately not in there
[10:21] <dholbach> bizarre
[10:28] <dholbach> ok, let me try to build dekko/0.3 from source again to see if it happens there
[10:31] <mzanetti> dpm: hey ho
[10:31] <mzanetti> dpm: I'm a bit confused about reminders. seems LP status is set to fix released for the new edit mode, but I don't get it as upgrade
[10:35] <dholbach> DanChapman, my mistake
[10:35] <DanChapman> dholbach: ahh ok... i was just building it locally to test myself :-D
[10:36] <dpm> mzanetti, o/
[10:37] <dpm> mzanetti, if the Fix Released status was set automatically, it's probably because of the package upload that happened last week
[10:37] <mzanetti> dpm: but? still waiting in the review queue?
[10:39] <dpm> mzanetti, I think LP sets the status once the upload has happened? dholbach, do you know how LP sets bugs to Fix Released after a package upload? How does that work, do they need to have been in the archive already for it to happen?
[10:40] <dholbach> dpm: the Debian changelog entry needs to include somethiung like "LP: #123456"
[10:40] <ubot5> Launchpad bug 123456 in xine-lib (Ubuntu) "podcast crashes amarok" [Undecided,Fix released] https://launchpad.net/bugs/123456
[10:40] <dholbach> dpm, and it needs to an upload to the archive, yes - the bug also needs to have an Ubuntu task for the specific project
[10:40] <dpm> thanks dholbach
[10:47] <mzanetti> dpm: I see... so nothing to do with the click packaging actually
[10:49] <dpm> mzanetti, no, we generally set the status to Fix Released manually after a store upload, but the .deb upload kind of wrought havoc to our statuses
[11:00] <dholbach> DanChapman, the daily build works now - sorry for the noise
[11:04] <DanChapman> dholbach: that's cool... you had me worried, i thought i'd screwed up the branches :-)
[11:06] <dholbach> jdstrand, can you take a look at https://bugs.launchpad.net/click-reviewers-tools/+bug/1395204 and let me know if I assume things correctly?
[11:06] <ubot5> Launchpad bug 1395204 in Canonical Click Reviewers tools "Click review rejects multi-arch clicks" [High,New]
=== _salem is now known as salem_
[11:39] <dholbach> DanChapman, I'm seeing this now:
[11:39] <dholbach> File: qml/MessageView/MultipartAlternativeWidget.qml does not exist at any of the standard paths!
[11:40] <dholbach> weird, it gets installed into /usr/share/dekko/qml/MessageView/MultipartAlternativeWidget.qml though
[11:40] <DanChapman> dholbach: yeah i just found that https://bugs.launchpad.net/dekko/+bug/1398784
[11:40] <ubot5> Launchpad bug 1398784 in dekko "[Desktop] Cannot view message. Unable to find <mimetype>.qml files" [High,Confirmed]
[11:41] <DanChapman> which is odd as it can find main.qml in that same directory. I'm looking into it now
[11:41] <dholbach> awesome, thanks
[11:42] <DanChapman> dholbach: ahh right i probably need to update the install stuff in the Cmake file.
[11:42] <dholbach> yeah, that could be
[11:57] <pindonga> jdstrand, ping
[11:58] <pindonga> jdstrand, did you see the mp I submitted for c-r-t? dholbach merged it, but I just wanted to know if you were ok with it
[12:00] <dholbach> jdstrand, it was a complete revert
[12:26] <mivoligo> mzanetti: ping
[12:27] <mzanetti> mivoligo: hey ho
[12:27] <mivoligo> mzanetti: see in the drive folder
[12:27] * mzanetti looks
[12:29] <mzanetti> mivoligo: interesting
[12:29] <mivoligo> mzanetti: image in the middle is the "info page" surrounded by modal dialogs when someone clicks an option
[12:29] <mzanetti> yeah
[12:30] <mivoligo> mzanetti: there will be icons in the ubuntu shapes
[12:30] <mzanetti> mivoligo: I guess I would move the how to play away and create a tutorial level pack with just one or two levels, where we just paint some additional text into the existing levels
[12:31] <mzanetti> like this:
[12:31] <mzanetti> 1) Select a field (with an arrow pointing to some field next to the path)
[12:31] <mzanetti> 2) select a tower (with an arrow pointing to the first tower
[12:32] <mzanetti> 3) prevent enemies to reach the hear (with an arrow pointing to the heart)
[12:32] <mivoligo> mzanetti: ok, I get it :)
[12:32] <mzanetti> also, we could merge contact and review
[12:32] <mzanetti> so we'd have an even number of entries in that screen again
[12:33] <mzanetti> maybe call it "Feedback" with info on where to report bugs, how to review it in the store etc
[12:34] <mivoligo> mzanetti: I was thinking of duplicating the level selection layout to have it easier :)
[12:35] <mzanetti> don't worry from the code point of view... I can still reuse it. it's just 2 numbers to configure that for a different amount of rows and columns
[12:36] <mivoligo> mzanetti: ok then, so we go for four :)
[12:36] <mzanetti> less icons to paint for you :)
[12:39] <mivoligo> mzanetti: I was thinking of putting padlocks like in the level selection and unlock it when player clicked on previous option but it might be too far fetched :D
[12:39] <mzanetti> mivoligo: nah... don't want people to read the license before they can see the donate button :D
[12:39] <mivoligo> :P
[12:42] <mivoligo> mzanetti: ok, so I guess I don't need to redo that image, just the icons, right?
[12:42] <mzanetti> mivoligo: sure
[12:44] <mivoligo> mzanetti: I'll send them to the drive, although it had problem with reading svg I sent before
[12:46] <mzanetti> mivoligo: you can MP them against m-vs-m too
[12:46] <mzanetti> just put them into the app/graphics/ folder
[12:47] <mivoligo> mzanetti: ok
[12:50] <osfast> hi im new in developing qt apps, anny suggestions on good tutorials? i have some experience with .net (yes i feel ashamed) but i could use a (virtual)tutor
[12:52] <jdstrand> pindonga: change looked fine, thanks
[12:52] <jdstrand> dholbach: ^
[12:53] <pindonga> jdstrand, dholbach thx
[12:53] <pindonga> I'm going to deploy this to prod today hopefully
[12:54] <pindonga> jdstrand, I understand you have changes coming to c-r-t soon
[12:54] <pindonga> pls let me know when they land so that I can get them to prod
[12:54] <jdstrand> dholbach: as for the bug, I will be looking at crt and specifically this area for something else either today or tomorrow
[12:54] <jdstrand> dholbach: I'll assign it to myself if you are ok with that
[13:21] <dholbach> jdstrand, sure sure
[13:23] <thecosmicfrog> Anyone able to help me with this Ubuntu Emulator issue?: https://bugs.launchpad.net/ubuntu/+source/phablet-tools/+bug/1398755
[13:23] <ubot5> Launchpad bug 1398755 in phablet-tools (Ubuntu) "Error when running Ubuntu emulator -- fork/exec /usr/share/android/emulator/out/host/linux-x86/bin/emulator: no such file or directory" [Undecided,New]
=== rmescandon is now known as rmescandon|lunch
[13:52] <rpadovani> Hey, I have some problems with U1db, it's the first time I use it so maybe I'm doing something wrong. I use it as model for a listview, doing model: database
[13:52] <rpadovani> But when I delete a document, it doesn't disappear from the model
[13:52] <rpadovani> I do the delete doing Database.deleteDoc(docId);
[13:52] <rpadovani> so, the content of document is deleted, but not the document itself
[13:53] <rpadovani> Then I have errors in the listview, of course, like Unable to assign [undefined] to QString
[13:53] <rpadovani> I know how to do a workaround, but it's a strange behavior
[13:54] <popey> kalikiana: ^^ do you?
[13:55] <kalikiana> rpadovani: can you paste some code?
[13:56] <rpadovani> kalikiana, http://paste.ubuntu.com/9354822/
[13:57] <rpadovani> kalikiana, ignore how bad is createCalc, I have some questions also about it, but later. Thanks for your availability :-)
[13:59] <kalikiana> rpadovani: that's… creative…code. why are you making your life hard?
[14:00] <kalikiana> rpadovani: there's no ListView
[14:00] <rpadovani> kalikiana, oh, sorry, this is the listview
[14:00] <rpadovani> http://paste.ubuntu.com/9354841/
[14:01] <rpadovani> kalikiana, ok, let me explain what I need, I'm sure there is a best solution: I need to save calcs from the calculator, and displays them from the last done to the first one, so I need the first element of the model is the last one inserted
[14:05] <Leha-Petuh> PSHH-PSHH
[14:06] <kalikiana> rpadovani: you can use SortFilterModel to sort by docId ie sort.property: "docId"
[14:06] <kalikiana> that should work
[14:06] <rpadovani> kalikiana, nope, because docId is a string, so 10>2
[14:06] <rpadovani> *2>10
[14:07] <kalikiana> rpadovani: you can sort in reverse order also
[14:10] <kalikiana> assuming you're intersting docId's with an incrementing number, as your code implies
[14:14] <rpadovani> kalikiana, yes, that works, thanks
[14:14] <rpadovani> But doesn't fix the problem with the deleteDoc
[14:15] <kalikiana> oh that's why you have visible: contents.calc != undefined
[14:17] <kalikiana> hold on, I'm checking sth
[14:33] <kalikiana> rpadovani: hrm, there's definitely something off, I'm still trying to figure out what it is that makes it break - other code I'm looking at just works flawlessly
[14:33] <kalikiana> lemme get some tea and I'll ponder a bit over this
[14:34] <rpadovani> kalikiana, ok, I push the code on a branch meanwhile, so you can have an idea on that
[14:39] <rpadovani> kalikiana, https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/history
[14:41] <cor3ntin> what should be the debian/changelog's distribution field for a proprietary app deployed through ubuntu sofware center ?
=== rmescandon|lunch is now known as rmescandon
[15:23] <kalikiana> rpadovani: I'm so blind… the issue is obvious: you're using Database. Which unlike Query doesn't filter out deleted docs
[15:24] <rpadovani> kalikiana, oh, I see, thanks, I'll read doc for query
[15:25] <kalikiana> rpadovani: long story short, Database being a model is a bit of a hassle because it behaves different to Query and has almost no features, and behaviors like this are inherently different
[15:25] <rpadovani> kalikiana, well, I use it to be sure to create always new index, and then I'll use query to expose data to the listview
[15:27] <rpadovani> kalikiana, thanks :-)
[15:27] <kalikiana> rpadovani: you don't even need Database to create docs, having Document in QML and giving it a new docId is all you need ;-)
[15:27] <kalikiana> so all that qml in strings stuff can go away
[15:28] <rpadovani> interesting!
[15:29] <rpadovani> kalikiana, there is docs about that?
[15:29] <kalikiana> rpadovani: http://developer.ubuntu.com/api/qml/sdk-14.04/U1db.Document/
[15:29] <kalikiana> like this? :-D
[15:30] <rpadovani> kalikiana, mhh, it is what I was looking, I didn't see something about using only document, I'll read again :-)
[15:31] <kalikiana> rpadovani: if you feel it needs clarification I'd appreciate your input; as you know, developers always know everything and don't always see what's missing…
=== chihchun_afk is now known as chihchun
[15:48] <rpadovani> kalikiana, aha, easy enough, I tried this morning but didn't work, but I did something wrong for sure, because now works well and code is definitely better.. thanks :-)
[15:50] <rpadovani> kalikiana, anyway, seems here a lot of chapters are missing http://developer.ubuntu.com/api/qml/sdk-14.10/U1db.concepts/
[15:51] <kalikiana> rpadovani: that's just a list :-D
[15:52] <rpadovani> aha :D
[15:54] <rpadovani> kalikiana, sorry to bother you on all that, but is all new for me. What't expression and name in Index? The doc seems a bit obscure on that...
[15:54] <rpadovani> http://developer.ubuntu.com/api/qml/sdk-14.10/U1db.Index/
[16:00] <viejotren> Hi, I'm modifying the pagehader logo and art images file in my scope, after rebuild the project i don't get any of them, they have the same dimensions of the oiriginal ones from the template
[16:01] <viejotren> do you have any suggestions in order to get them in the emu?
[16:10] <kalikiana> rpadovani: there's a more complete example here http://developer.ubuntu.com/api/qml/sdk-14.10/U1db.Query/ , "color" here is a field in the document
[16:10] <kalikiana> I guess it might be nice to add example documents there for clarity
[16:10] <rpadovani> kalikiana, and the name could be whatever I want?
[16:12] <kalikiana> rpadovani: another example http://bazaar.launchpad.net/~uonedb-qt/u1db-qt/trunk/view/head:/examples/bookmarks/bookmarks.qml
[16:12] <kalikiana> check out the queries at the bottom, that are set when you pick a different option
[16:12] <kalikiana> rpadovani: name is completely up to you
[16:14] <rpadovani> kalikiana, I think I get it, thanks. What I could do with name field? Why I need it?
[16:16] <kalikiana> rpadovani: let's put it this way, right now it's not strictly needed due to code changes - it may or may not be used in the future when sync is supported
[16:16] <kalikiana> so you could leave it out for now
[16:17] <kalikiana> rpadovani: the background is that the original design of u1db in python stores the indices on disk; the QML version keeps it in memory all the time
=== pindonga is now known as pindonga-lunch
[16:17] <rpadovani> kalikiana, oh I see, thanks for the explanation!
[16:19] <kalikiana> we had a bit of a heated argument around that at one point, opinions on which is faster on a phone etc. :-P
[16:38] <mihir> rpadovani: ping
[16:40] <rpadovani> mihir, pong
[16:41] <mihir> rpadovani: i commented on that.
[16:41] <mihir> rpadovani: you implemented db , just needed information i can see yu have stored only two fields.
[16:41] <mihir> calc and result , do we need time too ?
[16:43] <rpadovani> mihir, yes, and favourites too, but I think we can implement ongoing, no need to modify anything
[16:43] <mihir> Hmmm rpadovani okay great :)
[16:43] <mihir> i thought in u1db we need field.
[16:44] <rpadovani> mihir, it's automagically, you set the field in the document itself, the olds remain undefined
[16:45] <mihir> rpadovani: excellent thanks for info :)
[16:45] <mihir> i'll test more and approve it, thanks.
[16:45] <rpadovani> thanks to you :-)
=== pindonga-lunch is now known as pindonga
=== salem_ is now known as _salem
=== chihchun is now known as chihchun_afk
=== _salem is now known as salem_
[18:36] <DS-McGuire> Hello, does anyone know how to change the background image in HTML5 in the sdk?
[18:54] <thecosmicfrog> Hi. When running my app on the Ubuntu Emulator, it crashes immediately and I get this output in the SDK: Sdk-Launcher> Received a failed event
[18:55] <thecosmicfrog> Can someone help me figure out what this failed event is? Or how I debug it further?
[18:55] <bzoltan> thecosmicfrog: the most generic mistake is to use the wrong framework for the. I would check the manifest file. What channel the emulator was made from?
[18:56] <bzoltan> thecosmicfrog: usually the application output window or the Issues show at least a warning about the possible problems
[18:57] <thecosmicfrog> bzoltan - Ah, I see in my manifest I have ubuntu-sdk-14.04-qml-dev1 while the emulator is from 14.10-dev
[18:57] <thecosmicfrog> What is the correct value I should have in my manifest?
[19:03] <thecosmicfrog> bzoltan: Okay, found this spreadsheet of supported frameworks: http://goo.gl/sL0oKU
[19:04] <thecosmicfrog> Updated mine to "ubuntu-dev-14.10" and changed my policy version to 1.2. Now I'm getting Sdk-Launcher> Installing application ..... Sdk-Launcher> Installing the application failed
[19:08] <thecosmicfrog> bzoltan: Okay, regen'd my manifest file in Qt Creator. It set my framework to "ubuntu-sdk-14.10-qml-dev3" but now back to square one. --- Debug-helper> Executing /usr/bin/qmlscene['/usr/bin/qmlscene', '$@', 'DublinWheels.qml'] Sdk-Launcher> Received a failed event Sdk-Launcher> The Application exited, cleaning up Sdk-Launcher> Finished
[19:08] <thecosmicfrog> I don't mind so much the app is crashing, more so that I have no good errors being output.
[19:24] <davmor2> charles, nik90: on manta on devel proposed it looks like alarms at not setting, clock seems to be correct from a gui point of view but the alarm notification never seems to arrive in the datetime-indicator
[19:42] <nik90_> davmor2: does manta get updated as frequently as mako?
[19:42] <davmor2> nik90_: yeap
[19:43] <nik90_> davmor2: we had this issue reported against eds long time back and it got fixed by Renato.
[19:45] <davmor2> ogra_: manta is show bugs from previous builds that have been fixed else where it isn't likely to of lagged behind is it?
[19:46] <nik90_> davmor2: the fix is atleast 3 months old if that helps
[19:46] <davmor2> nik90_: this is an image from like 2 days ago
[19:47] <nik90_> davmor2: devel proposed meaning vivid?
[19:47] <davmor2> nik90_: indeed
[20:08] <bzoltan> thecosmicfrog: I would stick to the basic ubuntu-sdk-14.10
[20:08] <bzoltan> thecosmicfrog: ahh.. you figured that, good
[20:09] <bzoltan> thecosmicfrog: if you share the branch of your project I promise I will look at it in the morning. At 10pm I am not the sharpest :)
[20:10] <thecosmicfrog> bzoltan: Can do! Cheers :)
[20:10] <thecosmicfrog> bzoltan: https://www.github.com/thecosmicfrog/DublinWheels
[20:11] <thecosmicfrog> bzoltan: It's missing the manifest file in GitHub but everything else should be there.
=== salem_ is now known as _salem
[20:38] <mivoligo1> mzanetti: I've just added the icons and MPed :)
[20:38] <mzanetti> mivoligo1: awesome. will look in a minute
[20:39] <mivoligo1> mzanetti: take your time ;)
[20:56] <ogra_> davmor2, not that ii know of
[20:58] <ogra_> all bits (rootfs,device and custom tarball) match mako
[21:03] <mzanetti> mivoligo1: merged
[21:03] <mzanetti> I'll add that dialog the next days
[21:04] <mivoligo1> mzanetti: meanwhile I'll try to do the paths
[21:04] <mzanetti> cool
[21:05] <mivoligo1> mzanetti: btw, are you planning to release the game for other platforms like SailfishOS for example?
[21:06] <mzanetti> I'd definitely welcome any ports, but chances are low that I'm doing it myself
[21:47] <DS-McGuire> Hello, does anyone know how to change the background image in HTML5 in the sdk