/srv/irclogs.ubuntu.com/2015/06/05/#ubuntu-app-devel.txt

=== chihchun_afk is now known as chihchun
blackroot_hello04:05
ahoneybunanyone still up?04:21
svenboWhen I try the example code from http://ubuntu-component-store.readthedocs.org/en/latest/_components/fastscroll.html I get ListItem.Standard - ListItem is not a namespace04:49
svenboDoes anybody know why?04:49
ahoneybunstill around svenbo?04:54
nik90zsombi: ping04:54
ahoneybunhey nik9004:55
nik90ahoneybun: hi04:55
ahoneybunsvenbo: maybe try: sudo add-apt-repository ppa:ubuntu-touch-community-dev/ppa04:57
ahoneybunopps04:57
ahoneybunsvenbo: import Ubuntu.Components.ListItems 1.0 as ListItem04:58
svenboThanks, it works. :)05:18
svenboWhat's the advantage of aliasing the namespace?05:21
ahoneybunsvenbo: not sure tbh05:34
ahoneybunnik90: still around?05:40
ahoneybunwhy are the scopes asking for cmake executable?05:48
ahoneybunthe tuts says nothing about this05:48
dholbachgood morning06:39
dholbachcan anyone review https://code.launchpad.net/~dholbach/help-app/fix-QA-token/+merge/261177 please?07:44
popeydholbach: done, tested on my pc08:09
dholbachtanks popey08:14
dholbachthanks I mean08:15
popeynp :)08:15
kbroulikhow does the units.dp work internally? my app already has a handcrafted Units.dp thing but QGuiApplication::primaryScreen()->physicalDotsPerInch(); returns 100 on the emulator and stuff looks huge08:24
popeykbroulik: does this help? http://design.canonical.com/2015/05/to-converge-onto-mobile-tablet-and-desktop-think-grid-units/08:29
kbroulikpopey: I was more interested in some code :) is that ubuntu phone stuff on launchpad somewhere? It's not feasible for my app to be ported to units.gu/dp/whatever08:33
popeyyeah, it's all on launchpad08:33
popeyhttps://wiki.ubuntu.com/Avengers links to the bug pages for each app / component08:33
popeyif you click through to one you're interested in, and then click "code" at the top, you can browse the code08:34
kbroulikcool thx08:36
popeynp08:37
popeykbroulik: also, someone like mzanetti who works on Unity 8 may be able to help with specific questions :)08:38
* popey throws mzanetti under the question bus08:38
kbroulikI've seen him do quite a few high dpi bug fixes for kde :D08:38
kbroulikok, found the UCUnits::dp, nice08:39
popeyexcellent08:39
=== dholbach_ is now known as dholbach
=== rmescandon_ is now known as rmescandon_|afk
=== rmescandon_|afk is now known as rmescandon_
svenboWhat is the right way to link two strings?09:47
svenboI am trying09:47
svenboicon: Qt.resolvedUrl(state % ".png")09:47
svenboBut it does not work.09:47
svenbostate is the element of a list item09:47
zsombinik90: pong09:50
zsombisvenbo: I guess you need an URL from that, so how about Qt.resolvedUrl(state + ".png")?09:51
svenboThe problem was that I cannot use state as a variable name. ;)10:07
nik90zsombi: hi..I am trying to create an application theme like you described in https://developer.ubuntu.com/en/blog/2015/03/17/creating-theme-your-application/, however when I try to use it I get the following error "file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/ThinDivider.qml:56: TypeError: Cannot read property 'normal' of null"10:43
nik90zsombi: I am unable to find out why despite following the tutorial to the letter lp:~nik90/podbird/16-migrate-15.0410:44
nik90zsombi: Does the error message give you any ideas on what might be going wrong?10:44
nik90zsombi: when I run the app, the header is missing and popups have no background color etc..like the app theme is not loaded correctly10:46
=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
=== _salem is now known as salem_
dholbachhey balloons, could you imagine reviewing https://code.launchpad.net/~dholbach/help-app/1433210/+merge/261228? :)13:40
dholbachballoons, I could split out the test bits, as they're currently a bit confusing13:41
dholbachand don't add much more safety13:41
dholbachdone13:44
balloonsdholbach, sure thing13:52
* dholbach hugs balloons13:58
balloonsdholbach, weird, this seems to break links in the build14:22
dholbachoh?14:22
dholbachhow can I reproduce this locally?14:22
balloonslet me verify myself before I speak up too much :-) checking trunk14:23
balloonsok, yep :-)14:23
balloonsAs a last check, I just did a 'make web'. Try going to the settings page and looking at the content. It's missing14:24
dholbacherrrrrrr, ok?14:24
balloonsdholbach, is it not missing for you? The links seem broken, I'll look at the source now14:25
dholbachit is14:25
dholbachI didn't see this earlier14:25
dholbachlet me try to figure it out14:25
balloonsok, ;-) I'll hang tight then14:25
dholbachhah, found it!14:26
zsombinik90: do you create the theme for a 1.3 app?14:27
dholbachthanks balloons - change pushed14:27
zsombinik90: also, have you tried to copy the app from the blogpost and run it?14:28
nik90zsombi: I created the theme for a 1.2 app14:30
nik90zsombi: the app copied form the blogpost works properly..:/14:30
balloonsdholbach, can we get a test to check for that issue, or is going to be a functional tesT?14:31
zsombinik90: uhm... is your podbird.qml in the root when installed?14:31
zsombinik90: or under app/ subfolder of your click?14:32
zsombinik90: it looks to me that your theme should be app.MyTheme14:32
mhall119oSoMoN: I need help with Oxide's WebView component14:32
dholbachballoons, I'll file a bug for it - it'd involve creating a mock .md file and converting it using our markdown extensions14:32
dholbachbut it makes perfect sense14:33
oSoMoNmhall119, shoot14:33
nik90zsombi: it installs to /share/qml/podbird/14:33
nik90zsombi: which I would assume is root14:33
mhall119oSoMoN: when loading some imgur.com pages, they load some javascript that throws ReferenceErrors, which causes the rest of the page to stop loading14:33
nik90zsombi: I will try out app.MyTheme and a couple of other paths to be sure14:33
mhall119is there any way for me to tell Oxide to continue on even when it encounters these errors?14:33
balloonsdholbach, yea, just curious how much we can mock at a low level. Certainly we'd catch it in selenium14:33
mhall119oSoMoN: or catch and respond to errors like that?14:34
balloonsdholbach, btw, did you want me to do more work on the test structure? If you have a firm way you'd like to go, I can make the changes14:34
balloonskind of hoping pvsenan will propose something, so I don't want to muck with it too much14:34
oSoMoNmhall119, I don’t think so, can you point me to what page causes this, and what errors you’re getting?14:34
dholbachballoons, filed bug 146239414:34
ubot5bug 1462394 in Ubuntu Help App "Add tests for markdown extensions" [Undecided,New] https://launchpad.net/bugs/146239414:35
zsombinik90: uhm... your palette is wrong :)14:35
dholbachballoons, https://bugs.launchpad.net/help-app/+bugs?field.tag=ci is what we have in terms of tests right now14:35
nik90zsombi: spelling mistake?14:35
zsombinik90: you import Ambiance as Ambiance, then Suru.Palette :)14:35
zsombinik90: so no palette will be loaded :(14:35
mhall119oSoMoN: it's a bit tricky, as it only seems to do this on the mobile version of their site, so I've only been able to reproduce it on my phone14:35
balloonsdholbach, do you want tests as part of a build really?14:36
oSoMoNmhall119, btw, want to take this discussion to #oxide?14:36
dholbachballoons, why not?14:36
balloons*functional tests that is14:36
nik90zsombi: I fixed that .. just forgot to push to my lp branch14:36
balloonsdholbach, they are slower to run, and really are only needed when you are ready to commit / release14:37
dholbachhum14:37
balloonsI would rather see a seperate make target for them14:37
balloonsplus they invovle UI, so not terminal friendly :-)14:37
dholbachfor me it wasn't so important up until now how fast a .deb package is built14:37
dholbachah... sorry14:38
balloonslol, true enough I suppose14:38
balloonsbut yea, the UI issue14:38
* zsombi goes offline, on the flight14:38
dholbachhum14:39
dholbachballoons, but don't we work around that in other builds already?14:39
dholbachballoons, using xvfb?14:39
balloonsdholbach, what do you mean? working around need.. ahh, yes14:40
balloonsjenkins can and should do it.. I just don't think you want to run the full thing everytime you do a make web or make app14:40
balloonsand actually, right, we could keep it command line friendlyt14:41
balloonsok, I concede on that point14:41
dholbachlet's just see how it's going to work... if we can't run it headless the decision is made already :)14:42
dholbachsure, I agree with that14:42
dholbachit would be "make check", which runs during a jenkins run and whenever a package is built for a ppa14:42
nik90zsombi: No worries it could be cmake packaging..I am going to convert your demo into a CMAKE project and then see if that works14:42
balloonsdholbach, ok so we agree then14:44
balloonscool14:44
balloonsso I will try and make those changes14:44
dholbach<314:44
dholbachI'll get back to work on some more translations tests14:45
balloonsdholbach, is it important for you to be able to run only the app tests or web tests easily?14:53
balloonsaka, do i need to reorg and put the tests in there own files so they can be run individually?14:54
balloonsI'm thinking yes . . .14:54
dholbachballoons, I don't know15:05
balloonslol, it's done!15:05
balloonswe can always go back15:05
dholbachballoons, I just thought "we have this method which builds a flavour of the app in a temp dir, let's use it"15:05
dholbachthat's basically all15:05
dholbachballoons, did https://code.launchpad.net/~dholbach/help-app/1433210/+merge/261228 look all right to you now or was I still missing something?15:06
balloonsapproved now15:06
balloonssorry, yes looks good15:06
dholbachthanks balloons!15:07
balloonsdholbach, probably close enough for you to have a peek at lp:~nskaggs/help-app/functional-test-template-improvements15:27
dholbachchecking15:30
balloonsit's unclear where to put some of these modules so we can cleanly import them15:31
balloonsnamely build_utils15:31
dholbachyeah15:31
balloonsbut that's more or less my thoughts on orga15:32
dholbachrun-unit-tests is broken15:33
dholbachlet me check15:33
balloonsyea, unit is broken based maybe only on import?15:34
dholbachyes15:35
dholbachballoons, I can't quite figure out how to make it right :)15:41
dholbachballoons, I think I'll call it a day, but I'll check mails later on again and see if you posted anything15:44
dholbachthanks again for your help!15:44
dholbachhave a great weekend!15:44
=== chihchun is now known as chihchun_afk
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
ahoneybunpopey: around?21:49
ahoneybunmhall119: is there a reason that the SDK does not install cmake ?23:16

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