/srv/irclogs.ubuntu.com/2015/12/04/#ubuntu-app-devel.txt

dholbachgood morning08:13
davmor2hey ogra_ question you're g+ is there a reason not to integrate the account sign in to online accounts? Do you know how hard that would be?09:43
zzarrhello! is there a way to install a 16.04 framework (kit) in Qt (Ubuntu SDK)?09:49
zzarra better question yet is there a way to get QT += bluetooth to work? (build)09:50
ogra_davmor2, a bit of work ... why do you think thats needed ?10:02
ogra_(beyond obviously being more confortable on first login)10:03
davmor2ogra_: it's nicer if you already have an account10:03
ogra_the current setup allows multiple accounts even if you dont want all of them as system accounts10:04
ogra_if i tie it into the system accounts i cant keep that functionality10:04
ogra_so there is a tradeoff that kept me from looking into it yet10:05
ogra_(i also expect the CSS will soon change a lot so the app might break til i have adjusted everything ... so time to put into new stuff will be short)10:06
davmor2ogra_: ah fair enough10:08
popeydholbach, I have uploaded a new docviewer to the store, could you please review it when you get a moment?10:17
dholbachep10:18
dholbachyep10:18
dholbachpopey, I can't see it10:18
popeyoh, I'm probably an idiot then10:18
popeyI need to submit for manual review, one mo10:18
dholbachok10:18
popeydholbach, which I have now done :)10:20
dholbachok cool10:21
dholbachwill check10:21
popeythanks10:22
dholbachpopey, you're going from multi to armhf?10:24
popeyyes10:24
popeyit has libreoffice bundled in10:24
popeyit's too big as a multi10:24
dholbachso it will leave some users on the old version, right?10:24
popeyx86 users, of which I suspect there are near zero10:24
popeybut yes.10:25
dholbachit crashes click-review for me10:25
dholbachso I'll have to debug that first10:25
popeyhah, great :)10:25
dholbachI was in the middle of something else, but I'll take a look at it now10:25
popeysorry :(10:26
popeyI didn't expect this to be any more than a button press10:27
dholbachno worries10:27
dholbachpopey, are you sure the .url-dispatcher file is correct?10:31
* popey looks10:31
dholbachshouldn't it specify 'urls' somewhere?10:31
dholbachit's what makes click-reviewers-tools explode10:32
popeysverzegnassi, ^10:32
popeydholbach, other apps don't have a urls line10:32
dholbachhave an example click for me?10:33
dholbachI'm no expert on this at all10:33
popeyme either10:33
popeyjust looking at other url-dispatcher files on my pc10:33
popeys/pc/phone/10:33
popeythe music app doesn't have one.10:34
popeyis click-review expecting the url-dispatcher file to be _in_ a folder called urls?10:34
popeybecause that's where it is in gallery.10:34
popeybut music, calendar and reminders have the same format as docviewer10:35
dholbachhow can I view the manifest of the click?10:36
sverzegnassimmh... having a look. We've moved the .url-dispatcher file recently in another folder.10:36
sverzegnassiI probably forgot to update something in the CMake files10:36
dholbachah, click info10:36
dholbach    "hooks": {10:36
dholbach        "docviewer": {10:36
dholbach            "apparmor": "docviewer.apparmor",10:36
dholbach            "content-hub": "docviewer-content.json",10:36
dholbach            "desktop": "com.ubuntu.docviewer.desktop",10:36
dholbach            "urls": ""10:36
dholbach        }10:36
dholbach    },10:36
dholbachso 'urls' is empty10:37
dholbachthat might be a problem10:37
popeywhere does that come from?10:37
dholbachclick info com.ubuntu.docviewer_2.0.223_armhf.click10:37
popeyneat, never knew about that :)10:37
sverzegnassidholbach: ok, i forgot to set @URLS_FILE@ variable10:38
popeysverzegnassi,             "urls": "@URLS_FILE@"10:38
popeyheh :)10:38
popey\o/ thanks dholbach10:38
popeysverzegnassi, got time to make a merge now and I'll test and approve?10:38
sverzegnassipopey: I only need 5 minutes :)10:38
popey\o/10:38
popeyI'll get some coffee :)10:39
* popey hugs dholbach 10:39
sverzegnassipopey: haha10:39
* dholbach hugs popey back10:39
sverzegnassithanks dholbach!10:44
dholbachsverzegnassi, popey: I wrote a patch for the reviewers tools (https://bugs.launchpad.net/click-reviewers-tools/+bug/1522777) - thanks for bringing it up10:52
ubot5Ubuntu bug 1522777 in Canonical Click Reviewers tools "IsADirectoryError: [Errno 21] Is a directory: '/tmp/clickreview-h712bz1m/'" [Undecided,New]10:52
popeyhah, fixes all round!10:52
dholbachjdstrand, ^ I wasn't quite sure how to write a test for it - maybe you can take a quick look later on?10:52
=== _salem is now known as salem_
* popey gently tickles dholbach with a new app in the store :)12:12
dholbachpopey, checking13:32
popeydholbach, ignore me, all done, as you were :)13:32
dholbachok13:33
jdstranddholbach: there isn't a good way to test those because _extract_url_dispatcher() is mocked. one could create a fake package to test it, but I don't think it is strictly required for this14:18
jdstranddholbach: I committed the change14:18
dholbachthanks jdstrand14:19
bartbespopey: had a chance to look at my terminal patch yet?15:12
popeybartbes, sorry, not yet. Will take a look a little later, Had a couple of app updates to get out the door15:13
popeybartbes, you're (near) the top of the list though :)15:13
bartbesok cool15:14
bartbespopey: you seem to be the person to ask, how can I stop the terminal app from sending SIGSTOP to my active process when it is backgrounded?16:40
bartbesor is that something ubuntu phone does, rather than the terminal app?16:40
popeyit's the phone16:40
popeyhowever, there is a workaround :)16:40
popeyInstall TweakGeek from the Open Store. https://open.uappexplorer.com/16:40
popeyit has an option to let you let apps run forever16:41
popeybtw, we have a good build of SDL2 which we could try getting love2d working with if you fancy it :)16:41
bartbesdoes it also have an option to not tie the compositor to whatever's on screen, the framerate dips are annoying16:43
popeybartbes, pass17:09
popeymzanetti, do you know if we'll have that qtmir fix in for ota8.5 (I know I mentioned to pmcgowan about this, but thought you might know technical details)17:10
popeyhttps://bugs.launchpad.net/music-app/+bug/151876417:10
ubot5Ubuntu bug 1518764 in unity8 (Ubuntu) "Music app high power consumption when paused" [High,In progress]17:10
pmcgowanpopey, yes it is17:11
ahayzen\o/17:11
mzanettipopey, https://code.launchpad.net/~mterry/unity8/fix-wakelocks/+merge/27950217:11
mzanettipopey, there's 2 related branches. see the MP description17:11
popeyExcellent work chaps!17:11
=== _salem is now known as salem_
mhall119can someone tell me location of the vivid-phone-overlay PPA?17:34
bartbeshah, so I just installed openstore "summary goes here"17:34
mhall119is it https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay ?17:35
popeymhall119, deb-src http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid main19:12
popeythats what's on my phone19:12
davmor2mhall119: sure it's just over there /me points19:13
mhall119davmor2: :-P19:29
mhall119thanks popey19:29
davmor2mhall119: you're only jealous that my ability to point is so accurate ;)19:30
rickspencer3silly question, but I can't find the answer!19:57
rickspencer3how do I access my app's data directory in a touch app?19:58
rickspencer3for context, I am using content hub to import sound files which get saved under /home/phablet/.local/share/flash.rickspencer319:58
rickspencer3well, under /home/phablet/.local/share/flash.rickspencer3/Music19:58
rickspencer3I assume there must be some variable that I can use to access the dir rather than hard coding the full path?19:59
mcphailrickspencer3: $XDG_DATA_HOME20:00
rickspencer3that works in QML?20:00
rickspencer3interesting20:00
mcphailrickspencer3: that gets you the ~/.local/share bit, at least20:00
mcphailrickspencer3: not sure QML has any way for file i/o. Don't you need a c++ backend for that?20:01
rickspencer3hmm, don't know20:02
mcphailrickspencer3: anyway, for paths see https://developer.ubuntu.com/en/start/platform/guides/app-confinement/ and scroll down to Runtime Environment20:02
* rickspencer3 looks20:02
=== salem_ is now known as _salem
DanChapmanrickspencer3, AFAIK there isn't any variables exposed that define those XDG_* locations in qml. You would either need to hard code them or move into c++ and use something like QStandardPaths (which is probably overkill in your usecase)20:40
rickspencer3hi DanChapman20:40
rickspencer3yeah, I think I'll just go the "hardcode" route20:40
rickspencer3:/20:40
rickspencer3too bad, but ...20:41
* rickspencer3 shrugs20:41
DanChapmanyeah it's not ideal. :-/20:47
mcphailrickspencer3: best check you can create a valid .click package with hardcoded paths. I have a vague feeling that may fail click validation20:57
mhall119rickspencer3: http://stackoverflow.com/questions/16408691/get-home-and-or-username-in-qml might be helpful21:07
JanCmaybe the Ubuntu SDK should provide an easy-to-include/use module with functionality like that...  :)21:16
mhall119yes, I would like to see a pre-install library to manage local files, it could include properties for all of the XDG paths21:20
mhall119one of my apps is dead-in-the-water right now because I don't have that, and I haven't bothered to add a C++ plugin to do it21:21
JanCand there might be other commonly-needed-but-not-available-in-QML stuff that could go in there too21:27
qtexit21:37
qtquit21:37
mcphailI think just about all file access needs c++, but that stuff is easy anyway21:45
mhall119mcphail: it does, but a generic plugin that exports that to QML could be written21:46
mhall119really it would need to list directories and files in them, and allow simple operations like creating, copying, moving and deleting them21:47
mhall119it wouldn't even need to support read/write21:47
mhall119though that might be nice to have too (not sure how much effort it would be to manipulate raw file data in javascript)21:48
mcphailYes, I haven't done much manipulation of char streams in javascript, for the really dirty stuff21:50
ahayzenIIRC in the super early days of music we used the nemo file model plugin or something which could list directories and files22:07
ahayzenah .. import org.nemomobile.folderlistmodel 1.022:09
=== _salem is now known as salem_
mhall119ahayzen: is that system-installed?22:18
mhall119or does it have to be included in each app?22:18
ahayzenmhall119, no don't think its seeded anymore, as it was for us22:18
ahayzenit'd have to be bundled i guess22:19
mhall119yeah, I think that was just a temporary hack to unblock you guys though22:19
ahayzenwe moved from org.nemomobile.folderlistmodel to  org.nemomobile.grilo after that  then you mediascanner22:19
ahayzenyeah it was22:19
ahayzenmhall119, interestingly though there is this package now qml-module-qt-labs-folderlistmodel22:19
ahayzenso maybe it is something that will appear in the future22:20
ahayzennote it was qtdeclarative5-nemo-qml-plugin-folderlistmodel before.. so maybe it is something being endorsed by Qt ?22:20
mhall119I think the qt labs one has been around for a while, but I don't think it's seeded22:21
ahayzenyeah i wouldn't expect it to be seeded22:21
ahayzenmhall119, http://doc.qt.io/qt-5/qml-qt-labs-folderlistmodel-folderlistmodel.html22:22
mhall119yeah, it's in the same docs packages as things that are seeded22:22
mhall119even if it is included, it looks to only be a ListModel implementation22:22
ahayzenits enough just to tell what in a directory though :-)22:22
ahayzenmhall119, probably best to ask the SDK guys :-)22:26

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