/srv/irclogs.ubuntu.com/2014/10/25/#ubuntu-app-devel.txt

akiva-thinkpadajalkane, okay I'll push the merge now00:00
akiva-thinkpadit looks good too00:00
ajalkaneyeah, well you can contribute in all kinds of ways and thats' cool!00:00
akiva-thinkpadokay its pushed00:01
akiva-thinkpadajalkane, ^00:02
ajalkanecool thanks, I'll branch it and run a quick test on device00:02
akiva-thinkpadajalkane, so you said the autopilot is done too?00:03
* akiva-thinkpad runs autopilot00:03
ajalkaneakiva-thinkpad: yeah I fixed the autopilot tests this morning, so it should be good to go00:04
akiva-thinkpad22 tests ran, 22 failures :P00:04
akiva-thinkpadi think its my setup00:04
ajalkaneumm...00:04
ajalkanemight be00:04
ajalkaneI know they work on my branch, but we'll see if Jenkins still complains00:05
ajalkaneakiva-thinkpad: did you notice I put into "PathHistoryRow.qml" only "Authored by: Akiva"00:10
ajalkaneBecause I didn't know what information you'd like to have there00:10
ajalkaneNormally there's full name00:10
ajalkaneand e-mail address00:11
akiva-thinkpadajalkane, heh think thats the first time anyones ever done that :P00:11
ajalkaneyou can change that if you'd like00:11
akiva-thinkpadakiva@linux.com suffices00:11
akiva-thinkpadbah its fine to me; I have my lp page if I need to prove anything00:11
akiva-thinkpadthanks00:11
ajalkaneQuick testing on device looks good \o/00:16
ajalkaneI'm approving and we'll see what Jenkins thinks about this00:16
akiva-thinkpad\o/00:16
ajalkanethere might be some conflicts with the translations, but I'll help you tackle them if needed00:16
akiva-thinkpadNot terribly sure how translations work, so it would be good to learn.00:17
ajalkanenah we don't have to worry about them00:18
akiva-thinkpado:  if you say so00:19
ajalkaneit's just that every time the app is compiled, the translations are regenerated. So you should not commit those regenerated language files. But no one understands that, so they go in merge proposals and conflicts ensue00:19
akiva-thinkpadholy crap; 4600 line change :P00:19
ajalkaneAye, let's see what jenkins says and continue from there00:20
akiva-thinkpad2 failures it seems00:21
akiva-thinkpadfile:///usr/share/filemanager/qml/ui/SettingsSheet.qml:34: TypeError: Type error00:21
akiva-thinkpadhmmm go home and go root00:22
akiva-thinkpadajalkane, I'm going to run ot the bakery before it closes00:24
akiva-thinkpadwill you be here in 20 minutes?00:24
ajalkaneI will be here as long as it takes :)00:30
ajalkaneI'm anxious to get this merged00:31
akiva-thinkpadheh okay00:31
akiva-thinkpadI'm anxious for some chinese baked goods (not chinese; its just a cool bakery)00:31
ajalkanehaha... yeah good for you. I need to get some food too soon.00:32
akiva-thinkpad!cookie | ajalkane00:32
ubot5ajalkane: Wow! You're such a great helper, you deserve a cookie!00:32
ajalkaneomnomnomnomnom00:32
bmatusiakSIM Locked on maco is still effecting me i believe, has the fix been approved?00:33
bmatusiakmak0*00:34
ajalkaneballoons: are you there?00:45
bmatusiakwell i just noticed... i cleared cache folder.. and the sim lock is not active,  i restart and it comes back01:08
ajalkaneakiva-thinkpad: there's some test failures, that only seem to happen on jenkins. I'll try fixing and doing a new merge proposal01:16
akiva-thinkpadajalkane, okay keep me posted01:16
akiva-thinkpadbtw, the bakery was delicious.01:16
ajalkanelol... I ordered a stake. Tastes good. I hope I finish fixing the test before it gets cold :P01:17
ajalkane* stake -> steak01:17
akiva-thinkpadajalkane, was about to say..01:17
akiva-thinkpadhttp://2.bp.blogspot.com/-9vLF45jhdMM/UFaDGeWBEnI/AAAAAAAABpQ/qoWnO9BdtG4/s1600/Medium+Rare+Stake.jpg01:18
ajalkaneakiva-thinkpad: I proposed a new branch with a temporary workaround for failing tests. Hopefully it fixes some things01:26
akiva-thinkpadajalkane, cool01:27
akiva-thinkpadwill merge asap01:27
ajalkanethanks... we'll see what jenkins thinks01:28
ajalkaneI don't know how to test that stuff on desktop so it's a blind try01:28
akiva-thinkpadajalkane, done01:31
akiva-thinkpadajalkane, you do know how to run autopilot on the desktop though, right?01:31
akiva-thinkpadis there any other way to run the tests?01:31
ajalkaneakiva-thinkpad: yeah I know, but it runs as desktop profile01:31
ajalkaneit seems in jenkins it runs like it was in phone dimensions01:32
ajalkaneand the tests take that into account01:32
akiva-thinkpadah interesting01:32
ajalkaneso... I'm just disabling the test when it's in phone like environment.01:32
ajalkaneI have to file a bug about that if we get this merged, so that the test can be fixed01:32
akiva-thinkpadah heh01:32
* ajalkane waiting on jenkins fingers crossed01:34
akiva-thinkpadajalkane, looks like it worked01:42
ajalkaneakiva-thinkpad: oh wow...01:43
ajalkanenow just waiting for the merged announcement and we're in clear waters ;)01:43
akiva-thinkpadajalkane, what about dpm?01:44
ajalkaneakiva-thinkpad: what about him?01:44
akiva-thinkpadwill that pending review stop it from being merged?01:44
akiva-thinkpadajalkane, I'll be happy when its merged as then we can start doing small patches again01:44
ajalkaneakiva-thinkpad: shouldn't, I can do this kind of approvals01:44
ajalkaneakiva-thinkpad: exactly01:45
akiva-thinkpadah stellar01:45
ajalkanethis is pretty big and important change01:45
akiva-thinkpadajalkane, glad you guys liked it.01:45
ajalkaneoh it's excellent. Great work akiva. I really like how FileManager looks and behaves now.01:46
akiva-thinkpadajalkane, :D01:46
akiva-thinkpadajalkane, yah working with the header was a lot of fun. What do you plan to do immediately after this?01:46
akiva-thinkpadI guess you have some pending branches to merge, eh?01:46
ajalkanenot branches, but some changes considering Content-Hub and how to export and import data to/from FileManager is something that should be done01:47
akiva-thinkpadajalkane, question; when are we going to get icons for filetypes?01:48
ajalkaneAnother one is multiselection, for which there is already a component but taking it into use will probably take some work01:48
akiva-thinkpadis there something in place yet?01:48
akiva-thinkpaddo we need designers?01:48
akiva-thinkpadajalkane, multiselect will be difficult. We will have to make a unique version for the phone and the desktop01:49
ajalkaneThat might not even need designers... I mean there's the existing icons in the theme that can be used01:49
akiva-thinkpadajalkane, in suru? There arent that many.01:49
ajalkaneakiva-thinkpad: yeah, desktop needs some love. I'm still constantly thinking about in purely phone/tablet uses01:50
akiva-thinkpadajalkane, its the focus right now respectfully01:50
akiva-thinkpadthere are a few core apps I am starting to actually use on the desktop now01:50
ajalkaneit is for now, but soon the focus will be to improve the desktop experience01:50
ajalkanethat's nice01:51
akiva-thinkpad"soon" means 15.10 I thinks01:51
akiva-thinkpad:P01:51
akiva-thinkpadwhich is fine enough01:51
ajalkanewell, the work itself has to start early next year latest if we want to have something usable for year 1501:51
akiva-thinkpadWell the sdk is coming together nicely.01:52
ajalkanesdk has been working really nicely for the last few months01:52
akiva-thinkpadAfter the phone gets released, I have been planning a plugin for the ubuntu sdk that will allow for pair programming aka collaborative editting.01:52
ajalkanewasn't always like that. But now it's just no problems01:53
ajalkanesounds very nice01:53
akiva-thinkpadajalkane, I wouldnt say "no problems" :P01:53
akiva-thinkpadbut yah; its coming together nicely.01:53
ajalkaneheh... well, I haven't had problems. I'm glad that I can run on desktop, on device, create click packages and deploy them on device. It's been smooth lately01:53
akiva-thinkpadajalkane, fair enough01:54
ajalkaneakiva-thinkpad: and it's merged! Thanks a lot for your hard work this. I'm really happy about this.02:05
akiva-thinkpadajalkane, :D great now we can do more fun stuff02:06
ajalkaneAnd please do further merge requests when you think you have some more cool suggestions02:06
akiva-thinkpadajalkane, indeed. I think I may do some stuff with advanced options.02:07
ajalkaneOne thing that immedialy springs to mind is that when you open the extra actions from top header, they don't have the same theme - it's purple. I couldn't find how to fix it02:07
ajalkanesounds great02:07
akiva-thinkpadajalkane, I thought you did fix it02:07
akiva-thinkpadis it still purple?02:07
ajalkaneunfortunately yes02:10
akiva-thinkpadajalkane, well your old merge that was wrong actually fixed that02:10
ajalkanebut it looks kinda nice amongst all the grayness02:10
ajalkanehmm... I don't think any of my merges fixed that02:11
ajalkaneI fixed the bottom edge pull thing02:11
akiva-thinkpadajalkane, I definitely saw one that did. It was the one with the 5 conflicts.02:11
akiva-thinkpadoh yah that was what I was speaking about02:11
ajalkanebut the one on the menu where you can access "New folder" etc is purple02:11
akiva-thinkpadah02:11
akiva-thinkpadlol02:12
akiva-thinkpadhttp://www.reddit.com/r/UbuntuAppDev btw02:12
ajalkaneright, bottom edge should be good02:12
akiva-thinkpadwould be nice to have another sub02:12
akiva-thinkpadjust working on the style sheet atm02:12
ajalkanealright if you can fix that, awesome02:12
akiva-thinkpadmmmmm I'm done for the night working on the app. Before I go home, I'll branch the latest, and have a go at it tommorrow.02:13
ajalkanesounds great! Thanks02:16
akiva-thinkpadajalkane, are you still up?08:26
ybonI don't see the "devices" tab anymore on QtCreator after updating to Utopic, any hint by chance?09:10
ybonI'm aiming to run my app on my device, for testing09:10
akiva-thinkpadybon, hmmm? Interesting09:10
akiva-thinkpadybon, screenshot?09:10
* akiva-thinkpad starts updating09:11
ybonhttp://i.imgur.com/04PWRbC.png09:11
akiva-thinkpadybon, I believe you need to get the ubuntu plugins package09:12
akiva-thinkpadyou appear only to have qtcreator installed atm09:12
ybonok09:12
ybonlet me look for that09:12
ybonthanks :)09:12
akiva-thinkpadybon, yep i'll try to find the package name09:12
ybonfound I think :)09:13
ybonqtcreator-plugin-ubuntu?09:13
akiva-thinkpadqtcreator-plugin09:13
akiva-thinkpadyah09:13
akiva-thinkpadlet me know if that works.09:13
ybonyep09:13
ybonand thanks :)09:13
akiva-thinkpad!cookies09:14
ubot5Cookies are delicious delicacies.09:14
* ybon still don't get exactly what kits are and why he needs one for running the app on its device09:31
akiva-thinkpadybon, good question09:31
akiva-thinkpadybon, go to projects tab09:32
akiva-thinkpadand there is a button called "Add-kit"09:32
ybonakiva-thinkpad: I'm adding one already :)09:32
ybonakiva-thinkpad: mine was more a philosophical question ;)09:32
ybonI don't get the role of a kit in the toolchain09:33
DanChapmanybon a *kit* is basically a glorified chroot for cross compiling09:33
akiva-thinkpadybon, I believe its for creating click packages.09:33
akiva-thinkpadDanChapman, do you not need it for click packages as well?09:33
ybonoh, you mean that even when running an app on a physical device (like my Nexus4), the app comes first compiled through the kit and then sent to the device and ran?09:34
DanChapmanybon, yes exactly. So you need it to be linked/compiled etc in an armhf environment for it to then get pushed and ran on the device09:35
akiva-thinkpadokay i'm not crazy :P09:35
ybonanyway, thanks akiva-thinkpad I got my devices tabs and such ubuntu things back on QtCreator09:35
ybonDanChapman: great, thanks, now it's clear :)09:36
DanChapmanakiva-thinkpad: you can build clicks anywhere "click" is installed it is not tied the the device kits in any way :-)09:36
akiva-thinkpadDanChapman, hmmm good to know.09:36
ybonhumm, I don't remember how I allow to build on device09:45
akiva-thinkpadybon, emulator or device?09:45
ybondevice09:45
ybonphysical one09:45
akiva-thinkpadmmmm don't you just do adb push sraientaosrient /tmp09:46
akiva-thinkpadand then go phablet-shell09:46
akiva-thinkpadthen... bah memory blanking09:46
ybonI used to be able to run app on device *from* QtCreator09:46
ybonI remember doing someting on the "projects" tab I think, but my memory is blanking too09:47
akiva-thinkpadUnfortunately I don't have a physical device yet, so I can't tell you.09:47
DanChapmanybon have you changed the kit at the bottom left of QtCreator. Just above the run button?09:49
ybonDanChapman: I don't have any "device" choice like I used to have there09:52
DanChapmanybon hmm that's odd. Ok under projects what kit does it say you are using at the top?09:53
ybonDanChapman: ok got it, I needed to go on the "projects" tab, and in the "add kits" selecting the "armhf"09:54
ybonand now it shows up on the switcher :)09:54
DanChapmanybon: great :-) now it should pick up you manifest file etc and you should be able to just click "Run" and away it goes.09:55
ybonyup, thanks, it works :)09:55
zubozroutHello, I've been trying to create something for Ubuntu "touch" using qml. But I have some problems with screen rotation. It seems the MainView's dimensions are not updated and so the content that should be visible is hidden. I would like to update the screens dimensions and keep them in sync with the real screen, but how do I accomplish that? Thank you very much for your help. http://askubuntu.com/questions/541214/how-ca10:21
akiva-thinkpadah cool10:22
akiva-thinkpadyou included a question and everything :)10:22
akiva-thinkpadah10:22
akiva-thinkpadApparently I have a short memory10:22
akiva-thinkpadzubozrout, do you know about anchors?10:23
zubozroutI am a beginner in QML, but yes, I've bumped into them.10:24
akiva-thinkpadzubozrout, okay great10:24
akiva-thinkpadso every thing in qml, or just about everything, is a rectangle10:25
akiva-thinkpadlike for example, a Text {} component's rectangle is as long as the string, and as tall as the text10:26
DanChapmanakiva-thinkpad: Item actually ;-p10:26
akiva-thinkpad!cookie | DanChapman10:26
ubot5DanChapman: Wow! You're such a great helper, you deserve a cookie!10:26
akiva-thinkpad:D10:26
akiva-thinkpadzubozrout, anyways if it is a rectangle, you have 6? properties10:27
akiva-thinkpadthe left side10:27
akiva-thinkpadthe right side10:27
akiva-thinkpadthe top side10:27
akiva-thinkpadthe bottom side10:27
akiva-thinkpadthe vertical center10:27
akiva-thinkpadthe horizontal center10:27
akiva-thinkpadand then you also have the fill10:28
zubozroutakiva-thinkpad, ok, I understand that, seems simple and it makes sense.10:29
akiva-thinkpadzubozrout, great10:29
akiva-thinkpadzubozrout, so lets say you have a page10:30
akiva-thinkpadAnd you anchors.bottom: myPage.bottom10:30
akiva-thinkpadah sorry let me make that more clear10:31
akiva-thinkpadyou have a page, and you have a rectangle10:31
akiva-thinkpadin the rectangle, you set this property10:31
akiva-thinkpad anchors.bottom: myPage.bottom10:31
akiva-thinkpadso now, no matter what happens, the bottom of the rectangle will always be kissing the bottom of the page.10:32
akiva-thinkpadif you set another property,10:32
akiva-thinkpadanchors.top: myPage.verticalCenter10:32
akiva-thinkpadthen the rectangles height will always be half the height of the page10:33
akiva-thinkpadzubozrout, http://qt-project.org/doc/qt-5/qtquick-positioning-anchors.html10:34
* akiva-thinkpad is very tired btw;10:34
akiva-thinkpadand it looks like the rain has died down, and so I am going to make my way home10:34
zubozroutakiva-thinkpad, :), so if I switch from width: x and height: y to anchors, all my problems should be solved :), thank you very much, I'll definitely give it a try.10:35
akiva-thinkpadzubozrout, stick around btw, and come subscribe here http://www.reddit.com/r/UbuntuAppDev/10:35
akiva-thinkpadzubozrout, when you have screenshots of your app, POST THEM!10:35
akiva-thinkpadWe'd love to see them10:35
akiva-thinkpadand test them :)10:35
zubozroutakiva-thinkpad, thank you very much fro your help. I'll :), thanks :)).10:36
akiva-thinkpad!cookies10:36
ubot5Cookies are delicious delicacies.10:36
akiva-thinkpad!celebrate10:36
akiva-thinkpadbah10:36
vitimitiHi10:46
zubozroutWell, I've changed my rectangle from width and height to anchors, but when I rotate the screen, it still doesn't work as it should. If I resize the app's window on my computer, it works as it should (and it worked before), but rotation is still broken.11:15
zubozroutMy code: MainView { automaticOrientation: true useDeprecatedToolbar: false width: units.gu(100) height: units.gu(75) Page { title: i18n.tr("Title") Rectangle { anchors.fill: parent ...11:16
zubozroutanchors.top: parent.top also didn't work ... so, if I am right, the problem is, as I suspected, with the page or MainView keeping it's original height, before the screen was rotated.11:18
zubozroutHere are some photos taken quickly with a potato to help me explain my problem: https://plus.google.com/117415521410663758843/posts/NxtEsJV44K711:39
DanChapmanzubozrout: can you paste the code somewhere. It looks like the height it bound to the wrong object atm11:49
zubozroutDanChapman: http://pastebin.com/tEDVW6FW12:08
DanChapmanzubozrout: It looks like that could be a bug in the MainView's OrientationHelper. It looks as though the page isn't being clipped properly to accomodate the header so the rectangle ends up overlaying it. You should file a bug for it (if there isn't one already)12:37
danielbehello! I just published a click application that was rejected by the  ca_pkgme_service_bot. It states that ubuntu-sdk-14-10 is not a supported framework. It however exists on utopic under ls  /usr/share/click/frameworks/13:41
danielbeWhich framework should I use?13:43
sashi community.... I just want to know how long does it take to approve an ubuntu app submitted to ubuntu software center...14:17
sashi community... pls help.. .... I just want to know how long does it take to approve an ubuntu app submitted to ubuntu software center...14:18
ajalkaneI'm sorry but I have no idea. Typically these things take days but not weeks.14:20
sassir I have submitted my app weeks ago but even though its under pending review status....14:22
popeysas: hiya, we had a long backlog of apps14:26
sasI am sorry sir.... but can you please tell me how long will it take to be reviewed..... please sir..14:27
popeysas: I don't know, I'm not on the team doing the reviews. I know the reviews are being processed as fast as they can14:30
sasSir I just want to know one more thing... sir how to start developing apps for ubuntu desktop in html5.... can it read writes files14:31
sasSir I just want to know one more thing... sir how to start developing apps for ubuntu desktop in html5.... can it read writes files14:41
mihirpopey: if you around , does this look good ,http://i.imgur.com/7MyWwGh.png ?19:24
mihirwe have sync on top  : D19:26
vitimitiHi20:14
dakermihir: i prefer a square instead of a rectangle21:03
mihirdaker: let me try that.21:05
mihirdaker: you mean with some readius ?21:06
mihirradius&21:07
dakerno just a square21:07
mihirdaker: http://i.imgur.com/Vca7oLq.png21:09
dakermihir: yes21:10

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!