/srv/irclogs.ubuntu.com/2013/08/08/#ubuntu-app-devel.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
AskUbuntuI cannot install ubuntu-sdk | http://askubuntu.com/q/33002506:09
mihir_Good Morning :)06:10
optimusprimemmorning06:16
dholbachgood morning06:57
dpmmorning dholbach07:07
dholbachhey dpm07:07
dpmmorning mihir_ and all07:07
mihir_dpm: Morning :)07:10
oSoMoNgusch: good morning07:14
guschoSoMoN: hi07:14
oSoMoNgusch: have you seen the e-mail I sent last night?07:15
guschoSoMoN: have you seen the reply? ;)07:15
oSoMoNgusch: huh, just seen the "fix committed" notification, that was fast :)07:15
guschoSoMoN: yep - thanks to your review yesterday ;)07:16
oSoMoNgusch: man, I watched the screencast and I didn’t notice the toolbar was not being closed, I should have known that this was the issue your MR fixed07:18
guschoSoMoN: no worries07:19
guschoSoMoN: but if you want to, you can check https://code.launchpad.net/~schwann/gallery-app/gallery-uitk-emulators/+merge/17833007:20
guschoSoMoN: there I started to switch to use the UITK emulators07:21
oSoMoNgusch: yeah, I’ll have a look at it in a moment07:21
guschoSoMoN: for revealing the toolbar, and some first toolbar button usage07:21
nik90renato_: ping, can you take a quick look at my dynamic stopwatch loader branch at https://code.launchpad.net/~nik90/ubuntu-clock-app/dynamic-stopwatch-loader and let me know what I am doing wrong. For some reason the loaded page is not following the anchor definitions.07:43
dpmnik90, I think renato_ won't be up for a few hours still08:03
dpm(and good morning :)08:03
nik90dpm: good morning :)08:03
nik90dpm: yeah I just left a message when he wakes up08:03
dpmok cool08:04
JamesTaitGood morning all, happy Happiness Happens Day! :-D08:50
AskUbuntuThrer is an error in quick-animation.html | http://askubuntu.com/q/33006008:59
=== hunger_ is now known as hunger
arashbmI have a ListModel with an objectId role (integer and unique). I want to query the model to find other properties of an element with a specific objectId. How can I do that?09:52
oSoMoNgusch: I commented on https://code.launchpad.net/~schwann/gallery-app/gallery-uitk-emulators/+merge/17833009:54
oSoMoNarashbm: afaik ListModel doesn’t allow dictionary-like lookups, so you’ll have to iterate over all the items in the model to find the one you’re interested in09:55
guschoSoMoN: thx09:56
oSoMoNgusch: other than those two suggestions, the code looks good to me, if you address them I’ll be happy to approve09:56
guschoSoMoN: I'll work on those - thanks for the hints09:57
arashbmoSoMoN: Thanks!09:57
arashbmIs there a sane way to work with local storage? like an ORM or something? I tried google but couldn't find any.09:57
oSoMoNarashbm: other than http://qt-project.org/doc/qt-5.0/qtquick/qmlmodule-qtquick-localstorage2-qtquick-localstorage-2.html, I don’t know09:59
guschoSoMoN: pushed an update for https://code.launchpad.net/~schwann/gallery-app/gallery-uitk-emulators/+merge/17833010:28
oSoMoNgusch: looks good, let’s wait for jenkins to run CI on it, then I’ll run the tests on a device and approve10:31
guschoSoMoN: thx10:31
=== gusch is now known as gusch|lunch
_5m0k3Could somebody point me to an example project that uses qmlregistertype to register c++ classes10:44
dpmMirv, any ideas why this developer might be experiencing that? -> http://askubuntu.com/questions/330025/i-cannot-install-ubuntu-sdk10:52
_5m0k3nvm, found one in ubuntu-system-settings10:54
Mirvdpm: apt-get update is at least missing, otherwise looks good10:54
Mirv(reading further)10:55
Mirvit's there https://launchpad.net/~ubuntu-sdk-team/+archive/ppa/+files/ubuntu-sdk_1.009%7Esdkppa%7Eprecise1%7Etest6_amd64.deb10:56
dpmMirv, ok, thanks for confirming10:57
Mirvanswered the question as well, as someone had mentioned it wouldn't be there10:58
dpmgreat, thanks!11:16
=== MacSlow is now known as MacSlow|lunch
oSoMoNgusch|lunch: there are some pyflakes warnings to address, I commented on the MR11:30
=== gusch|lunch is now known as gusch
=== MacSlow|lunch is now known as MacSlow
nik90dpm: do you know how to push to someone else's junk branch?13:02
=== _salem is now known as salem_
dpmnik90, you can't13:03
dpmyou'd have to ask them to brach off the project instead13:03
dpmor you can do a local checkout and merge13:03
dpmbut I think bzr might complain13:04
nik90dpm: I am colloborating right now with Chocanto and want to push some changes to a new project (plugin) we are working on.13:04
dpmah nice!13:04
nik90dpm: we haven't created a new project on launchpad since it is very new. But I wanted to know how to share code (write access) as well.13:04
dpmnik90, the easiest thing is to create a new project and share from there13:05
dpmyou'll have to do it at some point, so best to do it now and avoid workarounds13:05
nik90okay13:06
mario_are there any HIG about the usage of Dialogs?13:07
nik90dpm: we are planning to write a common file read plugin along  with metadata acess. As a separate packages, any other core app can make use of this.13:07
dpmthat sounds excellent13:07
dpmmario_, you can check out the app design guides at http://design.ubuntu.com/apps13:08
mario_dpm: thanks13:13
mario_dpm: I need to provide a way to add a memory (I am making a diary app) but I don't understand what widget I should use. Dialog and Popovers seems to be wrong and Tab too looks a bad solution. My add button is in the toolbar. Could you help me with this design issue?13:16
mrqtroslisette, hi! :)13:16
nik90mario_: a memory? Sort of like a journal which contains a title and a textfield?13:17
mario_nik90: yes13:18
mario_and maybe some photos, position , etc.13:18
nik90mario_: I do not think you should use a dialog then. You could probably use a pagestack in which you push a page. This page could have the format like title, textfield, date, photos etc etc.. After the user fills the journal, he swipes the toolbar to save it.13:19
mario_nik90: thank you13:20
mario_sorry for the stupidity of the questions but I am new :)13:20
nik90mario_: np, we are here to help :)13:20
nik90mario_: Is this for the app developer contest?13:21
mario_nik90: yes13:21
nik90mario_: My advice would be to define the features you want to implement, have a design ready and then start coding your app.13:22
nik90You could even ask here if the designs looks good and easy to understand.13:22
mario_nik90: I have an idea of the features I want. Now I am starting to give a look at the API in general to look what I can do13:23
nik90that's nice13:23
mario_nik90: this API looks so great!! :) do you know if there is a way to get access to some stock icons?13:31
mario_I mean icons like save, cancel and others like that.13:32
nik90mario_: at the moment no13:33
nik90mario_: but that is something which is being looked into. For now I have been using my own icons13:34
mario_nik90: oh I found the Icon component13:34
mario_sorry13:34
mihir_WebbyIT: are you there?13:48
WebbyITmihir_, yap13:49
mihir_I was trying to review your MR I just pulled13:49
mihir_it but unable to run that MR13:49
WebbyITmihir_, confirm, there is a typo, redownload it ;)13:53
mihir_WebbyIT: Thank you :)13:53
WebbyITUbuntu Edge at $695 \o/13:56
guschoSoMoN: one pyflake warning left, but that's needed ...13:56
oSoMoNgusch: weird, let me check13:57
=== greyback_ is now known as greyback|latelun
mihir_WebbyIT:14:03
mihir_WebbyIT: I guess it needs fixing14:03
oSoMoNgusch: http://pastebin.ubuntu.com/5962692/14:03
WebbyITmihir_, what's wrong?14:03
mihir_i am unable to give any comment on operands :|14:04
WebbyITmihir_, mhh14:05
mihir_WebbyIT: :)14:07
WebbyITmihir_, fixed ;)14:10
mihir_let me re-pull this branch :)14:11
mihir_WebbyIT: Done thank you :)14:14
renato_Mirv, ping14:18
dpmMirv, can you join us on #ubuntu-touch-meeting for a qtpim packaging question? (same ping as Renato is doing)14:19
renato_dpm, I think Mirv is off for today14:21
dpmah, bummer14:21
guschoSoMoN: I can't run ihe tests because of a qt dependency - which image are you using?14:23
oSoMoNgusch: I haven’t installed a recent image lately, I usually apt-get dist-upgrade twice daily14:24
oSoMoNgusch: if you dist-upgrade, the problem will go away, I’ve had it before14:25
guschoSoMoN: nope, doesn't help :(14:29
guschoSoMoN: did your second run on the device work?14:29
oSoMoNgusch: did you apt-get update before?14:29
guschoSoMoN: yes14:29
oSoMoNgusch: no, the second run had an error (but no failure)14:29
oSoMoNgusch: just completed a third run, this one passed14:29
oSoMoNgusch: I’ll run again just to make sure, I don’t want to merge something that would make the tests flaky, now that they seem to be stable14:30
guschoSoMoN: I'm not too much concerned about the failing - as it's failing switching the Tab - which is soon to be replaced ...14:30
guschoSoMoN: so what error?14:30
oSoMoNgusch: fourth run passed too, I’ll go for a fifth and that should be enoughg14:37
oSoMoN-g14:37
oSoMoNgusch: fifth run passed too, approving, but see my last comment14:44
guschoSoMoN: well - I tried to fix it, but failed (loading the MainScreen different) - no idea how to work around that one14:47
oSoMoNgusch: no need to fix now, but when you have a moment, please re-visit it14:49
guschoSoMoN: I'll do14:53
om26erSaviq, ping15:05
Saviqom26er, pong15:05
om26erSaviq, People wanted to know why can't we run unity8 in testability all the time ?15:05
Saviqom26er, because testability is like debugging, it has performance and security implications15:06
Saviqom26er, and there's no point in doing that15:06
Saviqom26er, if we want, we can easily modify the unity8 upstart sessions, so that it gets started under testability15:07
om26erSaviq, it helps us in doing easy testing, actually in an ideal case we want all apps to be running in testability to make testing easier15:07
Saviqom26er, I'd strongly advise against this15:07
Saviqom26er, it's really easy to add the -testability argument15:07
om26erSaviq, in future there are going to be cases where multiple apps are going to need the interaction15:08
Saviqom26er, that's completely fine15:08
Saviqom26er, before starting those tests, you would restart unity8 with testability enabled (either by touching a file or by an argument to initctl restart)15:08
Saviqom26er, and we can even make it so that unity8 will then start *all* apps under testability15:08
Saviqom26er, but it should *not* be enabled by default15:09
om26erSaviq, right, are there any specific performance issues? thomi thinks that the performance is not affacted till we actually use introspection?15:09
om26erSaviq, also that sounds useful to have all the apps run under testability atleast after unity is restarted in that mode15:10
om26erFWIW unity that we have on the desktop is always running in testability15:11
ubuntouristBeginner question: I followed Jono's "quickly" introduction video and everything worked as described. I followed the wiki directions for Ubuntu SDK and get a message about no kits found.15:19
ubuntourist(And actually, with today's updates, it looks even less like what the wiki says should be there.)15:20
nik90ubuntourist: Which ubuntu version are you running?15:20
ubuntouristThis is raring.15:20
nik90ubuntourist: the only instruction you need to follow to develop *Qml/Qt* applications is found at http://developer.ubuntu.com/get-started/15:21
nik90*Quickly* is no longer being used since we are moving towards using the Ubuntu SDK along side with Qtcreator15:21
Saviqom26er, there's definitely security considerations, and we don't have time to measure the performance impact, although I don't believe it's nil, there are code paths that aren't hit when testability is disabled after all15:22
ubuntouristnik90: Those were the directions I followed yesterday.15:22
Saviqom26er, and especially when the only thing you'll need to do would be to touch a file somewhere15:22
Saviqom26er, or call `initctl restart unity8 ARG=-testability` or something15:22
Saviqom26er, I don't see any reason why we should enable testability globally15:23
ubuntouristnik90: Ubuntu SDK installed (with all it's kin). The icon shows up in the dash, and after waiting a LONG time, qtcreator comes up.15:23
Saviqom26er, and sure, we need to enable the "if under testability, launch apps with testability" feature in the shell, that's a relatively small thing to do, and I agree it's useful15:24
ubuntouristnik90: However there is no "Projects > Ubuntu > Simple Touch UI" as described in the next step. (There was yesterday.)15:24
om26erSaviq, makes sense to me, plus I don't have much opinion on the matter. I'll send an email to you cc'ing thomi and michael so things could be cleared up.15:25
Saviqom26er, sure15:25
ubuntouristnik90: And yesterday, once past that step, it complained about being unable to find a kit.15:25
nik90ubuntourist: give me few minutes, I am in a hangout at the moment. Sry15:28
dpmhey nik90, as popey is not here this week, I'll be on the clock design hangout today. Are you coming to it later on?15:30
=== greyback|latelun is now known as greyback
nik90dpm: the designers (michal atleast) have another meeting at that time15:30
nik90dpm: so I asked mehow and we are having a quick hangout now itself15:31
* ubuntourist is listening to muzak while on hold. ;-) (Take your time.)15:31
nik90dpm: can you join the hangout now itself?15:33
nik90the usual link15:33
dpmnik90, ok, cool. mehow, next time, let's please coordinate with all attendees using the "e-mail attendees" link, so that we can change the time of the meeting in the calendar15:35
* ubuntourist will be right back (after these important messages).15:50
* nik90 is back15:51
nik90ubuntourist: u there?15:51
* ubuntourist has returned15:57
ubuntouristnik90: Back.15:57
nik90ubuntourist: so in the unity dash, did you click qtcreator or ubuntu sdk?15:58
ubuntouristnik90: Ubuntu SDK15:58
=== om26er is now known as om26er|away
ubuntouristnik90: (I'm typing this from the IRC window within the app.)15:59
nik90ubuntourist: ah ok15:59
nik90ubuntourist: but you still dont see the ubuntu under projects?15:59
nik90that's really weird since you have other plugins working properly16:00
nik90in the left bar, do you see Devices, Pastebin, Wiki, Core Apps, API and IRC?16:00
aquariusI'm a bit baffled by Attractor in the ParticleSystem. http://paste.ubuntu.com/5963036/ is some simple example code; click to burst from the centre. I would expect that the Attractor (which is sized to cover the grey area) would have some effect on the particle trajectories... and it doesn't. Am I doing something obviously wrong?16:00
ubuntouristnik90: It opens to the "Make it Ubuntu" welcome screen. And, yes, all of those appear in the left bar.16:01
nik90ubuntourist: So when you click File -> New File or Project16:02
nik90ubuntourist: what do you see under Projects?16:02
ubuntouristnik90: Opening a project (today) I see "Other Projects", "Non-QT Project" and "Import Project".16:02
ubuntouristnik90: Yesterday it showed another (I forget the exact wording) but something akin to "Ubuntu Touch Project".16:03
nik90ubuntourist: what changed since yesterday? Did you update the system or removed something?16:03
ubuntouristnik90: There was a slew of new qt* updates waiting this morning.16:04
ubuntouristnik90: (There've been fairly regular qt* updates, and I've just been taking them as they come in, with everything else.)16:05
nik90ubuntourist: can you do the following command "apt-cache policy qtdeclarative5-ubuntu-ui-toolkit-plugin"16:05
nik90and see if it is installed16:05
ubuntouristnik90: And both yesterday (clicking on the Ubuntu Touch Project) and today (clicking on Other Projects) I get16:05
ubuntouristnik90: No valid kits found. Please add a kit in the options or via the maintenance tool of the SDK.16:06
ubuntouristnik90: checking apt-cache now.16:06
ubuntouristnik90: http://pastebin.ubuntu.com/5963077/16:08
nik90ubuntourist: Can you go to help -> About Plugins and check if the ubuntu plugin is enabled16:09
nik90it should be somewhere towards the end of the list16:10
ubuntouristnik90: Under Utilities, Ubuntu 2.7.1 (Canonical) is green-checked "enabled".16:12
nik90ubuntourist: I am out of ideas. Everything seems installed and fine. Considering those options were there yesterday it is weird that an update broke it.16:13
nik90ubuntourist: I am afraid you need someone else to figure it out.16:13
ubuntouristnik90: Considering I'm relatively new to all this sort of thing, I guess, I can afford to purge everything that looks related to QT development and try again.16:14
ubuntouristnik90: But I figured I'd try here first, hoping it was an "Oh, you newbie! You shoulda..." type thing. ;-)16:15
nik90ubuntourist: frankly if you had a new 13.04 setup and just installed the ppa, it should be fine. I cannot think of reasons why that should mess up for you :(16:15
nik90hehe16:15
ubuntouristnik90: It's not a spankin' brand new install. It's been going through upgrades for several generations of releases, and has a couple of other PPA's in the mix too.16:17
ubuntouristnik90: (I don't THINK any of those PPAs would be affecting this though.)16:17
nik90ubuntourist: that could be the issue. Because in older release they had qt4 while later it was upgraded to qt5. This transistion was not a smooth one. May be that is conflicting with your stuff.16:18
nik90ubuntourist: I was referring to the upgrades rather than the PPA16:18
ubuntouristnik90: I only downloaded and tried out the quickly tutorial a few weeks ago and it worked like a champ.  I *think* I've got no more QT4 stuff installed. (I tried to check for that.)16:19
=== Guest79504 is now known as amithkk
ubuntouristnik90: Off to see if I can fix it now.  Ta-ta.16:20
nik90bye16:21
AskUbuntuPPA packages versions | http://askubuntu.com/q/33021616:25
=== greyback is now known as greyback|dinner
_5m0k3What's the recommended way to use the result of a script as a list element property?  For example, a random number16:56
_5m0k3Nevermind.  Simple enough to just setproperty from a js function17:15
mefriois there any experimental thing implementing the Expansion widget?17:18
mefrioI wonder why it is present in the HIG but it is not in the code17:18
=== gatox is now known as gatox_lunch
=== om26er|away is now known as om26er
=== gatox_lunch is now known as gatox
=== greyback|dinner is now known as greyback
ESphynxhey guys... Is there a Unity dev chan?20:32
=== salem_ is now known as _salem
nik90Kaleo, timp: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/120940322:26
ubot2`Ubuntu bug 1209403 in Ubuntu Clock App "Tab header collides with pagestack header while using background gradients in mainview" [Medium,Confirmed]22:26
nik90Kaleo, timp: When you get time please take a look at the bug I attached. I was finally able to find the source of the problem.22:26

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