=== _salem is now known as salem_ === salem_ is now known as _salem === chihchun_afk is now known as chihchun [08:44] Good morning!! === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === tsdgeos_ is now known as tsdgeos [12:34] appdevs hi! [12:35] o/ === _salem is now known as salem_ [13:08] popey: o/ i can't open the presentation you shared. i've requested the access, could you approve my request? [13:09] sverzegnassi: its not my doc, have pinged them to open it up [13:09] popey: ok, thanks! [13:11] popey who do I need to talk to about pageheaders? [13:11] * popey points Dubstar_04 at faenil or zsombi maybe? [13:11] * faenil appears [13:12] femma: ^ [13:12] faenil I'm on irc. Are you happy now? [13:12] Dubstar_04: indeed [13:12] very :) [13:13] I aim to please... [13:13] femma ping [13:13] sverzegnassi: try now? [13:13] hi Dubstar_04 [13:14] sorry, I've been in meetings all day and just spotted this [13:14] how can I help? [13:15] Dubstar_04: timp is the engineer who implemented the component [13:15] Femma I'm having trouble with pageheaders and I'm on a web app so i cant paste a link. :( [13:15] the UX designer who worked on it left, but I think femma can help you with that if you need design input [13:15] popey: now I can read it \o/ [13:15] https://bugs.launchpad.net/ubuntu-ux/+bug/1540240 [13:15] Launchpad bug 1540240 in Ubuntu UX "Automatic Header height adjustment should be optional " [Medium,Triaged] [13:16] Dubstar_04: it is still on my list, after a few other bugs [13:16] femma: ^ can you take the UX part of that bug? [13:17] Femma: So its being looked at? [13:17] timp I'll assign it to myself and Dubstar_04 yes I shall take a look :) [13:18] Amazing!!! Its driving me bonkers! [13:19] Femma: I would be really interested to be involved in any converstions about the pageheader. is that possible? [13:21] Dubstar_04, I shall keep you in the loop the best I can :) [13:23] Femma: Thank you. While you're here, if I have a toolbar in a pageheader is there any way to hide it and reduce the height of the header [13:23] ?? [13:24] is I set visible: False the tool bar is gone but the header height stays the same. [13:25] timp, is that a bug ^^ [13:25] if the toolbar is hidden, then surely the space should become available? [13:26] Dubstar_04, I need to dash to another meeting in 5 mins, can you raise that as a bug and assign it to me and I will take a look at it and get back to you asap [13:26] ? [13:26] I can of course create a new header without the toolbar in but that would generally be a duplicate of code just with the toolbar omitted. [13:26] Dubstar_04, yeah that doesn't make sense to do that [13:26] Femma: I will create a bug report tonight. Thank you. [13:27] faenil, Dubstar_04: yes, that is this bug https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/invisible-header-topmargin/+merge/290659 [13:27] fix is in progress [13:27] \0/ [13:27] Dubstar_04: the bug is about making the whole header invisible. Is that what you mean? [13:28] Dubstar_04: if you only want the extension in the header hidden, just set header.extension to null [13:28] Timp: I will try that. Thanks. [13:28] Dubstar_04: perhaps setting visible: false for the extension should also reduce the height. Can you report a separate bug for that? [13:29] Can do. [13:44] thanks [15:13] hi all [15:13] I've got a problem with the SDK [15:15] I want to install, execute or only build an app for my ubuntu phone, but I can't: in the device tab I can see that the network connection of my phone is off.. how can I do? [15:15] the phone is connected to the wifi... [15:15] and at the pc via usb [15:15] mike00: is developer mode enabled on the phone, and did you unlock the phone screen? [15:17] yes [15:18] about one month ago, there weren't problems... [15:19] but recently the network connection is off and I can't do nothing...ù [15:22] does your phone show up in the list if you run "adb devices? [15:22] i don't understand the message about network connection being off. sdk shouldn't care if the phone has a network connection or not [15:22] bzoltan, timp: ^^ do you know? [15:24] mike00: does 'adb shell' log you in on the device? [15:24] mike00, dobey: I think qtc uses ssh to connect to the phone [15:24] zbenjamin: ^ [15:25] what "adb shell" is? [15:25] timp: it uses phablet-shell right? ssh-over-usb ? [15:25] dobey: I don't know the details [15:25] but yes it would make sense if it uses phablet-shell [15:25] dobey: its using adb forwarding yes [15:26] ok [15:26] timp: its not using phablet-shell though. We adb forward the ssh port to a local port and connect to that local port [15:26] mike00: adb shell should connect to the phone over the usb cable and login giving you the ubuntu shell on the phone [15:27] in the device tab, under control, when it says "Open SSH connection to the device"? [15:28] mike00: open a terminal and type : adb devices -l [15:28] mike00: check if your device is listed there [15:28] I get this :"JU011324 device usb:1-1.3 product:occam model:Nexus_4 device:mako" [15:29] mike00: also check "adb forward --list" [15:29] but I haven't a nexus ... :( [15:29] I get this: "JU011324 tcp:10000 tcp:22 [15:29] JU011324 tcp:10001 tcp:10001 [15:29] JU011324 tcp:10002 tcp:10002 [15:29] JU011324 tcp:10003 tcp:10003 [15:29] JU011324 tcp:10004 tcp:10004 [15:29] JU011324 tcp:10005 tcp:10005 [15:29] JU011324 tcp:10006 tcp:10006 [15:29] JU011324 tcp:10007 tcp:10007 [15:29] JU011324 tcp:10008 tcp:10008 [15:29] JU011324 tcp:10009 tcp:10009 [15:29] " [15:29] mike00: which device do you have? [15:30] Bq Aquaris E4.5 [15:30] adb device always returns the wrong device [15:30] you don't need to worry about that [15:31] ok [15:31] so, what's the problem [15:31] ? [15:31] mike00: "ssh -i ~/.config/QtProject/qtcreator/ubuntu-sdk/ubuntudevice_id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 10000 phablet@localhost [15:32] in the terminal? [15:32] yes [15:32] does it open a shell for you? [15:32] or do you get a error [15:32] I'm in the phone... [15:33] hm then there is no connectivity problem with the phone [15:33] what happens when you try to run an app? [15:33] it's the same going in the SDK in the device tab and, under control, and click on "Open SSH key to control device", is correct? [15:34] yes [15:34] when I run an app on the phone i get this: "17:33:21: Running steps for project tris... [15:34] 17:33:21: Starting: "/usr/bin/rsync -avh --exclude .bzr --exclude .git --exclude .hg --exclude .svn --exclude '*.qmlproject' --exclude '*.user' --exclude tests --exclude Makefile --exclude .excludes --exclude '*.ubuntuhtmlproject' --exclude-from=/home/mike/Documenti/PC/App/tris/.excludes /home/mike/Documenti/PC/App/tris/ /home/mike/Documenti/PC/App/tris/.ubuntu-sdk-deploy" [15:34] rsync: failed to open exclude file /home/mike/Documenti/PC/App/tris/.excludes: No such file or directory (2) [15:34] rsync error: error in file IO (code 11) at exclude.c(1179) [client=3.1.1] [15:34] 17:33:21: The process "/usr/bin/rsync" exited with code 11. [15:34] Error while building/deploying project tris (kit: Ubuntu Device (GCC armhf-ubuntu-sdk-15.04-vivid)) [15:34] When executing step "UbuntuSDK Click build" [15:34] 17:33:21: Elapsed time: 00:00." [15:35] please use a pastebin to paste things [15:35] what is it? [15:35] http://http://pastebin.ubuntu.com/ [15:35] err http://pastebin.ubuntu.com/ [15:35] ok http://pastebin.ubuntu.com/15577629/ [15:35] well the error says: rsync: failed to open exclude file /home/mike/Documenti/PC/App/tris/.excludes: No such file or directory (2) [15:36] did you maybe delete that file? [15:36] there is no directory with that name... === chihchun is now known as chihchun_afk [15:38] but with this app i had some problems: I have to copy every times the qml file in a directory before run the app also on the pc. but once the directory there wasn't [15:38] I tried with another app.. [15:39] mike00: is that your app? [15:39] mike00: if so i'd suggest that you migrate to a qmake based template instead of qmlproject. We recently dropped qmlproject support [15:40] ah, I didn't know it... [15:40] because on ubuntu 14.04 there aren't choice and I continue with qmlproject... [15:40] mike00: do you use the ubuntu-sdk-ide ? [15:41] yes, i think so... [15:41] i got this with another app in the application output: http://pastebin.ubuntu.com/15577655/ [15:42] and this in the compile output http://pastebin.ubuntu.com/15577667/ [15:42] mike00: https://developer.ubuntu.com/en/blog/2015/11/19/here-comes-brand-new-ubuntu-sdk-ide-tools/ [15:43] I'll have to uninstall the SDK I have now? [15:43] mike00: no just make sure you have the correct one... [15:43] how? [15:43] mike00: apt-cache policy ubuntu-sdk-ide [15:44] http://pastebin.ubuntu.com/15577687/ is the latest version? [15:46] mike00: looks good [15:46] so? [15:47] mike00: well your device does not know the 15.04.4 framework as it says [15:47] mike00: so you need to change the version you use in your manifest file [15:47] with the 2° app happend a very strange thing.... [15:47] mike00: the device tab tells you about the framework the device knows [15:48] framework version? [15:49] mike00: yes [15:50] ubuntu-sdk-15.04 [15:50] mike00: every device supports a specific framework... for example 15.04 or 15.04.4 [15:50] and I have to set it in the manifest.json file? [15:50] mike00: the device tells you in the device tab which framework it supports. You cannot have a higher framework in the manifest.json file [15:51] but I have to set ubuntu-sdk-15.04 or ubuntu-sdk-15.04-qml? [15:51] or ubuntu-sdk-15.04-papi or ubuntu-sdk-15.04-html? [15:52] mike00: i usually set the one without postfix [15:52] ubuntu-sdk-15.04 [15:52] ok [15:53] THANKS VERY MUCH!!! IT WORK [15:53] :) [15:54] but I have a new directory in the app directory called ".ubuntu-sdk-deploy" [15:55] and every time I change a file I have to copy in that directory... why? [15:55] mike00: yeah , thats where the SDK packages your application for the phone [15:55] mike00: you should not need to copy the file there it should happen automatically [15:55] and always I have to copy files? [15:56] mike00: but really. use qmake based projects. :D [15:56] what's the difference? [15:56] between qmake and qmlproject? [15:57] mike00: qmake is a real tool to build projects. Its the default project type for QtCreator and is completely supported. Where qmlproject is only a format for prototyping qml UIs and does not have any idea how to actually package a project correctly [15:57] we did some hacks to make it somewhat work but as you can see its not really nice [15:58] and breaks too easily [15:58] ok [15:58] thanks [15:58] mike00: if you want to learn more about qmake: http://doc.qt.io/qt-5/qmake-tutorial.html [15:58] mike00: or even better http://doc.qt.io/qt-5/qmake-manual.html [15:59] thanks very much [16:00] mike00: ok, i will be off now.. Already sitting for too long in front of the screen today ;). But if you have more questions feel free to ask. I will check in randomly on the weekend and be back on monday [16:00] ok, I'll have to go too [16:00] bye [16:00] mike00: see you === nhandler is now known as StaffUnicorn === JanC_ is now known as JanC [19:32] bzoltan ping [19:34] ? [19:39] hi all. zbenjamin said me is better using qmake. now I created a new project with the SDK, but I can't run it on my phone... some help? [19:40] mike00 what r u seeing? [19:40] ??? [19:41] how are you doing it? is there any error message? [19:42] I click on the green arrow in the bottom-left corner [19:42] ok [19:42] then what happens? [19:42] after selecting the phone as kit [19:43] appears a window saying "waiting for your device to get ready" [19:43] is the phone unlocked? [19:43] and is it in developer mode? [19:45] yes [19:45] what device are you using? [19:45] bq aquaris e4.5 [19:45] ok [19:45] but this afternoon it worked [19:46] with a qmlproject, not a qmake... [19:47] that's strange [19:47] now in the device tab there's a message: "there was a error in the device detection, check log for details" [19:47] what can I do? [19:49] on the devices page, you can actualy click on the 'log' tab. it is next to the devices tab [19:49] what does it say there? [19:50] http://pastebin.ubuntu.com/15580305/ [19:51] hmm it seems the sdk is looking for an emulator on your pc. not your phone [19:52] what can I do? [19:53] what does it say when you click on the kit selection button? [19:53] it's the ubuntu logo button. fourth from the bottom i think [19:54] I closed the SDK and reopened, now it's ok [19:54] ahahahha [19:54] haha so you have connection to your phone now? [19:54] yes [19:54] cool! [19:54] gd luck! [19:55] but now I have another problem... [19:55] ok :) [19:55] what is it [19:56] when I click on Run, a essage saying Desktop file does not exist [19:56] message* [19:57] thats also strange. if you start with a qmake template, it should automatically create a desktop file for your project? [19:57] hmm [19:58] is there a $PROJECTNAME.desktopfile in your build folder? [19:58] but in the manifest.json.in the path of the desktop file is right [19:58] yes [19:59] under another directory, but yes there is [20:01] the directorypath has to match what it says in the manifest [20:02] yeah, I already check it [20:03] and you say it is not the correct path [20:04] ? [20:05] no, it is correct [20:07] I don't know where the problem can be [20:08] can you try importing it into your project? [20:09] is right that some directory are created automatically and called "build-Trampolino-Ubuntu_Device_GCC_armhf_ubuntu_sdk_15_04_vivid-Release"? [20:09] I don't understand what you mean [20:10] you say you have no desktop file in your project. but the file exists and is in the right place [20:10] in the edit page [20:11] on the left side, you have your overview of files and folders of your project [20:11] I have the desktop file in the right place, but SDK tells me there isn't any desktop file. [20:11] yes but is it visible in the list of files in the sdk? [20:12] on the edit page [20:12] I'll check [20:12] yes, but the directory I see there are different from the ones I see in nautilus... [20:13] I tried one thing now... [20:13] there is a directory called "build-Trampolino-Ubuntu_Device_GCC_armhf_ubuntu_sdk_15_04_vivid-Release" [20:13] I opened it and I saw that there are some files, but not the desktop one... [20:14] and I pasted it in places the manifest.json expect [20:14] thats not the folder you need. That is the folder that gets created on building the project [20:14] Now the app is running on the phone after lots of errors [20:15] these are the errors I got in the Issues tab: http://pastebin.ubuntu.com/15580560/ [20:23] how are you runnimg your app? are you clicking "install on device" from the publish page? why are you not using debug mode? [20:25] I just press ctrl+R [20:26] I can't understand why he doesn't create the desktop file in the "build-Trampolino-Ubuntu_Device_GCC_armhf_ubuntu_sdk_15_04_vivid-Release" directory... [20:27] and the path he gives me in the second error doesn't exist... [20:27] I think I would just save your actual code. I mean the one you wrote yourself and start a new template. then paste your code back in. [20:28] youre build environment is a little messy [20:29] but I just created the project [20:29] yes but somehow you lost your desktop file [20:29] I think with qmlprojects will be simple... [20:30] now I tried installing the app on the device [20:30] no error [20:30] you should no longer use those. that template will be deprecated soon [20:30] but on the phone I can't see the app [20:30] ok, another day I'll create a new one.. :( [20:31] ok good luck! [20:31] why qmlproject are deprecated? [20:32] they were so simply... less files then qmake [20:35] bye matv1 === salem_ is now known as _salem