[07:40] good morning [09:00] Requesting reviews of https://code.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/trunk/+activereviews [09:00] popey: ^^ [09:34] Good morning all; happy Make Your Dream Come True Day! :-D === ondrat is now known as ondra [11:19] WebbyIT: ping [11:19] nik90, pong [11:19] WebbyIT: hey thnx for the review. But I had a question regarding the settings MP [11:19] tabs does have a count property [11:20] I do not see it in the web page you linked [11:20] but I see it in the Qtcreator docs [11:20] can you verify? [11:20] WebbyIT: Also when you are in the stopwatch tab and press Ctrl+Tab it goes back to the clock tab. And this works properly on my laptop [11:21] nik90, mhh, on my laptop this doesn't work and if I add console.log(rootTabs.count) I receive 'unknow' [11:21] WebbyIT: http://imgur.com/U8oMgfD [11:22] from Tabs.qml: [11:22] /*! [11:22] \qmlproperty int count [11:22] Contains the number of tabs in the Tabs component. [11:22] */ [11:22] WebbyIT: can you check your ui toolkit version? [11:22] readonly property alias count: tabsModel.count [11:22] timp: that's the one. thnx [11:22] timp: I should ask mhall119 to update the online docs [11:22] timp: not listed here http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components.Tabs/ [11:23] nik90: I see. they are outdated. Best ask mhall119 [11:23] timp: will do [11:24] thanks [11:24] nik90, [11:24] apt-cache policy qtdeclarative5-ubuntu-ui-toolkit-plugin [11:24] qtdeclarative5-ubuntu-ui-toolkit-plugin: [11:24] Installed: 0.1.46+13.10.20131011.2-0ubuntu1 [11:24] Candidate: 0.1.46+13.10.20131011.2-0ubuntu1 [11:26] oSoMoN: morning [11:26] krnekhelesh@nik90-lenovo-ubuntu:~$ apt-cache policy qtdeclarative5-ubuntu-ui-toolkit-plugin [11:26] qtdeclarative5-ubuntu-ui-toolkit-plugin: Installed: 0.1.46+14.04.20131216bzr911saucy0 Candidate: 0.1.46+14.04.20131216bzr911saucy0 [11:27] WebbyIT: 13.10 or 14.04? [11:27] nik90, 13.10 [11:27] oSoMoN: just saw your message about the tests. due to the accident yesterday i'm temporarily without my phone (not at home right now) but I'll check as soon as I can [11:27] WebbyIT:do you have the SDK ppa? [11:27] nerochiaro, sure, no worries [11:28] nik90, mhh, I think yes, have to check === MacSlow is now known as MacSlow|lunch [11:28] zsombi: was the fix for the statesaver released already in the trusty archives ? [11:28] WebbyIT: because if you take a look at https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk, the latest rev is 913, and I have 911. [11:28] nerochiaro: there was no release recently from SDK [11:29] nerochiaro: I think first we need to get 5.2 in [11:29] WebbyIT: looking at your version number, it hasnt been updated since 11th october 2013 [11:29] zsombi: can you point me to the MR where the fix is, so that I can use the binaries from CI to test, at least ? [11:30] nik90, this is embarassing, I hadn't the PPA :/ Sorry, I update all and review your branch again [11:30] WebbyIT: no worries [11:30] nerochiaro: it's linked to the bug, https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/stateSaverNestedLoaders/+merge/200800 [11:30] WebbyIT: I added the ppa only after 14.04 was released [11:31] zsombi: ping (alarm API related) [11:32] nik90: pong (everybody is looking after me when I'm trying to go to lunch :) ) [11:32] zsombi: in that case, go ahead..i am in no hurry [11:32] :) [11:33] nik90: ;) if it's short, I can stand still [11:34] zsombi: hello [11:34] zsombi: this is quite important, [11:34] zsombi: enjoy your lunch :p [11:34] timp: :P:P:P:P === zsombi is now known as zsombi|lunch [11:34] zsombi: ok, I noticed that alarm.cancel() doesn't change the alarm manager count [11:44] nik90, approved both, sorry again [11:46] WebbyIT: no worries [11:47] WebbyIT: can it be top approved or should I get another review? [11:48] nik90, yes, right, I'm a bit sleepy today [11:50] WebbyIT: there could be a potential conflict between the 2 branches since they change the same file. But I can fix that if it happens === _salem is now known as salem_ === MacSlow|lunch is now known as MacSlow [12:44] nik90: I think I have the solution for https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1259917 [12:44] Launchpad bug 1259917 in Ubuntu UI Toolkit "Using a Qml Loader in combination with Pagestack and Tabs results in incorrect positioning" [High,In progress] [12:44] nik90: this branch should fix it https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/pageHeight I'll create an MR [12:45] timp: awesome! [12:45] nik90: here is the MR https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/pageHeight/+merge/201382 feel free to test it :) [12:46] nik90: with that branch, you'll need to change the anchors in your code [12:46] timp: yeah I saw the code diffs [12:46] timp: I have no idea how to build the branch to test it [12:47] nik90: jenkins will create the .deb files in the MR, we just need a bit of patience for that [12:48] nik90: or if you don't want to install, you can check out my branch and qmake && make && source export_modules_dir.sh and then run your app as usual [12:48] nik90: that's the best probably, it won't change anything on your system. let me know if you want to try and you need help [12:49] timp: I want to try building the source, since I like to test other branches as well [12:49] * nik90 runs the commands [12:49] nik90: bzr branch lp:~tpeeters/ubuntu-ui-toolkit/pageHeight [12:49] cd pageHeight && qmake && make [12:50] and then "source export_modules_dir.sh" will make you use that branch with your apps from then on in that terminal window [12:51] * timp lunch, back in <1h [12:51] timp: I get an error on qmake && make -> http://paste.ubuntu.com/6744448/ [12:51] timp: talk after lunch [12:52] nik90: hmm.. seems there are some build dependencies that I installed long time ago (and forgot since then) [12:52] nik90: try to install qtdeclarative5-qtorganizer-plugin [12:53] and "apt-cache search qtdeclarative | grep -i WhatsMissing" for the following dependencies that are not there. I'll help after my lunch. [13:11] oSoMoN: timp: zsombi|lunch: do you guys know if there's any relatively simple way to know what is changing a property value ? I have one that is mysteriously assigned a value and I can't figure out where it comes from === zsombi|lunch is now known as zsombi [13:13] nerochiaro: I kno whow to do that in C++... [13:20] zsombi: even if it's an object created in qml ? [13:20] zsombi: (a listview in my case) [13:22] nerochiaro: somewhat... you can get the property of a QML object in cpp then check if it has a binding: from that you may try to find who actually is involved in the binding, however usually that is not that simple :( [13:22] zsombi: sounds like more trouble than it's worth [13:23] nerochiaro: but if I remember correctly it is not really doable either in a cpp element [13:23] right [13:25] nerochiaro, maybe using the QML debugger integrated in QtCreator? dunno how though… [13:27] oSoMoN: i tried that, but for some reason I can't even start the app through the debugger [13:29] (13.34.53) nik90: zsombi: ok, I noticed that alarm.cancel() doesn't change the alarm manager count [13:30] nerochiaro, which app is it? [13:30] nik90: that means that the alarm was not deleted [13:30] oSoMoN: gallery [13:30] zsombi: but then when I restart the app, that alarm I deleted is no longer in the alarm manager [13:31] zsombi: besides I use the onCountChanged signal where I waited for about a minute to detect the alarm deletion [13:31] nik90: then the alarm deletion does not reach the Alarm service :s [13:31] nerochiaro, you probably need to add_definitions(-DQT_QML_DEBUG) to the compilation flags [13:32] zsombi: okay, should I report a bug then about it? [13:32] zsombi: since I essentially use the code given in the examples [13:32] nik90: yes [13:32] zsombi: one more issue that I had with the API [13:32] nik90: and seems we again need renato for this [13:33] zsombi: when I disable an alarm using the switch code from the examples, sometimes it reverts the action immediately. [13:33] zsombi: although this happens ocassionally and also with the closest active alarm. [13:33] nik90: hmm, weird... [13:34] zsombi: I will report both these bugs and then we can figure it out with renato. [13:34] thx! === ara is now known as Guest58013 [13:39] oSoMoN: qtcreator doesn't seem to want to open the CMakeLists.txt file, it just blocks when I run cmake from its UI (and it doesn't matter if I had run it before from the cmd line) [13:42] nik90: any luck with trying my branch? [13:42] oSoMoN: ok, fixed that, had to refresh the path to cmake etc in the qtcreator config [14:11] timp: I already had the Qt Organizer package installed [14:11] timp: the command after that returned nothing [14:12] apt-cache search qtdeclarative | grep -i WhatsMissing [14:12] instead of WhatsMissing you should try (part of) the name of the package that is reported missing [14:15] yeah I filled in some package name from the error message that I got [14:16] * nik90 looks and tries again [14:20] timp: the only package it is complaining about is organizer, when I did grep, I missed libdeclarative-organizer which I just installed. But I still get the same error message. [14:22] nik90: you have all of these? http://pastebin.ubuntu.com/6744833/ [14:24] timp: yup I have all those installed [14:25] zsombi: do you know what is missing here? http://paste.ubuntu.com/6744448/ is it related to the DatePicker? [14:26] timp: it shouldn't be: there's a Qt module missing, the organizer [14:26] timp, zsombi: On that note, when I run the ubuntu ui toolkit on the phone using qtcreator, the pickers page is completely blank. [14:26] zsombi: he says he has all the packages listed here http://pastebin.ubuntu.com/6744833/ [14:26] on my laptop, the picker is fine [14:27] http://paste.ubuntu.com/6744855/ [14:28] nik90: this picker gallery issue is really weird... [14:29] nik90: have you tried to launch it from terminal so you get some logs? [14:29] nik90: I don't see why it is not working :s [14:30] timp: np [14:31] zsombi: yup got the logs [14:31] zsombi: one line error that I ntocied was [15:30:48] file:///home/phablet/dev_tmp/ubuntu-ui-toolkit-gallery/Pickers.qml:185:13: DatePicker is not a type [14:32] zsombi: weirdly on my laptop, that is not an issue. Could it be the toolkit package on the phone hasnt been updated? [14:32] * nik90 is on r121 [14:32] nik90: hehh????! [14:34] Did I say something absurd [14:34] nik90: "DatePicker is not a type" that was absurd [14:35] nik90: what's the toolkit release on the phone? [14:36] zsombi: Installed: 0.1.46+14.04.20131216-0ubuntu1 [14:37] which seems recent enough (16th dec) [14:37] nik: it's pretty old... could you check whether the DaterPicker is in the system path? [14:38] nik90: ^ [14:38] zsombi: yes it is pretty old, but the newest release that we have :( [14:38] so that's the one in the image for now [14:39] zsombi: how do I check that? [14:39] nik90, zsombi latest release is r893. Datepicker was added in r894. [14:39] nik90: ls /usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components [14:40] timp: nik90: then no wonder the Picker tab is empty [14:40] nik90: I forgot the /Pickers path [14:40] zsombi, timp: I was surprised when I tried it in the clock app [14:40] nik90: yeah, it's not there [14:40] alrite so I guess we wait for an update [14:42] I don't know if we can have a new release really soon... maybe we have to wait for the upgrade to 5.2? [14:42] * timp not sure what's happening there. [14:43] * nik90 is so glad to be on the PPA (13.10) [14:43] nik90: if you are in a hurry to test it, you can go to https://launchpad.net/~ubuntu-sdk-team/+archive/ppa/+packages?batch=75&memo=75&start=75 and click on ubuntu-ui-toolkit - 0.1.46+14.04.20131216bzr911trusty0 and download and dpkg -i the armhf packages manually [14:44] perhaps the ppa works for phone also [14:45] timp: no hurry :).. I was thinking of using the picker for setting the alarm, but we are still brainstorming the designs..but nice to know. [14:46] nik90: you should not use that! you should wait till you get PickerPanel!!! [14:47] nik90: DatePicker is a prerequisite for the PickerPanel, to be able to embed in dialogs, sheets if necessary [14:47] zsombi: ok, I wasn't aware of that. [14:47] nik90: by using PickerPanel you should be able to use DatePicker according to the UX guides: in OSK panel while on phone and popover while on other form factors [14:49] oh that's nice. [15:02] * zsombi eod, C U tomorrow! [16:03] timp: do you know if listviews and gridviews have a signal that I can attach to to know when the list has finished creating all the delegates for the current view ? [16:03] nerochiaro: no, I don't know [16:04] nerochiaro: with delegates you mean all the items in the list? I'm not sure if that is possible, since you can have very long lists, and not all items in it may be instantiated at one time [16:04] nerochiaro: I think the list frees memory for items that are not in the current view [16:06] timp: that's what i understand too. but the items in the current view are not all created and laid out immediately, apparently [16:06] timp: sometimes they take some time to be created and doing things while this happens seems to mess up my list [16:07] nerochiaro: so you want to know when the current view is done? [16:07] timp: exactly [16:08] hmm.... http://doc-snapshot.qt-project.org/qdoc/qml-qtquick-listview.html#populate-prop says When the view is initialized, the view will create all the necessary items for the view, then animate them to their correct positions within the view over one second. [16:08] just an idea, perhaps you can set that Transition, and see when the transition is called/finished? [16:09] timp: seems like worth a shot. so basically put a script action at the end and do what i need to do [16:09] yeah. although if there is a signal called before the transition it would be better to use that [16:09] timp: i haven't found any [16:10] nerochiaro: nope, I also don't see it on http://doc-snapshot.qt-project.org/qdoc/qml-qtquick-listview.html [16:12] timp: i'm trying something like this, but i never get any output: populate: Transition { [16:12] ScriptAction { script: { console.log("HEYO") } } [16:12] } [16:16] nerochiaro: weird, looks similar to the examples on http://doc-snapshot.qt-project.org/qdoc/qml-qtquick-viewtransition.html under "Restrictions regarding ScriptAction" [16:18] timp: it might be that for some reason the add transition is used instead of populate. see http://doc-snapshot.qt-project.org/qdoc/qml-qtquick-gridview.html#add-prop [16:19] nerochiaro: I don't know. I guess you have to experiment a bit [16:20] timp: yeah, i'm doing that.was just asking in case you had seen this before [16:20] timp: thanks for the tips [16:20] no, I haven't used it before [16:20] np [16:30] oSoMoN: om26er: what's the best way to disable some tests temporarily ? [16:31] i don't want to go and comment them out [16:32] nerochiaro, expectFailure() [16:32] om26er: have an example that uses it ? [16:33] nerochiaro, actually: @unittest.expectedFailure [16:33] om26er: ok, i'll do that, thanks [16:33] nerochiaro, I would use @unittest.skip(reason) [16:34] nerochiaro, and add a comment to state that this is temporary [16:34] oSoMoN: @unittest.skip("Temporarily disable as it fails in some cases, supposedly due to problems with the infrastructure") [16:35] oSoMoN: makes sense ? [16:35] nerochiaro, yup [16:35] great [16:38] oSoMoN: ok, pushed to the branch, let's see what CI says === gatox is now known as gatox_lunch [16:54] timp: is there a way to programmatically hide the MainView header ? [16:54] timp: i mean, are we supposed to be able to do that ? [17:05] nerochiaro, yes header.height = 0 [17:06] MyExHatesMeButMy: right. assuming that it will still hide/show normally after doing that [17:06] MainViewer{ ... ... header.height:{something === true ? 0 : whatever the source code says the height is } [17:07] nerochiaro, make a signal that can open and close it in the mainviewer [17:07] MyExHatesMeButMy: that sounds a bit hackish ;) [17:08] I am a bit hackish lol [17:08] nerochiaro, what are you tryin to do ? [17:09] MyExHatesMeButMy: restore the state of the app to what it was before closing it. this sometimes needs showing or hiding the header [17:09] nerochiaro, a database is out of the question ? [17:10] MyExHatesMeButMy: yes. trying to use the StateSaver from the sdk to do it, which works fine. it's just that i need a clean way to restore the header. [17:12] nerochiaro, what is StateServer ? [17:12] I can not find any docs on that [17:14] oh statesaver and not server [17:14] MyExHatesMeButMy: yes, StateSaver [17:16] nerochiaro, you can not add it to the mainviewer like MainViewer{ StateSaver.properties:"header.height"} [17:18] MyExHatesMeButMy: yeah, but as we said before this will prevent the normal header functionality from working [17:24] nerochiaro, what about the property "active" [17:24] what does that do ? [17:24] MyExHatesMeButMy: not sure, i'll try that in a bit [17:24] yeah I would try that [17:26] Itlooks like it kills everything [17:28] yeah the only thing that I can think of besides the header.height. would be to make states and transitions for the mainview . again hackish [17:36] MyExHatesMeButMy: i'll ask tim or zsombi tomorrow, if there's no way to change it cleanly now we will see if anything can be added [17:36] nerochiaro, you know anything about GPS ? [17:37] MyExHatesMeButMy: no, sorry [17:37] yeah It takes forever for it to work. meaning that I have to wait like 15 minutes for it to start working on the phone. === gatox_lunch is now known as gatox === nerochiaro is now known as nerochiaro|afk [18:15] Hi I have a problem uploading my app to my Ubuntu Touch running phone... [18:16] EnderLance, what is the issue ? [18:18] Well, first off my device isn't detected by my machine... [18:18] This is fairly new, and it was working yesterday... [18:20] Hello? [18:21] so adb can not find it EnderLance ? [18:21] No. [18:21] like from the terminal [18:22] I did adb shell and adb devices, no resultss [18:22] I went into nautilus but I can't mount it... [18:22] what is your android sdk version and when was the last time you updated ? [18:22] I updated Ubuntu Touch two days ago... Saturday. [18:24] update and and Upgrade restart and see if it is still happening. EnderLance what is the phone ? [18:24] The phone is LG Nexus 4... [18:24] And Ok. I'll try that. Brb [18:25] huh yeah that should be picked up by adb [18:25] wow, I'm doing 1 MB per second... /)_-) [18:26] nvm it sped up [18:29] sry meant 1 KB per second... XD [18:29] 1 MB would be nice... [18:47] nik90, Victor made a script for me last night that transfers the music-app on the device. It does however require a writeable image and will overwrite the existing app, but it is better than nothing :) http://paste.ubuntu.com/6741921/ [18:49] ahayzen: can you not make a click and push and install that with pkcon? [18:49] popey, i haven't successfully done tht :/ [18:49] popey, either get white screen or it says tht grilo isn't installed [18:51] ahayzen, I know how to get around that but it takes some work [18:51] for c++ apps that is [18:51] MyExHatesMeButMy, popey we are guessing the grilo issue is due to app confinement? [18:52] what is the branch ? and is grilo allowed [18:52] MyExHatesMeButMy, lp:music-app [18:52] Oo [18:53] checking it out know [18:53] now * [18:54] MyExHatesMeButMy, we are guessing when we move over to the mediascanner service it will 'just work' with run on device in QtCreator [18:54] I bet I have never been a fan of grilo tbh [18:54] MyExHatesMeButMy, a useful stopgap [18:54] it is a great api but hard to work with and kinda buggy [18:59] ahayzen: i have been using that script of balloons which i use to pull from trunk (or any random branch) and push to the device as a click [18:59] http://paste.ubuntu.com/6746288/ that one [18:59] ./test.sh lp:music-app music_app [18:59] popey, hmm tht didn't seem to update the 'real' one for me ...i'll try again [18:59] popey, it runs the autopilot tests fine [19:00] ok [19:00] it is not packaged with it but should work with it [19:01] that is not a c++ app but pure qml. [19:01] MyExHatesMeButMy, yep it is ubuntu-sdk [19:01] ahayzen: may need to just restart unity, what branch can i test with here? trunk? [19:01] popey, yeah trunk...u should see sheets from artists/playlist now [19:01] ok [19:01] i managed to wipe my phone completely over the weekend [19:02] phablet-flash "--bootstrap" and whiskey not recommended! [19:02] ahayzen, yeah but is that lib installed on the device (grilo ) and can you connect to it ? [19:03] MyExHatesMeButMy, i think we get a special case [19:03] popey, hehe i do tht all the time to ensure a wipe :) ...anyway dinner be back in an hour or so [19:03] I would 1st check to see if it is installed if it is not installed then welll.... if it is installed and you can not use it then you are going to have to include this lib in that package which is not that hard to do [19:03] MyExHatesMeButMy, it is installed because the packaged app runs [19:03] MyExHatesMeButMy, anyway brb [19:26] nerochiaro|afk: Page.title = "" [19:51] MyExHatesMeButMy, back...maybe the grilo needs to be embedded into our click package? [19:52] Hi I'm back [19:52] ahayzen, yeah that is what I was sating :) [19:52] saying * [19:52] MyExHatesMeButMy, :) [19:52] ahayzen, but that is kinda dumb [19:52] shouuld be able to use it [19:52] MyExHatesMeButMy, yh :/ but confinement an tht [19:53] MyExHatesMeButMy, and it is until we move to the mediascanner service... so did u manage to get it running on the device or not? [19:53] guys, how do I import a .cpp file into a qml file and use the object? [19:53] yeah I would make a C++ package with CMAKE and not qmake and add the libs [19:53] ahayzen, sorry I was hacking on some C++ trying now [19:54] MyExHatesMeButMy, thanks but surely we don't need to go too much into the c++ route? [19:54] * ahayzen checks that this doesn't actually work [19:54] nah just to add the lib till the mediaservices are landed I would asy [19:54] EnderLance, what ? [19:54] MyExHatesMeButMy, this works for autopilot http://paste.ubuntu.com/6746288/ [19:55] MyExHatesMeButMy, do I know you? [19:56] * MyExHatesMeButMy is trying to find his usb charger lol [19:56] anyways, my friend wrote a project for me to hack around with, but I can't install it to my device... [19:57] So I created a new project and copied the important files over [19:57] but [19:57] The C++ class object isn't working in the QML code... [19:57] And I don't do C++, do Idk how to fix that.... [19:57] EnderLance, did you expose it ? [19:57] expose? [19:58] What do you mean by that? [19:58] like, make it in the same folder as the QML file? [19:58] ahayzen, found it I almost thought that my wife took it to work with her lol [19:59] EnderLance, no all things c++ must be exposed to QML in order to use it [19:59] popey, MyExHatesMeButMy, http://paste.ubuntu.com/6746288/ with the #run it bit stripped out works after a restart \o/ [19:59] Ok... How do I expose the class? [19:59] EnderLance, with a registration type [20:00] ahayzen, yeah I am having issues with ssh [20:00] ports that is [20:00] MyExHatesMeButMy, adb shell ? [20:01] ugh... I feel like that's something I need to write.... it is, isn't it? [20:01] yeah Just fixed it and sending to the device [20:02] ahayzen, bad news [20:02] file:///home/phablet/dev_tmp/music-app/music-app.qml:26 module "org.nemomobile.grilo" is not installed [20:02] MyExHatesMeButMy, haha thts wht i usually get [20:02] popey, so the script did work...i just needed a restart doh! ...thanks :) [20:03] lets look a the C++ path [20:03] MyExHatesMeButMy, the script popey posts works :) [20:03] MyExHatesMeButMy, comment out the section in #run it and then restart aftet install [20:04] script ? [20:04] MyExHatesMeButMy, http://paste.ubuntu.com/6746288/ [20:04] ahayzen, are you the maintainer of this app ? [20:05] MyExHatesMeButMy, erm sortof...part of the music-app-team [20:05] MyExHatesMeButMy, https://launchpad.net/~music-app-dev [20:06] balloons, ping [20:06] ahayzen, this is what I would do . though I am not a smart person all the time [20:06] ahayzen, pong [20:06] balloons, more autopilot issues ..sorry :( .... [20:06] balloons, I've moved some properties around so they are now under the player object rather than the mainView. However autopilot fails with State not found for class '*' and filters {'objectName': 'player'}. [20:06] balloons, https://code.launchpad.net/~andrew-hayzen/music-app/mediaplayer-simplify/+merge/201265 [20:07] because there is issues with stock images and the plugin not being there and users can not install packages (read only file system) I would make add these plugins to the package and build that way. file a bug on the grilo [20:08] hey MyExHatesMeButMy :-) [20:08] MyExHatesMeButMy, it works installing from the click store though (and it is in the default images anyway) [20:08] ahayzen, so you are wondering why that happens? [20:08] hey balloons how you been ? [20:08] balloons, it just can't seem to see the new Player object [20:09] balloons, why and how to fix :) [20:09] ahayzen, trying that now [20:09] ahayzen, can you see it in vis? [20:09] balloons, see wht? [20:09] balloons, the object i'm referring to is the MediaPlayer [20:09] ahayzen, the player object [20:09] balloons, it is the object that plays the music not a UI object [20:09] MyExHatesMeButMy, I've been doing well. Excitied by what's happening this cycle [20:10] ahayzen, ahh [20:10] I see the player.qml file [20:10] balloons, basically moves some of the properties around to tidy up so they have gone from mainView -> MediaPlayer [20:10] right.. so is there a mediaplayer object? [20:11] balloons, yep i didn't know where to put the objectName .. in the player.qml or the Player{} in the music-app.qml [20:11] I'll just have to pull the source [20:11] ahayzen, are you changing the header color of MainView ? seems to pop in and out of ambaince and suru [20:11] MyExHatesMeButMy, it is a bug [20:11] MyExHatesMeButMy, https://bugs.launchpad.net/music-app/+bug/1239093 [20:11] Launchpad bug 1239093 in Ubuntu Music App "Artists tab header transparency/hiding is inconsistent" [High,Triaged] [20:11] ahayzen, why not set the themes in a setting ? [20:11] MyExHatesMeButMy, they are mainly in Style.qml [20:11] Oo [20:12] ahayzen, you have a phone and what not I have a example [20:12] balloons, the player is here http://bazaar.launchpad.net/~andrew-hayzen/music-app/mediaplayer-simplify/view/head:/music-app.qml#L403 [20:13] balloons, i didn't know whether the objectName: "player" goes there? and then search for a type of Player? or u put it in the MediaPlayer in the player.qml? [20:13] MyExHatesMeButMy, wht do u mean? [20:13] ahayzen, see pm [20:14] ahayzen, based on the qml I would assume a search for MediPlayer object, with name of "player" [20:14] ahayzen, please do not share that that much as it is pre-alpha [20:17] balloons, i'm sure i tried tht in one of the revisions lol [20:17] ahayzen, :-) [20:17] let me run and see the erros [20:17] ahayzen: huzzah [20:18] popey, \o/ [20:18] popey, the reboot is a bit annoying but i can live tht :) [20:18] ahayzen, that is a core app correct ? [20:18] adb restart unity8 [20:18] that would do it [20:18] balloons, in the latest revision it is * with the name player [20:18] MyExHatesMeButMy, yep [20:18] oh, no it wont [20:19] popey, do we cache the click packages or something then? [20:19] we cache desktop files i think [20:19] ahayzen, k, checking again [20:19] * ahayzen is trying to understand why the restart is needed [20:19] popey, restart it from the adb need to restart the whole service [20:19] or some other sillyness [20:19] popey, ah yes [20:20] ahayzen, that is what is different I can not install to system wide dirs so it is installed under /opt/click.whatever [20:20] MyExHatesMeButMy, ah [20:20] desktop file points there but itstill dont show up [20:20] but if I run ./binary --desktop_file_hint=/opt/blah/blahblah/app.desktop it shows up [20:21] has me ripping my hair out lol [20:21] oh god lol [20:21] ahayzen, oO return self.select_single("*", objectName="player" [20:21] lol [20:22] balloons, hehe [20:22] lolololol [20:22] balloons, i know python well....but autopilot not so well :P [20:22] balloons, you are good at autopilot maybe you could help me make autopilot on my app ? [20:22] i do not know python nor autopilot [20:22] MyExHatesMeButMy, fire away [20:22] balloons, want a branch ? [20:22] #ubuntu-autopilot has folks even more skilled than me :-p [20:22] balloons, is tht for selecting UI items with the mouse? [20:22] balloons, hence the failure to find? [20:22] MyExHatesMeButMy, not atm.. I've reached capacity [20:23] ahayzen, first :p [20:23] 3 branches makes my head explode [20:23] quite a mess to clean [20:23] lol [20:23] but questions are perfect [20:24] 1 branch with autopilot makes my head explode ;) [20:24] popey, you are in the UK correct ? can you test my app to see if the things work in the UK ? [20:24] i am uk [20:24] sure can [20:24] http://bazaar.launchpad.net/~josephjamesmills/+junk/Testing_Directions/download/josephjamesmills%40gmail.com-20140112204434-pczo78fahzus0mq7/directions_0.1_armhf-20140112204416-mpq111ey7ev220jw-1/directions_0.1_armhf.click [20:24] balloons, so do i have to use a different selection method? [20:24] popey, click package [20:25] ahayzen, yes, your object type is not correct [20:25] and you can't use * :-) [20:25] balloons, damn... so i use MediaPlayer for the type? [20:25] popey, I am insterested to see if the trains work and what not. [20:25] * popey downloads [20:26] ahayzen, that's what I would expect [20:26] however since it doesn't work, we can dump the objects or use vis to see what it is [20:26] popey, I just finished writing a plug-in for Google speech recognition. it is not in the click but Text to Speech is [20:27] balloons, so we use something other than select_single? [20:27] MyExHatesMeButMy: you might want to run http://launchpad.net/click-reviewers-tools against your click package as it fails a few tests === salem_ is now known as _salem [20:28] popey, Oo [20:31] i run the test script against every click before installing [20:31] it sanity checks a load of things [20:31] popey, I am not getting error maybe I am running it wrong ? [20:32] popey, the command that I am running ./run-tests /home/MY_AWESOME_NAME/Templates/directions-armhfbuilds/directions_0.1_armhf.click [20:33] ahayzen, just a sec [20:33] balloons, no problem... i'm just trying some changes i made [20:33] ahayzen, http://unity.ubuntu.com/autopilot/api/introspection.html.. print_tree is what we want [20:34] MyExHatesMeButMy: no, run bin/click-run-checks [20:34] ahayzen, try that.. dump the tree and it will help you find the object you want :-) [20:34] balloons, dump it from the mainView? [20:34] ahayzen, get as close as you can get to the object, then yea, dump :-_) [20:35] popey, but do I just pass the path-to-click to that end of that command [20:35] ya [20:37] popey, that is crazy them errors [20:38] there is no way in heck that I can run the app with out the binary [20:39] But I will change things like WebView to UbuntuWebview but I hope that it does not look like crud after I do that [20:39] fair warning ahayzen, I dumped the full main view.. it's a lot, hah [20:39] balloons, haha... i'm trying to get rid of test music i put on their...grrr rescan grilo [20:40] example: "desktop_Exec (reminders-app)": "absolute path '/opt/click.ubuntu.com/directions/0.1/usr/bin/directions %u' for Exec given in .desktop file.", << how can I launch my app if I can not launch my binary ? [20:40] balloons, how do i tell it to do one test ./testscript.sh path/to/bzr music_app.test_name ? [20:40] MyExHatesMeButMy: yeah, you dont hard-wire the path [20:41] just usr/bin/directions %u [20:41] and why does it think that it is reminders-app ? [20:41] popey, I tried that it does not launch :( [20:41] popey, these tools are cool ! thanks for pointing them out to me [20:41] it should if it's a click, installed on device [20:41] np [20:42] ahayzen, yes specify the full test name [20:42] balloons, cool [20:42] I found playshape under /comubuntumusic/QQuickView/MainView/OrientationHelper/QQuickItem/QQuickItem/MusicToolbar/QQuickRectangle/QQuickRectangle/QQuickRectangle/QQuickRectangle/QQuickMouseArea [20:42] balloons, haha blimey [20:43] * ahayzen waits for script to run [20:48] ok popey I changed the lines in the desktop file and am rebooting lets see if this works [20:50] popey, ok it is working like you suggested but it is still not picking up the icon :( [20:51] MyExHatesMeButMy: you don't have a path to the icon in your desktop file? [20:51] Oo [20:52] balloons, i can't get it to output the tree to stdout or a file :/ [20:53] popey, not sure. I think that it is there here is a paste of the desktop file http://paste.ubuntu.com/6746900/ [20:53] line 10 is not correct ? [20:56] ahayzen, just run it and redirect stdout [20:56] ahayzen, or I can just paste the output [20:56] balloons, i'm running on device [20:56] ahayzen, I ran out desktop.. I'll paste it [20:57] balloons, as i'm on saucy and can't get autopilot 1.4 [20:57] balloons, thanks [20:57] ahayzen, what do you mean you can't get 1.4? [20:57] balloons, some package thing... [20:58] balloons, music-app-autopilot : Depends: libautopilot-qt (>= 1.4) but 1.3+13.10.20130814-0ubuntu1 is to be installed [20:58] balloons, i just run it on device :P just takes me a bit longer to do things [20:59] This GPS is driving me nuts ! only works sometimes [21:00] balloons, but yh probably easiest if u dump to pastebin and i try and find the obj [21:00] ahayzen, uploading now.. it's 6.3 mb of text, lol [21:00] balloons, blimey lol [21:01] balloons, so when i do find it how to i then access it? [21:02] ahayzen, apparently the ppa is being fixed so 1.4 will work on saucy [21:02] balloons, yey \o/ [21:02] MyExHatesMeButMy: is that inside your click package? [21:05] popey, yeah that is /opt/click.blaah/myapp/0.1/myapp.desktop [21:05] I tried to placing the icon in the root dir and am going to see if it works [21:05] still no deals [21:09] ahayzen, compressed: http://ge.tt/2ee8G3E1/v/0 [21:09] balloons, thanks :) [21:10] balloons, so the searching begins [21:12] balloons, hmm can't see any of its properties :( [21:13] ahayzen, what do you mean? [21:13] balloons, well in the file u can see the child properties of the objs...so i searched for currentMeta and it didn't return a result [21:15] balloons, is it because it isn't a UI component?...or do i have to search harder :) [21:15] see no icon *Oo http://imagebin.org/286645 popey [21:15] took that image with phablet-screenshot bash script [21:17] MyExHatesMeButMy: have a look in /home/phablet/.cache/upstart for most recent log [21:17] thanks popey [21:17] should be one for your app and upstart and may give a clue why it failed to load [21:17] or a unity log [21:17] but those logs are worth looking at [21:20] ahayzen, I found the components.. I didn't find the player component [21:20] balloons, autopilot can definitely see non UI components? [21:21] ahayzen, all objects should be shown [21:21] course, we only dumped main_view [21:22] balloons, hmmm but Player (MediaPlayer) is a child of main_view [21:22] popey, Ouch ! QObject::connect: No such slot QGeoPositionInfoSourceUbuntu::updateTimeout() [21:22] ahayzen, right.. we should see it [21:22] but still nothing about the icon [21:22] ahayzen, when is it created? [21:23] balloons, as soon as the app starts it is the media engine from QtMultimedia 1.0 [21:23] ahayzen, k, just confirming. I would expect to have seen it [21:23] MyExHatesMeButMy: anything in unity logs? [21:23] balloons, ...well i hope (assume) it does [21:24] popey, yes there is a couple of errors [21:24] balloons, wht should we try now? [21:24] file:///usr/share/unity8/Components/TileStyle.qml:34:16: QML QQuickImage: Failed to get image from provider: image://theme/directions [21:24] [21:24] file:///usr/share/unity8/Launcher/LauncherDelegate.qml:62:20: QML QQuickImage: Failed to get image from provider: image://theme/directions [21:25] for both the Dash and the Launcher [21:25] what is themes ? [21:25] MyExHatesMeButMy, is when u say Icon { source:"directions"} [21:25] thanks [21:25] MyExHatesMeButMy, or whtever the syntax is ... [21:26] ahayzen, this desktiop file is driving me nuts that and the GPS [21:27] maybe because it is not in the store yet ? [21:31] anyways, ahayzen yes I'm a bit confused, but doing many things at once [21:32] balloons, haha no worries... i won't mention the UITK merge tht is still failing :/..... [21:32] balloons, anyone else i can ask who may know? [21:32] ahayzen, I'm sure it is.. I don't have power over there [21:32] I'm surpirsed tim didn't straighten that out [21:32] balloons, i'll have to poke him [21:32] afaik, the tests ARE failing for the UITK merge. ;egit failures [21:33] balloons, i hardly changed anything as well lol [21:33] ahayzen, thomi is around.. ask him :-) [21:33] he is the masta' [21:33] ahayzen, right, so might be something deeper, might not be [21:33] balloons, on #ubuntu-autopilot? [21:33] yep [21:33] balloons, thanks [21:34] I think I got it popey I think that the manifest.json was malformed. building new click.... [21:34] sweet! [21:36] Is there a way to un-install apps via pkcon ? [21:36] i tried pckon remove but it can not find my package, I think becuase it was built pkcon -install-local ? [21:41] i use click to unregister and remove packages [21:45] \o/ it worked popey ! now to figure out this GPS issue [21:45] sweet [21:46] popey, you know any one that I can haggle about the GPS issue ? [21:46] what device? [21:46] n4 [21:46] is gps turned on in your settings? [21:46] yeah [21:46] the n4 takes aaaaaaaaages to get a lock [21:47] can be like 20 mins [21:47] you need to leave it at the window [21:47] then it turns itsself off and you are right it takes ages [21:47] there must be fix for this lol [21:47] there is, AGPS [21:47] but that's not implemented yet [21:48] yeah my app is pretty much pointless with out gps [21:48] someone will get to a turn then 5 minutes later it will tell them to turn [21:48] that is not good [21:49] It is so strange I turn the GPS on and it turns itself off [21:50] bug 1248973 maybe [21:50] Launchpad bug 1248973 in Indicator Location "The location and gps check box don't stay checked" [High,In progress] https://launchpad.net/bugs/1248973 [21:50] yup [21:51] I guess it is what it is I could try and write some C++ with Geoservices and see if that works better [22:02] er still not working I am going to make a C++ plug in now [22:02] bug 1182658 [22:02] Launchpad bug 1182658 in location-service (Ubuntu Saucy) "Geolocation is not working in the browser" [High,Fix released] https://launchpad.net/bugs/1182658 [22:02] bug 1227427 [22:02] Launchpad bug 1227427 in address-book-service "Mobile Spec Suite crashes: Symbol lookup error in libqtcontacts" [Undecided,Fix committed] https://launchpad.net/bugs/1227427 [23:00] popey, mhall119: Please tell me this is good https://plus.google.com/113051860352311525753/posts/1YoDd8rGurF [23:00] nevermind wrongn link [23:03] sorry new link here -> https://plus.google.com/113051860352311525753/posts/E875HiR9y8r [23:03] it is regarding alarms design [23:08] nik90: ooh [23:27] good golly miss Molly. after stack traces debuging and valgrind and many other things including making a qt plugin. it turns out that it has notthing at all to do with QT But with Ubuntu Location Services. that lib is screewed and buggy as all can be. After looking that over and over again. I am still un-able to fix the issue with out re-writing many of the files that are in the Ubuntu Location Services Classes. WHY I ask you WH [23:27] Y take something that works and BREAK it ! [23:30] nik90, I asked my wife what she though about the clock app. She said that it was nice but needs a more simple way of setting alarms. She said that a digital clock would help. She could not figure out how to set a alarm. [23:30] but that said it is real nice. [23:31] MyExHatesMeButMy: a digital style is coming..I havent started on it yet, but tthat should be at most 1 day's work [23:31] cool [23:31] yeah she is not tech savy so I though that she was a good person to ask [23:31] MyExHatesMeButMy: ofc, user testing is always required [23:32] infact I like to see how this design is received by users [23:32] not geeks like us [23:32] lol [23:34] this Ubuntu Location Service really has me upset. For now that is. time to take 2 steps back. [23:35] MyExHatesMeButMy: did she try it on a device? [23:36] swiping hands on a device is so much easier [23:36] mhall119, yeah it is the overall feel that she said that she did not like [23:36] well not that she did not like it but did not understand it [23:36] ok, I suppose analog faces aren't everone's cup of tea [23:37] mhall119: +1 [23:37] example: she had no clue at all as to how move the hands on the alarm [23:37] it was fun to watch [23:37] heh [23:38] Like the Mum trys out linux videos [23:38] just kidding well about the fun part that is [23:38] I suppose "push the hand to the right time" is a physical analogy that younger generations might not catch [23:39] as nik90 said he is making a digital style [23:39] yeah, covery both will be nice [23:39] nik90 is pretty amazing [23:39] nik90, you going to use Picker for the digital clock ? [23:40] it is a AWESOME app and I use it all the time great stuff [23:40] nik90, if you like I can make it right now I have to step away from my app due to the whole gps issue [23:41] as soon as Alarms are fully functional, I will be officially retiring my DroidX [23:42] then again I just found the dang meat thermometer in the oven that she is cooking in. sticking right into the roast soo..... [23:42] good stuff [23:46] MyExHatesMeButMy: No I wouldn't be using pickers for the digital style [23:47] nik90, what are you thinking about using ? Something custom ? [23:47] MyExHatesMeButMy: I will show the onscreen keyboard where the user can press numbers to set the hours and minutes. Simple enough instead of having to keep rotating the picker dial [23:47] Good Idea nik90 [23:47] MyExHatesMeButMy: The text in the digital style will be exactly like the analogue one. The only difference between the analogue face will be hidden while the OSK keyboard will be shown [23:48] so nothing custom tbh [23:48] mhall119: thnx :D [23:48] nik90, no UbuntuShape behind the numbers ? [23:48] MyExHatesMeButMy: In the digital or the analogue style? [23:49] digital [23:49] MyExHatesMeButMy: as of now, I am thinking no. But tbh only when I implement it will I know for sure [23:49] I keep experimenting stuff until I get it right :P [23:50] that is the way to go [23:50] IMHO at least [23:50] this anlogue alarm design is the 5th or 6th iteration [23:50] Both design and implementation wisse [23:50] nice ! [23:58] nik90, Just watched that video. Great Work ! Any plans for making the background color changeable ? [23:58] nik90, like a pop up that that has a RGB picker