jdstrand | I've asked this before, but is there any sort of tutorial on theming? specifically, adjust the colors? | 00:14 |
---|---|---|
jdstrand | (in a qml app) | 00:14 |
jdstrand | Ie, I want to use the ambient theme as a base, but modify some colors | 00:14 |
jdstrand | the theme docs are extremely sparse... | 00:14 |
jdstrand | really, the thing I want to disable is this weird highlight behavior on component click. it does't work right for OptionSelector (the option selector has a gray rectangle around it) and it is not veryattractive in my app | 00:25 |
jdstrand | ok, highlightWhenPressed: false in OptionSelector and ListItem.Empty helps some, but OptionSelector still displays weird in its default state | 00:28 |
Akiva-Thinkpad | Evening all | 02:03 |
Akiva-Thinkpad | hey all | 05:07 |
Akiva-Thinkpad | hey all | 09:32 |
rpadovani | popey, mhall119, are you around? I think I found a bug in the store (and implications could be critical) | 14:15 |
mhall119 | rpadovani: if it's a possible security problem, PM me | 14:36 |
mhall119 | otherwise, if it's just a functional bug, go ahead and mention it here | 14:36 |
rpadovani | mhall119, not sure, I pm you | 14:36 |
SturmFlut | Can anybody tell me why my pure Qt/C++ app hosted at https://github.com/Sturmflut/cylinder.git won't work on my phone (r231)? The armhf executable is built, the .click package is pushed to the phone and I see the startup screen on the phone, but then the startup screen disappears and nothing happens. I can't find any errors logged anywhere. | 15:09 |
rpadovani | SturmFlut, errors are in /home/phablet/.cache/upstart/applicationName | 15:12 |
SturmFlut | rpadovani: Thanks, I'll have a look | 15:13 |
Randy_O | any qml ubuntu sdk people around? | 15:14 |
Akiva-Thinkpad | Randy_O, sort of? | 15:15 |
Akiva-Thinkpad | do you want sdk developers, ie, working on the actual sdk? | 15:15 |
Akiva-Thinkpad | like as in, developing THE sdk? | 15:15 |
Randy_O | Akiva-Thinkpad, Hello again, this one might be easier to answer: Cannot assign to non-existent property "head" and this is on a nexus 4 | 15:15 |
Akiva-Thinkpad | or do you just want devs? | 15:15 |
Akiva-Thinkpad | Randy_O, ah | 15:16 |
Randy_O | Akiva-Thinkpad, no, nothing like that, developing an app, trying to get new header toolbar to work | 15:16 |
Akiva-Thinkpad | so your item doesnt have a property named "head" | 15:16 |
Akiva-Thinkpad | ah | 15:16 |
Akiva-Thinkpad | if you want to make custom properties btw | 15:16 |
Randy_O | Akiva-Thinkpad, it's a property for the toolbar header, but only the newer SDK toolkits support it | 15:16 |
Akiva-Thinkpad | use this syntax | 15:16 |
Akiva-Thinkpad | property var myCustomProperty: | 15:17 |
Akiva-Thinkpad | Randy_O, ah do you have the context page? | 15:17 |
Akiva-Thinkpad | documentation? | 15:17 |
* Akiva-Thinkpad assumes this is the Page{} component | 15:17 | |
Randy_O | Akiva-Thinkpad, http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Components.Page/ | 15:17 |
Randy_O | Akiva-Thinkpad, it is | 15:17 |
Akiva-Thinkpad | Randy_O, are your libraries current, | 15:18 |
Akiva-Thinkpad | ie | 15:18 |
Akiva-Thinkpad | include ubuntu.components 1.1? | 15:18 |
Akiva-Thinkpad | not 0.1 | 15:18 |
Randy_O | Akiva-Thinkpad, they are, I even started over with a new SDK project to get all the new naming's correct | 15:19 |
Akiva-Thinkpad | interesting | 15:19 |
Akiva-Thinkpad | sec | 15:19 |
Akiva-Thinkpad | i'll try it myself | 15:19 |
SturmFlut | rpadovani: Okay, I think I found the problem: The executable is part of the click package, it is pushed to the device but it is missing the "execute" bit in the filesystem. I have no idea why. But now I can debug it, thanks. | 15:20 |
rpadovani | SturmFlut, yw, if you need anything else, just ask :-) | 15:20 |
Akiva-Thinkpad | Randy_O, what did you assign to head:? | 15:21 |
Akiva-Thinkpad | this looks like a theming property; I've never used it till this point | 15:22 |
Randy_O | Akiva-Thinkpad, I've got 3 action items that create 2 toolbar buttons | 15:22 |
Randy_O | Akiva-Thinkpad, but I'm actually only trying to get one to work right now | 15:22 |
Akiva-Thinkpad | Randy_O, toolbar buttons like NewEvent.qml in the Calendar App? | 15:23 |
Akiva-Thinkpad | ie, check mark and x | 15:23 |
Randy_O | Akiva-Thinkpad, yep, just like that, but also like the ones on the main toolbar of the calendar app | 15:25 |
Akiva-Thinkpad | Randy_O, ah | 15:25 |
* Akiva-Thinkpad checks the source | 15:25 | |
Akiva-Thinkpad | Randy_O, its not used once in Calendar app | 15:26 |
Akiva-Thinkpad | I have not checked the other projects, wish I could be more help | 15:26 |
Akiva-Thinkpad | but it doesnt look like you need it. | 15:27 |
Akiva-Thinkpad | Randy_O, Do me a favour; open a question on ask ubuntu and link it to me | 15:27 |
Akiva-Thinkpad | i'll vote it up and all that jazz | 15:27 |
Randy_O | Akiva-Thinkpad, cool, it seems like there's 2 of doing this in the documentation, I'll try just using toolbaritems | 15:28 |
Randy_O | Akiva-Thinkpad, will do | 15:28 |
Randy_O | Akiva-Thinkpad, http://askubuntu.com/questions/511455/why-am-i-getting-the-error-cannot-assign-to-non-existent-property-head | 15:29 |
Randy_O | Akiva-Thinkpad, should I create another one? | 15:29 |
Akiva-Thinkpad | heh | 15:29 |
Akiva-Thinkpad | funny | 15:29 |
Akiva-Thinkpad | that was unlikely | 15:29 |
Randy_O | I dont like the answer though | 15:30 |
Randy_O | doesn't help me much | 15:30 |
Akiva-Thinkpad | yah; just ask, "What does the head: property do on Page{} in qml?" | 15:30 |
Randy_O | in a new question? | 15:31 |
Akiva-Thinkpad | yah | 15:34 |
Randy_O | ok | 15:34 |
Akiva-Thinkpad | thanks | 15:34 |
Randy_O | Akiva-Thinkpad, http://askubuntu.com/questions/521178/what-does-the-head-property-do-on-page-in-qml | 15:41 |
Akiva-Thinkpad | upvoted | 15:41 |
Akiva-Thinkpad | :) | 15:41 |
Randy_O | Akiva-Thinkpad, awesome, thanks! | 15:41 |
Akiva-Thinkpad | np; makes development easier | 15:42 |
Akiva-Thinkpad | what app are you working on btw? | 15:42 |
Randy_O | Akiva-Thinkpad, delivery tracker https://launchpad.net/deliverytracker | 15:42 |
SturmFlut | rpadovani: Okay, my fault, I used the wrong CMake install command for the executable. Thanks *a lot*. | 15:43 |
rpadovani | SturmFlut, you're welcome :-) I wait to see your app on the store! | 15:43 |
vitimiti | Is a QML app always limited to its cache folder when downloading and saving files even if I'm using C++ for such functions? Should I use Qt instead? | 16:07 |
Akiva-Thinkpad | vitimiti, mhall119 was asking something similar to that. He probably has an answer | 16:09 |
Akiva-Thinkpad | though I doubt hes working today | 16:09 |
vitimiti | I want to use youtube-dl in a QML GUI (even if it's just for me), and apart from not being able to find a directory picker, I can't see how to download to any folder. So I was thinking about using C++ for those two things, but I don't know if it'd be limited even with C++ | 16:11 |
Akiva-Thinkpad | vitimiti, ah yah you will need some qt/c++ for that | 16:12 |
Akiva-Thinkpad | vitimiti, you can't run afaik shell commands from qml | 16:12 |
vitimiti | So better of with Qt and make it look kind of like QML for Ubuntu, uh? | 16:12 |
Akiva-Thinkpad | vitimiti, nope | 16:12 |
Akiva-Thinkpad | vitimiti, have you started the app yet? | 16:13 |
vitimiti | Well, I have the GUI, but not the functions that make it be functional | 16:13 |
Akiva-Thinkpad | okay, yah keep the gui in qml | 16:13 |
vitimiti | So I can create some C++ functions that will let me have bigger access to the system, it will not be limited to its cache folder? | 16:14 |
Akiva-Thinkpad | vitimiti, http://askubuntu.com/a/446736/253579 | 16:14 |
Akiva-Thinkpad | vitimiti, exactly | 16:14 |
Akiva-Thinkpad | once you branch out to c++; the world is your oyster | 16:15 |
vitimiti | Thanks a lot, I was quite stuck there | 16:15 |
Akiva-Thinkpad | vitimiti, no problem. | 16:15 |
Akiva-Thinkpad | vitimiti, one thing you may consider is starting from one of the templates | 16:15 |
Akiva-Thinkpad | this will get the preliminary work out of the way | 16:15 |
Akiva-Thinkpad | sec | 16:15 |
vitimiti | Akiva-Thinkpad, I've started the UI with the Ubuntu Simple UI template, though I still have to find out how to add the C++ code to the project | 16:16 |
Akiva-Thinkpad | yah open up a new project, and do "app with qml extension library", and it will state in the description that it uses c++ bindings | 16:17 |
* Akiva-Thinkpad sees its still cmakelists... | 16:17 | |
vitimiti | hum, I can't find that one | 16:17 |
Akiva-Thinkpad | bloody snakes | 16:17 |
vitimiti | Oh, now I do | 16:17 |
Akiva-Thinkpad | should be third option | 16:17 |
Akiva-Thinkpad | yah | 16:17 |
vitimiti | QML Extension Library + Tabbed UI, is it? | 16:18 |
Akiva-Thinkpad | thats what I used for my app | 16:18 |
Akiva-Thinkpad | sec | 16:18 |
Akiva-Thinkpad | double checking | 16:18 |
Akiva-Thinkpad | vitimiti, http://i.imgur.com/yx5GQrQ.jpg | 16:19 |
Akiva-Thinkpad | that one | 16:19 |
vitimiti | Let me load the page, it takes time with this connection | 16:19 |
Akiva-Thinkpad | :P | 16:19 |
vitimiti | Akiva-Thinkpad, yeah, it's that. Just I think I have an older version of the Ubuntu SDK, it looks quite different | 16:20 |
Akiva-Thinkpad | vitimiti, might be worth updating | 16:20 |
vitimiti | Akiva-Thinkpad, I will look for the ppa, yes | 16:20 |
Akiva-Thinkpad | the only thing I don't like about that template is that it uses cmakelists | 16:20 |
vitimiti | As long as it works how I need it to... | 16:21 |
Akiva-Thinkpad | vitimiti, yep | 16:21 |
vitimiti | as I need it to* | 16:21 |
* Akiva-Thinkpad wonders if cmakelists is neccesssary for qt/c++ | 16:21 | |
Akiva-Thinkpad | anyways worked for me quite easily | 16:22 |
Akiva-Thinkpad | gtg | 16:22 |
Akiva-Thinkpad | bbl | 16:23 |
Akiva-Thinkpad | o/ vitimiti | 16:23 |
Akiva-Thinkpad | btw, in 15 hours, that is probably when the devs will get up, and start the next week | 16:23 |
Akiva-Thinkpad | later | 16:23 |
vitimiti | Akiva-Thinkpad, bye | 16:24 |
SturmFlut | vitimiti, Akiva-Thinkpad: You have to use CMake for any code containing C++. qmake is not supported. | 16:29 |
SturmFlut | rpadovani: My Qt3D app got published, it's "Qt3D cylinder" in the store. Would be nice to know if it works on other people's devices too. | 16:45 |
SturmFlut | popey: Thanks for the review. The transparent background is currently a "feature" :(, it took me two weeks to get the whole thing to its current state and I didn't have the time to fix every detail. I'll look into a nicer background for the next version. But while we're at it: How did you take the screenshot from the device? | 16:47 |
doflaherty | sturmflut, how did you get qt3d into your app? | 17:02 |
rpadovani | SturmFlut, phablet-screenshot image.png | 17:04 |
rpadovani | SturmFlut, I'll take a look | 17:04 |
doflaherty | it runs on my phone - pretty cool | 17:04 |
doflaherty | aside from that transparent background issue | 17:05 |
rpadovani | mhall119, oh, another thing about store: last update data is wrong, for 100balls is blocked on 17/Jul/14. Against which project I can open bugs? | 17:10 |
SturmFlut | doflaherty: You have to use native C++ code, QML won't work. The source code is at https://github.com/Sturmflut/ubuntu-touch-qt3d-cylinder.git | 17:12 |
SturmFlut | doflaherty: There was only a single 3D app in the store (HexGL) and it didn't work on my phone (see https://bugs.launchpad.net/webapps-touch/+bug/1356566) so I wanted to know if the problem was related to the platform itself or just the browser (HexGL uses WebGL inside a browser widget). Now i know that the platform is not at fault. | 17:14 |
ubot5 | Ubuntu bug 1356566 in oxide-qt (Ubuntu) "Image distortion and low framerate when using WebGL on Nexus devices" [Undecided,New] | 17:14 |
doflaherty | okay, I had tried Qt3D with QML with no success - I'll look into C++ | 17:16 |
doflaherty | thanks! | 17:16 |
SturmFlut | How can I reliably detect if I am building for the Desktop or the Phone inside a CMake file? | 17:29 |
popey | SturmFlut: no problem. | 17:33 |
SturmFlut | For some reason neither CLICK_MODE nor UBUNTU_CLICK_MODE are defined when I build via Qt Creator | 17:45 |
mhall119 | rpadovani: https://bugs.launchpad.net/developer-portal/+filebug | 18:25 |
mhall119 | rpadovani: but FWIW, I see 0.3.1 as the current version of 100 Balls | 18:25 |
popey | yeah, i approved it earlier. | 18:29 |
mhall119 | popey: you approved 0.3.1 not 0.3.1.5 right? | 18:37 |
popey | mhall119: i approved 0.3.1 4 hours ago | 18:38 |
popey | there is no 0.3.1.5 in the store | 18:38 |
popey | SturmFlut: that update works nicely | 19:10 |
SturmFlut | popey: Great. It is a bit of a hack, but it does the job. | 19:15 |
SturmFlut | popey: The Ubuntu UK Podcast is one of my favourite podcasts, btw. It often sweetens my commute to work. | 19:18 |
popey | *\o/* | 19:18 |
popey | Thanks! | 19:18 |
rpadovani | mhall119, yes, but what's the update date? I see 17/Jul/14 on my device | 19:30 |
rpadovani | should be 7/Sep/14 | 19:30 |
popey | rpadovani: yes, thats wrong | 19:53 |
popey | http://popey.mooo.com/screenshots/device-2014-09-07-205359.png | 19:54 |
popey | I'd file a bug | 19:54 |
rpadovani | thanks for confirm | 19:54 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!