=== salem_ is now known as _salem === chriadam|away is now known as chriadam [06:29] how to run strace on click package? run it on qmlscene dosnt work. i got this "connection to Mir server failed " [06:51] good morning [07:22] hey dholbach [07:26] hey seb128 [07:58] seb128: glad to see that I'm not the only one being confused by the latest blog posts about GU [08:00] mardy, :-) === chriadam is now known as chriadam|away === chihchun_afk is now known as chihchun [09:21] popey, do you have a fat package with amd64 for dekko? [09:22] dpm do you want a fat or just an amd64 click? [09:22] hey DanChapman! [09:23] DanChapman, actually I'm just after an amd64 click [09:23] either would do [09:24] dpm morning. here is an amd64 click http://dekko-ci.cloudapp.net:8080/job/dev-trunk-build/releasetype=Release,target=amd64/lastSuccessfulBuild/artifact/dekko.dekkoproject_0.5.4_amd64.click [09:24] awesome [09:48] zbenjamin: t1mp: not sure who would own that one - https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1466410 [09:48] Launchpad bug 1466410 in ubuntu-ui-toolkit (Ubuntu) "Tabs/Pages don't work correctly when Repeater used" [Undecided,New] [09:49] I followed instructions on d.u.c, still didn't get the expected result when a Repeater is used to generate tabs. === chihchun is now known as chihchun_afk [09:55] page head sections don't scroll, they just overflow when don't fit screen width [10:00] karni: regarding the page head sections, thats why the SDK recommends a max of 3 head sections. [10:01] karni: in the new design, they will start scrolling..but that will most likely be only in ubuntu.components 1.3 (wily) [10:01] nik90: yes, I know they recommend. it should be _requirement_ if it's not more flexible ;) [10:01] nik90: I see :) [10:01] :) [10:07] Is there any way I could overlay the MainView / PageStack header with a slide-in pane (full height, from the left)? [10:07] It seems that page sections is always on top, and so is header title [10:11] Is there a document with all the ui elements on? I know what i want to use i just don't know the name of the component. [10:12] dubstar_04: this can be helpful https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components/ [10:13] karni Thanks. I was hoping there was something visual. [10:14] dubstar_04: there is the ubuntu-ui-toolkit-gallery, included in the ubuntu-ui-toolkit-examples package [10:15] like this: https://developer.ubuntu.com/static/devportal_uploaded/83fb1edc-d5f3-47da-b486-a4e4e29c1cbd-59473339-35bc-48da-874f-0b8ff797194e-media/2015/04/15/sdk2-blog.jpg [10:16] dubstar_04: sudo apt-get install ubuntu-ui-toolkit-examples && cd /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery && qmlscene ubuntu-ui-toolkit-gallery.qml [10:16] dubstar_04: yes either search "Ubuntu UI Toolkit" in the dash or go "Tools -> Ubuntu -> Showcase gallery" in QtCreator [10:16] thank you. [10:18] :-) [10:19] popey, have you managed to install click packages on the unity 8 session? When I try myself, I get a "cannot get authentication" message, regardless of if I try it from the host or from within the session [10:20] DanChapman, in the meantime, as it seems I can't install .clicks on the unity8 session, do you happen to have recent .deb builds of dekko? [10:20] IIRC there was a PPA [10:21] dpm: hmm, let me see, i tried your ppa when you mentioned it, noticed a couple of busted builds [10:21] * popey reboots [10:21] dpm: no sorry there is no debs. The ppa version was set up to build the 0.3 branch, so it's pretty old now. [10:22] popey, yeah, neither file manager nor clock built. I couldn't figure out why, but at least one of them looked to me to be a builder issue. [10:23] I'd rather install clicks, but I don't seem to be able to [10:23] yeah, me too [10:23] (would rather, that is) [10:23] dpm: do you get the swipe tutorial every time you login to unity8? [10:24] DanChapman, no worries. Is the development branch imported into LP. I could trigger a daily build on a PPA from that [10:24] dpm: http://people.canonical.com/~alan/core_apps_daily_clicks/ btw [10:24] popey, yeah, I get the swipe tutorial too, I reported it and listed it as known issues here: https://wiki.ubuntu.com/Unity8inLXC [10:24] ok [10:25] karni, can't you just raise the slide in panels z order to get it to go over the top of the title & sections? [10:25] popey, ah, cool, will grab them from there. But it wasn't clear to me: can you or can you not install clicks on your own unity8 session? [10:26] DanChapman: tried that. set z: 100, title & sections still on top of it. I tried to put an element outside of MainView (regardless if that was a good idea in context of rotation), but that got a syntax error. [10:26] dpm: yeah, booting now, not got to that yet [10:26] ah, no worries [10:26] dpm, I would need to sort out the install paths first. It's only setup for click installs atm [10:28] DanChapman, no worries. If click installs are busted in the unity8 session, then we can also wait until they're fixed. I was just very impatient to test dekko on a big monitor alongside the other core apps ;) [10:28] dpm: I get "Failed to obtain authentication" [10:28] popey, same here [10:28] you're using pkcon, right? [10:28] yeah [10:28] ah! [10:29] "alan is not in the sudoers file" [10:29] that wont help [10:29] (I suspect) [10:29] but pkcon is executed without sudo, isn't it? [10:29] it is [10:29] but suggests to me something else is awry related [10:32] dpm: if it is any consolation, dekko runs very well on a big monitor and standard unity7 :) [10:32] :-) [10:32] looks like pkcon is failing when doing a makedev [10:38] popey, bug 1466432 [10:38] bug 1466432 in unity8-lxc (Ubuntu) "Cannot install click packages" [Undecided,New] https://launchpad.net/bugs/1466432 [10:44] karni, http://paste.ubuntu.com/11734774/ is the only way i can get it to overlay the header fully [10:45] DanChapman: superb, thank you :)) [11:29] t1mp: small branch good for a short break https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/3guTextHandler/+merge/260970 another easy one https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/unitTestApiCheck/+merge/260348 [11:31] Mirv: qt5.5.0 build fix https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/stateSaverUrlType/+merge/262319 === _salem is now known as salem_ === MacSlow is now known as MacSlow|lunch [11:47] kalikiana: cool! I'm trying it out right away. [12:07] Are there any good tutorials on QML layout? I'm getting mixed up with Columns, Rows and Anchors. [12:09] how can i make the system a wireless hotspot, can't find an api for it [12:18] brendand: would you take another look at https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/autoPilotConverge/+merge/261658 [12:18] voldyman: you can't right now [12:22] kalikiana: so is there a way? [12:23] just do something like os.system ? [12:23] voldyman: no, the only option I'm aware of is usb networking [12:24] someone should add a toogle for that in system-settings ;) [12:24] (usb i mean) [12:24] usb networking? [12:24] ogra_: +1 [12:24] voldyman: you know, 90s style cable plugged in :-D [12:24] :/ [12:25] * voldyman was building an "Internet of Things" applicance [12:25] voldyman: you could maybe route through ssh, depending on what you need [12:26] all i wanted to do is to just have a button that it switches to hotspot mode and once the user is done with it it connects to a access point [12:27] * ogra_ thinks what you might want is ubuntu snappy instead :) [12:27] ogra_: that won't make anything easier, or would it? [12:28] snappy would be nice for updates and stuff but the API's would be the same [12:28] it gives you more abilities to manage hardware access etc ... the current phone is really only designed ot be a phone ... it will swithc to a snappy base soon [12:28] oh wait, how does the phone create a wifi hotspot? [12:28] also snap packages are way more flecible (but also more restrcited) than click packlages [12:28] kalikiana: IIRC you work on ubuntu phone for your day job? [12:29] voldyman: yeah. ui toolkit/ sdk/ qml components [12:29] kalikiana: do you know any person that might have dealt with something related to what i am dealing with? === MacSlow|lunch is now known as MacSlow [12:32] or point me to the ubuntu phone source code(s) [12:32] source for which bit? [12:33] the wifi manager [12:33] i just need to see the part where it deals with the wifi [12:33] https://launchpad.net/indicator-network [12:33] * voldyman needs to list the wifi networks available, connect to them and switch between AP mode and client mode [12:34] thanks popey [12:34] btw nice podcast! :) [12:34] I'm just checking the bugs.. https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/?field.searchtext=hotspot somehow it suggests the hotspot feature exists, yet I don't have it on my bq [12:34] heh, thanks [12:34] popey: any plans of changing the music ;) [12:34] voldyman: i think some network manager changes are in the works based on designs from mpt [12:35] voldyman: NEVER! [12:35] :) [12:37] hey guys i only see include files no implementation, src folder is empty, http://bazaar.launchpad.net/~indicator-applet-developers/indicator-network/trunk.15.10/files/head:/src/connectivity-api/connectivity-cpp/ [12:38] kalikiana: that fix seems good to land, even though there's still another bug that I just filed about install_plugins_qmltypes - but the fact that next bug is there means all unit tests passed (also on armhf) so that's good news [12:39] Mirv: link? I'll check the other one [12:40] kalikiana: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1466484 I'm just trying a build locally so I can see what it hides with that 2> /dev/null [12:40] Launchpad bug 1466484 in ubuntu-ui-toolkit (Ubuntu) "UITK install_plugins_qmltypes fails with Qt 5.5" [High,New] [12:41] ah [12:41] the hotspot ui is hidden (https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1421583/comments/5) [12:41] Launchpad bug 1421583 in ubuntu-system-settings (Ubuntu) "Allow users to create WiFi AP hotspots" [Undecided,In progress] [12:43] gah, gotta be careful, the nexus is so slippery [12:45] voldyman: http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/files/head:/plugins/cellular/ [12:45] kalikiana: <3 [12:45] brb [12:48] dholbach: I have tried that offline maps app and it doesn't work (on any device). Do you have contact details for the guys, would be good to let him know. [12:50] popey, I used his email address from the list - let me PM it to you [12:51] thanks [12:55] kalikiana: hmm weird, it build locally just fine, but the ALARM_BACKEND=memory /usr/lib/x86_64-linux-gnu/qt5/bin/qmlplugindump -notrelocatable Ubuntu.Components 0.1 ../../ failed on all archs on the PPA builders :( harder to debug at least. [12:59] dubstar_04: IMHO the best way to learn QML is to look into others code ;) Some basic video tutorials here: https://www.youtube.com/watch?v=Y4utTBcSjdM&list=PLB22HyVdO1GkLFrvRi5vIo5XcWS0EflxD [13:02] dubstar_04: here's also good explanation: http://qmlbook.github.io/en/ch04/index.html#positioning-elements [13:03] its quite alarming (huh) that clock and reminders fat packages are approximately the same size [13:03] brilliant!! Thank you. [13:16] kalikiana: updated bug #1466484 with the error gotten after removing the "2>/dev/null" from qmlplugindump.. but that doesn't happen locally :( [13:16] bug 1466484 in ubuntu-ui-toolkit (Ubuntu) "UITK install_plugins_qmltypes fails with Qt 5.5" [High,New] https://launchpad.net/bugs/1466484 [13:45] DanChapman: hey buddy. I had time now to check your snippet http://paste.ubuntu.com/11734774/ - however, I'm not seeing the panel at all. am I missing something? I took your QML as is and ran that on the phone. [13:47] karni :-) you can drag it in from the left of the screen [13:48] ahh you ran it on the phone [13:48] it seems I'm hitting the edge gesture [13:48] that would be why. [13:48] I see [13:49] But I can use something else than a panel, and just play with animated width [13:49] I should have just used a rectangle instead of a panel :_) [13:49] DanChapman: silly me. that's a good start :) [13:51] DanChapman: score :)! Thanks a lot :) [14:11] popey, bug 1466518 - I've marked it to medium instead of low, as while we're not using the .deb packages, people could use them to test convergent designs/behaviour on a unity7 session [14:11] bug 1466518 in Ubuntu Weather App "Icon not shipped in the .deb package" [Medium,Triaged] https://launchpad.net/bugs/1466518 [14:12] dpm: yeah, I'll take a look at that [14:13] popey, not urgent or anything, just a heads up that I filed the bug as we talked about it earlier [14:13] yup yup [14:17] I'm trying to get a layout like Column { OptionSelector {} Row {Label{} TextField{} }} and its not working. [14:21] balloons, meet dubstar_04 (daniel wood from the ML ;) ) ^^^ [14:21] (noticing that he still has no developer talking to him) [14:22] ogra_ i don't understand? [14:22] dubstar_04, you are daniel, or not ? [14:23] yes, that is me? [14:23] well, given the mailing list thread and your concerns yesterday that you never get an answer when asking here i thought i should push it a bit ;) [14:24] dubstar_04, ballons is nicolas skaggs ... [14:24] i thoguht i'd introduce you too [14:24] *two [14:25] Ah ok. I don't want to be a nuisance to the devs, I know they are all busy trying to build a new platform and don't really want bothering with my silly questions. It would be nice to get some help thought!! [14:25] dubstar_04, you are no nuisance for anyone .. the reason we do development in public IRC channels is that everyone can ask questions and get help :) [14:25] balloons is nicolas. Ok now your message makes more sense!! [14:26] heh [14:27] just idle a little here, i guess you'll get an answer soon [14:28] dubstar_04: the other advantage of doing this in the open is complete amateurs like me can lurk and soak in the help. I'm interested in the answer to your question as I've found some components don't respect the column layout [14:28] (or rather, they may respect it but I'm doing it wrong) [14:32] Hi. In the Ubuntu SDK Qml+C++ example; how can I get the mainView object to connect a QML signal to a C++ slot? All examples do this in main(), which is not how the SDK example works. [14:33] mcphail I completely understand what you mean. [14:42] hey guys [14:42] :) [14:43] dubstar_04, can you paste the qml you are trying so we can figure out what's wrong? [14:49] dubstar_04: hey there..let me try to help as well :) [14:50] anyone has an idea for my question as well? :) [14:50] dubstar_04: best way to get help is either a sample app which you need troubleshooting or paste.ubuntu.com it [14:51] dropp: lol..let me create a sampel qml c++ example. [14:51] dropp: I presume you chose the QML App with C++ plugin (cmake) ? [14:53] dropp: generally if it is a public slot that you defined in your c++ plugin, you should be able to call it as pluginname.slotname() [14:54] nik90: yes, that's correct. [14:54] dropp: in the SDK template example, you see them access myType.helloWorld [14:54] nik90: I defined a signal in the QML file and wantto connect it to a C++ slot [14:55] nik90: I assumed I have to connect ot from C++? [14:55] if your signal is called "signal clicked()" for instance .. you could do [14:55] onClicked: { myType.slotFunction() } [14:55] this way everytime your signal is called, the c++ slot is called [14:55] that's one way of doing it [14:56] okay, will it send a signal or just call the slot? [14:57] well when you signal is fired, the signal will take care of calling the slot. [14:57] so in your qml side, you will need to ensure that your signal is called appropriately [14:57] nik90: let me try [15:02] nik90: i think it doesn't work. QML assumes when I write "onClicked: { ... }" that there is a C++ slot called clicked() (Q_PROPERTY style). This is what I get: [15:02] nik90: Cannot assign to non-existent property "onClicked" [15:03] eh sorry, I mean a C++ signal called clicked() [15:03] I think you're confusing between signals and slots. Slots are functions defined in the c++ plugin that you can call to perform a certain task while signals are used to tracks events. [15:03] i think it is better you describe what you want to do rather how to debug your issue. [15:03] sorry, yes, I corrected myself. [15:04] Hi balloons I don't have it with me. Its on my machine at home. Sorry. [15:04] Okay, one sec [15:04] I mentioned that you need to define a signal() in the qml end and then use that to call the c++ plugin slot. [15:05] so if you didn't define the signal in your qml code, then when you try onClicked: {} it is going to complain that it is missing. [15:07] nik90: yes, i defined the signal via "signal clicked();" [15:07] nik90: consider this example: http://andrew-jones.com/blog/qml2-to-c-and-back-again-with-signals-and-slots/ there is a section called "Emitting a signal from QML and listening to it from C++" [15:07] nik90: this is exactly what I want to do, except that I don't have the mainView object to connect them [15:08] QObject::connect(window, SIGNAL(submitTextField(QString)), &handleTextField, SLOT(handleSubmitTextField(QString))); [15:08] I don't have the "window" object in the SDK example [15:09] hmm yes I see [15:10] It would be great if I could connect it from the QML side. I defined the signal though, yet it still complains as described above. [15:13] dropp: Here's what's I tried...http://paste.ubuntu.com/11735792/ ... calling the signal in the qml end worked for me [15:32] mzanetti: meeting? [15:34] popey, coming [15:57] zsombi: hey, small question about our TextField implementation. I can see in the API that we have maximumLength property as well, but it doesn't seem to do anything (contrary to the same example with QtQuick.Controls 1.3), is that known? (I'm using Ubuntu.Components 1.2) [16:01] zsombi: forget me, seems to have been my bad :) === rickspencer3_ is now known as rickspencer3 [16:06] nik90: when do you want r280 uploaded? [16:18] popey: that's your call [16:19] popey: I have a few others MPs to merge to trunk now that the update has been approved. [16:19] nik90: oh, okay. I'll upload it in a little bit today then [16:19] cool [16:19] thanks nik90 [16:20] popey: looks like the new icon will be revealed with the update :) [16:20] nope [16:20] oh :P [16:20] I am ripping that out and rebuilding the click right now :) [16:20] damn it .. shouldn't have said anything. ;) [16:20] oh, I was on it :) [16:20] they dont want them going in retail devices till OTA5 [16:21] so I have a mental note to do this every time [16:21] * popey is now automating this [16:21] ah ok..yeah changing them all in one go with OTA-5 will provide a completely fresh experience I guess [16:21] ya [16:22] hi, I'm looking for a way to be able to delete an sms or mms message that I receive during a test, without using the UI to do it. Is there a dbus api I can use to do this? [16:32] * popey hugs zbenjamin [16:58] nik90: do you have a changelog apread prepared from r192 to r280? [16:58] (for the store) [16:59] there's like a thousand bugs fixed in this ㋛ [17:02] * popey makes http://pad.ubuntu.com/ClockAppChangeLog [17:04] balloons is your still about this is the code: http://paste.ubuntu.com/11736334/ [17:06] popey: http://pad.ubuntu.com/clock-app-changelog [17:07] popey: wouldn't that work? [17:08] popey: nvr mind..I see your more compact and cleaner changelog [17:09] popey: huh? [17:10] popey: what was the hug for? [17:10] could anyone tell me how to get the textfield to fill the rest of the space? http://paste.ubuntu.com/11736334/ [17:10] dubstar_04: if you give me 5 mins I can :) [17:11] zbenjamin: just a hug of appreciation [17:11] awww [17:11] nik90: yeah, nobody reads them anyway :) [17:11] nik90 i'm just about to put my daughter in bed. I will be back later. Thank you. [17:13] * zbenjamin hugs popey back :D [17:13] \o/ [17:15] nik90: done [17:15] \o/ [17:15] Thanks for the hard work! [17:15] wow clock is 12.8 mb? since when? [17:15] fat package [17:15] np :) [17:15] ah yes [17:16] literally fat :) [17:16] :P [17:16] adb shell sudo rm -rf /opt/click.ubuntu.com/com.ubuntu.clock/current/lib/*86* [17:16] :) [17:17] popey: is this something snappy might do in the future? [17:17] s/might/will [17:17] oh god, you'll wake ogra_ [17:17] telling us how snappy fixes everything [17:17] oh boy I woke the giant [17:17] snappy will fix everything [17:17] BINGO! [17:22] dubstar_04: this should make you happy ;) paste.ubuntu.com/11736334/ [17:22] nik90, wins :-) [17:22] balloons: ? [17:23] dubstar_04: sry, this one http://paste.ubuntu.com/11736432/ .. (wrong link before) [17:23] ogra_, now that we've got your attention... :) Quick question about the ancient click and dpkg technologies: so I'm trying to install a .click on the unity8 LXC container, which fails. Then I tried to see if it can be installed on a unity7 session, where I'm getting this error - do you happen to know why it's failing complaining about dpkg? [17:24] ogra_, as per http://pastebin.ubuntu.com/11736394/ [17:24] because click uses dpkg for unpacking i think [17:25] popey, so I gave the dekko installation another go, but this time from my unity7 session. I didn't succeed, but this time I know at least why it's stalled: it's trying to show the sudo graphical prompt and it can't [17:25] i dont really know the details of click [17:25] balloons: btw I'm reviewing your branch..I might not understand the CMakeParserPlugin.py stuff..but I will test the whole thing out and comment in the MP [17:25] ogra_, nm, thank you anyway [17:25] dpm, sergiusens might know more than I [17:25] nik90 how do isend hugs?? [17:25] sergiusens, would you be able to help with this? ^^ [17:26] sergiusens, essentially, it's about bug 1466432 [17:26] bug 1466432 in unity8-lxc (Ubuntu) "Cannot install click packages" [Undecided,Confirmed] https://launchpad.net/bugs/1466432 [17:26] dubstar_04: lol..just enjoy..feel free to ping me in case you hit any other road bumps. [17:26] nik90, awesome. [17:26] more or less things should be better / easier for building and running the tests now [17:27] are row layouts in the sdk docs? [17:27] balloons: ok. btw I need some help with the transition to the 15.04 framework..the AP tests are failing because the MainView is incorrectly referenced now in the clock app tests. [17:27] dubstar_04: http://doc.qt.io/qt-5/qtquicklayouts-index.html [17:28] dubstar_04: I don't think so..usually I just use upstream qt docs when using qt components. as simple as that. [17:28] thanks DanChapman [17:28] thanks nik90 [17:28] hi jdstrand, would you be able to comment on the apparmor part of bug 1466009? [17:29] bug 1466009 in ubuntu-system-settings-online-accounts (Ubuntu) "Cannot add U1 account on Unity8 Desktop" [Medium,Confirmed] https://launchpad.net/bugs/1466009 [17:29] dubstar_04: also the upstream qt docs that DanChapman linked are very well displayed with good styling that I like very much. [17:29] hello . I have a bq 4.5 . how can I test my first "hello word" application using my phone . [17:31] kass117: hello. I suggest you take a look at https://developer.ubuntu.com/en/apps/ to get started. [17:33] dpm: ogra_ nik90 i'm just guessing, but you may not have a click database initialized [17:33] sergiusens: ? .. I think you meant popey [17:34] nik90: maybe, I haven't really read the backlog in detail :-P [17:34] sergiusens, thanks. In case it's that, how do you initialize one? [17:34] nik90: btw, what happened to flashback? [17:35] sergiusens: its in deep slumber atm.. [17:35] sergiusens, I did then run 'click install', as per the suggestion on the original failure message, but that didn't work either (btw, what's the recommendation, to use pkcon or click install?) -> http://pastebin.ubuntu.com/11736490/ [17:35] sergiusens: I just felt like contributing to projects which has more than 1 person ... makes it more interesting [17:35] good news for podbird :-) [17:36] sergiusens: with flashback I got to worry about everything..and also it required massive rewrite due to API v2 and local data caching. [17:36] dpm: ;) [17:38] nik90: shame really, flashback is one of those apps we loved to show off to people [17:38] dpm: pkcon install won't work unless you have the right security polkit bits setup [17:38] sergiusens: That's what we're missing - and no idea how to set that up [17:38] popey: dpm https://click.readthedocs.org/en/latest/databases.html [17:39] popey: hopefully podbird will take over that need [17:39] podbird is also awesome of course :) [17:40] sergiusens, and on the question of using pkcon install-local vs. click install? What's the recommended tool? [17:40] well, given running click tells you to run pkcon :) [17:41] it feels like there's some fu being done on the click based touch images which isn't being done on the unity8lxc image [17:41] popey: dpm you would need to setup the polkit rules, check the phone, under /etc/polkit something [17:42] popey: dpm and I think the right bits for polkit are in lxc-android-config [17:43] popey, well, what confused me was the other way round: pkcon tells you to use click: http://pastebin.ubuntu.com/11736394/ [17:43] L24 [17:44] thats a red herring [17:44] dodgy click package IMO [17:44] you need to be doing the install inside the container [17:44] oh, you are? [17:45] popey, I tried it inside the container, it failed on "Waiting for authentication". Then I tried outside to see if it'd work (I didn't expect it to), and that's that pastebin ^ [17:46] waiting on authentication is basically "where's the sudo prompt" [17:46] exactly [17:46] and it shows the prompt on a unity7 session, but not on a unity8 one [17:46] if you do it via ssh then use the unity8-setup maint thing, it _does_ prompt you for your sudo password [17:46] just not from inside the terminal on the machine [17:46] not sure how you're getting a graphical prompt [17:47] popey, I'm not sure why you're using unity8-setup to install clicks [17:47] because I had no terminal on it [17:47] popey, you mean lxc-console [17:47] so ssh'ed in to the machine than used the unity8 script to get "into" the lxc [17:47] yes [17:48] ok, gotcha. [17:48] yeah, I've tried all these options [17:48] but, I agree with sergiusens, we need the polkit bits [17:48] seems like it, yes [17:48] sergiusens, does this look like what would be needed to have installed? http://pastebin.ubuntu.com/11736562/ [17:49] doesn't seem to list any polkit rules, though [17:50] yeah, no mention of PolicyKit or polkit through the source package [17:51] the policykit-1 package seems to include the contents of what's under /etc/polkit [17:59] I wonder if you could take a look if I'm missing something here... https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/orientationManual/+merge/254753 I can't make tests/autopilot/ubuntuuitoolkit/tests/components/test_popover.py work, it reliably hits the wrong button, small instead of huge, that is true even if I replace the test case so it's not [17:59] a simple race condition [17:59] ^^ brendand === mhall119_ is now known as mhall119 === alex-abreu is now known as alex-abreu|afk [18:33] popey: looking at the phone now, but yeah, polkit bits are gone [19:39] balloons: commented on your MR. minor confusion but otherwise looks good. [19:41] nik90, for your paste, how did you build it? [19:43] balloons: on a vivid desktop [19:44] I meant the location. You still have to build it; it simply doesn't matter where you do so [19:44] balloons: I called cmake and make right from the root directory without creating any special builddir [19:44] nik90, ahh indeed [19:45] balloons: reading your MP description, I got the impression that a special builddir wasn't necessary. I am fine with it, just wondering if that's what you expected. [19:46] nik90, I expected you to be able to build in whatever folder you wish [19:46] so you are correct. [19:47] ok [19:48] let me merge trunk and check [19:49] dubstar_04: you might want to use paste.ubuntu.com to paste stuff. [19:50] queue bzr love [19:51] nik90, indeed so something isn't quite right. I guess I should look closer [19:52] balloons: if you want you could do that in the next MP and let this be only about the Emulators.py to __init.py__ change [19:52] nik90, ohh lol, I see the issue. Curious how that got reverted [19:52] ah cool [19:53] boom works.. let me try a few different ways of building to make doubly sure [19:53] ok...ping me when you're done and I will test and approve. [19:53] also changelog pls :) [19:54] I updated the changelog already so ;-) [19:56] karni: hey, I know you are EOD, but pls do ping me tomorrow when you're free. [19:56] nik90: I'm not EOD :) what's up? [19:56] * karni still @work [19:56] karni: oh .. you work late ;) [19:56] I'm quite busy these days [19:57] karni: anyway I wanted to help migrate telegram over to ubuntu-sdk-15.04 in order to use the new sdk listitems. It will greatly help with performance issues IMO. [19:57] karni: however I seem to be out of touch with the whole building and testing telegram. I might need help with that. === alex-abreu|afk is now known as alex-abreu [20:09] nik90, so how do things work now if you use the SDK to build the app? [20:10] nik90, basically the changes mean the tests read the cmakelists.txt.user file and find the build dir. Then go looking inside of it for what needs to be launched. I noticed when the SDK does it's out of tree build, things seem a bit off [20:12] balloons: What do you mean by using the sdk to build the app? I just open the cmakelist which it then uses to build the app and deploy to the phone to run it. [20:13] nik90, I simply meant, rather than using cmake from the command line, instead let the sdk build it [20:13] * balloons compares [20:13] balloons: ah ok..hmm I could try that.. [20:13] that doesn't seem to work as it doesn't put the qml in the build folder [20:14] balloons: I know that when I build stuff using the SDK, it creates a builddir outside my project directory and goes about its buisness [20:14] yea.. weird, it looks the same [20:14] ok [20:14] yea at some point my cmake understanding goes out of the window when it does stuff like that [20:14] lol [20:15] shall I start to test your branch? [20:15] all pushed [20:15] ? [20:15] 1 sec [20:15] pushed rev 288 [20:15] * nik90 tests [20:17] argh, bzr keeps wiping my stuff [20:29] nik90, I can say it's not doing what I want it to [20:29] balloons: it works from root, but when I create a builddir it fails http://paste.ubuntu.com/11737282/ [20:30] it seems unable to find the c++ plugin DateTime [20:32] so basically I can change the default to 'builddir' again [20:33] yeah I suppose :P [20:34] nik90, but that said.. I don't see any binaries or qml in the build dir. I think this is incorrect [20:35] balloons: I see the binaries in the builddir though..all 3 of them [20:35] how can i get data from a model of an OptionSelector when i have the selected index? [20:35] nik90, maybe it just hates me. Where are they? [20:35] balloons: inside builddir/backend/plugin-name/*.so [20:36] dubstar_04: sec, /me checks api [20:38] dubstar_04: can you provide code with the optionselector..I don't see any obvious API methods for it..but can give it a shot [20:38] balloons: but I don't see qml code..the qml folders are just filled .cmake files [20:38] nik90, right.. I think I've got things sorted now [20:39] nik90 i expected it to be something like OptionSelector.model.index.name [20:40] dubstar_04: may be its something with get() .. I used this a long long time ago..may be I should dig up old clock app code to check ;P [20:41] popey: erm -> https://bugs.launchpad.net/ubuntu-clock-app/+bug/1466648 [20:41] Launchpad bug 1466648 in Ubuntu Clock App "Current click package in the store ships with files from other core apps" [Undecided,New] [20:43] popey: probably that's why the fat package was fat indeed [20:43] nik90, ok, I feel good about this: rev 290 [20:43] * nik90 updates and tests [20:50] nik90 I've don it now. model.get(Index).data [20:50] balloons: I'm afraid it fails with the builddir..http://paste.ubuntu.com/11737376/ [20:50] I had model in a seperate QML file and it wasnt working [20:50] dubstar_04: ah awesome man..I suspected get() .. but wasn't sure [21:16] nik90: sorry for the delay. It works now! :) Thank you! [21:16] I forgot to put the "page." before test() [21:17] in "page.test()" that is [21:17] thanks again and bb [21:28] is there a way to pull information (html) from a site and display it a custom way? [21:58] Anyone awake to help with publishing apps? [21:59] dubstar_04: sup again ;) [21:59] I have these errors: https://lh3.googleusercontent.com/L5QryBwOHRHW_DTf6i6W033coI2z-HrPqaFbIPS5W-4X=w1074-h671-no [21:59] dubstar_04: which button did you press? validate existing click package or build and validate click? [21:59] dubstar_04: also do you have a source zip somewhere I can test on my local machine [22:00] build and validate [22:01] dubstar_04: frankly no idea why you see that. want me to test and build you a click? [22:02] I will send you a zip but i would rather know what was going wrong and build the click myself. [22:02] dubstar_04: well I can atleast confirm it is not an issue with your click and help you debug [22:15] dubstar_04: https://imgur.com/gVoAae5 [22:17] do i need to change the name? [22:18] dubstar_04: not sure..I am opening the askubuntu link shown for more info.. [22:18] https://askubuntu.com/questions/417371/what-does-functional-qml-applicationname-matches-manifest-mean/417372 [22:19] it seems correct to me [22:19] not sure why it is complaining [22:19] although when running on the phone, the UI is a bit messed up [22:19] * nik90 takes a screenshot [22:21] https://imgur.com/OASYfEt [22:21] it seems the width is not respected, causing stuff to be cut out [22:21] what would cause that? [22:23] normally when you run on the phone, it should dynamically adjust the appplication size to the phone dimensions. [22:23] dubstar_04: I am going to create a new project and copy files over to see if it fixed it. [22:23] then we look at the code diff to spot the mistake [22:23] cool thanks [22:28] nik90 what if you change the name in the manifest to MachinistsMate.marthamengineering [22:28] with capitals? [22:29] * nik90 tries === salem_ is now known as _salem [22:31] dubstar_04: I created a sample project where I called it machinistmatenik90.nik90 and that worked.. [22:31] changing the capitals didnt help [22:31] with my sample project the width is not respected either when I copied over your code [22:31] frankly this is puzzling and annoying :P [22:32] I think I might have to leave it tonight. I'm up for work in 5 hrs. Thanks for all the help. [22:33] dubstar_04: same gtg sleep. [22:33] dubstar_04: will check tomorrow when I find time [22:34] dubstar_04: found it! [22:34] Thanks again. [22:42] nik90, sorry crazy storm and power outage [22:42] balloons: where is this adventurous place do you live in ? [22:43] the US ;p [22:44] not sure if you got my msgs before the storm [22:44] balloons: rev 290 AP tests fail when using builddir I am afraid. [22:44] .http://paste.ubuntu.com/11737376/ [22:44] nik90, yes I saw. It's weird because it worked for me, but not on a fresh checkout. I do get why it doesn't work tho [22:45] balloons: hmm not on a fresh checkout..seems like bzr is messing with you then [22:45] nik90, so what we can do is support builddir, or the sdk.. which is an improvement from before [22:46] but, not any arbitrary directory [22:46] balloons: its your call. As long as the README files instructions are up to date we should be fine. [22:46] the only reason I am not a fan of building in the root dir is to avoid getting it dirty [22:47] which is why we used the builddir setup [22:47] yea.. I just wanted to support any arbitrary directory [22:47] so you didn't have to say 'builddir' [22:47] but the sdk support is really nice, so [22:48] hmm true [22:49] dropp: before you left I was about to say that the method described in the blog post you linked seems like a better way of doing things and that you should get the help of someone else here to figure that out. [22:50] nik90: sorry, i had to go... i found another site showing even more advanced ways of connecting (from QML) [22:50] dropp: can you paste the link here. I'll like to learn as well [22:50] nik90: http://doc.qt.io/qt-4.8/qmlevents.html [22:50] it features a .connect() from QML [22:50] nik90, ok, pushed rev 291. This should let you build with SDK, and it will find the directory and use it, or use builddir [22:51] really sad we don't generate a file we can parse via cmake otherwise [22:51] balloons: so I build using the sdk and then run the tests from the terminal as usual? [22:51] the sdk creates one.. [22:51] nik90, yep you can do that.. Or follow the readme [22:52] if Akiva finishes his plugin soon, you'll be all set to run them as a run config in the SDK [22:52] nik90: however, it seems that the signal/slot mechanism is not asynchronous, which was the whole point for me to use it [22:52] balloons: ok. Can I test this tomorrow and then top-approve? Its late here now [22:53] nik90, yep for sure. So for the messup.. I thought it was all ready to go [22:53] seems my original tree was a little corrupted or something.. an extra build I guess, that let things work when they shouldn't have :-) [22:53] balloons: no worries, btw I am noticing test fails in my 15.04 transition branch ... they pass locally on my machine. [22:54] nik90, test fails on? [22:54] balloons: test fails on jenkins [22:54] I have an issue with QAudioRecorder. Sometimes (on the Desktop -- most times on the Nexus4) .start() or .stop() does not return and hangs indefinitely. I was hoping to still have a responsive UI this way... [22:54] nik90, ahh.. right.. qml tests I assume? [22:54] balloons: yes [22:54] nik90, I'll look tomorrow at them as well [22:55] wow that sentence [22:55] balloons: ok. I don't want to delay landing features due to testing infrastrcuture .. we can always get back to them later. [22:55] ;P [22:56] alrite I am off to sleep..tty tomorrow. [22:56] gn nik90 [22:56] dropp: gnite [22:57] Anyone knows whether or not there is a way to asynchronously call a C++ function from QML? Sort of like fire and forget. [22:58] Because right now, my GUI becomes unresponsive once the QAudioRecorder functions don't return for whatever reason... [23:00] Hmm [23:01] Is QAudioRecorder known to be buggy? It seems quite weird that this happens...