/srv/irclogs.ubuntu.com/2013/11/08/#ubuntu-app-devel.txt

dakermhall119: can you mention that http://developer.ubuntu.com/api/html5/sdk-1.0/UbuntuUI.Tabs/ is subject to change ?01:05
=== chriadam|away is now known as chriadam
mhall119daker: mention it where?04:14
=== chriadam is now known as chriadam|away
aquariusI'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:06
aquariusthis might be a t1mp question?09:18
dpmmorning 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 while09:23
aquariusk. will talk to kenvandine when he wakes up :)09:24
aquariusthe 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
dpmhi 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 1509:24
ubot2Launchpad bug 1233071 in Ubuntu UI Toolkit "Set up the translation domain automatically for click packages" [Undecided,Fix committed]09:25
JamesTaitGood morning all; happy Friday and happy X-Ray Day! :-D09:48
* aquarius reports bugs about the contenthub examples not working.10:02
popeyaquarius: am i remembering correctly that for Riddling you wanted a listview with a button at some point?10:14
aquariuspopey, 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 ago10:15
franxeskhi everyone :)10:21
franxeski'm trying to include  a listview and a button on a dialog using qml10:23
franxeskbut i don't know how to set the dialog's dimensions in order to put everything  on the right position10:23
franxeskdoes anyone know how to do it? I would really appreciate any help with this10:24
aquariusfranxesk, can you explain in a little more detail?10:25
dpmfranxesk, do you have any code that you can share? If you put it in a pastebin perhaps people will have it easier to help you10:25
franxeskaquarius, dpm: sure10:26
franxeskhttp://paste.ubuntu.com/6381315/10:29
franxeski'm working on a new feature for the gallery app that detects duplicated media10:30
franxeski'm using the listview to print a list of absolute paths and the button will just close the dialog10:32
aquariusfranxesk, and how do you want it to look?10:33
franxeskaquarius: something like this http://picpaste.com/example-q7gSepjJ.png would be nice10:36
franxeskaquarius: but instead of the image, it would be the listview with the absolute paths10:36
franxeskaquarius: and just one button10:36
aquariusfranxesk, I'd set an explicit height on the listview, if it were me10:42
aquariushttp://pastebin.ubuntu.com/6381350/ or similar10:42
aquariuswhat 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:43
franxeskaquarius: i'll ask them about this then, thx :)10:48
franxeskaquarius: i think i've updated the code correctly, http://paste.ubuntu.com/6381373/10:51
franxeskaquarius: but it doesn't look like the dialog has the correct dimensions right? - http://picpaste.com/duplicatesPaths-PlhcVP3p.png10:52
aquariushrm. I don't think you can set the dimensions of a dialog; it sizes itself depending on the content10:53
aquariusso this is an SDK team question: "how do I know how big to make the listview in my dialog?"10:53
aquariusbzoltan, ping about the above ;)10:53
franxeskaquarius: :O, I didn't know that10:53
aquariusI 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 :)10:54
nik90aquarius: couldn't you use parent.height for the listview?11:09
aquariusnik90, 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 spacing11:15
aquariusand you don't know how high the header is, because it's not a separately addressable component.11:15
nik90true11:16
bzoltanaquarius: I am here11:40
aquariusbzoltan, 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:41
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:45
aquariuszsombi, 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
zsombiaquarius: 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 info11:46
aquariuszsombi, 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
zsombiaquarius: usually a 4-5 lines ListView can go in, but you need to consider the Landscape/Portrait modes also :(11:47
aquariuswhich is why I suggested just picking a height and hardcoding it11:47
aquariusbut 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:47
zsombiaquarius: for now yes, till we come up with a fix for that, therefore would be good if you would file a wish item to UITK11:48
zsombiwoooo11:48
aquariuszsombi, 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
zsombiaquarius: contenthub?11:49
aquariuszsombi, the thing for passing files between apps -- so an app can say "give me some images" and the gallery provides them11:49
aquariusthis 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 reader11:50
franxesk_zsombi, aquarius: i'm sorry but what is UITK?11:51
zsombihuhh, ISP hickup, got back..11:52
zsombifranxesk_: Ubuntu UI Toolkit :)11:52
zsombifranxesk_: file the bug to ubuntu-ui-toolkit11:52
zsombiaquarius: would that contenthub be some kind of content-picker thing?11:53
franxesk_zsombi: on my way, thx! :)11:53
aquariuszsombi, yep -- the content picker is exactly what it is11:53
nik90aquarius: 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-exporter11:53
aquariusnik90, ooh, that sounds useful11:54
zsombiaquarius: ah, different terminology :)11:54
nik90aquarius: I made a sample app which imports pictures from the gallery app.11:54
nik90I am trying to now figure out how to import from other 3rd party apps11:54
nik90I wish ken was online now..have some questions to ask11:54
zsombiaquarius: we don't have it yet in SDK...11:55
aquariuszsombi, aha, we do! http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Content/11:55
aquariusbut only for the last couple of days :)11:55
nik90aquarius: you can try my sample app at https://code.launchpad.net/~nik90/+junk/contenthub-importer11:56
zsombiaquarius: huhh??? when was it added??11:56
nik90aquarius: using qtcreator you can install it as a click package on the phone11:56
davmor2aquarius: do you have an additional clue for number 4 it's frying my head now11:56
nik90zsombi: I think yesterday11:56
aquariusnik90, I've just tried ken's importer onthe desktop and it throws errors :(11:57
aquariusdavmor2, which one's number 4?11:57
zsombinik90: no wonder I haven't heard about it then... but seams it is in a separate package then11:57
nik90aquarius: it doesnt work on the desktop11:57
nik90zsombi: yup11:57
davmor2aquarius: a boy11:57
aquariusnik90, what? why doesn't it? :(11:57
aquariusdavmor2, heh. Your clue is: magpies11:57
nik90aquarius: no idea. I had to install it as a click package on the phone to try it11:57
davmor2aquarius: thanks11:57
nik90aquarius: qtcreator -> Build -> Ubuntu Touch -> Install aplication on device11:58
aquariusnik90, hmph. It should work on the desktop. I'll ask ken about it.11:58
aquariusI know how to test on the phone, but for something like this I shouldn't have to :)11:58
nik90aquarius: definitely. it would make testing a bit more easier11:58
nik90zsombi: ken was going to request it to be merged into the sdk.11:58
=== MacSlow is now known as MacSlow|lunch
zsombiwell, this is the first time I hear about that... and we were planning to make it...11:59
zsombibzoltan: ^11:59
Mirvelopio: 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:01
zsombiaquarius: nik90: well, as said, this was the first time I heard about this...12:02
aquariuszsombi, interesting. I'm sure bzoltan and kenvandine can get together on it :)12:03
davmor2aquarius: no wonder I only every got that to 4 I never knew it went on :)12:03
aquariusdavmor2, now you have learned a new thing, *and* can continue with Riddling :)12:04
davmor2aquarius: onto 8 already :)12:04
davmor2aquarius: but that is enough for now :)12:04
zsombitimp: R U here?12:24
=== dave is now known as Guest10289
dakermhall119: on the index or on the Tabs page12:52
aquariuszsombi, do you know anything about the downloader daemon, and whether it has QML bindings yet? this might be a gatox or ralsina question13:47
gatoxaquarius, i just asked mandel13:48
aquariusah cool. mandel_ ping :)13:48
mandel_aquarius, I have been summoned by you ;)13:49
mandel_aquarius, although I prefer when they say my name 3 times13:49
aquariusyou have :) the downloader daemon -- can I use it from my QML apps?13:49
mandel_aquarius, how is it going?13:49
aquariusmandel_, 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 API13:50
aquariusah, OK, so the answer is "no, not yet". cool13:50
mandel_aquarius, I wanted to have a UDS session to talk about it and start a conversation about it in the mainling list13:50
aquariusI shall not write my little app that requires it, then ;)13:50
mandel_aquarius, yes, sorry.. but you can look at the following: https://wiki.ubuntu.com/DownloadService13:51
mandel_aquarius, but if you wait a little I'll have cpp bindings and the QML ones13:51
mandel_but I have to go through a process to request the addition to the sdk etc..13:51
aquariusright. Once it's accessible from QML I shall write my app :)13:51
gatoxmandel_, aquarius there is a qml plugin that uses the download manager....... but is not part of the sdk yet13:52
aquariusgatox, 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 change13:52
aquariusah ok13:52
aquariusI'm happy to wait until it's available for real13:53
aquariusI'd rather do things properly13:53
gatoxaquarius, yes, that's better, this has some app specific bits of code13:53
aquariusI need to be able to download and save things -- specifically, mp3s, for a Bad Voltage app13:53
aquariusbut I'll write the app once downloading becomes part of the SDK :)13:53
mandel_aquarius, ok, I'll ping you asap with that13:55
aquariusmandel_, 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
aquariushappy to critique the api design!13:56
mandel_aquarius, will keep you posted13:57
* mandel_ lunch13:57
mandel_aquarius, I might be able to give you something for integration testing too13:58
* mandel_ really gone13:58
=== MacSlow|lunch is now known as MacSlow
aquariuskenvandine, ping about the contenthub stuff -- I believe you're the chap to talk to14:52
kenvandineaquarius, i am!14:53
kenvandineaquarius, however, i'm in a meeting about that right now... give me 30m or so14:53
aquariuskenvandine, OK, cool :)14:53
seb128hum15:00
seb128that code was working in saucy and stopped working with current uitoolkit, does anyone has an idea why? http://paste.ubuntu.com/6382461/15:00
davmor2aquarius: so I had another little play over Lunch up to 12 now woohoo! thanks I love it :)15:00
szymon_whi! What was a command to perform test on .click package before I submit it to USC ?15:03
popeyszymon_w: http://launchpad.net/click-reviewers-tools15:04
popeybin/click-run-checks15:04
aquariusdavmor2, glad you like it15:05
aquariusseb128, what's not working about it? ItemSelector is undocumented...15:05
seb128aquarius, 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 empty15:06
aquariusouch. I don't know about that, sorry :(15:07
seb128aquarius, no worry, that was rather a question for the SDK team, they had fun recently it seems...15:08
seb128aquarius, for the record that makes the "pick a ringtone "page of system settings be empty15:08
aquariusfair15:08
aquariusmhall119, 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
davmor2szymon_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:09
seb128aquarius, what's the sdk site?15:10
szymon_wpopey, thanks :)15:10
aquariusseb128, http://developer.ubuntu.com/api/qml/sdk-1.0/15:10
seb128aquarius, I'm trying "http://developer.ubuntu.com/api/ubuntu-13.04/qml/mobile/overview-ubuntu-sdk.html" but it gives an error here today15:10
seb128aquarius, thanks15:10
szymon_wdavmor2, thanks bro ;)15:10
aquariusseb128, ah, that's the *old* site you're looking at :)15:10
aquariusseb128, the root of http://developer.ubuntu.com/ now links properly through to the up-to-date api docs.15:11
seb128aquarius, uptodate but missing OptionSelector and ListItem.ItemSelector :p15:11
seb128oh15:12
seb128aquarius, http://developer.ubuntu.com/api/qml/sdk-1.0/Components.Components.ListItems.ItemSelector/15:12
aquariusseb128, OptionSelector is, rather randomly, under "Components.Components"15:12
aquariushttp://developer.ubuntu.com/api/qml/sdk-1.0/Components.Components/15:12
aquariusha!15:12
seb128aquarius, same for ItemSelector15:12
aquariusaaah, so it is15:12
aquariusmhall119, are those things *supposed* to be in a separate "Components.Components" section, or is that build weirdness?15:13
mhall119aquarius: I'm not entirely sure, but that's how the generated docs have them15:13
aquariusmhall119, 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
mhall119and their examples have "import Components.Components 0.1"15:14
aquariusoh! so they really are different? that's nuts. Why are they? :-)15:14
aquariussounds like a bzoltan question.15:14
mhall119don't ask me, ask bzoltan and team15:14
aquariusI was asking bzoltan :)15:14
* mhall119 is not actually bzoltan 15:15
mhall119but we can try name-dropping bzoltan a few more times, in the hope that his computer makes a little noise each time :)15:15
aquariussummon him by saying his name three times, like the Candyman :)15:16
seb128aquarius, 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 fixed15:18
aquariusah, cool!15:18
seb128aquarius, it seems to be fixed in there indeed15:18
=== _salem` is now known as _salem
=== gatox is now known as gatox_lunch
seb128Mirv, 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 welcome15:22
ubot2Launchpad bug 1249386 in ubuntu-ui-toolkit (Ubuntu) "Elements not displayed since update" [Undecided,New]15:22
mhall119seb128: ah, so there's old docs in there...15:22
mhall119wait, oct 17, so that wasn't in the 13.10 release15:23
seb128mhall119, no, that commit landed recently15:23
mhall119bzoltan: Mirv: what is the plan for API changes and 13.10, are we back-porting them or no?15:24
=== _salem is now known as salem_
seb128mhall119, 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 unhappy15:24
seb128mhall119, that's being resolved, but meanwhile better to let stable user with a stable version15:24
mhall119I don't necessarily want to backport, I just need to plan what to do with the online docs15:25
elopioMirv: calendar, ack.15:25
elopioI will do it today.15:25
Kaleoseb128, hi15:49
Kaleoseb128, was out for lunch, sorry15:50
seb128Kaleo, hey, no worry15:50
Kaleoseb128, reading backlog15:51
seb128Kaleo, backlog is not that interesting, the summary is in https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/124938615:51
ubot2Launchpad bug 1249386 in ubuntu-ui-toolkit (Ubuntu) "Elements not displayed since update" [Undecided,New]15:51
seb128Kaleo, 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 welcome15:52
Kaleoseb128, checking15:52
=== gatox_lunch is now known as gatox
szymon_wIs there any chance to install manual installation of .click package on device ? ( not through software centre ) ?16:03
ogra_sure16:04
ogra_alwayxs worked16:04
ogra_pkcon install-local /path/to/click/package16:04
ogra_as pahblet user16:05
ogra_*phablet16:05
szymon_wogra_, thanks16:06
aquariuskenvandine, meetings done?16:07
nik90szymon_w: why dont u install it through qtcreator?16:19
nik90szymon_w: build -> ubuntu touch -> install application on device16:20
nik90ogra_: ^^16:20
ogra_nik90, i write QML in vi ;)16:20
nik90ogra_: fair enought :)16:20
szymon_wnik90, this is a webapp I was going to test...16:22
nik90szymon_w: I think you still be should be able to16:22
nik90szymon_w: or actually I am not sure..never created a web app yet16:22
szymon_wnik90, 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:23
kenvandineaquarius, hey, sorry forgot :)16:24
nik90szymon_w: I have never done either of them...I should try it some time16:24
kenvandineaquarius, so what's up?16:24
nik90kenvandine: I am next :P16:24
kenvandine:)16:24
kenvandinei am going to need to go afk in a few minutes... but i'll do my best16:24
aquariuskenvandine, 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:24
kenvandinesort of? :)16:25
kenvandineyes you can... but the app switching may not be great16:25
aquariuskenvandine, at the moment, when I try, it just doesn't work. https://bugs.launchpad.net/content-hub/+bug/124926716:25
ubot2Launchpad bug 1249267 in content-hub "Documentation code example does nothing on desktop" [Undecided,New]16:25
kenvandineit uses upstart-app-launch to switch to the app by APP_ID16:26
aquariuskenvandine, 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 etc16:26
kenvandinedo you have gallery-app installed?16:26
aquariusnope16:27
aquariusI can install it :)16:27
kenvandineok, that is what it is trying to open16:27
aquariusinstalling it16:27
kenvandinethose dialog messages must come from ContentImportHint16:27
aquariussurely it should say "couldn't find any providers", though, rather than just, like, exploding :)16:28
kenvandineaquarius, please file a bug16:28
aquariuskenvandine, will do16:28
kenvandinei guess it should fail the transfer request and provide the error condition16:28
kenvandinethx16:28
aquariuskenvandine, ok, am now trying your simple import example16:29
aquariusfile:///home/aquarius/Scratch/contenthub.qml:48: TypeError: Cannot read property 'state' of undefined16:29
aquariusfile:///home/aquarius/Scratch/contenthub.qml:80: Unable to assign [undefined] to QObject*16:29
aquarius(on startup)16:29
kenvandinethose are fine16:29
aquariusok16:29
kenvandinethey get set later16:29
kenvandinealso, set APP_ID16:29
aquariusI then click "import from default"... and then nothing seems to happen.16:29
kenvandineAPP_ID=foobar qmlscene ...16:30
aquariusah!16:30
kenvandinewell, i think it would still fire gallery-app16:30
aquariusok16:30
aquariusnow when I say "Import from default"...nothing happens :(16:31
kenvandinekillall content-hub-service16:31
kenvandineand run it in a terminal16:31
kenvandinesee if it outputs any useful info16:31
aquariusaha!16:32
aquariusI have to have run gallery-app at least once, it seems16:33
kenvandinebugger16:33
kenvandinenot my fault though :)16:33
aquariusthat also answers another question I had, though, which is: how does my app register itself as a source for, say, pictures?16:33
kenvandinea click hook16:33
aquariusif that registration is in QML, then I have to have *run* the app at least once for it to register16:33
kenvandineyou include a little json file that gets used by a click hook16:33
aquariusah, cool. Is that little json file documented anywhere? :)16:34
nik90kenvandine: but in the json file you just mention content_hub16:34
kenvandinelook at lp:~ken-vandine/+junk/hub-exporter and lp:~ken-vandine/+junk/hub-importer16:34
nik90you dont mention it as importer or exporter16:34
kenvandinesource or destination16:34
nik90so how would it know that it is a source for something?16:34
kenvandinesource in this case is gallery-app16:34
kenvandinesource is the app that provides the content16:35
kenvandinedestination is an app that knows how to use the content16:35
kenvandineor might import iut16:35
kenvandineit16:35
kenvandinehttp://bazaar.launchpad.net/~ken-vandine/+junk/hub-exporter/view/head:/content-hub/hub-exporter.json16:35
aquariusoh, so being in the policy group "content_exchange_source" declares that I'm a source?16:35
aquariusthat doesn't declare what I am a source *for*, though.16:36
kenvandinejust for app confinement16:36
aquariushow do I say that I'm a source for pictures?16:36
kenvandine^^16:36
aquariusI know the QML does that, but the QML code isn't processed until the app is first run16:36
nik90kenvandine: 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 content16:37
kenvandineyes16:37
kenvandinethe click hook registers it with the hub16:37
kenvandineas a source16:37
nik90nice16:37
aquariusoh, http://bazaar.launchpad.net/~ken-vandine/+junk/hub-exporter/view/head:/content-hub/hub-exporter.json right16:37
aquariuswhat's the naming scheme for that file so that the hook picks it up?16:37
kenvandinedoesn't matter16:38
kenvandineyou define that in your manifest16:38
kenvandinewith the click hook16:38
kenvandinehttp://bazaar.launchpad.net/~ken-vandine/+junk/hub-exporter/view/head:/manifest.json16:38
aquariusah, I put hooks: { content-hub: somefile.json } in my manifest. Got it.16:38
kenvandineyup16:38
kenvandineand there is a function to get a list of peers16:39
nik90knownSourcesForType(ContentType)16:39
kenvandineknownPeersForType(ContentType.Pictures)16:39
aquariuskenvandine, 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
kenvandinesomething like that16:39
kenvandineonly way16:39
nik90kenvandine: I tried that..and had some issues with it. That's what I wanted to talk to you about16:39
kenvandinenik90, oh?16:39
nik90when you get some time would mind checking my code at https://code.launchpad.net/~nik90/+junk/contenthub-importer16:40
nik90kenvandine: not now16:40
kenvandineit sets them in gsettings16:40
aquariusah, 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 does16:40
nik90kenvandine: I will clean the code and let u know16:40
aquariuskenvandine, but that gives me a bunch of info and things work now, so thank you :)16:40
nik90kenvandine: as of now, the app allows single/multiple selection from the default content store16:40
kenvandinethe importer doesn't have to register though16:40
nik90kenvandine: but I am unable to retrieve a 3rd party store16:40
kenvandineonly if it wants an app that can export data to be able to find it as an available destination16:41
aquariusright; I can *retrieve* data from sources, that's cool16:41
aquariusbut I can't *be* a source without registration.16:41
kenvandineso you can request content from other apps without needing the hook16:41
kenvandineright16:41
aquariusI'm thinking of this for Beru -- how to get ebooks into it from the browser16:41
kenvandineand you can't be a destination that other sources can find without a hook16:41
kenvandineright16:41
aquariusso the browser would be an exporter and Beru would be a destination.16:41
kenvandineso in that case, you download the ebook16:41
kenvandineand the webbrowser-app would be able to find Beru as a destination that can handle ebooks16:42
nik90aquarius: so then beru would be one source for documents16:42
kenvandineif Beru registers as a destination16:42
kenvandinenot source in this case16:42
kenvandinedestination16:42
kenvandinewebbrowser-app would be the source16:42
aquariusI 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 to16:42
nik90kenvandine: cant we use the download manager to download the ebooks from beru (when it lands)?16:42
kenvandinebecause it would own the content that was downloaded16:42
kenvandinesure16:42
aquariuslook for DESINATIONS to send it to, I mean16:42
kenvandineaquarius, right16:43
aquariusnik90, 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 ebooks16:43
kenvandineor the download manager might fill that need16:43
kenvandineeither way16:43
kenvandinebut... think of the case of gallery-app and sharing16:44
aquariusif 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
nik90aquarius: good point16:44
kenvandineyou could be looking a photos in gallery-app16:44
kenvandineand decide to share it16:44
kenvandinethat could then find an app capable of sharing photos16:44
kenvandinewhich i think will be later defined as something other than source or destination16:44
nik90kenvandine: but said that the destination apps do not need a hook16:44
kenvandinebut the hub would deal with finding the app that could share it16:44
nik90kenvandine: so how would gallery find it then?16:44
kenvandineit would need a hook if you want other apps to find it16:45
nik90kenvandine: okay16:45
kenvandinebut if you just want to be able to pick content from other apps, you don't need to register as a destination16:45
nik90something like destination: pictures16:45
kenvandinebut if you want to be a destination that other apps can use16:45
nik90makes sense16:45
kenvandinethen you would register16:45
kenvandinebut if you are just a consumer, then no need16:45
aquariusabsolutely -- 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:45
kenvandineright16:46
kenvandinehopefully that helps... i need to run out for a few16:46
kenvandinebbs16:46
nik90aquarius: this content hub is awesome16:46
aquariusthanks kenvandine :)16:47
kenvandinenote: you can initiate an export from a source yet16:47
kenvandinebut soon :)16:47
kenvandineyou can only request content from a source right now16:47
aquariusnik90, 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 work16:47
kenvandinei'm working on the other direction :)16:47
nik90awesome16:47
nik90thnx16:47
kenvandineplease let me know how it can be improved16:47
kenvandineand file bugs :)16:47
aquariuskenvandine, ah, right, so my "download in the browser, export to Beru" thing won't work yet :)16:47
* kenvandine goes afk16:48
kenvandineright16:48
kenvandineSOON!16:48
kenvandine:)16:48
nik90aquarius: true16:48
dakerkenvandine: ping17:38
kenvandinedaker, pong17:52
dakerkenvandine: can you test this https://code.launchpad.net/~daker/webbrowser-app/fix.1248728/+merge/19455517:53
kenvandinedaker, i can try... my device is "touch screen challenged" today... meaning only part of the screen is working17:54
dakerkenvandine: try on desktop, i am using 12.04 now so i can't test it the webbrowser17:56
dakerbut the UA works no ads17:57
kenvandineok, on my device i can't get past the login screen... so not useful17:57
* kenvandine tries on desktop17:57
t1mpnik90: ping17:59
t1mpnik90: I'm trying to reproduce this bug https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/124875918:01
ubot2Launchpad bug 1248759 in Ubuntu UI Toolkit "Locked toolbar closes after timeout and cannot be opened afterwards" [Critical,Confirmed]18:01
kenvandinedaker, i get the browser not supported message18:02
t1mpnik90: it doesn't seem to happen on my laptop18:02
kenvandinei did verify i got prompted for android app or mobile site before changing the UA18:02
kenvandinebut didn't click on it, to prevent cookies from being set18:02
dakerkenvandine: did you just refresh the page ?18:03
kenvandinei restarted18:03
t1mpnik90: ah, I found a way to do reproduce it :)18:03
dave_how do i create for loops in qt18:04
dakerkenvandine: i'll re-test once home, but i am sure it should work with this UA18:04
dave_say18:15
dave_SAY18:15
=== salem_ is now known as _salem
nik90t1mp: if it helps, the alarms page is pushed into a pagestack and the bug is also visible there18:23
t1mpnik90: yeah I found a way to reproduce.18:25
t1mpnik90: 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
t1mpthanks :)18:25
nik90ah okay18:30
dave_helo18:30
nik90t1mp: np, you figured out everything yourself :)18:30
dave_ /join #ubuntu-app-devel18:31
dave_CHAT18:31
dave_das18:32
t1mpnik90: I have a fix. Is it easy for you to test it?18:34
t1mpnik90: here is the UITK branch, but I don't have packages built yet.18:35
nik90t1mp: I rather test it after jenkins has created some amd64 deb packages18:35
dave_can any one here me18:35
t1mpnik90: okay, I create an MR and jenkins will create some packages eventually.18:36
nik90t1mp: I have not had good experience with souce packages18:36
nik90t1mp: thnx18:36
t1mpnik90: here is the MR18:36
t1mphttps://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/locked-toolbar-autohide/+merge/19456518:36
dave_n,fs18:44
dave_s18:44
dave_s18:44
dave_fs18:44
dave_..18:48
dakerkenvandine: i see why it don't work for you21:09
dakerdoesn't*21:10
kenvandinedaker, got another fix?21:18
dakerkenvandine: bug 124948921:18
ubot2Launchpad bug 1249489 in webbrowser-app "The override mechanism doesn't work in tablet mode" [Undecided,New] https://launchpad.net/bugs/124948921:18
dakerkenvandine: a quick fix to test the UA :21:19
dakeropen src/Ubuntu/Components/Extras/Browser/UserAgent.qml21:20
dakerset the UA to : property string defaultUA: "Mozilla/5.0 (Ubuntu; Mobile) WebKit/537.21"21:20
kenvandinedaker, ok21:21
dakerkenvandine: and in overrides.js "plus.google.com": ["Mobile)", "Mobile; Firefox)"],21:22
kenvandinedaker, that worked21:23
dakerkenvandine: wow :)21:23
=== _salem is now known as salem_
szymon_wcan anyone from reviewing team have a look in inbox and run test on my app please ? ( it passed test locally on my desktop ) thanks :)22:40
popeyszymon_w: sure23:12
szymon_wpopey, uploaded.23:16
popeyk23:20
popeyszymon_w: does it have no audio?23:21
szymon_wpopey, it have audio... should I include it in apparmor ?23:22
popeyyes23:24
popeyyou have networking mentioned but not audio23:25
szymon_wpopey, ok I will correct it now.23:26
popeyszymon_w: ping me and I'll check it23:27
szymon_wpopey, k thx23:28
szymon_wpopey, I just uploaded 0.3, thanks.23:34
popeyok23:36
szymon_wpopey, 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:40
popeynp23:41
popeyszymon_w: some of the other games work too23:41
szymon_wpopey, I know... I might package them... just wonder if those games are not blocked outside UK... ( as it is with other BBC content )23:43
=== salem_ is now known as _salem
popeyszymon_w: get someone like mhall119 to test it now it's in the store23:51
popeyhang on, lemme ask someone...23:52
popeyszymon_w: works in the US23:54
szymon_wpopey, that's awesome! I'm going to do few more ;)23:55
mhall119test what?23:57
szymon_wmhall119, GetSquigglingLetters in UT App Store23:58

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