[04:24] here 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:25] in other words, would mkdir $HOME/.techne create a folder /home/user/.techne or /root/.techne when used in the preinst script? === phenom_ is now known as phenom [05:24] Hey @mhall119 [05:24] Good morning [05:25] Hi, anyone knows if it implemented the Webapps in Ubuntu touch? [06:34] Hello [08:12] hi guys! [08:12] I would need some help from you [08:13] could you provide me with the output of running: [08:13] grep -h "X-" /usr/share/applications/*.desktop | sed -e "s/\[.\\+\]//g" | sed -e "s/=.\\+//" |sort |uniq -c |sort -h [08:15] I'm developing yet another .desktop file parser and I need info on the existing custom keys on the wild :) === popey_ is now known as popey === popey_ is now known as popey === Wellark_ is now known as Wellark [10:49] hi everyone === rigved is now known as Guest78456 [10:54] hi rigved === 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 [10:59] Hi everybody [11:02] hi [11:50] hi everyone [11:54] hi Alan Pope , are you here? [12:00] yes [12:18] Hi 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:31] Hi popey, I gonna go, I will email you for help latter. Thanks. [12:43] @mhall119 are youthere? [12:44] anybody there who works on calculator ? [13:03] popey: qtcreator has ubuntu pastebin now :) === tsimpson_ is now known as tsimpson [13:55] mhall119: 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 off [13:55] https://code.launchpad.net/~popey/+junk/webapps-demos-extras [13:55] it works but the icon doesn't appear in the apps lens on the device.. any ideas what i did wrong? [13:55] the png/svg gets installed okay [15:37] popey: does the application show up without an icon? [15:37] or does the application not show up? [15:38] it shows up with a blank icon [15:38] as does checkers as it happens [15:38] i just did "debuild -uc -us" and installed the deb directly on device [15:38] bbl, haircut.. [16:22] I saw checkers didn't show an icon, I assumed it just didn't have one, where is it being installed to? [16:25] Hey , @mahll119 are you aware about Calculator? [16:27] Mihir: yes sir [16:28] Mihir: just left a comment on https://code.launchpad.net/~mihirsoni-123/ubuntu-calculator-app/EditIconMainLabel/+merge/175662 [16:28] But [16:28] I am unable to assign String in Textbox element in QT [16:29] I'm not sure what you mean [16:33] I just have two option to assign [16:33] font [16:33] font.pixelSize : int [16:33] font.pointSize : real [16:33] http://harmattan-dev.nokia.com/docs/library/html/qt4/qml-text.html [16:33] oh, I see, TextField has no fontSize property [16:33] Hmmm yeah that's [16:34] Mihir: you can use FontUtils to convert: http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components0-fontutils.html [16:34] So i have an option like grid unit [16:34] font.pixelSize: FontUtils.sizeToPixels("xx-small") [16:35] Ohh yeah got it sir :) [16:35] or "x-small", I don't think "xx-small" is a value value [16:35] valid value [16:36] anyway, give that a try and if it's not the right size we'll talk to the SDK developers on Monday about it [16:37] Hmmm [16:37] okay :) let me try wait [16:37] i have to switch laptop brb :P [16:41] mhall119: i installed to the same place as webapps-demo, figured that would work given i see ebay/gmail icons on my phone [16:44] popey: where are they installed [16:44] ? [16:44] /usr/share/icons/hicolor/? [16:45] Hey mahll119 I have pushed the branch :) [16:46] Mihir: how does that look on the calculator? [16:46] as per the discussion i made it xx-small [16:46] but it looks very small in my laptop [16:47] maybe just x-small then [16:47] ? [16:47] Hmmm lemme try [16:48] But the questions is operands label text is bigger than heading ? [16:48] is that true ? [16:48] because even i tried x-small it is smaller than the operands label text [16:51] it looks like operands and header text should be the same, so you might need to do this in multiple places [16:51] yeah, x-small is too small, I think xx-small is an invalid value, so it uses a default instead [16:51] http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components0-fontutils.html#sizeToPixels-method [16:51] this stats that it has xx-small [16:53] oh, so it does [16:53] can you see this design specification ?http://ubuntuone.com/6SCbeShDiJCjqxmHvyzDkh [16:53] it says header should be bigger than operands [16:54] 4th slide [16:54] Mihir: it says both should be 35pt [16:54] ohhh yeah header is smaller than operands [16:55] slide 6 shows both the header and the operands at 25pt [16:55] 35pt [16:55] only the timestamp string is smaller [16:56] so 35 pt is xx-small ? [16:56] I guess i need to modify at multiple places at [16:56] operands label use font.pixelSize : units.gu(4) [16:56] so that is 32 px [16:58] gu(4) will be different on different devices [16:58] Hmmm yup , [16:58] so shall i make everywhere xx-small [16:58] so will x-small [16:58] Hmmm [16:58] okay x-small? [16:58] but yeah, we should use font literals instead of gu() for font sizes [16:59] In calculator it is at many places [16:59] whichever one looks best, xx-small, x-small, medium, etc [17:00] I feel medium is perfect [17:00] shall i do ? [17:00] then lets go with that [17:01] ideally the design team would be giving us font sizes by these names instead of px or pt values [17:02] so shall we wait ? [17:03] go ahead and use medium if that looks good to you [17:04] Hmm okay [17:04] I should also change that gu to medium right ? [17:04] as you said we shouldn't use numbers [17:07] mhall119: yes [17:07] in CalcLabel.qml, yes [17:07] popey: not sure then... [17:07] mhall119: http://paste.ubuntu.com/5894685/ [17:08] popey: so for checkers, it's .desktop has Icon=king.png, but king.png is in /usr/share/checkers/ not /usr/share/icons/ [17:09] checkers' .desktop should use the full path to the icon [17:18] Hey @mhall119 [17:18] I have pushed it [17:24] Mihir_: ok, let me take a look [17:25] looks good! [17:27] Mihir_: I've approved your branch, Jenkins should merge it into trunk within the next hour [17:28] thanks for thee fix! [17:28] Oh okay got it [17:28] :) [17:28] One more question I have is it a new bug or not not sure [17:29] if you see the design http://ubuntuone.com/6SCbeShDiJCjqxmHvyzDkh [17:29] it says datetime is with the calc heading [17:29] and I guess right now it is not showing heading with date time :| [17:31] Mihir_: which slide is that? [17:34] slide* [17:34] look at 2nd slid [17:35] lookdown the date line it has heading before the date starts [17:36] oh, I'm not sure if that's supposed to be the header, or a location stamp [17:37] it doesn't show any ability to edit it in the slides though [17:37] Nope it is just date while you start the new conversations [17:37] calculation* [17:38] I think the current way we have separate header and datetime is okay [17:38] okay.. [17:39] so then there is no issue [17:39] I just observed it from the design [17:40] Mihir_: one thing I do need you to do is sign the contributor agreement: http://www.canonical.com/contributors [17:40] that way we can accept more contributions from you to the core apps projects [17:41] it's just a simple online form, only takes a couple of minutes [17:41] I already did it [17:41] when the form asks for a Canonical manager, put Alan Pope [17:41] oh, perfect, nevermind then [17:41] I guess it just hasn't shown up on Launchpad yet [17:42] Hmmm shall I do it agian ? [17:44] or can you ask popey to accept it ? [17:51] it's not popey who has to accept it, I'll ping the person who does though [17:51] but as long as you did fill it out already things are fine, waiting on Launchpad to reflect that won't block us [18:08] i mentioned popey (Alan Pope) as project manajaor [18:08] okay thanks @mahll119 [19:00] thanks mhall119 [19:11] mhall119: http://popey.com/~alan/device-2013-07-20-201112.png \o/ [19:16] Hey popey , you have installed on which device? [19:22] #ubuntu-touch [19:24] popey: nice, needs a background color though [19:29] mhal119 , it is only compatible with only Nexus 4 ? [19:29] Mihir: i am installing on my nexus 4 [19:31] I have galaxy heheh [19:31] can't install [19:35] :| [19:39] mhall119: 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] suggestions welcome [19:44] G+ [19:45] lastpass has a webapp? [19:46] oh, G+, good call [19:46] well, you can login on their website [19:46] good enough [19:51] popey: 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 terrible [19:54] oh, aq's 2fa app too [19:54] did you already package that mhall119 ? [19:54] popey: yup, apt-get install canonicalauth [19:54] suh-weet [19:54] though it really should be upgraded to use daker's theme files [19:55] thanks [19:55] np [19:55] am editing .desktop files directly on the phone ☻ [19:55] need to bzr push [19:55] also using debuild directly on device [19:55] quite liberating [19:55] using adb or the terminal app? [19:56] adb [19:56] while it charges [19:56] I've done it with the terminal and vi [19:56] haha [19:56] leet [19:56] using swipe gestures to move the cursor is really, really nice [19:56] i have installed vim [19:56] this makes me weak, as a person, i realise this [19:56] hey man, at least it's not nano [19:57] so why is nano broken? [19:57] you can't save when you ctrl+x [19:57] no, it's just not as cool [19:57] well there isthat [19:57] for some value of "cool" of course [19:57] is it actually broken though? [20:00] yes [20:00] you can't press enter === marcoceppi_ is now known as marcoceppi [20:05] mhall119: canonicalauth is broken. i can't enter text in the fieled [20:05] *field [20:06] http://popey.com/~alan/device-2013-07-20-210556.png [20:06] what? I was able to do that 2 days ago [20:06] well canonicalauth's code certainly hasn't changed [20:06] the field is grey, i cant get the osk to appear when i tap it [20:06] it should be grey until it has keyboard focus [20:06] that's how the SDK components look [20:06] but it should get keyboard focus when you tap on it [20:07] not here [20:07] something's wrong with the webbrowser-app then [20:07] ☹ [20:08] yeah, its not registering any taps [20:08] * popey reboots [20:08] i have been killing unity8 to test my deb [20:08] may have broken something [20:09] yeah, I deleted my key to get back to that screen and I can enter text [20:09] yeah, fine after reboot, sorry [20:10] now I have to re-enter an AES key :( [20:10] the things I do for you popey [20:10] you're lucky you're so pretty :) [20:12] hehe [20:13] pro-tip, you can enter spaces into that field, which makes it easier to verify that you've entered the key correcly [20:14] I should consider packing [20:19] woohoo, lastpass works [20:20] ooh, love the new theme on sudoku [20:20] http://popey.com/~alan/device-2013-07-20-212006.png [20:22] wish scrolling worked in twitter as a webapp [20:22] scrolling is gittery on lots of webapps, I've noticed it most with Facebook [20:23] https://bugs.launchpad.net/webbrowser-app/+bug/1179596/comments/11 [20:23] Ubuntu bug 1179596 in webbrowser-app (Ubuntu) "browser needs its own UA string" [High,Confirmed] [20:24] popey, 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:27] sure thing [20:28] from trunk? not the PPA package? [20:28] mhall119, changes I'd like to verify aren't in the PPA yet, sadly. [20:28] ok [20:30] popey, 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 bzr [20:30] http://popey.com/~alan/device-2013-07-20-213000.png [20:30] http://popey.com/~alan/device-2013-07-20-213009.png [20:31] http://popey.com/~alan/device-2013-07-20-213039.png [20:31] vthompson: excellent [20:31] * popey loads more music on his device [20:32] popey, thanks! Most of those are looking sharp. Could you post the Albums tab too? [20:32] http://popey.com/~alan/device-2013-07-20-213220.png [20:32] that looks wrong [20:33] So for both the Artists and Albums pages you get what you posted without clicking on anything? [20:33] ya [20:33] nm, the artists tab looks right [20:33] however [20:33] If you're still on the Albums tab could you swipe from the bottom and hit back? [20:34] http://popey.com/~alan/device-2013-07-20-213357.png [20:34] now some stuff has gone missing [20:34] compare http://popey.com/~alan/device-2013-07-20-213357.png and http://popey.com/~alan/device-2013-07-20-213009.png [20:34] each tab has its own page stack for those two. we get some weird behavior as a result [20:35] love having a screenshot script which takes a pic and uploads it to my website in one go :D [20:35] That second one is what should appear if you click on MGMT to view the artist's tracks. [20:36] right, no way to go back [20:36] popey, yes, that is pretty slick. I didn't know if you were just super human or what [20:36] haha [20:36] yea, toolbars go flakey on the destop too when you switch tabs. [20:37] http://bazaar.launchpad.net/~popey/+junk/phablet-flash-wrapper/view/head:/screenshot.sh [20:37] Could you exit and go directly to Albums and post a screen? [20:37] ya [20:37] http://popey.com/~alan/device-2013-07-20-213734.png [20:38] nice! Thanks! [20:38] np [20:38] ooh [20:38] it lies about which track you're on [20:38] http://popey.com/~alan/device-2013-07-20-213838.png [20:38] * mhall119 wonders if we could setup an automated request-a-screenshot system [20:38] I am playing Killing In The Name [20:39] but look at the bottom [20:39] hm, I should be able to look into that. Is the progress bar still progressing? [20:39] yes [20:40] How did you start playing RATM? Clicking the item in the ListView or pressing play? [20:40] listview [20:40] k [20:41] mhall119: i did ponder this also [20:42] I'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:43] i hear xnox is working on the emulator soon ☻ [20:44] popey, 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:45] It's so dreadful doing testing by doing nothing but listening to music... [20:45] haha [20:46] mhall119: https://code.launchpad.net/~popey/+junk/webapps-demos-extras [20:46] pushed a deb to my ppa, but it's probably quicker/easier to build locally with a swift debuild -uc -us [20:47] popey, 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 listview [20:49] \o/ [20:49] I wouldn't celebrate too much... you may just have bad luck ;) [20:50] friend of mine works for a company that make a music app for another platform. i broke their app within minutes ☻ [20:52] ha [21:01] This 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:02] You'd have to give me a week to do that kind of research! [21:11] hah, he is fast! [21:12] vthompson: agreed :). I think he is subscribed to the commits of every core app or something [21:14] nik90, 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:18] nik90, The same person with a recipe for music-app's trunk has one for the clock app. We've found the culprit. :) [21:19] vthompson: hehe :) [21:21] nik90, as River Song would say on Doctor Who... Spoilers! [21:21] vthompson: yeah...I wanted to blog about the background gradients, however it already appeared on iloveubuntu the next day. He is too fast for me :D [21:22] vthompson: 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:23] nik90, ha! That means the man is faster than the internet! [21:23] People revealing secrets huh? Who'd have thought it. [21:24] That 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:26] true [21:26] The music app would die immediately if 20 different people favoring 20 different music applications came around and tried to make similar changes. [21:28] yes 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] If however each person is stubborn about his view, then yes it will hinder the development [21:29] nik90, 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:30] nik90, I know of no one who is both stubborn and awesome enough to help this push forward for all the core apps [21:33] vthompson: 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] If the design team have not provided design specifications, then I suppose it comes to you guys making decisions for now. [21:34] Despite 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] nik90, 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:36] vthompson: do you guys have weekly meeting with the design team? [21:37] nik90, 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:38] nik90, we do have them scheduled, but I can not attend. I know danielholm has participated in one or two--which did seem fruitful. [21:39] vthompson: 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:40] nik90, 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] vthompson: oh. I just realised that. [21:41] vthompson: that's unfortunate [21:42] nik90, 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:44] nik90, 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] vthompson: I am sure you know this already, but you should support him since he is literally your primary designer. [21:45] nik90, agreed [21:45] vthompson: thnx. I really look forward to that day as well :) [21:45] vthompson: I wanted to ask. Do you guys use qml loaders to dynamically load objects to save on performance and memory? [21:46] The 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:47] nik90, no we do not. Luckily we save some memory constraints because ListViews only keep a certain number of items in memory. [21:47] nik90, So most things can be done asynchronously using Loaders? [21:48] no loaders are mostly to dynamically load/unload components. This should help with application start up, reduce memory usage. [21:48] asynchronous (multiple threads) can be done using workerScript in qml. Though I havent really looked into workerScript just yet. [21:48] There 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:49] So if you are in the playlist tab, the album tab ui can be unloaded since it is not really required. Loaders help in those situations [21:49] yea, we can't push workerscripts as far as we want to... [21:49] Ah, no, but each has a model that can be unloaded and the ListViews should also be refreshed as empty. [21:49] yeah I think in these areas, it would be really helpful to have some experienced sdk/canonical devs to help up with them. [21:50] true, it would. [21:51] If we could get some jedi Qt guys to help as well, that'd be most welcomed. [21:51] anyways good luck with the music app. Me back to reading up on loaders :) [21:51] yup [21:51] BLOG YOUR FINDINGS! [21:51] :) [21:52] vthompson: indeed. will do so. :) [21:52] Make your blog about development as well as our progress! [21:52] I will [21:52] nik90, TTYL and good luck. [21:52] vthompson: bye. gud nite [22:45] hello