[09:04] Hi all [09:04] mrqtros, hi [09:05] Do someone know why jenkins build can fail even if all test passed (SUCCESS)? [09:07] mrqtros, care to send a build log link? === raw is now known as Guest6152 [09:12] hakermania, sure, I hope you want this http://91.189.93.70:8080/job/ubuntu-rssreader-app-ci/115/ [09:15] mrqtros, I don't know how to read that. I thought that you tried to build through launchpad [09:18] hakermania, moment [09:18] hakermania, https://code.launchpad.net/~mrqtros/ubuntu-rssreader-app/unified-tabs/+merge/180627 [09:20] “Ubuntu SDK: submissions must use some aspect of the Ubuntu SDK. They can be written in C++, QML, HTML 5 or OpenGL, as long as they use the SDK and it’s components where appropriate.” [09:20] Does this imply that you may write the application in “standard” C++? [09:24] Guest6152, what kind of app do you want to create? [09:25] C++/Qt, not QML. [09:27] Is there a certain stylesheet I should take use of? [09:27] Guest6152, I am not sure, but I think that your app will not pass to the app market [09:28] Guest6152, because Ubuntu SDK assumes that developer will create UI with QML, not C++ [09:29] hakermania, any ideas? :) [09:29] "C++, QML" it seems odd to differ c++ from QML then [09:29] Guest6152, you may use C++ plugin in QML code, of course [09:30] mrqtros, I need something like this: https://launchpadlibrarian.net/146760761/buildlog_ubuntu-raring-i386.wallch_3.59-0ubuntu1_UPLOADING.txt.gz I don't really know what I'm looking in the link you sent me. [09:31] Guest6152, differing OpenGL is not strange for you? :) [09:33] ok, so in reality they mean QML with a c++ backbone? [09:34] Guest6152, yep. Primary technology is Qt Quick [09:39] mrqtros, thanks, do you know what they mean by OpenGL then? [09:40] HTML? [09:40] webgl [09:41] Guest6152, I think not HTML, but Qt bindings to OpenGL. You may look at 3d edge project for more details http://www.reddit.com/r/ubuntuappshowdown/comments/1k5lxx/new_app_3dge_rendering_a_3d_model_of_ubuntu_edge/ [09:45] ok, it seems like you have no choice but using QML or HTML, at least to some extent. [09:50] Guest6152, you must use some skeleton in QML, but in other things you have freedom :) === raw is now known as Guest48459 [12:34] nik90, hi :), I saw your issue on github [12:34] thanks :) [12:36] kalikiana, ping [13:49] randomcpp: np :). Let me know when you think the app can be tested as new user and I will gladly do so and report my experience [13:49] I'm going to push a working create/read/edit recipe workflow [13:50] finally :) [13:50] but still categories and photos are to be added soon :( [13:50] randomcpp: cool [13:51] it's still not possible to delete recipes, due to a u1db bug [13:51] not my fault this time :) [13:53] hehe [13:54] btw nik90 I saw a bug report you submitted to Mefrio, about titles that needs to be truncated if longer than the app width [13:54] I tried your apps for few minutes here and there but havent given it my full attention. [13:54] But that's something I plan to do tomorrow :). So be prepared for more bug reports (and ideas) [13:54] in your opinion, shouldn't this feature be supported by the ubuntusdk? :/ [13:55] with an animation maybe [13:55] randomcpp: yes, I would. But here's the thing. I am not sure when the sdk will support it. So until then you might need a temporary solution [13:55] randomcpp: in the worse case scenario where it doesnt get fixed before the showdown deadline, then this would kinda be annoying to users [13:56] randomcpp: And you can expect recipe titles to be longer [13:56] mefrio was able to fix this within 20-30 lines of code. You can always remove it later when the sdk supports it [13:56] ok I get it :) I'll find a solution, if it's good maybe I'll submit a patch upstream [13:57] yeah :) [14:00] nik90, do you know if it's possibile to use an img as background? [14:00] possible* [14:02] http://i.imgur.com/GZthJS9.png what do you think of this red gradient? it looks more like tomato sauce [14:03] randomcpp: In all honesty, I do not know what would best suit a recipe app. But I will take a look at what other similar apps do and get an inspiration. [14:04] randomcpp: It is a bit too bright red. The colors should be relaxing and not take the attention away from the recipe. [14:05] randomcpp: Officially not support to add image [14:05] randomcpp: but if you can find a way such that it looks good [14:05] ok thanks, I try with a darker footer [14:06] alrite I am going out for an hour. see you later === nik90 is now known as nik90|Away [14:33] 17:00:07 randomcpp | nik90, do you know if it's possibile to use an img as background? [14:34] I've done that by just putting an Image{} object on my Page and having the rest of my layout above it [14:37] xqwzts, my idea was to set a squared pattern as background, but I don't know if it follow the ubuntu hig [14:56] xqwzts: screenshots :P ? [14:57] sure [14:57] 1 min let me take one [14:57] xqwzts: btw were you able to fix the flickable issue you had before? === nik90|Away is now known as nik90 [14:58] will be doing a post with these updates today or tomorrow, or whenever i can finish this chunk of u1db/rottentomatoes integration [14:58] I hacked around it [14:58] so it works and i think looks decent [14:59] but it still occurs, clicking anywhere on the page resets the flickable [14:59] my assumption is this is done to reset to the toolbar [14:59] but it affects all flickables on a page [14:59] btw on trying your branch, I do not see any images. [15:00] I get errors like Cannot open: file:///home/krnekhelesh/AppShowdown2013/graphics/toolbarIcon.png [15:00] that's fine [15:00] toolbarIcon is a placeholder [15:00] im using it all over the place just to remmeber to put images there [15:00] ah okay [15:01] rottentomatoes api is down for scheduled maintenance atm :/ [15:01] which is nice because i get to find the bugs for when this happens again [15:01] but useless for actually progressing :P [15:01] yeah I just tried search for a movie, and it wasnt loading any results [15:01] hehe [15:02] yup and i havent pushed the fix that stops the search on fail... have it locally [15:02] np. Just letting you know [15:02] thanks [15:02] btw [15:02] any idea on if we can combine c++ files in our projects? [15:02] xqwzts, is rottentomato a service like trakt? [15:03] the build tab in ubuntu-sdk is constantly greyed out, and it doesn't recognize .cpp or .h files in the default view [15:03] randomcpp: its like imdb [15:03] movie details/ratings/reviews etc [15:03] xqwzts: you can add c++ plugins to do a certain task [15:03] thats what im trying to do nik90 [15:04] but unless i start a new c++ project, i cant see how to integrate one in a "Ubuntu" project [15:04] or do i have to write the c++ as a separate plugin then add it to my project? [15:04] xqwzts: okay. I am not familiar with this. But this is something I am trying myself. [15:04] xqwzts: when it comes to coding, yes you create a new plugin (project) [15:05] ah ok [15:05] xqwzts: but when distributing the app with click packages you bundle them together [15:05] with your app [15:05] right [15:05] xqwzts: but what is that you are trying to do that cannot be done with qml+javascript [15:05] saving files to the fs [15:05] js has no ds access [15:05] fs* [15:05] why not use a sqlite storage (using qtlocal storage) [15:06] or even u1db? [15:06] i need to save images [15:06] ah [15:06] saving the movie covers [15:06] yeah now I understand [15:07] it should be simple enough to do in c++, but wasnt sure how to integrate it [15:08] xqwzts: http://qt-project.org/doc/qt-5.1/qtqml/qml-extending-tutorial-index.html [15:08] xqwzts: for the most part you could use this. [15:10] nik90: I've read through that doc [the 4.7 version at least looking at the url], but it presupposes having both the cpp and qml in the same project [using main.cpp to launch mainview.qml] [15:10] but yeah everything else should work as long it's packaged as a plugin [15:11] xqwzts: the last step of the tutorial explains how to remove main.cpp and just use qmlscene [15:11] nik90: perfect! thanks [15:18] nik90: quick screenshots: http://www.xqwzts.com/tmp/search1.png http://www.xqwzts.com/tmp/search2.png http://www.xqwzts.com/tmp/search3.png [15:19] xqwzts: wow looking good [15:20] thanks :) [15:20] xqwzts: I am sure you thought about this, but take care of the aspect ratio of the background image [15:21] Image.PreserveAspectFit should take care of it i think [15:21] in the 3rd screenshot, the text is bit thinner than natural [15:22] in the 3rd text im flicking the text+overlay to the side to reveal the background :) [15:22] er 3rd screenshot* [15:22] it can be dragged out to show the cover or flicked out to hide completely [15:22] [i like looking at movie covers :P] [15:22] yeah I noticed. love the tranparency thing [15:23] looks much better than what I initially thought [15:23] about how the app might look like [15:23] one thing though, the header background does not go so well with the movie cover background [15:23] maybe try black or some other neutral color perhaps? [15:24] if i have the time, im going to try and do a predictive background [15:24] so if the image is mostly yellow the header goes yellow etc [15:24] btu that's very low priority [15:24] oooh :) [15:44] nik90, I fixed the bug with the long names in saucybacon with a similar workaround of mefrio [15:51] randomcpp: NICE [15:52] without caps [15:52] eheh [15:52] that's more encouraging with the caps [15:52] lol [15:56] randomcpp: do you know if u1db cam be used to store images? [15:56] using the qml api [15:56] because in your recipes, when a user adds an image, how do you plan on saving them? [15:58] nik90, I'll do as mefrio does too, I keep the filepath (for local imgs), others (from online or acquired photos) will be stored in a folder in the gallery directory [15:58] and then I'll save their filepath in the db [15:59] true but how would you save the otherse in the gallery folder? Qml and Js dont provide filesytem access [15:59] we'd agreed that this method will waste phone memory as little as possible [15:59] r u planning to write a c++ plugin? [16:01] mmh, actually some qml modules can write files on the filesystem [16:02] https://github.com/random-cpp/instatouch/blob/master/instatouch/components/CameraView.qml#L59 [16:02] at the moment I only care about photos taken from the camera [16:03] online photos I should somewhere else [16:03] ah .. yeah the online photos will require some thinking [16:04] xqwzts was having a similar issue with saving movie thumbnails on the file system. [16:04] randomcpp: that's also why I asked [16:04] http://developer.nokia.com/Community/Wiki/Reading_and_writing_files_in_QML seems a good reading [16:05] ah nice thnx [16:07] or, we can save with localstorage the raw data of the image xD [16:08] but sometimes localstorage as a max size limit [16:08] has* [16:09] randomcpp: so in the link you shared, do we need to compile the .cpp and .h file? [16:09] currently the sdk does not do this. It simply executes qmlscene [16:09] I am wondering if we need to first compile using qmake and then run qmlscenee [16:09] yeah in a way I still don't know, they simple add the module path to qmlproject [16:10] nik90, there's a sample in the ubuntu sdk that uses c++ to write a module, I never really get it towork [16:10] if you want I'll have a look soon [16:12] randomcpp: since it is something you will need for the onlinen images, sure go ahead. [16:12] you can then explain to me :) [16:13] :p [16:15] randomcpp, nik90: we need to compile [16:15] im guessing g++/qmake/make [16:15] it's annoying that building in ubuntu-sdk is disabled [16:16] yes [16:21] the annoying thing is also that you can't add a subproject to qml projects [16:29] nik90, do you know a ubuntusdk dev? maybe he can give us some clue [16:37] randomcpp: you can contact timp, Kaleo, zsombi (3 sdk devs). [17:12] About the app showdown: Can submissions contain components in a language other than QML, C++, HTML? [17:12] Specifically, I'm considering an app with a QML frontend and a Python backend. [17:19] rschroll, if you know how to make qml and python play nice together keep us informed :P [17:21] Not yet. The general plan would be a C++ plugin that could fork and launch python in the daughter process. [17:21] But I want to check if it's allowed before going through the trouble of trying to make this work. [17:22] rschroll, ok I think you can do that (technically speaking), I don't know if it's allowed [17:22] rschroll, ask nik90 [17:23] nik90, I found a way to use c++ plugins :) [17:23] I'm writing a cmakelists for saucybacon [17:27] rschroll: I will have to check with the other judges [17:28] randomcpp: nice :) [17:28] randomcpp: how does it work? Does cmakelists compile the plugin automatically? [17:31] you have to tell cmake to compile those files [17:31] then when you want to run the qml files you need to include the .so directory [17:31] with the compiled plugin [17:32] nik90: Thanks. Should I hang out in here, or will it take a while [17:32] when installed the compiled library will be moved in appropriate directory under /usr/lib [17:33] that's easier than it looks [17:33] have to go right now :) see you [17:36] rschroll: send an email and lets see what happens [17:40] nik90: To whom? [17:41] rschroll: send an email to jono at jono@ubuntu.com [17:41] I just messaged you that id in a private chat [17:41] didnt u get it? [17:41] Ah - yes. [17:41] I'm new to IRC. Thanks [18:21] <_5m0k3> Applying horizontalCenter anchor to an ItemLayout centers the leading edge of the element instead of the center of the element. Is this a known bug? Offset by -width/2 does not resolve the issue. Manual offset works [20:09] hi guys...how can I put a ListView inside a Popover? [20:09] I have the following code: http://pastebin.ubuntu.com/5997290/ [20:09] here the ListView is not shown but I try to replace the Popover with a Dialog everything works fine [20:29] boiko: ping !! [20:34] nik90, ping [20:40] boing? [21:32] boiko: you there?