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

ahoneybunwhat is cmake?00:54
=== _salem is now known as salem_
=== chihchun_afk is now known as chihchun
=== salem_ is now known as _salem
dholbachgood morning07:03
dholbachcan somebody review https://code.launchpad.net/~dholbach/help-app/FLAC/+merge/261062 please?07:50
dholbachsalut davidcalle07:55
davidcalleHey dholbach, how are you?07:55
dholbachgood good - how about yourself? :)07:55
dholbachdavidcalle, can you review https://code.launchpad.net/~dholbach/help-app/FLAC/+merge/261062 :)07:55
* dholbach hugs davidcalle07:57
davidcalledholbach, I'm fine, short night, but plenty of coffee helps :)07:57
dholbachdavidcalle, did the rest of the family wake you up? :)07:58
davidcalledholbach, yeah, Tristan has a difficult night, he only slept well between 6 and 8:30 ;)07:59
dholbachbah :-/07:59
* dholbach hugs davidcalle07:59
dholbachtake a nap together later on :)08:00
davidcalledholbach, heh, that's a possibility :)08:00
dholbachsome friends talked me into doing a detox/fasting week, it's like 5 or 6 of us and I'm very slowly finding my way into it - so no coffee for me :)08:00
seb128dholbach, no eating at all?08:07
dholbachseb128, just green smoothies08:08
seb128dholbach, lol08:08
dholbachI did that a couple of years back already... and it's interesting to note how you're not really hungry, but craving for stuff, like sweet stuff during the day or when you see people eating a pizza or something08:09
dholbachbut it's all right - I feel like I'm coping quite well :)08:09
t1mphello09:32
nik90kalikiana: ping10:43
kalikiananik90: pong11:06
nik90kalikiana: hey, I am hitting a snag while using u1db query as a model in a listview that I like your help on.11:07
nik90kalikiana: the bug is that when I delete the last document, the listitem that displays it in the listview does not get removed11:08
nik90https://bazaar.launchpad.net/~nik90/ubuntu-clock-app/new-list-items/view/head:/app/worldclock/UserWorldCityList.qml11:08
nik90kalikiana: in lp:~nik90/ubuntu-clock-app/new-list-items, lets say you add 2 world cities...even if you delete both the world cities, the last one still remains in the list view and I cannot debug or understand why this happens11:09
nik90although when I look at the query results, it shows [] when all cities have been deleted11:10
nik90somehow the listview is bugging out11:10
nik90any ideas?11:10
kalikiananik90: hmm the ListView model is based on the. results yet you delete getting the .documents from the query - not sure if that's it but I'd avoid dual code paths like that11:15
nik90kalikiana: I agree about avoid dual code paths..but we need the GenericTimeZoneModel c++ plugin to returns different world city timezones..11:16
nik90deleting the result from GenericTimeZoneModel will only remove the worldcity temporarily since u1db query is the one handling the data11:17
kalikiananik90: but you're deleting based on the index from another model11:26
kalikiananik90: as opposed to getting the docid from the "u1db" model11:29
nik90kalikiana: hmm true..I could delete it based on the docID perhaps11:29
nik90kalikiana: I will try that out after lunch and see if that works11:32
mivoligonik90: hi, have you had a chance to ask the right people about that vibration settings?11:52
=== chihchun is now known as chihchun_afk
=== rickspencer3_ is now known as rickspencer3
nerochiarooSoMoN: i fixed all your remarks in the keyboard navigation branch. the failing test was really tricky, took me three hours to actually figure out what it was. Can i trust CI to run the AP test for me or should I go grab a coffee and let the entire suite run ?13:09
oSoMoNnerochiaro, CI for webbrowser-app is broken these days (should be fixed when we sync back changes from wily into vivid, but we have to wait for the vivid-overlay freeze to be over)13:12
oSoMoNnerochiaro, so please run the suite manually13:12
nerochiarooSoMoN: ok13:13
oSoMoNnerochiaro, note that you can run it with autopilot3-sandbox-run, that will allow you doing other things while the tests run in a nested X server13:13
nerochiarooSoMoN: oh, that's cool. never knew i could do that. big life changer, thanks for pointing it out13:13
oSoMoNnerochiaro, yeah, I discovered it myself not so long ago, big life changer indeed13:14
nerochiarobfiller: trying to join but get bounced by hangouts14:09
DS-McGuiredholbach, I think this is better: http://imgur.com/l6lnmqj14:19
dholbachah yes, that looks great14:22
dholbachdo you think you could drop a mail to the ubuntu-phone mailing list or ask on G+ for feedback?14:22
dholbachjust so we get an idea?14:22
dholbachI need to relocate, brb14:22
sverzegnassi+1 for the icon! I like it!14:28
DS-McGuireI will do that now!14:32
nik90mivoligo: Yes I asked SDK developers kalikiana about the SDK components being connected to the "Enable Other Vibrations" settings in the systems settings app. It has been connected for a while it seems.14:34
nik90kalikiana: I reason I asked you yesterday ^^ is because that settings option doesn't seem to have any effect on apps.14:34
DS-McGuirehttps://plus.google.com/112369892362587560507/posts/a3iep1CvoVY14:35
nik90kalikiana: if for instance you disable "Enable other vibrations" and then use a AbstractButton in an app, it still vibrates when you press it.14:35
nik90mivoligo: lets discuss this with kalikiana before filing a bug against the appropriate package14:36
nik90DS-McGuire: that looks good. Have you tested it on Unity8 itself to see how it looks in the app scope?14:37
svenboHello! Can sombeone help me installing UCS? I still have some trouble using it.14:47
nik90svenbo: Hi there, what trouble are you facing when installing UCS?14:53
nik90svenbo: Did you add the PPA and install ucs?14:53
=== chihchun_afk is now known as chihchun
DS-McGuireHere is the fixed version: http://imgur.com/DnagBAv, nik90 I haven't. I have no way of doing so.15:03
nerochiarooSoMoN: tests that work normally with autopilot fail on the sandbox run15:16
oSoMoNnerochiaro, how do they fail?15:16
nerochiarooSoMoN: in a very "normal" way, like some strings are not as expected, etc.15:20
nik90DS-McGuire: The icon size ratio seems better now15:20
DS-McGuirenik90, I think so too, I am glad someone pointed it out.15:20
nik90DS-McGuire: How do you test the help app? Do you run it on your desktop? I just want to see if I can run it via QtCreator on my phone15:21
nerochiarooSoMoN: like this http://pastebin.ubuntu.com/11567560/15:21
nerochiarooSoMoN: same tests succeeds when ran normally from cmd line15:21
oSoMoNnerochiaro, have you tried re-running them (in the sandbox runner) individually, do they fail consistently?15:21
oSoMoNnerochiaro, and do they fail in trunk too?15:22
nerochiarooSoMoN: they don't exist in trunk15:22
oSoMoNah, right15:22
nerochiarooSoMoN: let me try running them indiviually15:22
nerochiarooSoMoN: fail individually too15:23
oSoMoNnerochiaro, could it be that the sandboxed runner has issues with key combinations like Ctrl+L ? I suggest you ask someone from the autopilot dev team, it might be a known bug15:23
oSoMoN(that would be unfortunate, but at least it would allow us to discard a bug in the code)15:24
oSoMoNnerochiaro, the flake8 test is failing on your branch15:25
nerochiarooSoMoN: i need to set commit hooks that check flake8, i keep forgetting15:25
nerochiarooSoMoN: pushed fix15:26
nerochiarooSoMoN: asking elopio in ci-eng15:27
DS-McGuirenik90, Do you have the latest branch? If you do follow the instructions in the "Hacking" file. I couldn't get it to run in the QT creator.15:27
nik90DS-McGuire, dholbach: I am getting the following error when trying to run on phone via QTC,15:29
nik90Loading module: 'libubuntu_application_api_touch_mirclient.so.2.9.0'15:29
nik90/usr/bin/ubuntu-html5-app-launcher: unrecognized option '--www=www'15:29
nik90/usr/bin/ubuntu-html5-app-launcher: unrecognized option '--inspector'15:29
nik90Ignoring argument:  "$@"15:29
nik90WWW folder not found or not a proper directory:  "/opt/click.ubuntu.com/help.ubuntucoredev/0.4/www"15:29
nik90I followed the HACKING guide15:29
popeynik90: Exec=webapp-container $@ www/index.html15:31
popeyi use that now, was told that's the way to do it15:31
nik90popey: ah ok..will modify the desktop file and try now15:31
nik90hmm strange I get permission errors when I try running after http://paste.ubuntu.com/11567885/15:33
dholbachnik90, did you use 'make launch' or something like that?15:34
dholbachnik90, which release are you on?15:34
nik90dholbach: I am trying this out on Trusty. I first did "make app" and then open the file in QtC where I got the "WWW folder not found error"...15:34
nik90dholbach: then I tried "make launch" before finally trying popey's suggestion15:34
nik90when I started getting the permission error15:35
dholbachah, maybe trusty is the problem :-/15:35
dholbachalexabreu, dbarth_: would the following be a problem that comes from using trusty?15:35
dholbach /usr/bin/ubuntu-html5-app-launcher: unrecognized option '--www=www'15:35
dholbach /usr/bin/ubuntu-html5-app-launcher: unrecognized option '--inspector'15:35
nik90dholbach: but since I use QtC doesn't it use the chroots for building and installing on phone?15:35
dholbachnik90, which relevant PPAs do you use?15:35
alexabreudholbach, not at all, ... they come from qtubuntu15:36
nik90dholbach: the standard sdk ppa and also the core-apps-ppa/collection that I read in the HACKING guide15:36
alexabreudholbach, I have a fix for them, but they should be considered no-ops15:36
alexabreudholbach, I have to ping some guys for a review for that15:36
nik90dholbach: no worries, I will check it out on a vivid install as well15:37
rpadovanipopey, mzanetti no reminders meeting today? :-)15:37
dholbachnik90, I never used QtC for hacking on the help-app - do you get the same issues when you run everything on the terminal?15:37
dholbachalexabreu, do you have a link for that?15:37
alexabreudholbach, https://bugs.launchpad.net/platform-api/+bug/124461615:38
ubot5Launchpad bug 1244616 in platform-api "Application complains about invalid options if options are given" [Undecided,In progress]15:38
alexabreudholbach, its an oldie, ... I have to re MR it15:38
nik90dholbach: "make click" seems to have built a 0.4 click..I will try installing and running it on the phone.15:38
nik90dholbach: but "make launch" opened the app on my trusty desktop though15:38
nik90although with really old tab designs15:38
popeyrpadovani: ooh, sorry, was afk15:38
dholbachalexabreu, cool15:38
dholbachnik90, maybe we need to change something to make it work in QtC?15:39
dholbachalexabreu, thanks a lot for looking into it15:40
popeyrpadovani: http://people.canonical.com/~alan/reminders/com.ubuntu.reminders_0.5.448_armhf.click15:40
nik90dholbach: could be a trusty issue since the click package that I built using "make click" fails to run on the phone..similar to the QtC run15:40
alexabreudholbach, this is quite often a source of confusion15:40
dholbachnik90, hum........15:40
mzanettirpadovani, popey, I'm on hols today. I think there's another branch to be reviewed. Fixing a critical. Could go into the release IMO. Other than that, I think we need translations.15:41
popeyah okay15:41
dholbachnik90, any error messages when you run 'make click'? can you pastebin?15:41
popeymzanetti: https://code.launchpad.net/~mzanetti/reminders-app/store-local-resources-in-infofile/+merge/26099015:41
popeythat one?15:41
mzanettipopey, yes15:41
nik90dholbach: let me branch it again and start fresh without involving qtc..one min15:41
popeymzanetti: ok, go back to holiday, I'll deal with it. thanks :)15:41
dholbachthanks nik9015:42
nik90dholbach: with a fresh branch, running "make app && make click", I am able to install and run on the phone properly. So no modifications to the desktop file15:44
dholbach<315:45
dholbachmaybe we need a bug to make it work properly with the QtC15:45
nik90DS-McGuire: give me a min to try out your new icon and paste a screenshot of it in the app scope15:45
nik90dholbach: yes, I will report it in a few mins once I get the necessary logs to help debug it.15:45
dholbachthanks a bunch15:46
nik90np15:46
nik90dholbach: quick question, where do I place the app icon so that it gets picked up?15:47
dholbachnik90, ./static/app/help.svg15:47
nik90ah thnx15:48
=== chihchun is now known as chihchun_afk
DS-McGuirenik90, Any luck?17:23
nik90DS-McGuire: I installed it, but it still uses the old icon for some reason17:29
nik90DS-McGuire: can you send me the svg file? I used the png file from the imgur link17:29
DS-McGuireSure. How should I send it?17:35
DS-McGuirenik90, ^^^17:35
nik90DS-McGuire: dropbox share or just an email I guess to nik90@ubuntu.com17:36
DS-McGuirenik90, I'll email it now.17:36
nik90thnx17:37
DS-McGuirenik90, Do you want it cropped into the ubuntu shape or not? I forget which needs to be used for the icon.17:39
DS-McGuireI will just send both in fact.17:39
nik90DS-McGuire: the one without the ubuntu shape..Unity8 will automatically crop it17:40
DS-McGuirenik90, That's what I thought... ;)17:40
nik90DS-McGuire: they seem to be empty svg files17:45
DS-McGuirenik90, Open them in inkscape? I don't think IOG likes svgs...?17:46
* nik90 tries17:46
nik90yeah you're right..strange17:47
nik90DS-McGuire: hmm ..even unity8 also displays an empty icon..despite me cross-checking the svg file on inkscape17:49
DS-McGuirenik90, I must have done something wrong. I am going to make some food and I will see what's up when I get back. If you get it working let me know. :)17:50
nik90DS-McGuire: same..need to grab dinner :)17:50
nik90DS-McGuire: be back in an hour17:50
DS-McGuireo/ nik9017:50
nik90o/17:50
nik90balloons: Did you rerun certain clock app mps on vivid? http://91.189.93.70:8080/job/ubuntu-clock-app-vivid-amd64-ci/7/console18:11
balloonsnik90,oi18:15
balloonsnik90, vivid gave ci trouble, so ap tests are disabled for now. Your stuff should pass jenkins18:16
dkesseldoes any know how to set the touch emulator to landscape mode, so one can test tablet apps?18:32
DanChapmandkessel try Ctrl+F1218:37
balloonsdkessel, no idea.. never tried actually, heh18:38
DanChapmandkessel: i just found https://wiki.ubuntu.com/Touch/Emulator#Keyboard_Commands18:38
dkesselDanChapman: yup, google tries to lead me there, too... however that wiki page always generates a HTTP 500 error for me :/18:39
dkessellet's see if that changes anything for my app18:40
DanChapmandkessel: http://i.imgur.com/z5tTufE.png :-D18:40
dkesselperfect, ty DanChapman :)18:41
DanChapmannp18:41
dkesselhowever, maybe i need to implement something in the QML app so it properly gets rotated18:41
dkesselDanChapman: i don't think those orientation keyboard shortcuts (the ones with Ctrl) do anything anymore18:49
dkesseli would except the default news app to properly react to landscape mode. but i could be wrong, too...18:49
=== aaron is now known as Guest32281
=== Guest32281 is now known as ahoneybun
DS-McGuirenik90, I have fixed the issue :)18:57
DS-McGuireResending the image now18:57
mivoligonik90: thanks for taking care of the issue :)20:06
svenbo_Can somebody explain me how to use the PageWithBottomEdge? I want to change the headerstate of the page when the BottomEdge is opened.20:21
nik90svenbo_: Did you read the documentation of the UCS website for the PageWithBottomEdge?20:21
svenbo_http://ubuntu-component-store.readthedocs.org/en/latest/_components/pagewithbottomedge.html#property-documentation That one?20:22
nik90svenbo_: yes20:22
svenbo_Yes, I did. I tried to use bottomEdgeReleased20:22
nik90svenbo_: renatu is the person who created that component. May be he can help20:23
svenbo_    PageWithBottomEdge {20:24
nik90DS-McGuire: https://imgur.com/rqADFrm20:24
DS-McGuirenik90, Do you think that looks good?20:24
DS-McGuireThanks for the screen shot by the way.20:25
nik90DS-McGuire: I am comparing it with other app icons atm20:25
DS-McGuireSure :D20:25
nik90DS-McGuire: I think the icon size can grow a tiny bit more to make it more legible..if the icon detail is high, it may be missed out at small sizes20:28
nik90DS-McGuire: for instance the tiny border ropes for instance are barely visible unless I really focus on them20:29
nik90but the colors and the idea seems good20:29
DS-McGuirenik90, I can do that. I am always trying to stick to the ubuntu guidelines when designing stuff however if need be I can not stick to them.20:30
nik90DS-McGuire: may be you can leave the tyre size the same and just increase the size of the boundary ropes to make them slightly more apparent20:31
nik90DS-McGuire: like http://www.psdgraphics.com/wp-content/uploads/2009/08/help-icon.jpg for instance20:32
nik90balloons: I know for a fact that clock app AP tests fail due to some upstream AP bugs after the transition to the 15.04 framework. Is it still wise to merge them?20:33
DS-McGuirenik90, I will take a look at it. Increasing the entire ring is the easiest to do. Those ropes are actually bars and the ring is supposed to look like it sits on it.20:34
nik90balloons: for instance ahayzen did some AP adjustments in the music app https://code.launchpad.net/~ahayzen/music-app/refactor-bump-framework-1504/+merge/258126 which I am unable to bring over to the clock app20:35
nik90balloons: which is also the reason for AP tests are failing in the MPs I proposed20:35
nik90DS-McGuire: ah ok20:35
DS-McGuirenik90, I will take a look at it though. I have my membership meeting coming up in 25 minutes :)20:36
nik90DS-McGuire: oooh awesome..good luck20:36
DS-McGuirenik90, Thanks :)20:36
balloonsnik90, well, since we sadly can't guarantee stability, I guess you can merge. Ideally you wouldn't knowingly merge things that break; but then again, you won't be holding this feature based on testing issues would you?20:37
nik90balloons: ideally I wouldn't but I have been taught to not merge stuff that fail AP tests :) hence the concern20:38
renatusvenbo_, try change it on "onActiveChanged" from bottom edge page20:48
nik90mzanetti: hey you updated Fahrplan in the store. Nice!20:51
nik90mzanetti: one thing though, you might want to post updated screenshots and also ensure the screenshots interfaces are in English to make it appear applicable to everyone20:52
mzanettinik90, fancy creating some screenshots?21:01
nik90mzanetti: my pleasure ;) give me a few minutes21:01
balloonsnik90, it's not great, but it's the decision that has been undertaken. If you know it breaks the tests I21:02
balloonsit's in your hands whether or not you want to merge it. We'll work on getting things running again, somehow, soon21:02
nik90balloons: ack. Either way I cannot merge my MPs until after popey pushes a clock app update to the store which should happen soon after OTA-4 is released. So I will try my best to get those AP issues resolved before making the decision to merge or not.21:04
nik90balloons: Personally after working with QA for some time now, I feel really guilty to go ahead with the merge with failing AP tests ;) .. I hate you guys :P21:05
balloonsnik90, mission accomplished!21:06
* balloons takes a picture21:07
nik90haha21:07
nik90mzanetti: sent to your canonical email21:10
=== daniel__ is now known as DS-McGuire
mzanettinik90, thanks21:20
nik90mzanetti: how is that bahne.de has some really strange warning messages like "On-Time: Fire-fighters' operations on railway property"..never seen such dramatic msgs on 9292ov.nl service21:22
mzanettilol. I haven't seen them before on bahn.de either21:22
nik90:)21:23
=== mcphail_ is now known as mcphail

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