[01:05] <daker> mhall119: can you mention that http://developer.ubuntu.com/api/html5/sdk-1.0/UbuntuUI.Tabs/ is subject to change ?
[04:14] <mhall119> daker: mention it where?
[09:06] <aquarius> I'm playing with the ContentHub stuff, as per the new documentation. The examples in the pages don't work for me; is there guidance somewhere on what I need installed on the desktop to test this stuff? (I've installed the ubuntu-content qml plugin, obvs)
[09:18] <aquarius> this might be a t1mp question?
[09:23] <dpm> morning aquarius, perhaps kenvandine might know too. He was writing the content hub a while ago, although I haven't been talking to him about it for a while
[09:24] <aquarius> k. will talk to kenvandine when he wakes up :)
[09:24] <aquarius> the examples are not great :( ignoring that they don't work (which might be a setup problem), the main example has two buttons but doesn't put them in a column, so they both appear on top of one another...
[09:24] <dpm> hi kalikiana, could you give me a hand with https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1233071 ? From Chris Wayne's comment, it seems that translations are not being loaded from click packages, although it might have to do with the SDK package including the fix hasn't landed in the trusty images yet? He says he tested image 15
[09:25] <ubot2> Launchpad bug 1233071 in Ubuntu UI Toolkit "Set up the translation domain automatically for click packages" [Undecided,Fix committed]
[09:48] <JamesTait> Good morning all; happy Friday and happy X-Ray Day! :-D
[10:02]  * aquarius reports bugs about the contenthub examples not working.
[10:14] <popey> aquarius: am i remembering correctly that for Riddling you wanted a listview with a button at some point?
[10:15] <aquarius> popey, not for Riddling. I did file a bug about wanting to be able to disable a listitem and thus disable the button therein, which was for a patch I wrote for Friends, but that was about six months ago
[10:21] <franxesk> hi everyone :)
[10:23] <franxesk> i'm trying to include  a listview and a button on a dialog using qml
[10:23] <franxesk> but i don't know how to set the dialog's dimensions in order to put everything  on the right position
[10:24] <franxesk> does anyone know how to do it? I would really appreciate any help with this
[10:25] <aquarius> franxesk, can you explain in a little more detail?
[10:25] <dpm> franxesk, do you have any code that you can share? If you put it in a pastebin perhaps people will have it easier to help you
[10:26] <franxesk> aquarius, dpm: sure
[10:29] <franxesk> http://paste.ubuntu.com/6381315/
[10:30] <franxesk> i'm working on a new feature for the gallery app that detects duplicated media
[10:32] <franxesk> i'm using the listview to print a list of absolute paths and the button will just close the dialog
[10:33] <aquarius> franxesk, and how do you want it to look?
[10:36] <franxesk> aquarius: something like this http://picpaste.com/example-q7gSepjJ.png would be nice
[10:36] <franxesk> aquarius: but instead of the image, it would be the listview with the absolute paths
[10:36] <franxesk> aquarius: and just one button
[10:42] <aquarius> franxesk, I'd set an explicit height on the listview, if it were me
[10:42] <aquarius> http://pastebin.ubuntu.com/6381350/ or similar
[10:43] <aquarius> what would be nice is if you could add a scrollbar to the listview, but doing that screws up the dialog when I try it, which feels a lot like a bug. It might be worth asking bzoltan and the sdk team how to add a scrollbar to that listview (if you just use a scrollbar widget, the dialog layout thing gets very confused)
[10:48] <franxesk> aquarius: i'll ask them about this then, thx :)
[10:51] <franxesk> aquarius: i think i've updated the code correctly, http://paste.ubuntu.com/6381373/
[10:52] <franxesk> aquarius: but it doesn't look like the dialog has the correct dimensions right? - http://picpaste.com/duplicatesPaths-PlhcVP3p.png
[10:53] <aquarius> hrm. I don't think you can set the dimensions of a dialog; it sizes itself depending on the content
[10:53] <aquarius> so this is an SDK team question: "how do I know how big to make the listview in my dialog?"
[10:53] <aquarius> bzoltan, ping about the above ;)
[10:53] <franxesk> aquarius: :O, I didn't know that
[10:54] <aquarius> I might be wrong. Dialogs are quite magic, which is great when it works but when the magic breaks down it's hard to know how to fix it. Saviq or t1mp will know how to do it :)
[11:09] <nik90> aquarius: couldn't you use parent.height for the listview?
[11:15] <aquarius> nik90, you don't want the listview to be the height of its parent: you want it to be the height of its parent minus the height of the header minus the height of the button minus some spacing
[11:15] <aquarius> and you don't know how high the header is, because it's not a separately addressable component.
[11:16] <nik90> true
[11:40] <bzoltan> aquarius: I am here
[11:41] <aquarius> bzoltan, so, you may want to address two questions: franxesk_'s question about how to put a listview in a dialog, and then mine about how the contenthub qml documentation doesn't work for me and I don't know why :)
[11:45] <zsombi> (12:53:43 PM) aquarius: so this is an SDK team question: "how do I know how big to make the listview in my dialog?"
[11:46] <aquarius> zsombi, yep. If I add buttons to a Dialog, the Dialog calculates the right size for itself without assistance. If I want a ListView in my dialog, how do I know what to set its height to?
[11:46] <zsombi> aquarius: you don't really know that. you can calculate some size if you consider the size of the screen, extracting the header + buttons, but the Dialog doesn't really provide such an info
[11:47] <aquarius> zsombi, yeah, that's what I said to franxesk_. Dialogs calculate things themselves by magic, but when the magic breaks down you can't fix it ;)
[11:47] <zsombi> aquarius: usually a 4-5 lines ListView can go in, but you need to consider the Landscape/Portrait modes also :(
[11:47] <aquarius> which is why I suggested just picking a height and hardcoding it
[11:47] <aquarius> but franxesk_ didn't sem to like that: "[10:52:34] <franxesk> aquarius: but it doesn't look like the dialog has the correct dimensions right? - http://picpaste.com/duplicatesPaths-PlhcVP3p.png"
[11:48] <zsombi> aquarius: for now yes, till we come up with a fix for that, therefore would be good if you would file a wish item to UITK
[11:48] <zsombi> woooo
[11:49] <aquarius> zsombi, ok. (This is not my bug, it's franxesk_'s, so I'll leave him to file it.) What *I* want to know about is the contenthub, because I can't get the examples from the documentation to work ;)
[11:49] <zsombi> aquarius: contenthub?
[11:49] <aquarius> zsombi, the thing for passing files between apps -- so an app can say "give me some images" and the gallery provides them
[11:50] <aquarius> this is how, for example, an ebook that I have in Ubuntu One will make it into my ebook reader... by opening U1 in the web browser and using the content hub to pass the downloaded ebook to the ebook reader
[11:51] <franxesk_> zsombi, aquarius: i'm sorry but what is UITK?
[11:52] <zsombi> huhh, ISP hickup, got back..
[11:52] <zsombi> franxesk_: Ubuntu UI Toolkit :)
[11:52] <zsombi> franxesk_: file the bug to ubuntu-ui-toolkit
[11:53] <zsombi> aquarius: would that contenthub be some kind of content-picker thing?
[11:53] <franxesk_> zsombi: on my way, thx! :)
[11:53] <aquarius> zsombi, yep -- the content picker is exactly what it is
[11:53] <nik90> aquarius: I talked to kenvandine yesterday about the contenthub. His code examples are available at https://code.launchpad.net/~ken-vandine/+junk/hub-importer and https://code.launchpad.net/~ken-vandine/+junk/hub-exporter
[11:54] <aquarius> nik90, ooh, that sounds useful
[11:54] <zsombi> aquarius: ah, different terminology :)
[11:54] <nik90> aquarius: I made a sample app which imports pictures from the gallery app.
[11:54] <nik90> I am trying to now figure out how to import from other 3rd party apps
[11:54] <nik90> I wish ken was online now..have some questions to ask
[11:55] <zsombi> aquarius: we don't have it yet in SDK...
[11:55] <aquarius> zsombi, aha, we do! http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Content/
[11:55] <aquarius> but only for the last couple of days :)
[11:56] <nik90> aquarius: you can try my sample app at https://code.launchpad.net/~nik90/+junk/contenthub-importer
[11:56] <zsombi> aquarius: huhh??? when was it added??
[11:56] <nik90> aquarius: using qtcreator you can install it as a click package on the phone
[11:56] <davmor2> aquarius: do you have an additional clue for number 4 it's frying my head now
[11:56] <nik90> zsombi: I think yesterday
[11:57] <aquarius> nik90, I've just tried ken's importer onthe desktop and it throws errors :(
[11:57] <aquarius> davmor2, which one's number 4?
[11:57] <zsombi> nik90: no wonder I haven't heard about it then... but seams it is in a separate package then
[11:57] <nik90> aquarius: it doesnt work on the desktop
[11:57] <nik90> zsombi: yup
[11:57] <davmor2> aquarius: a boy
[11:57] <aquarius> nik90, what? why doesn't it? :(
[11:57] <aquarius> davmor2, heh. Your clue is: magpies
[11:57] <nik90> aquarius: no idea. I had to install it as a click package on the phone to try it
[11:57] <davmor2> aquarius: thanks
[11:58] <nik90> aquarius: qtcreator -> Build -> Ubuntu Touch -> Install aplication on device
[11:58] <aquarius> nik90, hmph. It should work on the desktop. I'll ask ken about it.
[11:58] <aquarius> I know how to test on the phone, but for something like this I shouldn't have to :)
[11:58] <nik90> aquarius: definitely. it would make testing a bit more easier
[11:58] <nik90> zsombi: ken was going to request it to be merged into the sdk.
[11:59] <zsombi> well, this is the first time I hear about that... and we were planning to make it...
[11:59] <zsombi> bzoltan: ^
[12:01] <Mirv> elopio: can you work on getting the calendar app AP fixes in, either your branch or thomi's, or maybe combine some change from thomi's branch to yours?
[12:02] <zsombi> aquarius: nik90: well, as said, this was the first time I heard about this...
[12:03] <aquarius> zsombi, interesting. I'm sure bzoltan and kenvandine can get together on it :)
[12:03] <davmor2> aquarius: no wonder I only every got that to 4 I never knew it went on :)
[12:04] <aquarius> davmor2, now you have learned a new thing, *and* can continue with Riddling :)
[12:04] <davmor2> aquarius: onto 8 already :)
[12:04] <davmor2> aquarius: but that is enough for now :)
[12:24] <zsombi> timp: R U here?
[12:52] <daker> mhall119: on the index or on the Tabs page
[13:47] <aquarius> zsombi, do you know anything about the downloader daemon, and whether it has QML bindings yet? this might be a gatox or ralsina question
[13:48] <gatox> aquarius, i just asked mandel
[13:48] <aquarius> ah cool. mandel_ ping :)
[13:49] <mandel_> aquarius, I have been summoned by you ;)
[13:49] <mandel_> aquarius, although I prefer when they say my name 3 times
[13:49] <aquarius> you have :) the downloader daemon -- can I use it from my QML apps?
[13:49] <mandel_> aquarius, how is it going?
[13:50] <aquarius> mandel_, actually, things are going pretty well, which is nice :)
[13:50] <mandel_> aquarius, ok, so that is work that was delayed due to quality and I need to design a nice QML API
[13:50] <aquarius> ah, OK, so the answer is "no, not yet". cool
[13:50] <mandel_> aquarius, I wanted to have a UDS session to talk about it and start a conversation about it in the mainling list
[13:50] <aquarius> I shall not write my little app that requires it, then ;)
[13:51] <mandel_> aquarius, yes, sorry.. but you can look at the following: https://wiki.ubuntu.com/DownloadService
[13:51] <mandel_> aquarius, but if you wait a little I'll have cpp bindings and the QML ones
[13:51] <mandel_> but I have to go through a process to request the addition to the sdk etc..
[13:51] <aquarius> right. Once it's accessible from QML I shall write my app :)
[13:52] <gatox> mandel_, aquarius there is a qml plugin that uses the download manager....... but is not part of the sdk yet
[13:52] <aquarius> gatox, orly? can I get this plugin from somewhere?
[13:52] <mandel_> aquarius, gatox it is going to be the base of the real sdk, but things will change
[13:52] <aquarius> ah ok
[13:53] <aquarius> I'm happy to wait until it's available for real
[13:53] <aquarius> I'd rather do things properly
[13:53] <gatox> aquarius, yes, that's better, this has some app specific bits of code
[13:53] <aquarius> I need to be able to download and save things -- specifically, mp3s, for a Bad Voltage app
[13:53] <aquarius> but I'll write the app once downloading becomes part of the SDK :)
[13:55] <mandel_> aquarius, ok, I'll ping you asap with that
[13:56] <aquarius> mandel_, cool. No rush; I have loads of ideas for apps :)
[13:56] <mandel_> aquarius, it will also be nice to show you the api before is done so that you can complain about my design api skills ;)
[13:56] <aquarius> happy to critique the api design!
[13:57] <mandel_> aquarius, will keep you posted
[13:57]  * mandel_ lunch
[13:58] <mandel_> aquarius, I might be able to give you something for integration testing too
[13:58]  * mandel_ really gone
[14:52] <aquarius> kenvandine, ping about the contenthub stuff -- I believe you're the chap to talk to
[14:53] <kenvandine> aquarius, i am!
[14:53] <kenvandine> aquarius, however, i'm in a meeting about that right now... give me 30m or so
[14:53] <aquarius> kenvandine, OK, cool :)
[15:00] <seb128> hum
[15:00] <seb128> that code was working in saucy and stopped working with current uitoolkit, does anyone has an idea why? http://paste.ubuntu.com/6382461/
[15:00] <davmor2> aquarius: so I had another little play over Lunch up to 12 now woohoo! thanks I love it :)
[15:03] <szymon_w> hi! What was a command to perform test on .click package before I submit it to USC ?
[15:04] <popey> szymon_w: http://launchpad.net/click-reviewers-tools
[15:04] <popey> bin/click-run-checks
[15:05] <aquarius> davmor2, glad you like it
[15:05] <aquarius> seb128, what's not working about it? ItemSelector is undocumented...
[15:06] <seb128> aquarius, with the saucy toolkit I've a list of items, with current trusty it's buggy because of the api incompat changes, with daily build ppa (where the api got fixed) the list is empty
[15:07] <aquarius> ouch. I don't know about that, sorry :(
[15:08] <seb128> aquarius, no worry, that was rather a question for the SDK team, they had fun recently it seems...
[15:08] <seb128> aquarius, for the record that makes the "pick a ringtone "page of system settings be empty
[15:08] <aquarius> fair
[15:09] <aquarius> mhall119, ListItem.ItemSelector seems to be undocumented on the SDK site? ListItem.ValueSelector says in big shrieky text that it is deprecated and you ought to use ItemSelector, but ItemSelector doesn't exist according to the docs?
[15:09] <davmor2> szymon_w:  And there you go answered,  this is the best place to ask anything Application Development wise, as people using the tools are here :)
[15:10] <seb128> aquarius, what's the sdk site?
[15:10] <szymon_w> popey, thanks :)
[15:10] <aquarius> seb128, http://developer.ubuntu.com/api/qml/sdk-1.0/
[15:10] <seb128> aquarius, I'm trying "http://developer.ubuntu.com/api/ubuntu-13.04/qml/mobile/overview-ubuntu-sdk.html" but it gives an error here today
[15:10] <seb128> aquarius, thanks
[15:10] <szymon_w> davmor2, thanks bro ;)
[15:10] <aquarius> seb128, ah, that's the *old* site you're looking at :)
[15:11] <aquarius> seb128, the root of http://developer.ubuntu.com/ now links properly through to the up-to-date api docs.
[15:11] <seb128> aquarius, uptodate but missing OptionSelector and ListItem.ItemSelector :p
[15:12] <seb128> oh
[15:12] <seb128> aquarius, http://developer.ubuntu.com/api/qml/sdk-1.0/Components.Components.ListItems.ItemSelector/
[15:12] <aquarius> seb128, OptionSelector is, rather randomly, under "Components.Components"
[15:12] <aquarius> http://developer.ubuntu.com/api/qml/sdk-1.0/Components.Components/
[15:12] <aquarius> ha!
[15:12] <seb128> aquarius, same for ItemSelector
[15:12] <aquarius> aaah, so it is
[15:13] <aquarius> mhall119, are those things *supposed* to be in a separate "Components.Components" section, or is that build weirdness?
[15:13] <mhall119> aquarius: I'm not entirely sure, but that's how the generated docs have them
[15:14] <aquarius> mhall119, hrm. I wonder why? It seems to me that ItemSelector ought to be under Ubuntu.Components.ListItems rather than Components.Components.ListItems. I wonder if someone mistagged the qdoc?
[15:14] <mhall119> and their examples have "import Components.Components 0.1"
[15:14] <aquarius> oh! so they really are different? that's nuts. Why are they? :-)
[15:14] <aquarius> sounds like a bzoltan question.
[15:14] <mhall119> don't ask me, ask bzoltan and team
[15:14] <aquarius> I was asking bzoltan :)
[15:15]  * mhall119 is not actually bzoltan 
[15:15] <mhall119> but we can try name-dropping bzoltan a few more times, in the hope that his computer makes a little noise each time :)
[15:16] <aquarius> summon him by saying his name three times, like the Candyman :)
[15:18] <seb128> aquarius, that might be resolved by http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/revision/796 which is what changed api in an incompatible way and is being fixed
[15:18] <aquarius> ah, cool!
[15:18] <seb128> aquarius, it seems to be fixed in there indeed
[15:22] <seb128> Mirv, bzoltan, Kaleo: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1249386 is another issue due to the toolkit upgrade, it makes the ringtone/messaging sound selector UI be empty, help debugging would be welcome
[15:22] <ubot2> Launchpad bug 1249386 in ubuntu-ui-toolkit (Ubuntu) "Elements not displayed since update" [Undecided,New]
[15:22] <mhall119> seb128: ah, so there's old docs in there...
[15:23] <mhall119> wait, oct 17, so that wasn't in the 13.10 release
[15:23] <seb128> mhall119, no, that commit landed recently
[15:24] <mhall119> bzoltan: Mirv: what is the plan for API changes and 13.10, are we back-porting them or no?
[15:24] <seb128> mhall119, you better hold on a bit if you want to backport, the current version has some API incompatible changes that are going to make apps out there unhappy
[15:24] <seb128> mhall119, that's being resolved, but meanwhile better to let stable user with a stable version
[15:25] <mhall119> I don't necessarily want to backport, I just need to plan what to do with the online docs
[15:25] <elopio> Mirv: calendar, ack.
[15:25] <elopio> I will do it today.
[15:49] <Kaleo> seb128, hi
[15:50] <Kaleo> seb128, was out for lunch, sorry
[15:50] <seb128> Kaleo, hey, no worry
[15:51] <Kaleo> seb128, reading backlog
[15:51] <seb128> Kaleo, backlog is not that interesting, the summary is in https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1249386
[15:51] <ubot2> Launchpad bug 1249386 in ubuntu-ui-toolkit (Ubuntu) "Elements not displayed since update" [Undecided,New]
[15:52] <seb128> Kaleo, that example stopped rendering content with the recent ui toolkit updates and I can't figure if that's a toolkit issue or what I'm doing wrong, help welcome
[15:52] <Kaleo> seb128, checking
[16:03] <szymon_w> Is there any chance to install manual installation of .click package on device ? ( not through software centre ) ?
[16:04] <ogra_> sure
[16:04] <ogra_> alwayxs worked
[16:04] <ogra_> pkcon install-local /path/to/click/package
[16:05] <ogra_> as pahblet user
[16:05] <ogra_> *phablet
[16:06] <szymon_w> ogra_, thanks
[16:07] <aquarius> kenvandine, meetings done?
[16:19] <nik90> szymon_w: why dont u install it through qtcreator?
[16:20] <nik90> szymon_w: build -> ubuntu touch -> install application on device
[16:20] <nik90> ogra_: ^^
[16:20] <ogra_> nik90, i write QML in vi ;)
[16:20] <nik90> ogra_: fair enought :)
[16:22] <szymon_w> nik90, this is a webapp I was going to test...
[16:22] <nik90> szymon_w: I think you still be should be able to
[16:22] <nik90> szymon_w: or actually I am not sure..never created a web app yet
[16:23] <szymon_w> nik90, If I create webapp using ubuntu SDK it should work... but I packaged webapp instead using this tutorial: http://developer.ubuntu.com/publish/webapp/packaging-web-apps/
[16:24] <kenvandine> aquarius, hey, sorry forgot :)
[16:24] <nik90> szymon_w: I have never done either of them...I should try it some time
[16:24] <kenvandine> aquarius, so what's up?
[16:24] <nik90> kenvandine: I am next :P
[16:24] <kenvandine> :)
[16:24] <kenvandine> i am going to need to go afk in a few minutes... but i'll do my best
[16:24] <aquarius> kenvandine, not a problem :) I have one basic question, and then depending on the answer to that, there may be others. Basic question: should I be able to use the QML ContentHub stuff on the desktop?
[16:25] <kenvandine> sort of? :)
[16:25] <kenvandine> yes you can... but the app switching may not be great
[16:25] <aquarius> kenvandine, at the moment, when I try, it just doesn't work. https://bugs.launchpad.net/content-hub/+bug/1249267
[16:25] <ubot2> Launchpad bug 1249267 in content-hub "Documentation code example does nothing on desktop" [Undecided,New]
[16:26] <kenvandine> it uses upstart-app-launch to switch to the app by APP_ID
[16:26] <aquarius> kenvandine, so if you have some pointers as to what I need to install or configure to make it work, that'd be cool, and then I can play with it and give some feedback on the docs etc
[16:26] <kenvandine> do you have gallery-app installed?
[16:27] <aquarius> nope
[16:27] <aquarius> I can install it :)
[16:27] <kenvandine> ok, that is what it is trying to open
[16:27] <aquarius> installing it
[16:27] <kenvandine> those dialog messages must come from ContentImportHint
[16:28] <aquarius> surely it should say "couldn't find any providers", though, rather than just, like, exploding :)
[16:28] <kenvandine> aquarius, please file a bug
[16:28] <aquarius> kenvandine, will do
[16:28] <kenvandine> i guess it should fail the transfer request and provide the error condition
[16:28] <kenvandine> thx
[16:29] <aquarius> kenvandine, ok, am now trying your simple import example
[16:29] <aquarius> file:///home/aquarius/Scratch/contenthub.qml:48: TypeError: Cannot read property 'state' of undefined
[16:29] <aquarius> file:///home/aquarius/Scratch/contenthub.qml:80: Unable to assign [undefined] to QObject*
[16:29] <aquarius> (on startup)
[16:29] <kenvandine> those are fine
[16:29] <aquarius> ok
[16:29] <kenvandine> they get set later
[16:29] <kenvandine> also, set APP_ID
[16:29] <aquarius> I then click "import from default"... and then nothing seems to happen.
[16:30] <kenvandine> APP_ID=foobar qmlscene ...
[16:30] <aquarius> ah!
[16:30] <kenvandine> well, i think it would still fire gallery-app
[16:30] <aquarius> ok
[16:31] <aquarius> now when I say "Import from default"...nothing happens :(
[16:31] <kenvandine> killall content-hub-service
[16:31] <kenvandine> and run it in a terminal
[16:31] <kenvandine> see if it outputs any useful info
[16:32] <aquarius> aha!
[16:33] <aquarius> I have to have run gallery-app at least once, it seems
[16:33] <kenvandine> bugger
[16:33] <kenvandine> not my fault though :)
[16:33] <aquarius> that also answers another question I had, though, which is: how does my app register itself as a source for, say, pictures?
[16:33] <kenvandine> a click hook
[16:33] <aquarius> if that registration is in QML, then I have to have *run* the app at least once for it to register
[16:33] <kenvandine> you include a little json file that gets used by a click hook
[16:34] <aquarius> ah, cool. Is that little json file documented anywhere? :)
[16:34] <nik90> kenvandine: but in the json file you just mention content_hub
[16:34] <kenvandine> look at lp:~ken-vandine/+junk/hub-exporter and lp:~ken-vandine/+junk/hub-importer
[16:34] <nik90> you dont mention it as importer or exporter
[16:34] <kenvandine> source or destination
[16:34] <nik90> so how would it know that it is a source for something?
[16:34] <kenvandine> source in this case is gallery-app
[16:35] <kenvandine> source is the app that provides the content
[16:35] <kenvandine> destination is an app that knows how to use the content
[16:35] <kenvandine> or might import iut
[16:35] <kenvandine> it
[16:35] <kenvandine> http://bazaar.launchpad.net/~ken-vandine/+junk/hub-exporter/view/head:/content-hub/hub-exporter.json
[16:35] <aquarius> oh, so being in the policy group "content_exchange_source" declares that I'm a source?
[16:36] <aquarius> that doesn't declare what I am a source *for*, though.
[16:36] <kenvandine> just for app confinement
[16:36] <aquarius> how do I say that I'm a source for pictures?
[16:36] <kenvandine> ^^
[16:36] <aquarius> I know the QML does that, but the QML code isn't processed until the app is first run
[16:37] <nik90> kenvandine: ah so in the json file, you mention source -> pictures or whatever so that when it is installed it is recognised as a source for content
[16:37] <kenvandine> yes
[16:37] <kenvandine> the click hook registers it with the hub
[16:37] <kenvandine> as a source
[16:37] <nik90> nice
[16:37] <aquarius> oh, http://bazaar.launchpad.net/~ken-vandine/+junk/hub-exporter/view/head:/content-hub/hub-exporter.json right
[16:37] <aquarius> what's the naming scheme for that file so that the hook picks it up?
[16:38] <kenvandine> doesn't matter
[16:38] <kenvandine> you define that in your manifest
[16:38] <kenvandine> with the click hook
[16:38] <kenvandine> http://bazaar.launchpad.net/~ken-vandine/+junk/hub-exporter/view/head:/manifest.json
[16:38] <aquarius> ah, I put hooks: { content-hub: somefile.json } in my manifest. Got it.
[16:38] <kenvandine> yup
[16:39] <kenvandine> and there is a function to get a list of peers
[16:39] <nik90> knownSourcesForType(ContentType)
[16:39] <kenvandine> knownPeersForType(ContentType.Pictures)
[16:39] <aquarius> kenvandine, and that's the only way that I can be a source? Or can I declare that I'm a source at runtime?
[16:39] <kenvandine> something like that
[16:39] <kenvandine> only way
[16:39] <nik90> kenvandine: I tried that..and had some issues with it. That's what I wanted to talk to you about
[16:39] <kenvandine> nik90, oh?
[16:40] <nik90> when you get some time would mind checking my code at https://code.launchpad.net/~nik90/+junk/contenthub-importer
[16:40] <nik90> kenvandine: not now
[16:40] <kenvandine> it sets them in gsettings
[16:40] <aquarius> ah, so making this work on the desktop would be hard because desktop apps don't get installed via click, so I'd have to manually do what the click hook does
[16:40] <nik90> kenvandine: I will clean the code and let u know
[16:40] <aquarius> kenvandine, but that gives me a bunch of info and things work now, so thank you :)
[16:40] <nik90> kenvandine: as of now, the app allows single/multiple selection from the default content store
[16:40] <kenvandine> the importer doesn't have to register though
[16:40] <nik90> kenvandine: but I am unable to retrieve a 3rd party store
[16:41] <kenvandine> only if it wants an app that can export data to be able to find it as an available destination
[16:41] <aquarius> right; I can *retrieve* data from sources, that's cool
[16:41] <aquarius> but I can't *be* a source without registration.
[16:41] <kenvandine> so you can request content from other apps without needing the hook
[16:41] <kenvandine> right
[16:41] <aquarius> I'm thinking of this for Beru -- how to get ebooks into it from the browser
[16:41] <kenvandine> and you can't be a destination that other sources can find without a hook
[16:41] <kenvandine> right
[16:41] <aquarius> so the browser would be an exporter and Beru would be a destination.
[16:41] <kenvandine> so in that case, you download the ebook
[16:42] <kenvandine> and the webbrowser-app would be able to find Beru as a destination that can handle ebooks
[16:42] <nik90> aquarius: so then beru would be one source for documents
[16:42] <kenvandine> if Beru registers as a destination
[16:42] <kenvandine> not source in this case
[16:42] <kenvandine> destination
[16:42] <kenvandine> webbrowser-app would be the source
[16:42] <aquarius> I am assuming, although I don't think it's done yet, that when you download a URL in the browser it will download the file and then look for sources to send it to
[16:42] <nik90> kenvandine: cant we use the download manager to download the ebooks from beru (when it lands)?
[16:42] <kenvandine> because it would own the content that was downloaded
[16:42] <kenvandine> sure
[16:42] <aquarius> look for DESINATIONS to send it to, I mean
[16:43] <kenvandine> aquarius, right
[16:43] <aquarius> nik90, yes, the download manager could be used by Beru, but in my opinion Beru should not need to grow the ability to randomly browse the web to find ebooks
[16:43] <kenvandine> or the download manager might fill that need
[16:43] <kenvandine> either way
[16:44] <kenvandine> but... think of the case of gallery-app and sharing
[16:44] <aquarius> if I find an epub I want to read on a website, the way to get that is to open that website in the browser, download the link, and then content-hub the downloaded file into Beru.
[16:44] <nik90> aquarius: good point
[16:44] <kenvandine> you could be looking a photos in gallery-app
[16:44] <kenvandine> and decide to share it
[16:44] <kenvandine> that could then find an app capable of sharing photos
[16:44] <kenvandine> which i think will be later defined as something other than source or destination
[16:44] <nik90> kenvandine: but said that the destination apps do not need a hook
[16:44] <kenvandine> but the hub would deal with finding the app that could share it
[16:44] <nik90> kenvandine: so how would gallery find it then?
[16:45] <kenvandine> it would need a hook if you want other apps to find it
[16:45] <nik90> kenvandine: okay
[16:45] <kenvandine> but if you just want to be able to pick content from other apps, you don't need to register as a destination
[16:45] <nik90> something like destination: pictures
[16:45] <kenvandine> but if you want to be a destination that other apps can use
[16:45] <nik90> makes sense
[16:45] <kenvandine> then you would register
[16:45] <kenvandine> but if you are just a consumer, then no need
[16:45] <aquarius> absolutely -- so, for example, the Messaging app would register itself as a destination for things so that I can say "Share this pic" in the gallery app and one option I will get for the app to share it *with* will be Messaging. Or, in the Messaging app I can say "give me a picture to share" and that will open the picker and show pics from the gallery app. So it can be driven both ways.
[16:46] <kenvandine> right
[16:46] <kenvandine> hopefully that helps... i need to run out for a few
[16:46] <kenvandine> bbs
[16:46] <nik90> aquarius: this content hub is awesome
[16:47] <aquarius> thanks kenvandine :)
[16:47] <kenvandine> note: you can initiate an export from a source yet
[16:47] <kenvandine> but soon :)
[16:47] <kenvandine> you can only request content from a source right now
[16:47] <aquarius> nik90, it will be awesome. At the moment it's pretty new; that's why I wanted to play with it a bit, to get a sense of how it'll work
[16:47] <kenvandine> i'm working on the other direction :)
[16:47] <nik90> awesome
[16:47] <nik90> thnx
[16:47] <kenvandine> please let me know how it can be improved
[16:47] <kenvandine> and file bugs :)
[16:47] <aquarius> kenvandine, ah, right, so my "download in the browser, export to Beru" thing won't work yet :)
[16:48]  * kenvandine goes afk
[16:48] <kenvandine> right
[16:48] <kenvandine> SOON!
[16:48] <kenvandine> :)
[16:48] <nik90> aquarius: true
[17:38] <daker> kenvandine: ping
[17:52] <kenvandine> daker, pong
[17:53] <daker> kenvandine: can you test this https://code.launchpad.net/~daker/webbrowser-app/fix.1248728/+merge/194555
[17:54] <kenvandine> daker, i can try... my device is "touch screen challenged" today... meaning only part of the screen is working
[17:56] <daker> kenvandine: try on desktop, i am using 12.04 now so i can't test it the webbrowser
[17:57] <daker> but the UA works no ads
[17:57] <kenvandine> ok, on my device i can't get past the login screen... so not useful
[17:57]  * kenvandine tries on desktop
[17:59] <t1mp> nik90: ping
[18:01] <t1mp> nik90: I'm trying to reproduce this bug https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/1248759
[18:01] <ubot2> Launchpad bug 1248759 in Ubuntu UI Toolkit "Locked toolbar closes after timeout and cannot be opened afterwards" [Critical,Confirmed]
[18:02] <kenvandine> daker, i get the browser not supported message
[18:02] <t1mp> nik90: it doesn't seem to happen on my laptop
[18:02] <kenvandine> i did verify i got prompted for android app or mobile site before changing the UA
[18:02] <kenvandine> but didn't click on it, to prevent cookies from being set
[18:03] <daker> kenvandine: did you just refresh the page ?
[18:03] <kenvandine> i restarted
[18:03] <t1mp> nik90: ah, I found a way to do reproduce it :)
[18:04] <dave_> how do i create for loops in qt
[18:04] <daker> kenvandine: i'll re-test once home, but i am sure it should work with this UA
[18:15] <dave_> say
[18:15] <dave_> SAY
[18:23] <nik90> t1mp: if it helps, the alarms page is pushed into a pagestack and the bug is also visible there
[18:25] <t1mp> nik90: yeah I found a way to reproduce.
[18:25] <t1mp> nik90: if tools are locked for the initial page, it is fine. But once tools is updated with a new locked ToolbarItems, it auto-hides and it should not.
[18:25] <t1mp> thanks :)
[18:30] <nik90> ah okay
[18:30] <dave_> helo
[18:30] <nik90> t1mp: np, you figured out everything yourself :)
[18:31] <dave_>  /join #ubuntu-app-devel
[18:31] <dave_> CHAT
[18:32] <dave_> das
[18:34] <t1mp> nik90: I have a fix. Is it easy for you to test it?
[18:35] <t1mp> nik90: here is the UITK branch, but I don't have packages built yet.
[18:35] <nik90> t1mp: I rather test it after jenkins has created some amd64 deb packages
[18:35] <dave_> can any one here me
[18:36] <t1mp> nik90: okay, I create an MR and jenkins will create some packages eventually.
[18:36] <nik90> t1mp: I have not had good experience with souce packages
[18:36] <nik90> t1mp: thnx
[18:36] <t1mp> nik90: here is the MR
[18:36] <t1mp> https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/locked-toolbar-autohide/+merge/194565
[18:44] <dave_> n,fs
[18:44] <dave_> s
[18:44] <dave_> s
[18:44] <dave_> fs
[18:48] <dave_> ..
[21:09] <daker> kenvandine: i see why it don't work for you
[21:10] <daker> doesn't*
[21:18] <kenvandine> daker, got another fix?
[21:18] <daker> kenvandine: bug 1249489
[21:18] <ubot2> Launchpad bug 1249489 in webbrowser-app "The override mechanism doesn't work in tablet mode" [Undecided,New] https://launchpad.net/bugs/1249489
[21:19] <daker> kenvandine: a quick fix to test the UA :
[21:20] <daker> open src/Ubuntu/Components/Extras/Browser/UserAgent.qml
[21:20] <daker> set the UA to : property string defaultUA: "Mozilla/5.0 (Ubuntu; Mobile) WebKit/537.21"
[21:21] <kenvandine> daker, ok
[21:22] <daker> kenvandine: and in overrides.js "plus.google.com": ["Mobile)", "Mobile; Firefox)"],
[21:23] <kenvandine> daker, that worked
[21:23] <daker> kenvandine: wow :)
[22:40] <szymon_w> can anyone from reviewing team have a look in inbox and run test on my app please ? ( it passed test locally on my desktop ) thanks :)
[23:12] <popey> szymon_w: sure
[23:16] <szymon_w> popey, uploaded.
[23:20] <popey> k
[23:21] <popey> szymon_w: does it have no audio?
[23:22] <szymon_w> popey, it have audio... should I include it in apparmor ?
[23:24] <popey> yes
[23:25] <popey> you have networking mentioned but not audio
[23:26] <szymon_w> popey, ok I will correct it now.
[23:27] <popey> szymon_w: ping me and I'll check it
[23:28] <szymon_w> popey, k thx
[23:34] <szymon_w> popey, I just uploaded 0.3, thanks.
[23:36] <popey> ok
[23:40] <szymon_w> popey, audio works now! thanks, although I had to add it manually to GetSquigglingLetters.json as when I did it through Qt Creator Package tab it didn't add "audio" to appArmor.  Thanks for your help.
[23:41] <popey> np
[23:41] <popey> szymon_w: some of the other games work too
[23:43] <szymon_w> popey, I know... I might package them... just wonder if those games are not blocked outside UK... ( as it is with other BBC content )
[23:51] <popey> szymon_w: get someone like mhall119 to test it now it's in the store
[23:52] <popey> hang on, lemme ask someone...
[23:54] <popey> szymon_w: works in the US
[23:55] <szymon_w> popey, that's awesome! I'm going to do few more ;)
[23:57] <mhall119> test what?
[23:58] <szymon_w> mhall119, GetSquigglingLetters in UT App Store