/srv/irclogs.ubuntu.com/2014/07/17/#ubuntu-app-devel.txt

=== Aki-Thinkpad is now known as akiva-thinkpad
=== akiva-thinkpad is now known as Akiva-Thinkpad
=== Akiva-Thinkpad is now known as akiva-mobile
=== akiva-mobile is now known as Akiva-Thinkpad
=== chihchun is now known as chihchun_afk
=== _salem is now known as salem_
=== chihchun_afk is now known as chihchun
=== salem_ is now known as _salem
JamesTaitGood morning all; happy Peach Ice Cream Day! :-D08:11
mzanettinik90: btw: https://bugreports.qt-project.org/browse/QTBUG-4027508:30
nik90mzanetti: thnx. That screenshot does indeed says a thousand words09:07
nik90zbenjamin: Good Morning, got a minute?09:33
brendanddpm, hello10:37
t1mpnik90: hello11:02
nik90t1mp: hey11:02
t1mpnik90: I have a first version of the header sections here https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/140-headerSections/+merge/22717111:02
t1mpnik90: so if you like you can test it already :)11:03
dpmhi brendand11:03
nik90t1mp: sweet.. quite simple as head.sections..awesome!11:03
nik90t1mp: quick question, is it possible to animate the transition between the different sections?11:05
nik90t1mp: not sure if you tried the app Project-Dashboard, but something similar11:06
brendanddpm, you worked on http://bazaar.launchpad.net/~ubuntu-filemanager-dev/ubuntu-filemanager-app/trunk/revision/213, right?11:06
dpmyes11:07
brendanddpm, the PlacesPopover component wants to use PlacesModel.objectName as the objectName of the list item, but it doesn't have any such property11:08
brendanddpm, so the places tests are failing in CI11:08
dpmbrendand, not sure I follow the objectName part. Could you show me the logs of the failing tests? And why are they failing now but not when the MP was submitted?11:10
brendanddpm, here's the bug: https://bugs.launchpad.net/ubuntu-filemanager-app/+bug/134233611:11
ubot5Ubuntu bug 1342336 in Ubuntu File Manager App "test_go_to_root/home_must_open_the_root/home_directory fails since mako #132" [Undecided,New]11:11
brendanddpm, that's what i'm wondering too11:12
t1mpnik90: I didn't try that app11:12
t1mpnik90: actually I will restrict head.sections.model to a list of strings now until we know better what the sections will be used for, then it will allow a model, and a custom delegate11:13
t1mpnik90: yes it is possible to animate, but I don't think the designers have ideas for that yet11:13
nik90t1mp: yeah that's fine11:14
nik90dpm: ping11:14
nik90dpm: hey, say I have strings like "20 minutes", "30 minutes" and so on, when I use Qt.locale(), it returns them as "20,00 minutes". Should I instead just hardcode those numbers while keeping the "minutes" string translatable?11:15
=== MacSlow is now known as MacSlow|lunch
=== Nilesh is now known as Guest12374
brendanddpm, the links to the CI runs are broken in the merge proposal11:17
t1mprenato|afk: hi, I have the first MR for the header sections ready https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/140-headerSections/+merge/22717111:17
brendanddpm, https://code.launchpad.net/~dpm/ubuntu-filemanager-app/placesmodel-2/+merge/22403711:17
t1mprenat__: ^11:17
t1mpechan11:17
dpmnik90, I'd use plural forms -> i18n.tr("%1 minute", "%1 minutes", time).arg(time)11:17
t1mpah no, correct channel :)11:17
brendanddpm, i guess jenkins doesn't keep all the builds11:17
Guest12374cros compilling SDL app creating a problem...can anybody help11:18
nik90dpm: so the translator would only see "minute" and "minutes" as translatable?11:18
dpmnik90, they'll see something like this: https://translations.launchpad.net/music-app/trunk/+pots/music-app/ca/12/+translate11:21
dpmnik90, and it will automatically show multiple plural forms for those languages using more than two. E.g. https://translations.launchpad.net/music-app/trunk/+pots/music-app/ar/12/+translate11:21
nik90dpm: sweet.thnx11:22
brendanddpm, is there someone who can work on a fix?11:24
dpmbrendand, I'm looking at it now11:30
brendanddpm, thanks11:30
Guest12374can any body help me for cross-compiling the code11:37
brendandGuest12374, ubuntu-devel, not here11:41
brendandGuest12374, and don't say 'the code'. i know it's sdl you're wanting to compile but others won't11:42
=== chihchun is now known as chihchun_afk
=== _salem is now known as salem_
nik90rpadovani: fixed the clock app license headers as you requested. https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-license-headers/+merge/22718312:28
=== MacSlow|lunch is now known as MacSlow
rpadovanithanks nik90 :-)13:10
Diogohi13:32
Diogohow do i install sync monitor ??13:33
pkunal-parmarmay be try this13:39
pkunal-parmarqtdeclarative5-ubuntu-syncmonitor0.113:39
Diogowhere do i add that code??13:41
pkunal-parmarlike , sudo apt-get install qtdeclarative5-ubuntu-syncmonitor0.113:44
pkunal-parmaron terminal13:44
Diogoow ok13:44
Diogoit didnt work13:45
pkunal-parmaryou are getting error ?13:45
Diogoyes13:45
pkunal-parmarwhat?13:45
pkunal-parmarand what ubuntu version you are using ?13:46
Diogoit whasnt ablte to find qtdeclarative5-ubuntu-syncmonitor0.113:46
Diogo14.0413:46
pkunal-parmarahh,13:46
pkunal-parmarmay be package is not available on 14.0413:46
Diogothat version do you use??13:47
pkunal-parmarI am able to install it on 14.1013:47
Diogojust a lil question, do app developers need to use always a version a head of others??13:48
Diogobecause as i saw these days many other developers are using 14.10 but i just dont know why13:48
pkunal-parmaryes, may of app developers use beta version of ubuntu13:49
pkunal-parmarsome packages are not backported quickly and we need those to add features13:50
pkunal-parmarso we use latest ubuntu version for app development13:50
karniTricky question incoming -- can I change the background of the new Header? (not head.contents, ALL of the header)13:51
karniIf you ask why, let's say branding involved.13:51
Diogopkunal im a noob app developer that just finished his first app do you thing that for me it would be good to use the beta version do develope more apps??13:52
karniDiogo: the fact is you might be able to develop on 14.04, but your test/run environment must be either emulator or phone, if you use any of the 14.10 sdk features.13:52
karniDiogo: If you're just starting, there's no need to upgrade to utopic. Even though it's stable for me, I would suggest if you wanted the "latest and greatest". You can still learn a lot with 14.04.13:53
karninik90: perhaps you would know :D? Tricky question incoming -- can I change the background of the new Header? (not head.contents, ALL of the header)13:54
pkunal-parmarDiogo, what karni says is correct, if you dont need to use latest version, if you use emulator13:55
Diogoi tryed to use emlator but after 5h it didnt work13:55
nik90karni: I dont think so. However the SDK devs are planning to add support for hiding the header. So may be once that lands, you could hide the SDK header and implement one yourself in the page13:55
nik90t1mp: do you think this is the right approach for that? ^^13:56
karninik90: I see. Alternatively, not use the phone PageStack/Page component alltogether. QML is rather flexible.13:56
nik90karni: yes, but you lose out on a lot of features13:56
pkunal-parmarDiogo, I am not sure if syncmonitor has ppa for trusty, but if its there then you can add it, do you need to use any other such feature ?13:56
Diogoand i asked how i could install the dyncmonitor because i download the callander app to see how it works13:57
karninik90: I'd prefer to be able to change the background, rather than roll yet another own component :)13:57
karninik90: thanks for feedback13:57
pkunal-parmarDiogo, for to use calendar, i would recommend to use 14.1013:58
pkunal-parmarits hard to get it working on 14.0413:58
nik90Diogo: here is the thing, you can stick with 14.04 and do your development, but you can test it by running it in the emulator.13:58
nik90Diogo: this way you keep 14.04, while running your development code on the latest phone image using the emulator.13:58
karninik90: Yes, I told him exactly just that ^_^13:58
karnihe didn't have luck with the emulator, though13:59
karnianyways, /me back to code13:59
Diogonike90: i tryed to run the emulator but after trying 5h to just enter the emulator i haved up13:59
karniDiogo: nvidia graphics you got there? I had no luck with the emulator.13:59
nik90Diogo: ah okay, didn't read the backlog fully13:59
t1mpkalikiana: https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/panelHeight/+merge/225493 is ready for another review13:59
t1mpnik90: let me read back13:59
nik90Diogo, karni: I am running it on Nvidia13:59
Diogoi dont have any graphics card on my laptop and pc13:59
karninik90: noveau drivers?14:00
nik90karni: no proprietary14:00
nik90karni: need proprietary for gaming :)14:00
karninik90: perhaps that's the difference, no worky with noveau14:00
karnihehe :)14:00
nik90:D14:00
Diogoonly intel grapthics14:00
nik90Diogo: I would expect it to work with intel as well. I have a Intel+Nvidia system.14:00
nik90Diogo: but anyways, if not the emulator, then yes you would need 14.1014:01
t1mpkarni: nik90 was completely right. There is a MainView.backgroundColor which also changes the background of the header, but it is not possible yet to change the background of the header only14:01
karnit1mp: wohoo \o/ !!14:01
pkunal-parmarDiogo, may be just use virtual machine14:01
nik90Diogo: +1 to what pkunal-parmar said14:02
Diogomy laptop has an celeron M 530 and 3gb of ram14:02
nik90Diogo: ah :/ then you wouldn't have a pleasant experience14:02
t1mpkarni: are you happy that you cannot set the background color for header only? Or is there a misunderstanding?14:02
t1mpkarni: nik90 was also right that this feature is planned to be added14:03
karnit1mp: I don't care :D haha, I needed the header *and* background white anyway haha14:03
karnit1mp: thanks!!14:03
nik90Diogo: but may I ask what are you developing?14:03
t1mpkarni: okay, then better use the MainView background :D14:03
karnihaha yes14:03
Diogoi finished an energy payment calculator14:03
t1mpI think in general the apps look prettier when the header and main background are the same color14:03
nik90Diogo: because say you are targetting the stable ubuntu touch phones which come out, then you will be developing against the stable development framework which should be available in the stable ubuntu release.14:04
karnit1mp: usually, yes14:04
nik90Diogo: so for instance, when 14.10 framework is stable, it will be available with 14.10 when it is released. But when that happens, the 15.04 development framework will be released.14:04
Diogothen i need to move to 15.0414:05
nik90Diogo: if you want to use 15.04 development framework, yes14:05
nik90Diogo: but that's the thing though, the phones which will be out, will still be using the 14.10 framework. So your user base won't require that14:05
Diogonike90:  if not keeping use the 14.1014:06
Diogoyea your right14:06
nik90Diogo: yes. You just have to make sure when 14.10 is deprecated though. But I am sure there will be a grace period for taht14:07
nik90that*14:07
Diogonike90: until 15.04 comes out14:08
Diogonike90: is 14.10 stable??14:08
pkunal-parmarDiogo, i used it, have not faced any issue yet14:08
Diogook, i think i'll upgrade my system today14:10
Diogopkunal-parmar :  how do i do it in 14.0414:11
pkunal-parmartry update-manager -d14:11
nik90Diogo: I run in a VM and it seems stable.14:13
Diogomy laptop cant handel that14:15
pkunal-parmarDiogo, how about dual boot ?14:16
Diogoso im going to clean up first the laptop, then try to update to utopic14:16
pkunal-parmarmay be a small partition for 14.1014:16
Diogocan be to14:16
Diogoyea14:16
Diogois utopic avaliable on the site??14:17
karniDiogo: just google 'ubuntu download 14.10' :) first link most probably14:17
Diogook thnx guys :)14:19
=== Jae is now known as Guest71295
Guest71295hi, I am in the process of porting 32bit Litte Endian PowerPC.  Is this right place to ask?14:23
karniGuest71295: #ubuntu-devel probably14:24
karniGuest71295: unless you're porting an app14:24
Guest71295Well, I am not building app instead I am trying to build ubuntu 14.04 powerpcle version, and I just finished powerpcle based cross compiler (binutils, glibc, gcc, linux header)14:26
Guest71295I am about to begin to build rootfs (ubuntu-core, or whichever appropriate) but I architecture name is not defined in debian, so14:28
karniGuest71295: try #ubuntu-devel, I'm sorry this is not the appropriate channel for your question14:29
Guest71295I am kind of stuck to proceed further.14:29
Guest71295Oh.. sorry. Do you recommend appropriate channel if you know?14:29
Guest71295Thank you !! karmi!14:30
karniGuest71295: you are most welcome. try #ubuntu-devel14:30
balloonsnik90, so for https://code.launchpad.net/~nskaggs/ubuntu-clock-app/switch-emulators-to-proxy-object/+merge/227103, shall we just call custom_proxy_objects.py, helpers.py?14:45
=== greyback is now known as greyback|lunch
mihirpopey: ping !!!14:53
mihirpopey: sorry missed the meeting14:53
karnianyone figured out sharing a qmlscene'run app via Google Hangout screenshare? (other than sharing the whole screen)14:56
popeymihir: no worries, things are moving forwards ☻15:06
=== ara is now known as Guest35403
mihirpopey: glad, thanks for approvals for MR15:14
popeyhappy times!15:14
mihirpopey: any major updates?15:14
popeymihir: http://ubottu.com/meetingology/logs/ubuntu-touch-meeting/2014/ubuntu-touch-meeting.2014-07-17-13.01.moin.txt :D15:14
=== gatox is now known as gatox_lunch
nik90balloons: yeah, if you are happy with it15:21
balloonsnik90, kk, I'll do the rename15:22
=== gatox_lunch is now known as gatox
balloonsdpm or popey, can one of you review https://code.launchpad.net/~nskaggs/reminders-app/autopkgtest/+merge/226894?16:27
balloonsI'd like to get reminders in the image, and this should help make it possible. I haven't heard back 100% positive from fginther that running with autopkgtest will work for reminders, but I think it's our best option16:28
dpmballoons, reminders is in the image already, just not on the dashboard. This is something that I got confused with earlier in the week too16:32
balloonsdpm, yes yes :-) It made the first step a few days ago.. but it should be on the dashboard :-)16:33
=== greyback|lunch is now known as greyback
dpmballoons, I'd love to help with that MP, but I really don't know a thing about autopkgtest, and the only review I could do would be on syntax, as per the previous comment on it16:34
popeyindeed :|16:34
balloonsthanks guys.. I'll get someone else to have a peek. I was hoping to get one of you to try running tests this way.. *cough* popey *cough*16:37
popeynice try16:37
fgintherballoons, I'm still working on that, just fighting through too many other interruptions. I think adt-run is the best option.17:16
ahayzent1mp, thanks for working on that panelHeight fix :) ... regarding the searching issue do you need anymore from me or have you figured out if it is an issue in the sdk?18:11
t1mpahayzen: yes I was working on some other stuff first, but the panelHeight MR is ready now to be reviewed18:25
t1mpkalikiana: ^ fyi :) https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/panelHeight/+merge/22549318:25
ahayzent1mp, cool thanks, let me know if you need me todo anything else with the searching :)18:26
t1mpahayzen: for the searching it looks like you put all the information needed there18:26
ahayzen\o/18:26
t1mpahayzen: okay. I will get to the bug, but it is only one of many on my list unfortunately https://bugs.launchpad.net/ubuntu-ui-toolkit/+bugs?search=Search&field.assignee=tpeeters18:27
t1mpI'll make it critical though18:28
ahayzent1mp, no worries...but it is blocking us from landing the search support... would there be any particular files i could investigate over if i decided to try and fix the issue? or is it best just to wait for u to get round to it as you know that component inside out?18:29
ahayzenhah bug 1223050 is probably what causes some of our craziness in the now playing page18:30
ubot5bug 1223050 in Ubuntu UI Toolkit "[PageStack] Calling positionViewAtIndex cause the page header misbehave" [Critical,Confirmed] https://launchpad.net/bugs/122305018:30
t1mpahayzen: PageHeadStyle.qml (there are two, the bigger one is the more interesting one) probably, and maybe PageHeadConfiguration.qml and MainView.qml18:31
t1mpahayzen: if you decide to try some debugging please comment your findings on the bug report and feel free to ask me any questions18:31
ahayzent1mp, ok i may take a look if i get stuck playing about with bottom edge and other things in the music-app :)18:32
t1mpahayzen: can you add the music app to that positionViewAtIndex bug?18:32
ahayzent1mp, i'm only assuming it is causing the issue for us as when you bring up the toolbar we jump to the current track in the queue using positionViewAtIndex()...and IIRC the header sometimes does overlap18:33
ahayzenbut yeah i'll add us in and leave a comment18:33
t1mpok, thanks18:33
ahayzent1mp, cool thanks for ur help as usual i'll leave the comment after dinner :)18:35
t1mpnp, enjoy your meal :)18:37
balloonsnik90, about?18:37
avoineHi there,18:54
avoineis it possible to launch an app with uri-dispatcher and using arguments? To do something like: application:///note-app.desktop#file=my_file.txt18:54
avoineor I could just use  upstart-app-launch directly18:57
nik90balloons: pong (was having dinner)19:10
balloonsnik90, hey, so I was digging into clock AP tests.. can't remember what I was going to ask now heh19:22
balloonsohh, this bug https://bugs.launchpad.net/ubuntu/+source/qtorganizer5-eds/+bug/127233719:22
ubot5Ubuntu bug 1272337 in Ubuntu Clock App "EDS reverts alarm status immediately" [High,Triaged]19:22
nik90 balloons it is still a bug :/19:23
nik90balloons: it is a loop issue which I need to discuss with zsombor when he gets back19:23
balloonskk19:26
ahayzenkenvandine, ping20:55
kenvandineahayzen, pong21:22
ahayzenkenvandine, what format should the directory be for the move() method?21:22
kenvandinea string, full path21:22
ahayzenkenvandine, i'm currently giving it... ~/Music/Imported21:23
ahayzenah21:23
kenvandinei don't think ~ will work21:23
ahayzenkenvandine, so will i need a file:// infront as well?21:23
kenvandinenope21:23
ahayzenok so /home/phablet/Music/Imported should work21:23
kenvandinehumm... now it makes me wonder if there is a way to get QStandardPaths in qml21:24
ahayzenkenvandine, are we supposed to assume /home/phablet or is there a qml method i can call to convert ~/Music21:24
ahayzenhah21:24
kenvandine /home/phablet is ugly...21:24
ahayzenyeah and not good if we ever have multi user (eg tablet)21:24
kenvandinebut not sure there is a standard way to get that in qml21:25
kenvandinewhat does filemanager-app do?21:25
ahayzenwe have Qt.resolvedUrl() maybe now i've fixed a few things tht'll work21:25
ahayzen(but that does add file://)21:25
kenvandinei think file:/// will be ok21:25
kenvandinebut not required21:26
ahayzenok21:26
* ahayzen thinks the filemanager app is c++ and qml21:26
t1mpahayzen, kenvandine is $HOME set on device? you can get env variables21:28
kenvandineoh you can?21:28
t1mpin cpp at least21:28
kenvandineah21:28
kenvandinehe needs it from qml21:28
ahayzenecho $HOME works...but yeah i need it in QML21:28
t1mpyou can expose it I guess21:28
kenvandineQStandardPaths via qml would rock :)21:29
ahayzen+121:29
kenvandineor i can make my bindings deal with ~/21:29
kenvandine:-D21:29
t1mpin UITK source, check i18n.cpp, setDomain() function21:29
kenvandineahayzen, did you try the ~/Music ?21:29
ahayzenit was ~/Music...21:30
kenvandineahayzen, and did that fail?21:30
ahayzenkenvandine, i got 'Failed to move content to: "file://~/Music/Imported/Thu Jul 17 22:02:36 2014 GMT+0100-3.mp3"'21:30
t1mpyeah you'd need to make it a cpp plugin for qml just to get the homedir21:30
ahayzenah that was the one with the file:// hang on21:30
ahayzen'Failed to move content to: "~/Music/Imported/Thu Jul 17 21:54:54 2014 GMT+0100-3.mp3"'21:30
kenvandineahayzen, ok, makes sense21:30
ahayzenkenvandine, i assume it creates the dirs if they don't exist?21:30
kenvandinei can just make the content-hub api handle that case21:30
kenvandineahayzen, it does21:31
kenvandinet1mp, i'd rather just make the content-hub bindings handle the use case :)21:31
ahayzenkenvandine, unless i copy the /home/$USER/ from the incoming filepath?21:31
kenvandineahayzen, you could21:31
ahayzenas this path is known to the app? file:///home/phablet/.cache/com.ubuntu.music/HubIncoming/7/3.mp321:31
ahayzeni'll check that hard coding it to /home/phablet works first though :)21:32
kenvandineahayzen, you can check to see if home matches the first position of the path, and if it does take the 1st and 2nd positions21:32
ahayzenkenvandine, yep :) i'll try that after checking that hard coding it actually moves the file and nothing else isn't causing it to fail :)21:33
t1mpkalikiana: yes that makes more sense :)21:33
jdstrandbeuno: hey, did you start working on bug #1342571? shall I?21:34
ubot5bug 1342571 in click-reviewers-tools (Ubuntu) "No such file or directory: './data/apparmor-easyprof-ubuntu.json'" [Undecided,New] https://launchpad.net/bugs/134257121:34
ahayzenkenvandine, ok hardcoding is working, so i'll extract the $HOME from the incoming filepath...thanks for your help :)21:37
kenvandineahayzen, no problem21:38
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
beunojdstrand, I didn't, sorry22:26

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