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