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

=== chriadam_ is now known as chriadam
zsombigood morning folks!05:48
=== davidcalle_ is now known as davidcalle
om26ergusch, Hi!07:40
guschom26er: hi07:40
om26ergusch, how do I run the unit tests of the gallery ?07:41
guschom26er: one way is to run "make test"07:41
om26ergusch, and the other way ?07:42
guschom26er: or you can run then individually, by just calling the executables in tests/unittests/*/07:42
=== chriadam is now known as chriadam|away
oSoMoNgusch: I have addressed all your comments in my MR, would you mind having a second look?09:28
guschoSoMoN: ok09:28
guschoSoMoN: I approved - waiting for jenkins for top approving09:33
oSoMoNgusch: thanks09:35
oSoMoNgusch: note that because of a bug in the CI job, the tests that are run are those from the latest package in the daily PPA, not those from the branch being reviewed, which is pointless…09:41
oSoMoNgusch: I’m trying to resolve that09:42
oSoMoNgusch: in the meantime, if you could run the autopilot tests for my branch locally, just to confirm that they pass, it’d be nice09:42
guschoSoMoN: ok09:42
guschoSoMoN: the tests run fine - you can top approve once you fixed the jenkins issue09:48
oSoMoNgusch: ok, thanks09:48
oSoMoNom26er: just sent you an e-mail with a rather urgent matter, can you please have a look at it some time today?09:56
om26eroSoMoN, read the email, I am looking into that09:57
oSoMoNom26er: thanks09:58
oSoMoNgusch: considering that I don’t know when the jenkins issue will be fixed (afaict the issue has been around for quite some time, affecting all incoming MRs), and that both you and me verified that autopilot tests pass locally, I’m very tempted to top approve now, would you object to it?10:11
guschoSoMoN: I'm fine with that10:11
guschoSoMoN: jenkins will anyway object if something is wrong ;)10:11
oSoMoNgusch: thanks, I’m going ahead then10:14
kalikianaMirv, do we have an eta for qt 5.1? there's a bug fix very relevant for u1db-qt in there10:52
Mirvkalikiana: 5.1 beta1 is available at qt5-beta-proper PPA, but the current plan is not to upgrade to 5.1 very soon since it might involve all kinds of regressions. I'd recommend filing a bug against the component and backporting the bug fix to 5.0.2 - there's already a lot of patches in eg. qtdeclarative from 5.110:57
Mirvpossibly10:58
Mirvthe 5.1.1 release timeframe would be about the time to consider switching10:58
Mirvif 5.1 is needed for developing new features or such, the PPA can be used to develop those in a branch10:59
kalikianaMirv, there's a bug already and a qt review with the patch, should I assign that to you to have a look?11:03
Mirvkalikiana: yes, please11:08
Mirvor just a link11:08
kalikianaMirv, https://bugs.launchpad.net/u1db-qt/+bug/118135911:09
ubot2`Ubuntu bug 1181359 in U1DB Qt/ QML "Documents: Integers are getting corrupted" [Undecided,Confirmed]11:09
kalikianaand https://codereview.qt-project.org/#change,56072 (also referenced in the qt bug)11:09
=== MacSlow is now known as MacSlow|lunch
Mirvkalikiana: thanks, looking11:21
=== odra is now known as odraencode
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-remove-directory-includes/+merge/16770211:35
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-medialoader/+merge/16772211:35
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-photo-dependency-reduce/+merge/16774111:36
guschpending MRs ^ oSoMoN tmoenicke (where is renato?)11:36
oSoMoNgusch: I guess he’ll be online soon11:38
oSoMoNgusch: what’s the rationale behind removing the directory includes in favour of adding those directories to the include paths?11:40
guschoSoMoN: to make the dependencies more visible11:43
guschoSoMoN: there is a total dependency hell inside of gallery atm - that makes it hard to add new stuff (video)11:43
oSoMoNgusch: I’m skeptical that this will help, but I don’t have a strong opinion against it either, so I’ll verify that it doesn’t break anything, and I’ll approve11:45
guschoSoMoN: thx11:49
guschoSoMoN: and it did help already in MR 2 and 3 ;)11:49
Kaleosorry folks, emergency called12:04
zsombiKaleo: sorry dude, 10th of June is not good for me I'm "OoO" that day.. would it be possible to schedule it for some other day?12:18
Kaleoyou are going to ask the organizer12:20
zsombiKaleo: ouh, I thought it was you, I got it from you...12:21
Kaleozsombi: I only added you to the invite12:21
Kaleo:)12:21
zsombiKaleo: ehh, stupid gugel... :)12:22
Kaleoloicm: hi12:26
=== MacSlow|lunch is now known as MacSlow
=== greyback is now known as greyback|food
loicmKaleo: hey12:42
odraencodeHey people :D12:42
oSoMoNgusch: when you build the gallery app locally, you do it out of source, right?13:01
guschoSoMoN: mostly - only at the end for autopilto I compile it in source13:02
guschoSoMoN: you mean I should update the .bzrignore? that's on my list ...13:02
oSoMoNgusch: not, that’s not what I meant, I only wanted to test in a different way than the one you usually do, to ensure no regressions in both cases13:09
oSoMoNgusch: although updating the .bzrignore list would also be nice :)13:09
=== hatchetation_ is now known as hatchetation
=== schwann is now known as gusch
oSoMoNgusch: man, I hadn’t realized there was so much C++ code in the gallery :/13:30
oSoMoNgusch: I made two comments on your MR13:30
guschoSoMoN: 42 cpp files in src ;)13:30
guschoSoMoN: ok - thx I'll have a look13:30
=== greyback|food is now known as greyback
=== mardy_ is now known as mardy
oSoMoNgusch_: do you have a plan to get rid of circular dependencies in the gallery app?14:08
gusch_oSoMoN: slowly I want to reduce them - one by one14:09
gusch_oSoMoN: will take a while and several iterations14:09
oSoMoNgusch_: good, no rush, but definitely something to keep on the radar14:09
oSoMoNgusch_: got a MR for you to review when you have a moment (making webbrowser autopilot tests more robust): https://code.launchpad.net/~osomon/webbrowser-app/autopilot-more-robust/+merge/16777014:31
gusch_oSoMoN: ok14:32
seb128hey15:38
seb128does any of the current list items allow to have an item with 2 labels, one aligned on the left and one on the right?15:39
seb128I looked at http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/overview-ubuntu-sdk.html#list-items and it doesn't seem so (out of putting custom widgets in a Base one)15:39
seb128would that make sense as a standard item?15:40
seb128or rather that 2 labels, 2 widgets, or a label and one widget15:41
seb128that comes often enough in the design of the settings app, e.g https://wiki.ubuntu.com/AboutThisDevice#Phone the Serial/IEMI/OS lines15:42
seb128or https://wiki.ubuntu.com/Networking#phone-wifi15:42
seb128the wifi on/off15:42
seb128or https://wiki.ubuntu.com/Sound#Phone the  Ringtone line which is "Ringtone ...... <name of the sound>"15:43
kalikianaseb128, check the ui toolkit gallery/ list items/ value selector15:45
kalikianathat looks maybe like what you need?15:45
kalikianain ubuntu-ui-toolkit-examples if you don't have it installed15:46
seb128kalikiana, looking to the documentation that seems to have a list of value and select one, with an expander15:48
seb128which is not especially what I want15:48
seb128some items are just like15:48
seb128|Version:                 1.0|15:48
seb128where Version is left aligned and 1.0 right aligned15:48
kalikianaseb128, taking the ringtone example you would pick out of a choice of tunes wouldn't you?15:52
seb128kalikiana, the design is that clicking on it should pop another page15:52
seb128not open a subsection inline15:52
seb128pop->push rather15:52
seb128kalikiana, sorry, got disconnected15:57
seb128the value selector doesn't seem to do what I need15:57
seb128well there are several cases there15:57
kalikianaseb128, so basically it has the looks but you'd need a property like "page: myTuneSelection"15:58
seb128there is "label ...... value"    "label ...... value >" "label ...... <switch>"15:58
seb128those are the 3 I can see15:58
seb128seems like they could fit in a label + widget + status progression: true/false15:59
seb128kalikiana, doing the page push on click is not the issue ... in fact I've no issue, I can do those just fine with packging stuff in a ListItem.Base16:00
seb128but I was wondering if that's a common enough case to justify a toolkit widget rather than a custom16:01
odraencodeHey16:03
odraencodeWhy nobody ever says hi to me?16:04
kalikianaseb128, the main reason I would consider it would be that I think you need some arbitrary tweaks to get the looks right, valueselector is more than subclassing and adding the expanding16:04
kalikianaseb128, so if it's 10 apps doing those same tweaks and using magic values consistency is about gone16:05
seb128why would app need to tweak the look of those more that the one of other list items in the toolkit?16:06
kalikianaseb128, at a glance I saw that valueselector uses an image and some internals16:08
kalikianafeel free to prove me wrong :-)16:08
kalikianaif that's not strictly needed I'd just do it in the app16:08
seb128ok, I'm happy to do it in the app16:08
seb128it's just that Kaleo said at the oakland sprint to talk to the SDK teams when we have common patterns/widgets16:09
seb128to see if those should be the toolkit16:09
seb128so that's what I was doing16:09
seb128seems like it doesn't interest you guys in this case, fine enough, I will keep packaging my 2 labels in a ListItemBase and tweak the anchors16:09
kalikianaseb128, well, certainly I'm not the linus of the uitk ;-) I have no idea how many apps may need this exact same component16:11
kalikianacan't hurt to file a feature suggestion once you have written it, which you will do anyway16:12
kalikianasuggesting existing new widgets is always useful16:12
gusch_oSoMoN: I fixed your comment - only waiting for jenkins16:25
gusch_renato__: would you mind reviewing this? https://code.launchpad.net/~schwann/gallery-app/gallery-medialoader/+merge/16772216:27
oSoMoNgusch_: approved16:37
* oSoMoN EOD16:38
gusch_renato__ tmoenicke would you mind reviewing this? https://code.launchpad.net/~schwann/gallery-app/gallery-medialoader/+merge/167722 and or https://code.launchpad.net/~schwann/gallery-app/gallery-photo-dependency-reduce/+merge/16774116:45
Kaleoseb128: you should check with the design team17:16
Kaleoseb128: in the person of calum17:16
Kaleoseb128: he will tell you if a) the design you were given is justifiably not using an existing pattern b) or if the existing pattern should in fact be adjusted for your case c) or if your case should be adjusted to using the pattern17:18
Kaleopattern == widget17:18
odraencode:/17:19
odraencodeSrsly, nobody says hi to me?17:19
Kaleohi odraencode !17:20
odraencodeFINALLY!17:20
odraencodeHello there Kaleo17:20
Kaleoodraencode: people are probably deep in there codfe :)17:20
Kaleocode*17:20
odraencodeKaleo: I have been here for six hours waiting someoen to say hi17:20
Kaleoodraencode: I hope you did other things in the meantime17:21
odraencodeKaleo: Yes. I made a few videos of my project :u17:21
odraencodeKaleo: And linked them to random people on IRC17:21
odraencodeKaleo: I like to think that was productive.17:21
Kaleoodraencode: good17:21
Kaleoodraencode: is it Ubuntu apps related?17:21
Kaleoseb128: calum = ckpringle btw17:22
odraencodeKaleo: It is an app running on Ubuntu. Maybe it is an Ubuntu app!17:22
Kaleoodraencode: cool!17:22
Kaleoodraencode: link?17:22
odraencodeKaleo: To what? The videos?17:22
Kaleoodraencode: yes17:23
odraencodeKaleo: http://youtu.be/x4ppo1t_f1M17:23
odraencodeKaleo: http://youtu.be/LgfsXFD683E17:23
odraencodeKaleo: http://youtu.be/QsCuhqEnsbM17:24
seb128Kaleo, thanks17:28
Kaleoodraencode: cool! is it QML?17:30
timpseb128: have a look at this http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components-listitems0-singlevalue.html17:38
timpseb128: the second label is the value17:38
timpseb128: for a label and a single "widget", use this one http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components-listitems0-singlecontrol.html17:42
seb128timp, thanks, I was looking at that and it covers one of my usecase ... do you know if there is a way to set another widget as a "value"? (e.g a switch)17:42
seb128timp, ah, that looks useful, thanks again (I think I tried but didn't know you could position the control as you wanted, the example on that page is useful ;-)17:43
odraencodeKaleo: QML?17:44
odraencodeKaleo: what is QML?17:44
timpseb128: oh wait... with SingleControl, the control fills the list item. So you don't have a label there.17:46
timpseb128: for label left and control right, you can use http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components-listitems0-standard.html17:46
timpseb128: set the control property of ListItems.Standard17:46
seb128timp, great ;-)17:55
=== daker_ is now known as daker
nik90odraencode: QML is the language we use for the upcoming Ubuntu Touch platform17:57
nik90odraencode: it would be nice if your app uses it so that it will work on the desktop, mobile and tablet17:57
odraencodenik90: Hmm, it is written in python3/Gtk3, not QML17:57
odraencodenik90: Besides I don't really know about ubuntu touch, sorry. I just made an image viewer for desktop17:58
nik90odraencode: yeah I realised17:58
nik90odraencode: no worries17:58

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