/srv/irclogs.ubuntu.com/2013/07/20/#ubuntu-app-devel.txt

ntzrmtthihu777here we go! I've a question regarding the preinst script in the debian package; I need to be able to use it to create a hidden folder in the installer's $HOME to setup a wineprefix in it, but if apt-get install/aptitude install is ran as sudo, would $HOME reflect the user's home or root's home?04:24
ntzrmtthihu777in other words, would mkdir $HOME/.techne create a folder /home/user/.techne or /root/.techne when used in the preinst script?04:25
=== phenom_ is now known as phenom
Mihir_Hey @mhall11905:24
Mihir_Good morning05:24
unityshellHi, anyone knows if it implemented the Webapps in Ubuntu touch?05:25
Mihir_Hello06:34
Wellarkhi guys!08:12
WellarkI would need some help from you08:12
Wellarkcould you provide me with the output of running:08:13
Wellarkgrep -h "X-" /usr/share/applications/*.desktop | sed -e "s/\[.\\+\]//g" | sed -e "s/=.\\+//" |sort |uniq -c |sort -h08:13
WellarkI'm developing yet another .desktop file parser and I need info on the existing custom keys on the wild :)08:15
=== popey_ is now known as popey
=== popey_ is now known as popey
=== Wellark_ is now known as Wellark
rigvedhi everyone10:49
=== rigved is now known as Guest78456
Prabhakar9885hi rigved10:54
=== popey changed the topic of #ubuntu-app-devel to: http://developer.ubuntu.com | App development on Ubuntu: how to do it & how to make it better | HackDays! http://bit.ly/12Ux0vM
Prabhakar9885Hi everybody10:59
popeyhi11:02
rigvedhi everyone11:50
Joni_Lee1hi Alan Pope , are you here?11:54
popeyyes12:00
Joni_Lee1Hi popey,  Are there  somethings left to do for RSS Reader? I want to help and can't find where to start. lots of feathers have been done,not in the trunk.12:18
Joni_LeeHi popey, I gonna go, I will email you for help latter.  Thanks.12:31
Mihir@mhall119 are youthere?12:43
Mihiranybody there who works on calculator ?12:44
nik90popey: qtcreator has ubuntu pastebin now :)13:03
=== tsimpson_ is now known as tsimpson
popeymhall119: i wanted to add some random webapps to my phone, so made a webapps-demo-extras package by looking at webapps-demo package and ripping that off13:55
popeyhttps://code.launchpad.net/~popey/+junk/webapps-demos-extras13:55
popeyit works but the icon doesn't appear in the apps lens on the device.. any ideas what i did wrong?13:55
popeythe png/svg gets installed okay13:55
mhall119popey: does the application show up without an icon?15:37
mhall119or does the application not show up?15:37
popeyit shows up with a blank icon15:38
popeyas does checkers as it happens15:38
popeyi just did "debuild -uc -us" and installed the deb directly on device15:38
popeybbl, haircut..15:38
mhall119I saw checkers didn't show an icon, I assumed it just didn't have one, where is it being installed to?16:22
MihirHey , @mahll119 are you aware about Calculator?16:25
mhall119Mihir: yes sir16:27
mhall119Mihir: just left a comment on https://code.launchpad.net/~mihirsoni-123/ubuntu-calculator-app/EditIconMainLabel/+merge/17566216:28
MihirBut16:28
MihirI am unable to assign String in Textbox element in QT16:28
mhall119I'm not sure what you mean16:29
MihirI just have two option to assign16:33
Mihirfont16:33
Mihirfont.pixelSize : int16:33
Mihirfont.pointSize : real16:33
Mihirhttp://harmattan-dev.nokia.com/docs/library/html/qt4/qml-text.html16:33
mhall119oh, I see, TextField has no fontSize property16:33
MihirHmmm yeah that's16:33
mhall119Mihir: you can use FontUtils to convert: http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components0-fontutils.html16:34
MihirSo i have an option like grid unit16:34
mhall119font.pixelSize: FontUtils.sizeToPixels("xx-small")16:34
MihirOhh yeah got it sir :)16:35
mhall119or "x-small", I don't think "xx-small" is a value value16:35
mhall119valid value16:35
mhall119anyway, give that a try and if it's not the right size we'll talk to the SDK developers on Monday about it16:36
MihirHmmm16:37
Mihirokay :) let me try wait16:37
Mihiri have to switch laptop brb :P16:37
popeymhall119: i installed to the same place as webapps-demo, figured that would work given i see ebay/gmail icons on my phone16:41
mhall119popey: where are they installed16:44
mhall119?16:44
mhall119/usr/share/icons/hicolor/?16:44
MihirHey mahll119 I have pushed the branch :)16:45
mhall119Mihir: how does that look on the calculator?16:46
Mihiras per the discussion i  made it xx-small16:46
Mihirbut it looks very small in my laptop16:46
mhall119maybe just x-small then16:47
mhall119?16:47
MihirHmmm lemme try16:47
MihirBut the questions is operands  label text is bigger than heading ?16:48
Mihiris that true ?16:48
Mihirbecause even i tried x-small it is smaller than the operands label text16:48
mhall119it looks like operands and header text should be the same, so you might need to do this in multiple places16:51
mhall119yeah, x-small is too small, I think xx-small is an invalid value, so it uses a default instead16:51
Mihirhttp://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components0-fontutils.html#sizeToPixels-method16:51
Mihirthis stats that it has xx-small16:51
mhall119oh, so it does16:53
Mihircan you see this design specification ?http://ubuntuone.com/6SCbeShDiJCjqxmHvyzDkh16:53
Mihirit says header should be bigger than operands16:53
Mihir4th slide16:54
mhall119Mihir: it says both should be 35pt16:54
Mihirohhh yeah header is smaller than operands16:54
mhall119slide 6 shows both the header and the operands at 25pt16:55
mhall11935pt16:55
mhall119only the timestamp string is smaller16:55
Mihirso 35 pt is xx-small ?16:56
MihirI guess i need to modify at multiple places at16:56
Mihiroperands label use font.pixelSize : units.gu(4)16:56
Mihirso that is 32 px16:56
mhall119gu(4) will be different on different devices16:58
MihirHmmm yup ,16:58
Mihirso shall i make everywhere xx-small16:58
mhall119so will x-small16:58
MihirHmmm16:58
Mihirokay x-small?16:58
mhall119but yeah, we should use font literals instead of gu() for font sizes16:58
MihirIn calculator it is at many places16:59
mhall119whichever one looks best, xx-small, x-small, medium, etc16:59
MihirI feel medium is perfect17:00
Mihirshall i do ?17:00
mhall119then lets go with that17:00
mhall119ideally the design team would be giving us font sizes by these names instead of px or pt values17:01
Mihirso shall we wait ?17:02
mhall119go ahead and use medium if that looks good to you17:03
MihirHmm okay17:04
MihirI should also change that gu to medium right ?17:04
Mihiras you said we shouldn't use numbers17:04
popeymhall119: yes17:07
mhall119in CalcLabel.qml, yes17:07
mhall119popey: not sure then...17:07
popeymhall119: http://paste.ubuntu.com/5894685/17:07
mhall119popey: so for checkers, it's .desktop has Icon=king.png, but king.png is in /usr/share/checkers/ not /usr/share/icons/17:08
mhall119checkers' .desktop should use the full path to the icon17:09
Mihir_Hey @mhall11917:18
Mihir_I have pushed it17:18
mhall119Mihir_: ok, let me take a look17:24
mhall119looks good!17:25
mhall119Mihir_: I've approved your branch, Jenkins should merge it into trunk within the next hour17:27
mhall119thanks for thee fix!17:28
Mihir_Oh okay got it17:28
Mihir_:)17:28
Mihir_One more question I have is it a new bug or not not sure17:28
Mihir_if you see the design http://ubuntuone.com/6SCbeShDiJCjqxmHvyzDkh17:29
Mihir_it says datetime is with the calc heading17:29
Mihir_and I guess right now it is not showing heading with date time :|17:29
mhall119Mihir_: which slide is that?17:31
Mihir_slide*17:34
Mihir_look at 2nd slid17:34
Mihir_lookdown the date line it has heading before the date starts17:35
mhall119oh, I'm not sure if that's supposed to be the header, or a location stamp17:36
mhall119it doesn't show any ability to edit it in the slides though17:37
Mihir_Nope it is just date while you start the new conversations17:37
Mihir_calculation*17:37
mhall119I think the current way we have separate header and datetime is okay17:38
Mihir_okay..17:38
Mihir_so then there is no issue17:39
Mihir_I just observed it from the design17:39
mhall119Mihir_: one thing I do need you to do is sign the  contributor agreement: http://www.canonical.com/contributors17:40
mhall119that way we can accept more contributions from you to the core apps projects17:40
mhall119it's just a simple online form, only takes a couple of minutes17:41
Mihir_I already did it17:41
mhall119when the form asks for a Canonical manager, put Alan Pope17:41
mhall119oh, perfect, nevermind then17:41
mhall119I guess it just hasn't shown up on Launchpad yet17:41
Mihir_Hmmm shall I do it agian ?17:42
Mihir_or can you ask popey to accept it ?17:44
mhall119it's not popey who has to accept it, I'll ping the person who does though17:51
mhall119but as long as you did fill it out already things are fine, waiting on Launchpad to reflect that won't block us17:51
Mihir i mentioned popey (Alan Pope) as project manajaor18:08
Mihirokay thanks @mahll11918:08
popeythanks mhall11919:00
popeymhall119: http://popey.com/~alan/device-2013-07-20-201112.png   \o/19:11
MihirHey popey , you have installed on which device?19:16
Mihir#ubuntu-touch19:22
mhall119popey: nice, needs a background color though19:24
Mihirmhal119 , it is only compatible with only Nexus 4 ?19:29
popeyMihir: i am installing on my nexus 419:29
Mihir_I have galaxy heheh19:31
Mihir_can't install19:31
Mihir_:|19:35
popeymhall119: trying to think of all the webapps I might ever need, and adding icons for them, so far google maps, lastpass, foursquare, google drive...19:39
popeysuggestions welcome19:39
mhall119G+19:44
mhall119lastpass has a webapp?19:45
popeyoh, G+, good call19:46
popeywell, you can login on their website19:46
popeygood enough19:46
mhall119popey: I was going to recommend http://www.oscon.com/oscon2013/public/schedule/grid/public-grid but it doesn't have a mobile layout, so it looks terrible19:51
popeyoh, aq's 2fa app too19:54
popeydid you already package that mhall119 ?19:54
mhall119popey: yup, apt-get install canonicalauth19:54
popeysuh-weet19:54
mhall119though it really should be upgraded to use daker's theme files19:54
popeythanks19:55
mhall119np19:55
popeyam editing .desktop files directly on the phone ☻19:55
popeyneed to bzr push19:55
popeyalso using debuild directly on device19:55
popeyquite liberating19:55
mhall119using adb or the terminal app?19:55
popeyadb19:56
popeywhile it charges19:56
mhall119I've done it with the terminal and vi19:56
popeyhaha19:56
popeyleet19:56
mhall119using swipe gestures to move the cursor is really, really nice19:56
popeyi have installed vim19:56
popeythis makes me weak, as a person, i realise this19:56
mhall119hey man, at least it's not nano19:56
popeyso why is nano broken?19:57
popeyyou can't save when you ctrl+x19:57
mhall119no, it's just not as cool19:57
popeywell there isthat19:57
popeyfor some value of "cool" of course19:57
mhall119is it actually broken though?19:57
popeyyes20:00
popeyyou can't press enter20:00
=== marcoceppi_ is now known as marcoceppi
popeymhall119: canonicalauth is broken. i can't enter text in the fieled20:05
popey*field20:05
popeyhttp://popey.com/~alan/device-2013-07-20-210556.png20:06
mhall119what?  I was able to do that 2 days ago20:06
mhall119well canonicalauth's code certainly hasn't changed20:06
popeythe field is grey, i cant get the osk to appear when i tap it20:06
mhall119it should be grey until it has keyboard focus20:06
mhall119that's how the SDK components look20:06
mhall119but it should get keyboard focus when you tap on it20:06
popeynot here20:07
mhall119something's wrong with the webbrowser-app then20:07
popey20:07
popeyyeah, its not registering any taps20:08
* popey reboots20:08
popeyi have been killing unity8 to test my deb20:08
popeymay have broken something20:08
mhall119yeah, I deleted my key to get back to that screen and I can enter text20:09
popeyyeah, fine after reboot, sorry20:09
mhall119now I have to re-enter an AES key :(20:10
mhall119the things I do for you popey20:10
mhall119you're lucky you're so pretty :)20:10
popeyhehe20:12
mhall119pro-tip, you can enter spaces into that field, which makes it easier to verify that you've entered the key correcly20:13
popeyI should consider packing20:14
popeywoohoo, lastpass works20:19
popeyooh, love the new theme on sudoku20:20
popeyhttp://popey.com/~alan/device-2013-07-20-212006.png20:20
popeywish scrolling worked in twitter as a webapp20:22
mhall119scrolling is gittery on lots of webapps, I've noticed it most with Facebook20:22
popeyhttps://bugs.launchpad.net/webbrowser-app/+bug/1179596/comments/1120:23
ubot2`Ubuntu bug 1179596 in webbrowser-app (Ubuntu) "browser needs its own UA string" [High,Confirmed]20:23
vthompsonpopey, mhall119, or davmor: Could one of you load the core music-app from trunk onto your device and post screenshots of the Music tab, the Albums tab, and the Now Playing screen?20:24
popeysure thing20:27
mhall119from trunk? not the PPA package?20:28
vthompsonmhall119, changes I'd like to verify aren't in the PPA yet, sadly.20:28
mhall119ok20:28
vthompsonpopey, dmp (dpm?) verified the fix to your bug where the segfaults were occurring. So you shouldn't have to worry about that anymore.20:30
* mhall119 needs to isntall bzr20:30
popeyhttp://popey.com/~alan/device-2013-07-20-213000.png20:30
popeyhttp://popey.com/~alan/device-2013-07-20-213009.png20:30
popeyhttp://popey.com/~alan/device-2013-07-20-213039.png20:31
popeyvthompson: excellent20:31
* popey loads more music on his device20:31
vthompsonpopey, thanks! Most of those are looking sharp. Could you post the Albums tab too?20:32
popeyhttp://popey.com/~alan/device-2013-07-20-213220.png20:32
popeythat looks wrong20:32
vthompsonSo for both the Artists and Albums pages you get what you posted without clicking on anything?20:33
popeyya20:33
vthompsonnm, the artists tab looks right20:33
popeyhowever20:33
vthompsonIf you're still on the Albums tab could you swipe from the bottom and hit back?20:33
popeyhttp://popey.com/~alan/device-2013-07-20-213357.png20:34
popeynow some stuff has gone missing20:34
popeycompare http://popey.com/~alan/device-2013-07-20-213357.png and http://popey.com/~alan/device-2013-07-20-213009.png20:34
vthompsoneach tab has its own page stack for those two. we get some weird behavior as a result20:34
popeylove having a screenshot script which takes a pic and uploads it to my website in one go :D20:35
vthompsonThat second one is what should appear if you click on MGMT to view the artist's tracks.20:35
popeyright, no way to go back20:36
vthompsonpopey, yes, that is pretty slick. I didn't know if you were just super human or what20:36
popeyhaha20:36
vthompsonyea, toolbars go flakey on the destop too when you switch tabs.20:36
popeyhttp://bazaar.launchpad.net/~popey/+junk/phablet-flash-wrapper/view/head:/screenshot.sh20:37
vthompsonCould you exit and go directly to Albums and post a screen?20:37
popeyya20:37
popeyhttp://popey.com/~alan/device-2013-07-20-213734.png20:37
vthompsonnice! Thanks!20:38
popeynp20:38
popeyooh20:38
popeyit lies about which track you're on20:38
popeyhttp://popey.com/~alan/device-2013-07-20-213838.png20:38
* mhall119 wonders if we could setup an automated request-a-screenshot system20:38
popeyI am playing Killing In The Name20:38
popeybut look at the bottom20:39
vthompsonhm, I should be able to look into that. Is the progress bar still progressing?20:39
popeyyes20:39
vthompsonHow did you start playing RATM? Clicking the item in the ListView or pressing play?20:40
popeylistview20:40
vthompsonk20:40
popeymhall119: i did ponder this also20:41
vthompsonI'm starting to think it should be trivial for someone (smarter than me) to set up an emulator based on grid units and screen size.20:42
popeyi hear xnox is working on the emulator soon ☻20:43
vthompsonpopey, well I can't confirm that the controls lie about the song playing. Maybe the app is in a funky state. BUT, it is a bug that the default cover art isn't showing up.20:44
vthompsonIt's so dreadful doing testing by doing nothing but listening to music...20:45
popeyhaha20:45
popeymhall119: https://code.launchpad.net/~popey/+junk/webapps-demos-extras20:46
popeypushed a deb to my ppa, but it's probably quicker/easier to build locally with a swift debuild -uc -us20:46
vthompsonpopey, you are a bug finding machine. I can replicate the controls lieing about the track being played if the first track was the first in the listview20:47
popey\o/20:49
vthompsonI wouldn't celebrate too much... you may just have bad luck ;)20:49
popeyfriend of mine works for a company that make a music app for another platform. i broke their app within minutes ☻20:50
vthompsonha20:52
vthompsonThis iloveubuntu.net guy is one quick hombre. He just posted a whole blog post and a video detailing stuff that just arrived in music-app's trunk 3 or 4 hours ago.21:01
vthompsonYou'd have to give me a week to do that kind of research!21:02
popeyhah, he is fast!21:11
nik90vthompson: agreed :). I think he is subscribed to the commits of every core app or something21:12
vthompsonnik90, yeah, I have no idea. There is one person that has a recipe for our project. Maybe that's how he gets alerted of pushes to trunk. It's impressive though.21:14
vthompsonnik90, The same person with a recipe for music-app's trunk has one for the clock app. We've found the culprit.  :)21:18
nik90vthompson: hehe :)21:19
vthompsonnik90, as River Song would say on Doctor Who... Spoilers!21:21
nik90vthompson: yeah...I wanted to blog about the background gradients, however it already appeared on iloveubuntu the next day. He is too fast for me :D21:21
nik90vthompson: looks like if there are 2 dev on a project, he might know about a commit even before the other dev knows about it :)21:22
vthompsonnik90, ha! That means the man is faster than the internet!21:23
popeyPeople revealing secrets huh? Who'd have thought it.21:23
vthompsonThat is the great thing about developing in the open though. We are pretty lucky that there aren't too many interested parties that try to influence things.21:24
nik90true21:26
vthompsonThe music app would die immediately if 20 different people favoring 20 different music applications came around and tried to make similar changes.21:26
nik90yes and no. It depends on the execution. If there is a healthy discussion and a common solution is found, then it would be nice to have 20 people since you have more ideas to brainstorm.21:28
nik90If however each person is stubborn about his view, then yes it will hinder the development21:28
vthompsonnik90, agreed. But designs aren't requirements. Our team still has no real direction and we'd like to unify a few things, but we kind of are being held up by a lack of "requirements" specified by the design team.21:29
vthompsonnik90, I know of no one who is both stubborn and awesome enough to help this push forward for all the core apps21:30
nik90vthompson: If it were to me, I would create a basic specifications of the music app (playlist, scrobble etc.) and then create a google docs, where the community can get involved with suggesting new innovating ideas. Lucas for instance is a perfect example of such a contributor. He has some great ideas which should help quite a bit.21:33
nik90If the design team have not provided design specifications, then I suppose it comes to you guys making decisions for now.21:33
nik90Despite no official requirements, I think that the music app is going in the right direction with providing the basic functionality required. One thing which needs attention (not now) is the UI design like spacing, icons etc.21:34
vthompsonnik90, true, but I think he needs to get involved with the design team. I agree that we are making our own specifications for now... we've held off on making swooping changes in the meantime, however.21:34
nik90vthompson: do you guys have weekly meeting with the design team?21:36
vthompsonnik90, Yea, I agree about the small layout decisions. There is also the always present question of responsive orientation design... doing detailed layout work might prove frivolous once we have a horizontal and vertical view.21:37
vthompsonnik90, we do have them scheduled, but I can not attend. I know danielholm has participated in one or two--which did seem fruitful.21:38
nik90vthompson: ah ok. Lucas should definitely attend these meeting to talk to the design team and collaborate with them. Later he can even continue the discussion by email.21:39
vthompsonnik90, Lucas has a hard time with Google video hangouts as a non-native speaker. He is pretty darn good when conversing via text (given having to translate everthing) :)21:40
nik90vthompson: oh. I just realised that.21:40
nik90vthompson: that's unfortunate21:41
vthompsonnik90, it is. He was very involved and to me it seems like he's switched courses due to a lack of support from our team. But his mockups are why our app looks like it does!21:42
vthompsonnik90, anyway. I just finally got an android phone and I can say that I look forward to the simplicity of your clock app patiently waiting to greet me as I wake. :)21:44
nik90vthompson: I am sure you know this already, but you should support him since he is literally your primary designer.21:44
vthompsonnik90, agreed21:45
nik90vthompson: thnx. I really look forward to that day as well :)21:45
nik90vthompson: I wanted to ask. Do you guys use qml loaders to dynamically load objects to save on performance and memory?21:45
nik90The clock app doesnt use any, and as a result is suffering a lot on performance. I am currently investigating on that now. A thought you might want to consider since it will affect you guys as well.21:46
vthompsonnik90, no we do not. Luckily we save some memory constraints because ListViews only keep a certain number of items in memory.21:47
vthompsonnik90, So most things can be done asynchronously using Loaders?21:47
nik90no loaders are mostly to dynamically load/unload components. This should help with application start up, reduce memory usage.21:48
nik90asynchronous (multiple threads) can be done using workerScript in qml. Though I havent really looked into workerScript just yet.21:48
vthompsonThere is an asynch property, however. I might look into it. We do a TON of memory intensive startup operations. If that's being kept in memory we're doing a bad job.21:48
nik90So if you are in the playlist tab, the album tab ui can be unloaded since it is not really required. Loaders help in those situations21:49
vthompsonyea, we can't push workerscripts as far as we want to...21:49
vthompsonAh, no, but each has a model that can be unloaded and the ListViews should also be refreshed as empty.21:49
nik90yeah I think in these areas, it would be really helpful to have some experienced sdk/canonical devs to help up with them.21:49
vthompsontrue, it would.21:50
vthompsonIf we could get some jedi Qt guys to help as well, that'd be most welcomed.21:51
nik90anyways good luck with the music app. Me back to reading up on loaders :)21:51
nik90yup21:51
vthompsonBLOG YOUR FINDINGS!21:51
vthompson:)21:51
nik90vthompson: indeed. will do so. :)21:52
vthompsonMake your blog about development as well as our progress!21:52
nik90I will21:52
vthompsonnik90, TTYL and good luck.21:52
nik90vthompson: bye. gud nite21:52
tecno0507hello22:45

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