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