=== jhodapp is now known as jhodapp|afk === chihchun_afk is now known as chihchun === chriadam is now known as chriadam|away [07:30] good morning === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === wgrant_ is now known as wgrant [09:11] dholbach: so does that mean an app won't be allowed in store if its using the WebView? [09:11] what ? [09:16] dholbach: you got a moment to discuss click and deb packaging? [09:19] nik90, sure [09:20] mzanetti, http://askubuntu.com/questions/417342/what-does-functional-qml-application-uses-qtwebkit-mean/417343 [09:20] mzanetti, that's the best answer I have [09:20] dholbach: I am trying to create a debian package of my app Flashback which is currently in the ubuntu touch store. [09:21] dholbach: I managed to create the correct debian folder which basically installs to /usr/share/flashback, usr/share/applications and usr/bin [09:21] ok [09:21] dholbach: "This should not block app approval, but it is highly recommended that app developers use UbuntuWebview whenever possible." [09:21] well, it kinda did block my app approval [09:21] mzanetti, yes - I thought I bring it up for discussion - I wanted to make sure that you're aware of it and have a good reason [09:22] dholbach: However I am not exactly sure how to set the .desktop file's EXEC and ICON file [09:22] dholbach: yeah. my reason is that I want to keep my apps as close as possible to upstream Qt [09:22] for portability [09:22] mzanetti, hum - in that case I think it'd make sense if we discuss this with jdstrand to see if it's a more general discussion we should have [09:23] nik90, I have a call coming up in a couple of minutes - do you think you can put up the branch of the packaging somewhere so I review it and give feedback? [09:23] dholbach: sure [09:23] dholbach: will do that [09:23] nik90, basically if the icon you have is in /usr/share/icons/*/*/bla.png you should be able to say "Icon=bla" [09:24] dholbach: ah ok...what about the Exec line? [09:24] since in the click package i say EXEC= qmlscene @ Flashback.qml [09:24] but this isnt true in the debian packaging [09:27] nik90, so... music-app (for example) ships a script in /usr/bin/ which does the following: [09:27] #!/bin/bash [09:27] export QT_SELECT=qt5 [09:27] qmlscene /usr/share/music-app/music-app.qml [09:27] so in the .desktop file it says "Exec=music-app" [09:33] dholbach: just tried to switch to the UbuntuViewBiew. Doesn't really work as good as the Qt one in my use case, besides it crashes when I destroy it [09:33] so, please approve my app with the WebView [09:35] jdstrand, ^ JFYI - maybe we should discuss this again? [09:36] mzanetti, can you file a bug about the crash? [09:38] ok... when I do something on my apps next time I'll dig deeper. [09:38] now it's unity time tho [09:48] dholbach: I created a branch https://code.launchpad.net/~nik90/cliffhanger/debian-packaging/+merge/211272 [09:49] thanks nik90 [09:49] dholbach: so my deb package works as expected. It installs to the correct place and I am able to install and run the app :). However when I run the click lint, it complains that the desktop EXEC line is incorrect. That's the only issue I have [09:50] I'll have a look in a bit [09:51] dholbach: thnx. === ondrat is now known as ondra [11:22] nik90, commented again [11:22] thanks === jhodapp|afk is now known as jhodapp [11:53] dholbach: thnx. I merged your branch and fixed the stuff you mentioned. Going to install the click package on phone to ensure it still works as expected [11:57] dholbach: on installing the click package, flashback doesn't open on the phone. I just get a white screen. [11:58] dholbach: I think the issue there is that I call /usr/share/flashback/Flashback.qml which doesn't exist on the phone. [11:58] dholbach: on the desktop, that works because the debian/install moves the file into that location. [12:35] dholbach: I fixed it. It now works on the desktop and phone properly. I am going to go ahead and merge my branch [12:50] nik90, awesome! [12:50] dholbach: thnx for your help [12:51] anytime [12:59] dholbach: my last question, I promise :)..I set the architecture as *all*. However in the PPA, I notice that launchpad only built it for i386 and not for amd64. https://launchpad.net/~ubuntu-touch-community-dev/+archive/ppa/+packages [13:00] dholbach: Did I do something wrong? Or is that okay? [13:03] nik90, no, that's OK [13:03] dholbach: awesome [13:03] nik90, "all" means: contents in the .deb packages are the same for all the architectures [13:03] nik90, so no compiled code [13:03] in that case you just need to build the package on one arch (ie i386) [13:04] dholbach: true. yeah that makes sense === lool- is now known as lool [13:23] dholbach: re what-does-functional-qml-application-uses-qtwebkit-mean> not sure what there is to discuss. there is no security support for qtwebkit (from us or upstream qt). people should use UbuntuWebView instead. if it doesn't work right, people can file bugs against webbrowser-app. if people want more, they can use import Oxide instead (when it is in the store). if they insist on using qtwebkit, they still can [13:23] s/when it is in the store/when it is in the archive/ [13:24] ok, thanks [13:24] mzanetti, ^ [13:25] dholbach: perhaps the answer should say: s/This should not block app approval/This should not block app approval (but may slow the review process)/ [13:25] * dholbach nods [13:25] thanks a lot [13:25] dholbach: it might be useful to hyperlink one of the Oxide references to point to http://www.chriscoulson.me.uk/blog/?p=196 [13:26] will do [13:26] ok. well, I'll update it at some point for sure. but right now I want to get the app back into the store for Qt 5.2 and for this use case wt webview is definitely good enough for now [13:26] jdstrand, dholbach any updates on removing the email and package name cross check? [13:27] sergiusens, hum, I can't quite remember - what was it about? [13:27] dholbach, email domains not matching the package name [13:27] sergiusens, that's for core apps? [13:28] sergiusens: are you talking about bug #1277137? [13:28] Launchpad bug 1277137 in Canonical Click Reviewers tools "Email address length check seems too short" [Undecided,New] https://launchpad.net/bugs/1277137 [13:28] sergiusens, I can't remember us having had a discussion about removing the cross check altogether? [13:29] sergiusens: that is the only open bug regarding the email checks atm. If this isn't it, can you file a new bug with what if failing? (as opposed to saying the checks should be removed) [13:30] jdstrand, https://lists.launchpad.net/ubuntu-appstore-developers/msg00656.html [13:31] jdstrand, I updated the answer in askubuntu: http://askubuntu.com/questions/417342/what-does-functional-qml-application-uses-qtwebkit-mean/417343#417343 [13:31] jdstrand, a more followed up part of the thread https://lists.launchpad.net/ubuntu-appstore-developers/msg00659.html [13:32] sergiusens: right, we didn't stop verifying them. there is some utility left [13:32] the store makes it a lot easier nowadays to update the namespace and everything [13:32] do you know if the namespace problem is still a big issue? [13:32] dholbach, if you update the namespace; will updates be made against it? [13:32] sergiusens: it could change, but in practice hasn't been a problem for the common case. if you have a problem with the current checks, please file a bug and we'll look into it [13:33] I admit it's only a problem for me [13:33] sergiusens, that's a question for beuno - I don't know [13:33] as I have com.ubuntu.calculator and such [13:33] sergiusens: we have some other checks that are special-cased; I'm open to special casing this for you [13:33] sergiusens, if you change the namespace (which you can't), it'll be seen as a different app [13:33] but I would like to see the issue and think about it [13:34] beuno, yeah, I thought that too [13:34] beuno, but folks can change it before the app is approved for the first time, right? [13:34] jdstrand, sure [13:36] sergiusens, now that I've got you here, I had a work item from UDS to check on Go cross-compilation support with you. So we're looking at creating a local scopes template in C++, but we'd like to have it available for the other languages we're looking to support (Go, JS). bzoltan mentioned that there were some issues with Go cross-compilation, and either him or others in the session said you'd be the man to ask. So do you happen to have more context [13:36] on whether there are any issues with Go cross-compilation or whether it's already possible? [13:37] dpm, cross compilation is fine as long as you don't use cgo; I'm cross compiling our stuff with just GOARCH=arm go build [13:37] dpm, if you bind to any c/c++ cross compilation is not supported; but should with gcc (haven't checked) [13:38] sergiusens, ok. Sorry if I'm asking something obvious, but what is cgo and what is the recommended compiler for go long-term, to do cross-compilation? [13:39] * dpm is not too familiar with Go yet [13:40] dpm, we are all using the standard golang compiler here [13:41] dpm, the security team I think is the biggest stakeholder for using the gcc one [13:41] ok, I see, so there are two options being considered [13:41] dpm Cgo enables the creation of Go packages that call C code. [13:41] ok, gotcha [13:43] dpm, as long as you don't call c code you're fine with crosscompilation [13:51] sergiusens, ok, thanks, give me a few minutes to wrap my head around it and I'll probably have more questions in a bit [13:56] sure [14:15] sergiusens, ok, so I'm told that the Go scope template uses the scopes C++ lib, so in that case I guess we'd need to cross-compile with either gcc (works in theory, but not tested) or cgo (does not work). Is that correct? [14:15] dpm, to my knowledge yes; I'd ask niemeyer though to confirm [14:19] sergiusens, ok cool, I'll send an e-mail and ask him, thanks! [14:55] does anyone know how to start his ".click" app via "upstart-app-launch" on a pc? It says "** (process:6799): WARNING **: Unable to find keyfile for application 'KeePuntu'" everytime. === bfiller is now known as bfiller_afk [15:29] Ubuntu now using qt 5.2 together with QTBUG-36874 makes WorkerScript basically unusable for me [15:35] oSoMoN: when you have a second, can you try to build and run gallery-app trunk on desktop and tell me if you can click on a photo to open it ? [15:36] bfiller_afk: looks like the mainline kernel doesn't have the magicmouse bug, so i switched to that for now [15:37] bfiller_afk: if you get there before oSoMoN, can you also please check the problem i mention two lines above ? thanks [15:40] nerochiaro, yes, running latest trunk, I can open a photo by clicking it === gatox is now known as gatox_lunch === bfiller_afk is now known as bfiller [16:07] mzanetti: btw I finally used the Expandable listitem in my app. Would you like to hear the feedback? [16:08] given how you started the conversation I should probably say no :P [16:08] sure, tell me :) [16:08] mzanetti: no no it was really nice to use it. I meant that I waited a long time to finally use it in my app. [16:09] :) sounded a bit like the feedback would: Man, you did total crap! [16:09] :) [16:09] glad to hear it works out well [16:09] mzanetti: totally the opposite (atleast that was the intention ;) ) [16:10] mzanetti: I liked the flexibility of putting anything widget inside the expandable. [16:10] mzanetti: However I noticed that everytime I wanted to give the expandable a header text, I had to use -> http://paste.ubuntu.com/7108917/ [16:10] yeah, that was really the rule I set to myself in the beginning. it needs to be able to hold anything, not just some predefined stuff [16:11] mzanetti: It would be nice if you could provide a property "Header" where I could just give it a text [16:11] yeah. true... I remember doing the same in the examples for the gallery [16:11] mzanetti: I took that code from the gallery :) [16:11] hmm... let me think [16:12] nik90: reall just a text? or should the header have that header Item {} and allow the developer to place any other item in there? [16:12] so that the header would basically just define the size, but not the content [16:12] mzanetti: your idea sounds better [16:13] mzanetti: this way if it is text, all I need to do is define a label and its positioning and then I am done. [16:13] yeah, something like that [16:14] mzanetti: would you like me to file a bug for this in the toolkit? [16:14] mzanetti that would be great, i then could include an icon in the header. that would be fantastic [16:14] SimonK1: +1 [16:15] nik90: please do. I'm not part of the SDK team and just did that UbuntuListView because I had some time left in December [16:15] not sure when I will get to do more on it. but maybe zsombi picks it up in the meantime [16:16] mzanetti: in light of the icon suggestion by SimonK1, we need to ensure that the icon still maintains consistency similar to other listitems. So for instance the icon should be inside a UbuntuShape placed on the left and so on. [16:16] mzanetti: sure, np [16:16] nik90: well, again, I'd say the header shouldn't define the content, just the size [16:16] so you would use something like this: [16:16] header: Row { Icon {} Label {} } [16:17] but need to think more about it, and esp. talk with zsombi as he's the boss (in this regard) [16:17] mzanetti: One other thing was that I was unable to appreciate the difference between using a ExpandableColumn, a normal Column and a UbuntuListView and so on. [16:17] mzanetti: ok [16:18] nik90: sorry. didn't fully understand. Whats with the difference of those? [16:18] you don't understand why that is needed? [16:18] has anyone recently run the ubuntu-emulator? [16:18] mzanetti: yes..I didnt understand why I should one over the other. or rather which one to use. [16:19] SimonK1: I did 3 weeks ago, but since my upgrade to 14.04, it no longer runs for me :/ [16:19] SimonK1: I am guessing that doesn't count as recent [16:19] nik90: ah... so you use the ListView when you want it to be flickable. you use the ExpandableColumn when you can't use a model for instance or don't need the flickable [16:20] nik90 at least i don't feel as noobish as before ;) [16:20] is the collapseOnClick supposed to work with UbuntuListView? [16:20] nik90: the regular column in the example is just to show that you can also use the ExpandableItem standalone and it still expands/collapses [16:20] netcurli: it should work, yes [16:20] mzanetti: ah okay [16:21] nik90: "ureadahead main process (407) terminated with status 5" <-- that isn't the same error as yours by chance? [16:21] nik90: so in general, you need the ListView unless you know that you don't [16:21] :) [16:21] SimonK1: checking now...1 second [16:21] mzanetti: +1 [16:22] mzanetti: hm.. when I click the first time the item collapses but the other list items are still greyed out and I need to click a second time to reset that [16:22] SimonK1: for me I just get emulator: Initializing hardware OpenGLES emulation support [16:22] signal: aborted (core dumped) [16:22] netcurli: hmm... that shouldn't happen... can you please paste your code snippet? [16:22] ah, i see than it is yours is documented in the wiki [16:23] SimonK1: really? Do you have a link pls [16:24] mzanetti: http://paste.ubuntu.com/7109005/ [16:26] nik90: i'm searching... [16:29] I knew that collapseOnClick wouldn't be a good idea [16:30] netcurli: doesn't seem to work with the ListView indeed... I'll try to fix [16:30] nik90: sorry, i couldn't find it. Maybe i't was an other bug mentioned. [16:31] SimonK1: no worries. I will report this bug and see if someone can fix it [16:37] netcurli: here's a fix: https://code.launchpad.net/~mzanetti/ubuntu-ui-toolkit/fix-collapseOnClick-with-ubuntulistview/+merge/211363 [16:37] netcurli: would be cool if you could test and leave a comment in the MR if it works for you [16:45] mzanetti: done === gatox_lunch is now known as gatox [16:45] netcurli: awesome, thanks === jhodapp is now known as jhodapp|doc [17:00] nik90: just thinking about the header... one more reason not do define the content there: You can even do something like this: Expandable { header: Subtitled {} } [17:08] mzanetti: true === om26er_ is now known as om26er === ondra is now known as ondra|away === ondra|away is now known as ondra === ondra is now known as ondra|away === ondra_ is now known as ondra__ === ondra|away is now known as ondra [17:38] * ondra is back (gone 00:00:27) === bfiller is now known as bfiller_afk [18:05] Hi there, I'm trying to port OSMTouch app to Qt5.2, but I need a little help from someone knowing the SDK [18:05] the problem I have is that PositionSource is not known as a type anymore [18:05] but the doc is still referencing it http://developer.ubuntu.com/api/qml/sdk-14.04/QtLocation.PositionSource/ === jhodapp|doc is now known as jhodapp [18:07] so I don't know what is the expected situation, if the PositionSource should have been replaced by something, but the doc is not up to date; OR if something is missing from the 5.2.1 version; OR if I need to import something else [18:09] ybon: well actually the promoted phone image is still Qt 5.0.2. So the docs are okay w.r.t. [18:09] ybon: but you are right about the docs requiring an update for qt 5.2 [18:09] mhall119: ^^ [18:09] hey nik90 :) [18:10] nik90: how do I know which version the doc is for? (a part the code name of the SDK) [18:12] ybon: hey [18:13] ybon: well technically the docs should update to reflect the Qt version being used in the sdk-framework [18:13] sure [18:13] ybon: so the 13.10-sdk framework used qt 5.0.2 and the docs should reflect that. [18:13] ybon: I am guessing mhall hasn't updated it to 14.04 for the 14.04-sdk-framework yet [18:13] but how do you check the current version of the doc for developer.ubuntu.com/api/qml/sdk-14.04/QtLocation.PositionSource/ ? [18:13] ah ok [18:14] you know that sdk-14.04 is 5.0.2 ? [18:14] ybon: best bet is to compare the official qt 5.0 and 5.2 docs for now [18:14] ybon: I have a feeling that the 14.04-sdk-framework will become dependant on qt 5.2 [18:14] ybon: since the proposed images on phone and the 14.04 desktop use qt 5.2 [18:15] sure, that makes sense [18:15] here is the "official" doc http://qt-project.org/doc/qt-5/qml-qtpositioning-positionsource.html afaik [18:15] they talk about QtPositioning [18:15] but I'm not sure it will be the case [18:16] at least, if I import as they suggest, it doesn't work [18:16] and I've installed everything that I've seen with "qt5positioning" in my apt-cache [18:17] "module "QtPositioning" is not installed" [18:17] I may be missing something, obviously, but what? :) [18:17] I tried apt-cache policy libqt5positioning5 and it said it was 5.2.1 [18:17] libqt5positioning5 is already the newest version. [18:17] so I do not know why your import is not working [18:18] neither I :( [18:18] ybon: try asking rsalvetti on #ubuntu-ci-eng regarding the Qtlocation package [18:18] its rsalveti [18:19] * nik90 is off to diner [18:19] good appetite :) [18:19] and thanks for the tip [18:20] np :) [18:38] hey mzanetti :-) Could you ping me when you have 5 minutes? [18:38] rpadovani: hey man, what's up? [18:39] mzanetti, I'm working on activity indicator: for notes view no problems, but I'm blocked with activityIndicator for Images [18:39] I have no idea on how distinguish notes that have an Image from notes that havent an Image [18:40] rpadovani: note.resources iirc [18:41] let me check... [18:41] rpadovani: resource: model.resourceUrls.length > 0 ? model.resourceUrls[0] : "" [18:41] for example [18:41] rpadovani: NotePage.qml:111 [18:42] rpadovani: note.h:56 is the definition [18:42] mzanetti, ok, thanks, you rock :-) [18:42] each note has a property resourceUrls [18:43] you can check how many there are by checking the length [18:55] mzanetti, mhh, this don't fix my problem: resource changes after the image has been downloaded, so after the notes list has been downloaded but before images have been downloaded I have no idea which notes will have images, and if I active ActivityIndicator for all notes, I have no idea if a image has not been downloaded yet or not exists at all [18:55] ah, I see [18:56] yeah... tbh I'm not sure why we need a indicator for the image... as we don't even know how big the image will be etc... also the user doesn't need to wait for that [18:56] I think the others, when entering some view would be much more important [18:57] mzanetti, got it, I take care of others, we can discuss about this during our weekly meeting :-) [18:58] yeah [18:58] rpadovani: if we really want it, I think I can fetch the amount of resources when I fetch the initial note data [18:58] rpadovani: but I don't think I can know if its an image or something else at that point [18:59] mzanetti, maybe we could ask to popey or dpm, it's their idea [18:59] but anyways, the ones that should appear as a response to direct user interaction are much more important for the beginning [19:10] will Ubuntu get qt 5.3 when it is released or stay at 5.2.1? [19:11] netcurli: I am guessing you are explicitly asking about Ubuntu 14.04. [19:11] netcurli: I am not sure, however they *will* backport fixes from upstream release which are critical. [19:11] netcurli: that said future transitions are supposed to be faster. [19:13] I hope that includes the fix for QTBUG-36874 [19:14] because that makes WorkerScript unusable for me [19:14] netcurli: can you provide the link [19:14] to the bug report [19:14] https://bugreports.qt-project.org/browse/QTBUG-36874 [19:15] netcurli: it is marked critical upstream. So it should definitely be backported. [19:16] netcurli: however don't take my word for it. I would suggest talking to the SDK devs to get this to their attention [19:16] in the european morning times [19:16] ok, will do [19:30] Hi nik90 :) [19:30] PaoloRotolo: hi [19:32] nik90, Sorry to bother you, I just need to animate a text [19:32] PaoloRotolo: np [19:32] I want to change with an animation its size [19:32] PaoloRotolo: okay, you can do with UbuntuNumberAnimation{} [19:33] PaoloRotolo: let me code a little of that for you [19:33] nik90, thanks! [19:35] PaoloRotolo: http://paste.ubuntu.com/7109991/ [19:36] PaoloRotolo: so basically you set the font size to something and then this animation will automatically be triggered and animate the label size for you [19:36] PaoloRotolo: you need to check the font.pixelSize property..not sure if it is present or not [19:36] nik90, cool, thanks again :D [19:36] PaoloRotolo: np [19:48] nik90, ok, the animation works well. Now I need to summon it just when you press a button... [19:49] PaoloRotolo: how about when you press the button, you change the size of the text? This way the animation starts automatically? [19:49] PaoloRotolo: it is possible to start() the timer manually if you so wish as well. But the code would change. [19:51] nik90, I'll try [19:52] PaoloRotolo: http://qt-project.org/doc/qt-4.8/qml-propertyanimation.html === bfiller_afk is now known as bfiller [20:33] nik90, well, I think I've fixed bug #1291502 [20:33] Launchpad bug 1291502 in Ubuntu Clock App "Cannot see where recorded laps are saved" [Low,Confirmed] https://launchpad.net/bugs/1291502 [20:33] nik90, can you look at my code when you have time please :D? [20:33] https://code.launchpad.net/~paolorotolo/ubuntu-clock-app/fix-for-1291502 [20:33] PaoloRotolo: ooh pretty cool! [20:34] PaoloRotolo: sry I haven't reviewed your old branch yet. I have not spent time on the clock app this week yet. [20:35] nik90, no problem :) Actually real life is still more important than opensource \o/ [20:35] :) [20:40] BTW, I'm going to bed now. Good night everyone! [20:52] who knows why qt5.2 does this while newline chars? '\n' http://imgur.com/dMH62Xc [20:52] (also with
) [20:54] gcollura: known upstream bug [20:54] gcollura: apparently it happens in some fonts alone [20:54] gcollura: the SDK devs should fix it [20:54] ok thanks nik90 [20:58] gcollura: bug 1285184 [20:58] Launchpad bug 1285184 in Ubuntu UI Toolkit "Squares in text where carriage returns should be" [Critical,Confirmed] https://launchpad.net/bugs/1285184 [21:02] thanks popey! nik90 is there a design specification for bug #1292876 on cliffhanger? [21:02] Launchpad bug 1292876 in Flashback "Implement a user accounts page" [Medium,Triaged] https://launchpad.net/bugs/1292876 [21:03] gcollura: nope. However let me share with you a little secret :D [21:04] nik90, tell me :) [21:04] gcollura: For designs that I don't have, I look at other mobile apps for design inspiration. There are several websites which collect mobile app screenshots of Android, iOS. Take a look at http://pttrns.com/iphone [21:05] gcollura: as well as http://www.mobile-patterns.com/ [21:05] gcollura: my first run tutorial design inspiration came from those sites [21:05] gcollura: I was thinking of doing something similar for the accounts page as well [21:05] nik90, why didn't you tell me this before? :p [21:06] gcollura: well I just found this out while trying to implement the first run tutorial :P [21:06] eheh === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun