/srv/irclogs.ubuntu.com/2015/07/31/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
kivipopey, or balloons, or mhall119 ping? I just want to confirm that the documentation about installing the sdk by using the sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -- is no longer needed.04:59
kiviratherhttps://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/04:59
kivihttps://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/04:59
kiviI have been installing the sdk from the repos on 15.xx, and its been working fine. Where as I have seen people with issues when they try to install via using that ppa.05:00
dholbachgood morning07:00
didrockshey, is it possible to filter a model with SortFilterModel on multiple model property (like pattern matching property1 or property2 or property3…)08:48
didrocks?08:48
didrocksit seems there is no test for this, so I guess not really possible? http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/staging/view/head:/tests/unit/tst_components/tst_sortfiltermodel.qml08:52
didrocksas u1db doesn't support this sort of filtering, is there any best practice to achieve that, or doing the filtering manually will be performant enough?08:53
didrockskalikiana: any idea? ^08:53
=== chriadam is now known as chriadam|away
kivididrocks, good question~09:07
DanChapmandidrocks: looks like it will only accept a single string as it's property http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/staging/view/head:/src/Ubuntu/Components/plugin/filterbehavior.h#L2809:09
DanChapmanwhich would mean you would have to create a custom implementation of a QSortFilterProxyModel which can filter on multiple roles09:09
didrocksDanChapman: yeah, I think doing that in pure javascript can be a little bit slow though, so having to resort/filter it in C++, let's see if any of the SDK guys have thought/experienced it09:10
DanChapmandidrocks: I didn't mean do it in javascript :-D rather it would require a c++ plugin to achieve what your after09:18
popeyballoons: yet another reason why we need on-device testing :) https://bugs.launchpad.net/ubuntu-calculator-app/+bug/148016709:19
ubot5Ubuntu bug 1480167 in Ubuntu Calculator App "Calculator no longer starts" [Critical,New]09:19
=== JMulholland_ is now known as JMulholland
kiviHey popey, just a quick yes or now question. You know that fellow who made a click package bundling a java virtual machine; Did he have to statically link the Java Virtual Machine? I'm just kind of confused whether this is the way to do it.09:23
kivino*09:23
popeykivi: no idea, I didn't build it09:32
kivipopey, daw... :/  I'm just struggling to figure out that if I need to say, include a python interpreter in my program (because app armor won't let it through), whether I need to bundle one statically into my application.09:33
popeywell there is no guarantee that python will be on the image, so yeah, you should I imagine09:34
popeysee checkbox, that's a python app09:34
kivipopey, ty!09:34
kivi!cookies09:35
ubot5Cookies are delicious delicacies.09:35
didrockshum, it also seems that I can't filter on subproperties (like the one brought by u1db model) via SortFilterModel09:47
didrockslike filter.property: 'contents.title', the pattern never matches (contrary to a simple docId)09:47
didrocksI tried as well filter.property: 'contents["title"]' or alike09:48
didrockskalikiana: when you get some time, this one as well ^09:48
didrocksI guess that's https://code.launchpad.net/~kalikiana/u1db-qt/indexRoles/+merge/21177109:54
mcphailpopey: you might want to make the orientation fixed in don't crash: http://themcphails.uk/dc.png10:09
popeymcphail: uh10:11
popeywhat device is that ?10:11
mcphailkrillin10:11
mcphail(I can break _anything_ )10:12
mcphailpopey: automatic orientation breaks on the restart screen10:12
popeyugh10:13
popeyok thanks10:13
ogra_DanChapman, this flickering trashcan when scrolling is making me crazy, could we fix that at some point ?10:18
popeyMission accomplished10:19
popeyif user = ogra then flash_trash10:19
ogra_haha10:19
DanChapmanflickering trash icon??10:19
ogra_in the message view ... there is a trashcan icon at the top right10:20
popeygot a bug number?10:20
ogra_if you scroll it goes active/inactive all the time10:20
ogra_very distracting :)10:20
mcphailyes - it would be good to be able to press delete when the screen is still scrolling10:21
DanChapmanah... gotcha. Yes that prevents segfaults when destroying an oxide webview while the view is still scrolling.10:21
ogra_well, you could make it a no-op without switching the icon state :)10:22
ogra_(and cache the request until the scrolling is over)10:22
* ogra_ finds it awesome that this is the only bug bothering him btw :)10:23
DanChapmanThat's a nice idea! i'll create an issue to get that done :-)10:24
ogra_yay10:25
davmor2popey: https://bugs.launchpad.net/ubuntu-calendar-app/+bug/148015411:24
ubot5Ubuntu bug 1480154 in Ubuntu Calendar App "Calendar not running on desktop" [Undecided,New]11:24
popeyta11:25
ogra_user your converged phone then :P11:26
davmor2ogra_: snappy hasn't fix that yet so all your fault11:26
popeyodd, works here11:26
popeywhat version of package you got?11:26
davmor2popey: it's in the bug11:26
* popey scrolls down11:26
popeydunno what the hell is generating that error11:27
popeyeds probably?11:27
davmor2popey: also this is a fresh install so I don't know if there are any deps missing that you might have and I don't11:28
popeyah, you probably need the sdk ppa11:28
davmor2well fresh install from the ppa I mean not the desktop11:28
popeybut yeah, probably missing a dependency maybe11:29
davmor2popey: I'll grab the sdk ppa see if that improves things, I think reminder/notes has the same issue, but music and dekko are both fine11:29
=== JamesTai1 is now known as JamesTait
davmor2popey: still the same :(11:39
davmor2popey: and it is reminders that has the same issue11:47
popeysverzegnassi: pushed latest docviewer to store11:51
sverzegnassipopey: fix for bug 1479483 will wait a bit more for being released, but it's ok! thank you! :)11:57
ubot5bug 1479483 in Ubuntu Document Viewer App "Docviewer available only in side stage mode on N10" [Undecided,In progress] https://launchpad.net/bugs/147948311:57
popeythats okay, nobody uses n10 :)11:57
=== _salem is now known as salem_
=== alex_abreu is now known as alex-abreu
mhall119dholbach: yay for subclassing \o/14:01
mhall119dholbach: that all looks much cleaner now14:01
dholbach:-)14:01
mhall119dholbach: do you want me to leave a review in LP?14:02
dholbachwhichever way you prefer14:02
mhall119not sure why I'm responding to you in here instead of #ubuntu-community-team :/14:02
dholbachI'm also happy to repropose the branch against trunk14:02
mhall119well, it's got an approval review now, I can top-approve too if you want14:03
dholbachmhall119, what do you think about the pages being recreated with every importer run14:04
dholbachand do you know if dpm pinged the webops folks again about the deployment ticket?14:06
mhall119dholbach: I got anthonyf to bump the priority on the RT yesterday14:07
dholbachhttps://code.launchpad.net/~developer-ubuntu-com-dev/developer-ubuntu-com/snappy-docs-import/+merge/265004 has the complete work from davidcalle and myself14:07
dholbachmhall119, brilliant!14:07
mhall119I think deleting and re-creating could be dangerous, I'd prefer updating them in-place, but that would require more complexity too14:08
dholbachok... I think I just remember a case from the LTP from aeons ago where we had a primary key hit MAX_INT because of this practise14:09
dholbachI'll look into fixing that next then14:09
dholbachapart from that I'm happy where we're going - having multiple snappy branches and snapcraft in the developer site should be no problem any more now14:10
mhall119yeah14:10
dholbachif you have any other complaints^Wsuggestions, let me know14:12
=== dholbach_ is now known as dholbach
=== chihchun is now known as chihchun_afk
dholbachmhall119, do you know off the top of your head if there's a cleverer way to find articles by URL other than doing something like [a.get_absolute_url() for a in cms.models.Page.objects.all()]? :-)14:34
dholbachmhall119, if not that's fine and I'll dig deeper14:34
mhall119dholbach: there should be14:36
mhall119in traditional django, urlconf resolvers can do it14:36
mhall119I don't know about django cms though, but there must be something14:36
dholbachok, thanks - I'll take a look14:37
popeyJamesTait: you know I keep moaning about https://myapps.developer.ubuntu.com/dev/click-apps/reviewer/ ?14:44
popeyJamesTait: well I've been told there's an app in that list which needs review. I have NO way of knowing which one14:45
popeythere are 19 in the list.14:45
JamesTaitpopey, you have not other information than "an app needs reviewing"?14:46
JamesTait*no14:47
JamesTaitNot even "My app needs review" from someone identifiable? Or "FOO:app version 1.7 needs review"?14:48
popeyi have now, yes, because the developer told me14:49
popeybut it's been sat there with nobody reviewing it14:49
popeybecause we can't tell one that needs review from one that doesn't14:49
popeyit shouldn't get to the point that a developer has to go round poking people to get a review, the list should show ones needing a review.14:50
beunopopey, I sent out an email with the details14:50
beunoon how, why, etc14:50
JamesTaitpopey, allow me to direct you to someone who can bump the priority of that. ^^ 😉14:50
beunoso reviewers could clean it up14:50
beunoalso, click reviews should be an extreme exception that usually gets rejected14:50
popeyI don't think that covers this problem.14:51
popeythere are 19 things in this list https://myapps.developer.ubuntu.com/dev/click-apps/reviewer/14:52
popeyone of them needs a review, 18 do not (I believe)14:52
popeyit is erronesly classifying things that _once_ failed as being failed, and shows them as needing our attention14:53
popeyhttps://myapps.developer.ubuntu.com/dev/click-apps/2998/review/0.1/ for example14:53
popeyor does it? I can't tell.14:53
beunoas I explained in the email14:53
beunojust reject the ones that don't apply anymore14:54
popeyI don't know if I'm talking gibberish, but that's not the problem at hand.14:56
dholbachbeuno, maybe we can talk through an example case here?15:00
dholbachif you look at the list of reviews, there's 0.4 of wifitransfer15:00
dholbachwhile 0.5 is in the store already15:01
dholbachmhall119, it's cms.utils.page_resolver.get_page_queryset_from_path() <315:04
beunodholbach, yes, 0.4 needs rejecting15:04
dholbachbeuno, it looks like 0.4 had a negative auto-review15:05
dholbachshould the store have auto-rejected it?15:06
beunodholbach, it was requested as a manual review15:07
beunohence, on the list15:07
beunothe store will auto-reject soon, if a newer version is approved15:07
dholbachok, so for some more days reviewers will have to clean up the queue every now and then?15:08
beunodholbach, there's the current queue to clean up, and then it should be pretty light touch, until it's back to what it used to be-ish15:18
dholbachthanks a lot - it looks like auto-rejections will help15:19
* beuno nods15:19
beunoand again, reviews need to be an exception15:19
popeythanks.15:19
beunoif it's common, there's something else to fix15:19
beunoI'm seeing a lot of people just asking for manual review on rejection instead of addressing the issues15:20
kalikianajust saw this on Android and kinda wondering if one day we can have that in the apps scope https://play.google.com/apps/testing/com.ideashower.readitlater.pro/join17:03
kalikianait's the same app, if already installed it'll be updated, and you get a development release17:04
JanCkalikiana: that link is useless if you don't have a Google account  :)18:08
kalikianaJanC: sorry about that. have a look http://geraldfield.org/google-play-store-pocket-beta-opt-in.png18:22
JanCso I sort off guessed right what it was about (I think Valve has something similar in their Steam store?)18:24
JanCthat would be nice indeed18:24
JanC*sort of*18:24
=== _salem is now known as salem_
JanCkalikiana: I don't think "regular" users should see beta versions though18:25
JanCby default, I mean18:25
kalikianaJanC: yeah. the way Google does it is actually by way of joining a G+ community beforehand18:27
kalikianaso you wouldn't see it in the store out of the box18:28
kalikianaJanC: although plenty apps simply put their beta in the actual play store because they clearly disagree with having to require that extra step18:28
JanCwell, ugh about having to join G+ etc.18:29
kalikianain fairness if you use the playstore you already have an account anyway18:29
kalikianabut personally I see nothing wrong with just making it a button in the store18:30
JanCcould be semi-hidden in a "hold icon"-activated screen18:30
JanCpossibly requiring a "secret" key if developers prefer a closed beta18:30
kalikianayeah if you have something like croudfunding or internal testing that'd be required18:31
kalikianaa voucher code maybe18:31
kalikianaand then it only shows up in the store if you have that18:31
JanCor if you don't want 10k people to comment on your app based on a buggy beta release  :)18:32
=== salem_ is now known as _salem
=== _salem is now known as salem_
bregmaif I am writing a tool to be packaged in a click or a snap, should I stick to the XDG guidelines for finding data (eg. check $XDG_DATA_HOME etc) or is there some better way?19:42
bregmaI seem to be using Python for the tool19:42
bobihello I need some help for a html5 application build for armhf20:11
bobiit is giving me this error  :-1: error: Unknown module(s) in QT: webkit20:12
bobithe same app for desktop is fine20:12
=== salem_ is now known as _salem
=== _salem is now known as salem_
kalikianabregma: yes, xdg is your best option. all paths are defined in terms of those variabes and will work across devices20:49
bregmacool, thanks20:49
kalikianait's especially important to respect them as under confinement you won't be able to read/write arbitrary folders20:49
kalikianaeg. ~/.config/myappname only works if you get the correct foldername20:50
kalikianabregma: webkit is deprecated. you should be using oxide20:51
kalikiananot sure off head where the docs for that are20:51
kalikianasomewhere on developer.ubuntu.com20:51
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== _salem is now known as salem_
=== salem_ is now known as _salem

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