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