[01:31] <shubhmoy> jono: Hi
[01:31] <shubhmoy> jono, are you there?
[01:45] <jono> hey shubhmoy hey
[01:50] <shubhmoy> jono, I am newbie and looking for some work in Ubuntu-App-Development
[01:50] <jono> shubhmoy, I recommend you start at developer.ubuntu.com
[01:51] <shubhmoy> thanks, I am setting up launchpad account right now
[01:51] <jono> cool
[07:34] <JamesTait> Good morning all; happy Celebration Of Life Day! :-D
[08:07] <dholbach> good morning
[10:48] <WebbyIT> timp, zsombi:: Hi :-) Sorry to disturb you, but I have a strange problem with a listView in calculator app
[10:50] <WebbyIT> If I clear from the listview and then I use positionViewAtBeginnin() the listview doesn't go to beginning. I cannot use contentY or originY because the length of listview is variable
[10:51] <zsombi> WebbyIT: you clear teh ListView's model, right?
[10:55] <zsombi> WebbyIT: or what do you mean by "clear"?
[10:57] <WebbyIT> zsombi, mhh, (sorry but I have not write this part), we have a var named ScreenFormula: when a user do a calc his calc is added to this var, and after the tear off is added to model
[10:57] <WebbyIT> zsombi, my problem in when I pop last calc from ScreenFormula: is not in the model but it' s on screen
[10:58] <WebbyIT> zsombi, https://bazaar.launchpad.net/~ubuntu-calculator-dev/ubuntu-calculator-app/trunk/view/head:/Simple/SimplePage.qml#L112
[10:59] <WebbyIT> if you try to run the app, press 5+6 and then C, you see that the ListView do a little jump back, and I don't understand how to fix it
[11:02] <zsombi> WebbyIT: ok, so what happens when you press C? you call this formulaPop()?
[11:03] <WebbyIT> zsombi, exactly
[11:03] <zsombi> WebbyIT: I guess at that point teh screenFormula.length > 1, right?
[11:04] <WebbyIT> zsombi, yse, if you press 5 + 6 the length is 3
[11:08] <zsombi> WebbyIT: hmm... don't really get how this 'C' alters the ListView's model...
[11:10] <WebbyIT> zsombi, well, ScreenFormula is added between the ListView Model and the header of listview, that is keyboard. If I use positionViewAtEnd() works as expected, if I use positionViewAtBeginning() no
[11:10] <zsombi> WebbIT: ah, wait, I got it!
[11:10] <nik90> zsombi: Hey, Can we talk after your lunch? I need to discuss some stuff about the alarms with you.
[11:11] <WebbyIT> if I use contentY = 0 it works as expected, but I have some problems if the user adds new calc
[11:11] <zsombi> WebbyIT: positionViewAtBeginning should move the contentY as expected, considering of course the topMargin, which is altered by the Header, so don't touch that...
[11:12] <zsombi> nik90: ok, I'll ping U
[11:12] <zsombi> WebyIT: but pressing 'C' should clear the last added number only, right?
[11:13] <nik90> thnx
[11:14] <zsombi> WebbyIT: hmm... I see there's some scrolling of the "keyboard", is that you are trying to fix? or...
[11:15] <WebbyIT> zsombi, and the operator before him
[11:15] <WebbyIT> 5+6 C is 5
[11:15] <WebbyIT> so we lost a line
[11:15] <WebbyIT> zsombi, yes, I dont' want that keybord scrolls
[11:16] <zsombi> WebbyIT: well, the operator is not lost because of the scrolling I think...
[11:17] <WebbyIT> zsombi, uhm, no, maybe I explain bad: the behabior of the function is right, only problem is the scroll of the keyboard
[11:18] <zsombi> WebbyIT: if I have nothing more than 5+6 'C', the keyboard is not moved... I have tried with more input but there are certain scenarios when the keyboard moves only...
[11:20] <WebbyIT> zsombi, it happens once on every start of the app
[11:24] <zsombi> WebbyIT: hmm... the app design approach is a bit weird to me... should the keyboard scroll ever at all? I see it is set as header not as footer... but the content is still above it... weird...
[11:26] <WebbyIT> zsombi, yeah, I'm agree it's weird: the keyboard is set as header because verticalLayoutDirection: ListView.BottomToTop
[11:26] <WebbyIT> keyboard as to scroll with old calc
[11:26] <WebbyIT> so when you scroll up to see old calc, keyboard disappears
[11:27] <zsombi> WebbyIT: wow! ok, I see now... :)
[11:31] <zsombi> WebbyIT: ok, fist of all, you have to learn that whenever you use ListView, and even if you only read contentY property, you should subtract originY from it.
[11:31] <zsombi> WebbyIT: otherwise you won't get the real contentY
[11:32] <WebbyIT> zsombi, ok, interesting
[11:32] <zsombi> WebbyIT: however this won't help here, or might help, as for me the kbd only scrolls if the ListView's content goes out of the screen area, so only after few operations
[11:33] <WebbyIT> zsombi, mhh, nice catch, I have a lot of old calc so I didn't see this
[11:33] <zsombi> WebbyIT: so revisit the code, read the Flickable.originY docs carefully, and then see if that will align the scrolling
[11:34] <zsombi> WebbyIT: the position function should work properly if the contentY was not messed.
[11:34] <WebbyIT> zsombi, ok, thanks for your help, I'll try to do this :)
[11:35] <WebbyIT> I'll inform you if I'll be able to fix it
[11:35] <zsombi> WebbyIT: good luck ;)
[13:07] <daker> popey: http://feedback.unity3d.com/suggestions/platforms-unity-editor-for-linu
[13:13] <popey> daker: yeah, see how old that is ☹
[13:14]  * popey votes though
[13:14] <daker> don't lose faith :)
[13:14] <popey> http://feedback.unity3d.com/forums/unity/suggestions?utf8=%E2%9C%93&status=0&category=&view=most_voted
[13:14] <popey> most voted!
[13:37] <om26er> boiko, ping
[13:37] <boiko> om26er: pong
[13:38] <om26er> boiko, how does dialer-app saves call logs ?
[13:38] <om26er> boiko, can I feed some dummy data easily for tests ?
[13:38] <boiko> om26er: it doesn't. history-service does
[13:39] <om26er> boiko, ^ right, lets take history-service in context
[13:39] <boiko> om26er: it uses a sqlite database, but I think it might be even easier to write an app using history API to write fake data
[13:40] <boiko> om26er: there is a tool for importing telepathy-logger data into history-service's database, you can check how it is done and maybe use something similar to write fake data
[13:40] <om26er> boiko, i can just copy over the sql DB and replace it with real data during test run and then restore back, guess its going to be easier ?
[13:41] <om26er> ~/.local/share/history-service/history.sqlite
[13:41] <boiko> om26er: no need to copy & restore, you can set the database path via environment vars: HISTORY_SQLITE_DBPATH
[13:42] <boiko> om26er: just make sure to restart history-daemon using that env var
[13:42] <om26er> boiko, even better, is there a parameter for contacts as well ?
[13:42] <boiko> om26er: good question, I think there is, ping renato about it when he gets online
[13:43] <boiko> om26er: I'll go for lunch now, but after I'm back I can help you with that
[13:43] <om26er> boiko, great, thanks
[14:52] <WebbyIT> zsombi, I found a strange behavior of contentY of listview in calculator app.
[14:52] <WebbyIT> At the first start, it's -267 and every time user adds something contentY became little (e.g -300). If users remove something using C, contentY became bigger, and there is the scroll of the keyboard
[14:52] <WebbyIT> But after user tears off the calc, contentY stop to changes, and there is no more the keyboard scroll.
[14:52] <WebbyIT> Also if user removes something, contentY doesn't change.
[14:52] <WebbyIT> I'm trying to understand why after tear off contentY is blocked
[15:02] <popey> mzanetti: be there in a second, my google+ experience is broken
[15:03] <mzanetti> the google+ experience
[15:03] <mzanetti> :D
[15:10] <HenrikG> Hello, I am totally new here so I apologize if I am in the wrong place, but I am trying to learn how to develop a HTML5 application for Ubuntu Touch. I am following the tutorial and I cant get it to work. Can I ask for help here?
[15:11] <nik90> HenrikG: yup this is the a good place to ask
[15:12] <nik90> HenrikG: although I am not the person to answer it :P I am more a qml+javascript dev
[15:12] <HenrikG> Cheers! firstly in the tutorial part it says : sudo add apt-repository ppa/ubuntu-sdk-team/ppa -> I guess it should be sudo add-apt-repository ppa:ubuntu-sdk-team/ppa ?
[15:12] <HenrikG> Well, I can always ask, to begin with the information in the tutorial doesn't seem to be correct
[15:13] <zsombi> WebbyIT: that's the way ListView works... not straight forward :)
[15:13] <zsombi> nik90: sorry, dude, my lunch got diverted into qt5.2 fight...
[15:14] <nik90> zsombi: lol..no worries
[15:14] <nik90> zsombi: I am assuming your EOD is soon..want to talk tomorrow?
[15:14] <zsombi> nik90: but now I'm a bit releafed from it till my next package builds...
[15:14] <WebbyIT> zsombi, mmh, ok, thanks :-)
[15:14] <zsombi> nik90: unless it takes hours :)
[15:15] <nik90> zsombi: it will take at least 30 mins. Also I can come more prepared tomorrow with the questions :)
[15:16] <zsombi> nik90: ok, let's get in touch tomorrow again!
[15:16] <nik90> zsombi: perfect. Will ping you then
[15:17] <zsombi> nik90: awesome :)
[15:21] <om26er> boiko, hey! back ?
[15:21] <boiko> om26er: yep, sorry, I was in a meeting
[15:22] <om26er> boiko, sure, no problem
[15:22] <om26er> boiko, I tried HISTORY_SQLITE_DBPATH but seems to have a problem
[15:22] <om26er> boiko, http://paste.ubuntu.com/6797739/
[15:23] <boiko> om26er: ah, you have to use a file path, HISTORY_SQLITE_DBPATH=/some/path/to/a/database.sqlite
[15:24] <om26er> boiko, very well, seems to work :)
[15:25] <om26er> boiko, thanks
[15:25] <om26er> renato, ping
[15:32] <boiko> om26er: if you don't care about the data in the history database, you can use :memory: as the database path, that creates a database in memory that will be destroyed as soon as the daemon is killed
[15:34] <om26er> boiko, I want pre-populated call logs in this case
[15:35] <boiko> om26er: ah ok, yeah, then the memory one won't be of much use
[15:37] <om26er> boiko, the address-book-app supports ADDRESS_BOOK_TEST_DATA=vcard.vcf I hope there is something for dialer as well
[15:41] <renato> om26er, pong
[15:42] <om26er> renato, do you know if I can load contacts from a different path to appear in dialer-app ?
[15:43] <renato> om26er, what do you mean by different path?
[15:43] <om26er> I need to write a few autopilot tests that would need pre-populated contacts in the contact list
[15:43] <renato> take a look on the contact app autopilot tests
[15:43] <renato> let me check which test
[15:44] <om26er> renato, I did look at those but that didn't work for dialer-app for me
[15:44] <renato> om26er, AddressBookAppTestCase.PRELOAD_VCARD = True
[15:45] <renato> om26er, I think that the dialer-app does not support memory backend
[15:45] <om26er> boiko, ^
[15:46] <renato> om26er, boiko you need to add support for QTCONTACTS_MANAGER_OVERRIDE
[15:46] <renato> take a look on contact app
[15:49] <boiko> om26er: hmm, I thought the QML plugin for contacts would be the one checking the override
[15:51] <om26er> boiko, I can try porting this https://code.launchpad.net/~renatofilho/address-book-app/dynamic-backend/+merge/192326 over to dialer-app
[15:51] <boiko> om26er: that's fine I think
[15:58] <boiko> om26er: I would still prefer this to happen in the contacts plugin though, but for now this is OK
[15:59] <om26er> boiko, if my case gets solved by just replacing the database by a dummy-db I may skip adding the memory backend support
[16:28] <WebbyIT> I'm tring to use valgrind function profiler with QtCreator on Ubuntu 13.10, but I have an error: Error: "/usr/bin/valgrind" could not be started: No private key file given. What could I do?
[16:32] <mzanetti> dpm_: hey, is there some documentation about app armor permission now?
[16:34] <nik90> mzanetti: perhaps this might help http://developer.ubuntu.com/publish/apps/security-policy-for-click-packages/
[16:34] <mzanetti> nik90: oh, thanks a lot!
[16:35] <nik90> :)
[16:35] <mzanetti> nik90: music_files is to write to ~/Music, right?
[16:35] <nik90> I am guessing yes
[17:03] <jdstrand> mzanetti: warning-- music_files is a reserved policy group
[17:03] <mzanetti> jdstrand: which means? I cannot write an app that uses it?
[17:04] <jdstrand> apps should use the content-hub for that sort of thing
[17:04] <nik90> mzanetti: yup, at the moment only the music app uses it (or is allowed to use it)
[17:04] <jdstrand> I don't think it is well-defined for music yet, but maybe it is. perhaps tvoss or kenvandine can shed some light on it
[17:05] <jdstrand> the music-app should not have direct access to ~/Music, but it does. that is supposed to change at some point
[17:05] <jdstrand> actually, it is tvoss, kenvandine or jamesh
[17:06] <kenvandine> i think the music-hub is the likely future for this
[17:06] <jdstrand> (tvoss for design, kenvandine for content-hub implementation and jamesh for music/media service)
[17:06] <kenvandine> although i don't know much about the music-hub
[17:06]  * jdstrand either
[17:06] <jdstrand> kenvandine: is that jamesh?
[17:07] <jdstrand> kenvandine: just otoh
[17:07] <kenvandine> content-hub is for exchanging the content between apps, i think the music-hub will give you access to the music library and let you do things like playback
[17:08] <kenvandine> i don't know who is implementing music-hub, tvoss created the project and initial api
[17:08] <mzanetti> my use case would be: xbmcremote download music files from xbmc so the user can listen to them on the go (using the music player - xbmcremote doesn't do playback itself)
[17:10] <kenvandine> it could provide an export for the files it downloads, and the music-app could import them
[17:10] <kenvandine> that would require the music-app to implement a content-hub import handler
[17:10] <kenvandine> which it probably needs anyway
[17:10] <kenvandine> unless the music-hub will provide this separately
[17:10] <kenvandine> not sure
[17:15] <mzanetti> mhm... I guess the music hub would need to move the files to ~/Music when importing
[17:15] <kenvandine> yeah, if the music-hub provides that
[17:15] <kenvandine> if not, the music-app could with it's import handler
[17:16] <mzanetti> in any case this is not happening anytime soon, right?
[17:17] <kenvandine> the music-app could implement an import handler now, the content-hub provides this functionality already
[17:17] <kenvandine> but it would be best to verify the plans for music-hub and how it all fits together first
[17:17] <mzanetti> would the music app have permissions to move the file away from xbmcremote's confined folders?
[17:18] <kenvandine> no
[17:18] <kenvandine> the content-hub does a copy
[17:18] <mzanetti> a copy? so we end up with all the stuff copied?
[17:18] <kenvandine> yes...
[17:18] <mzanetti> oh..
[17:19] <kenvandine> and since you don't need to keep the files in your app, you could remove them after you see the music-app has collected them
[17:20] <kenvandine> when the transfer objects state changes to collected, you could cleanup
[17:20] <mzanetti> mhm
[17:22] <WebbyIT> popey, maybe now keyboard support works in calculator app. Could you try, please?
[17:22] <WebbyIT> https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/1267820/+merge/201313
[17:22] <WebbyIT> zsombi helped me to solve the scroll keyboard error
[17:22] <popey> WebbyIT: sure.
[17:23] <WebbyIT> This is definitely  the most grueling patch for calc app that I've made
[17:24] <popey> WebbyIT: that works well!
[17:24] <WebbyIT> Tonight beer for all :)
[17:26] <dpm_> mzanetti, sorry, I was on a call, but yeah, I would have given you that same link http://developer.ubuntu.com/publish/apps/security-policy-for-click-packages/ and suggested to talk to Jamie for more details
[17:27]  * dpm_ hugs WebbyIT
[18:25] <labsin> hi all, I'm having issues with click packages. If I update my package, the desktop file in ~/.local/share/applications isn't updated.
[18:26] <labsin> I'm installing the same version with modifications and the /opt/click.. files are updated
[18:26] <labsin> Anyone else has this issue? Wouldn't it be better if they were symlinked?
[18:37] <labsin> ok, how do I best uninstall a click app installed with pkcon?
[18:38] <labsin> just deleting the desktop file in ~/.local/share/applications before installing the click file again did the trick.
[19:15] <buharin_> hello can I mix ubuntusdk qt program with java?
[20:14] <popey> nik90: clock r300.. I am getting no sound from timer .. do you need to add the audio policy group maybe?
[20:59] <nik90> popey: I didnt merge that MP
[21:00] <nik90> popey: On talking to bfiller about the timer, I have to use the Alarms API for it. And that service will be the one which triggers the ringtone. I shouldn't do it from the clock app.
[21:38] <WebbyIT> Someone can help me? http://askubuntu.com/questions/409273/valgrind-and-ubuntusdk
[23:07] <shubhmoy> Can anyone please send me invitation to #ubuntu-beginners-dev?
[23:10] <sarnold> shubhmoy: it looks like it just forwards to #ubuntu
[23:13] <shubhmoy> sarnold, ok. Since I am beginner, some suggested me to go to #ubuntu-beginners-dev. Any ways thanks for your reply
[23:14] <sarnold> shubhmoy: the name does sound appealing, but there's nothing there..
[23:15] <shubhmoy> sarnold, ok. :P
[23:15] <sarnold> ah, related: https://lists.ubuntu.com/archives/ubuntu-beginners/2013-August/002541.html
[23:17] <shubhmoy> sarnold, oh, that's sad.. anyways, past is past. And there is enough documentation and help available on IRC
[23:19] <popey> mhall119: you about?
[23:20] <mhall119> yup
[23:20] <popey> so someone has made an app which supplies a simple index.html
[23:21] <popey> and I get a white screen when I launch it
[23:21] <popey> am trying to figure out if it's a malformed desktop file or something
[23:22] <popey> hah, typo
[23:22] <popey> Exec=webbrowswer-app index.html
[23:22] <popey> ridicule mode engaged
[23:23] <mhall119> popey: where are you running it (desktop or device)?
[23:23] <popey> device
[23:23] <popey> s/webbrowswer-app/webbrowser-app/
[23:24] <mhall119> installed via click or otherwise?
[23:28] <popey> yes, click from the store
[23:28] <popey> well, I download the click, push to phone and pkcon install
[23:28] <mhall119> does it have a Path= property in the .desktop?
[23:28] <popey> no path in the .desktop file in the click package
[23:29] <mhall119> sounds like it didn't install properly then, is the .desktop in ~/.local/share/applications/ ?
[23:29] <popey> path is set on install though by pkcon i imagine
[23:29] <popey> it did
[23:29] <popey> its all installed infe
[23:29] <popey> *fine
[23:29] <popey> the guy simply typoed the Exec line - see above
[23:29] <mhall119> oh, I thought you were correcting yourself, lol
[23:29] <popey> interesting that during install the Path= gets added
[23:29] <popey> :_)
[23:51] <mhall119> let's the app developer not care about where click is going to put it
[23:54] <popey> ya
[23:56] <popey> oh wait
[23:56] <popey> do we still have that issue with capitals letters in desktop file names?
[23:58] <popey> ** (process:3980): WARNING **: Unable to exec: Permission denied
[23:58] <popey> bah
[23:58] <popey> cant fathom why this isnt working