/srv/irclogs.ubuntu.com/2014/05/02/#ubuntu-unity.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
Cimiis this channel quiet or am I disconnected?07:36
MacSlowCimi, just quiet07:37
CimiMacSlow, ciao Mirco!07:37
MacSlowmorning Cimi07:37
Saviqdednick, hey, need an opinion... Plugin.cmake, I want to use those macros for mocks, too08:02
Saviqdednick, so I need to be able to override destination, and for qmlfiles a NO_INSTALL option08:03
dednickSaviq: hm. they may need some mods to put files into correct folders.08:03
Saviqdednick, but then I'd need to pass absolute destination anyway, so plugin_subpath loses sense08:04
Saviqand what's worse we have different destinations for shadow and installation, so suddenly I need two separate paths08:04
Saviqdednick, another option would be global qmlplugin_DEFAULT_PREFIX that, if set, would be used (unless overridden in the call itself)08:06
dednickSaviq: hm. might be best if you make export_mock_qmlplugin ?08:06
Saviqdednick, don't want completely separate macros, rather wrappers around a generic one08:06
Saviqdednick, but then you can't override... but maybe that's fine, if you want to override, you just use the "top level" one08:07
Saviqok yeah, I think I'll go for that08:08
Saviqdednick, thanks for being a sounding board :)08:08
SaviqFYI guys, I was working until 3am last night, so will be taking some of that time back today, might be available intermittently08:09
dednickSaviq: hm. as far as I can tell. You should only need to adjust the path from ${CMAKE_BINARY_DIR}/plugins > ${CMAKE_BINARY_DIR}/test/mocks . and the NO_INSTALL08:09
dednickSaviq: although, aren't some mocks installed?08:09
Saviqdednick, some are, yes08:09
Saviqdednick, but the other path I need to adjust is ${SHELL_INSTALL_QML}08:10
Saviqdednick, for those that are installed08:10
Saviqbiab08:18
=== Mirv_ is now known as Mirv
tsdgeosdednick_: yes we can08:34
tsdgeosdednick_: it's a 5.2 feature08:34
tsdgeosso we couldn't until then08:34
tsdgeoss/then/recently when we started requiring 5.208:34
tsdgeoswell we don't do that *yet*08:34
tsdgeosso base your branch on https://code.launchpad.net/~aacid/unity8/killqt51/+merge/21739108:35
=== dbarth_ is now known as dbarth
didrocksSaviq: hey! I was wondering if you got any info on the crash on stop and working on it?08:42
=== john-mca` is now known as john-mcaleely
Cimitsdgeos, didn't we have out layouts?08:56
tsdgeosCimi: ?08:56
tsdgeosout -> own?08:56
Cimiown08:56
Cimiyes08:56
Cimiour08:57
tsdgeosCimi: we have some own layouts for the Dash yes08:57
Cimir is close to t08:57
CimiI thought from sdk08:57
CimiI remember tim working on something08:57
tsdgeosah no idea :D08:57
Cimibetter use qt imho though08:57
Cimithey probably have more guys than us :)08:57
tsdgeosCimi: do you remember at some point the PreviewZoomableImage was center aligned and then we brought it back to left aligned?08:58
tsdgeosyou remember why?08:58
tsdgeosit's a change that https://code.launchpad.net/~paulliu/unity8/zoomImage/+merge/207941 also introduces back08:58
mhr3tsdgeos, the fitting was buggy then08:58
tsdgeosmhr3: do you remember when?08:58
tsdgeosseems to work fine-ish here with https://code.launchpad.net/~paulliu/unity8/zoomImage/+merge/20794108:59
mhr3tsdgeos, is was with some specific images08:59
mhr3stuff from amazon iirc08:59
Ciminope08:59
tsdgeosok, let's wait for Saviq to come back from the death and see if he remembers09:00
tsdgeosmhr3: not ignoring your opinion, eh!09:00
mhr3yeah, right09:00
tsdgeosjust i can't make it fail with amazon right now09:01
Cimitsdgeos, activeFocus is a qt property?09:01
tsdgeosmaybe he remmbers something mrore09:02
tsdgeosCimi: it is09:02
=== davmor2_ is now known as davmor2
CimiSaviq, mhr3 I think I found issue and fix for the review09:11
Ciminope09:12
mhr3oh?09:13
mhr3ooohhhh.. :(09:13
=== vrruiz_ is now known as rvr
Cimitsdgeos, when you want a new challenge, I have sth for you09:18
tsdgeosCimi: i'm still busy writing my code that writes qml code :D09:18
dednick_sbin_init.1000.crash    - err, not ideal09:42
Cimitsdgeos, how do I know which component is stealing my event?09:47
tsdgeosdednick: :D09:47
tsdgeosCimi: press?09:47
Cimitsdgeos, yep09:47
Cimitsdgeos, basically with ratinginput enabled in our previews09:48
Cimitsdgeos, if you scroll the preview09:48
Cimitsdgeos, and tap on the TextArea09:48
tsdgeosis it enabled?09:48
Cimitsdgeos, the mouseArea of the textArea does not get events09:48
Cimiguess so09:49
CimiI am forcing it to true now09:49
Cimitsdgeos, enabled and no events09:49
Cimitsdgeos, like something else is stealing09:50
tsdgeosok09:50
Cimitsdgeos, so would like to know who is stealing09:51
tsdgeosdon't know, start adding mouseareas all over09:51
tsdgeossee which get it and which not09:51
Cimitsdgeos, if I add mousearea on top of the textarea it gets events09:56
Cimiwell, still trying09:57
Cimilet's see09:57
=== vrruiz_ is now known as rvr
Cimimhr3, ok got it10:04
Cimihow to fix, dunno yet10:04
Cimitsdgeos, textArea has a flickable10:05
tsdgeosit's the flickable war!10:05
Cimitsdgeos, inside the flickable there's a textedit10:05
Cimitsdgeos, inside this mousearea10:06
tsdgeosCimi: try disable the outer flickable10:06
tsdgeosor something10:07
tsdgeoswe've had that before10:07
tsdgeoslook for some todo or fixme in other preview stuff10:07
tsdgeosthere's comments about it10:07
Cimitsdgeos, ok10:12
Cimitsdgeos, kinda works10:12
Cimimhr3, found reason10:12
mhr3Cimi, yey!10:12
Cimimhr3, SDK bug10:12
mhr3xnox, awful bug in dbus' upstart script - it writes the dbus-address into $HOME, and if there's no space on the home partition it makes the boot fail10:26
xnoxmhr3: good point. imho i never wanted it to write anything into $HOME, yet somebody insisted on that, whilst we were debugging environment issues.10:34
xnoxmhr3: i can upload to drop that.10:34
xnoxor well at least not fail.10:34
Cimimhr3, fixed https://launchpad.net/~ci-train-ppa-service/+archive/landing-009/10:35
seb128xnox, mhr3: wasn't that for adb shell to parse or something? the write shouldn't be an issue, not handling it failing is the bug10:35
mhr3i do not know what was the reasoning, but it can basically brick your phone, so needs to be fixed10:37
=== MacSlow is now known as MacSlow|lunch
mhr3think full home partition should be something QA should be looking into testing10:38
mhr3davmor2, ^?10:38
xnoxmhr3: i'm not sure that even with gnome2 desktop or unity (any) i could login with a full home partition.10:39
mhr3xnox, well but at least you don't need to be doing emergency calls on gnome2 desktop10:40
Cimiseb128, we really need a way to detect if there is active connection on the phone10:42
xnoxmhr3: very very true!!10:42
seb128Cimi, wasn't thostr's team working on a connectivity api for that?10:42
Cimiseb128, on my nexus, I get wifi signal connected but is a lie10:42
CimiI have no idea10:42
Cimiseb128, also, unity8 dash without connectivity is a laugh10:43
davmor2mhr3: hahahahahahaha yeah I'm gonna brick my only phone for fun ;)  This is not something on our schedule but I'm assuming this is something that would have to be run manually if it bricks the phone as there is no physically way to retrieve it from the datacenter  but it's not something we are ever going to run daily10:43
Cimiseb128, we need at least to show something and tell you're disconnected, that's why all is blank10:43
Cimiseb128, pinging you because I know you care about those issues :)10:43
davmor2Cimi: known issue routing is screwed, disconnect and reconnect10:44
mhr3davmor2, well, it's not real brick, you can still connect to the phone, it should be just checking that it actually starts up10:44
Cimidednick, this would be nice https://code.launchpad.net/~nick-dedekind/ubuntu-settings-components/access-point-init/+merge/21291310:44
mhr3davmor2, people will be escalating this10:44
Cimiseb128, you know what happened to this branch https://code.launchpad.net/~nick-dedekind/ubuntu-settings-components/access-point-init/+merge/21291310:45
Cimiapproved since ages10:45
Ciminot getting jenkins10:45
seb128no, maybe ubuntu-settings-component is not set up for ci10:45
Cimiseb128, so I merge manually?10:45
seb128something to ask the #ubuntu-ci-eng channel or maybe fginther10:45
seb128no10:45
seb128we should ask CI to enable it10:46
dednickseb128: hm. it was. but doesnt seem to be anymore10:46
dednickI'll chase it up10:46
davmor2mhr3: what people?  Or are you asking if we'll be escalating it?10:46
seb128dednick, Cimi: in fact jenkins ran?10:46
seb128the first comment10:46
seb128dednick, Cimi: there is not automerging anymore, things need to go through CI train with a lander10:46
Cimiseb128, I know nothing about this ci train10:47
dednickseb128: it ran ages ago, but the job doesnt seem to exist anymore10:47
Cimiseb128, where can I read about it?10:47
seb128Cimi, no idea, I don't think it's well documented10:47
seb128but that's how all our landing are happening for some months10:47
CimiI know10:48
Cimibut always had a big question mark :)10:48
seb128Cimi, https://docs.google.com/a/canonical.com/spreadsheet/ccc?key=0Au6idq7TkpUUdC05a2ZQSmgwU2NFYnJQOE9qMDRYa3c&usp=drive_web#gid=110:48
seb128that lists Saviq as the ubuntu-settings-components owner/lander10:48
xnoxmhr3: davmor2: well for this particular issue, one doesn't need to do anything drastic -> e.g. add /etc/init/foo.conf job that does chmod -w =)))10:48
mhr3xnox, davmor2, yea i don't think it's hard to test, but definitely something that should be tested regularly10:50
Cimiseb128, so what is ci train:?10:50
Cimiand why10:51
dednickCimi: i think the "train" is a metaphorical one :)10:51
Cimiat first seems not efficient10:51
seb128Cimi, it's the workflow we use for landings10:52
Cimiseb128, what was wrong with the automatic merge by jenkins?10:52
dednickseb128: do we need to tick something somewhere to mark MPs to land?10:52
xnoxCimi: it's like auto-landing, without the "auto" =)10:52
dednickseb128: "we" as in the landing king (Saviq in this case)10:53
davmor2mhr3: it won't be run regularly unless it can be automated.  We only have so many hours in a day.  xnox making home -w isn't the same as having it mostly or completely full so might not give the results you expect10:55
seb128Cimi, try asking asac about the why10:56
seb128Cimi, basically to make sure things are tested on the image before being merged10:57
mhr3davmor2, everything can be automated :)10:57
Cimiseb128, but jenkins was doing this10:58
Cimiseb128, as well as the reviewer10:58
Cimiseb128, so when you were approving things, they were tested10:58
seb128Cimi, well, you are months late and I'm the wrong person to ask anyway10:58
CimiI have been doing this for years10:58
seb128Cimi, well, the new workflow gives you a ppa to test10:58
seb128so you don't have to do manual builds10:59
Cimiso I can stop testing, the landing king will do this for me?10:59
seb128and you can easily install e.g on your phone10:59
seb128no10:59
seb128the opposite10:59
seb128you better make sure you test10:59
seb128the lander just line up merges and get you a ppa10:59
seb128that you can use to confirm things that are about to land are good10:59
Cimiseb128, but then it happens you approve, like this dednick branch, and sits for more than a month doing anything11:00
seb128Cimi, right, the owner of the component is supposed to watch things approved and organize regular landings11:01
seb128it's like before you could have pending reviews not getting reviewed as well11:01
seb128well, talk to Saviq, I'm sure he can organize a landing for you11:01
Cimiseb128, but I don't need one, I tested already :)11:02
CimiI just want this merged11:02
seb128well, a landing is what makes the change go to Ubuntu and merged back to trunk11:02
seb128right11:02
dednickSaviq: ^^ !! :) https://code.launchpad.net/~nick-dedekind/ubuntu-settings-components/access-point-init/+merge/21291311:02
seb128then ask Saviq of a landing11:02
Cimiseb128, we should be able to skip those "landings", they seem inefficient to me11:03
Cimithey are good for few cases, not for others11:03
Cimiimagine I do one line modification to a debian/control file, changing a version number11:04
Cimido I really need a landing for that?11:04
Cimior for adding a #FIXME comment11:04
seb128Cimi, that has been discussed for weeks since the CI train was added11:04
seb128I'm not interested to spend my day discussing that again11:04
Cimiseb128, so how to we skip them?11:04
seb128especially that I'm only an user of that system11:04
seb128you don't11:05
Cimiah cool, brilliant idea11:05
seb128talk to asac if you are unhappy11:05
CimiI will! :)11:05
seb128cool11:05
seb128on that note, lunch time here11:05
seb128bbl11:05
xnoxCimi: core-devs can still dput things into the archive. That's what i do, on a quiet weekend and watch results on ci.ubuntu.cm11:13
Cimixnox, spend your weekend in a swimming pool instead, tomorrow will be sunny here :)11:14
xnoxCimi: oh really?! i will indeed. speaking of which my gym is trying to extort 500 again for me to renew.11:15
* xnox misses the sun11:15
mhr3tsdgeos, QT_QPA_PLATFORM doesn't matter for QCoreApplication, right?11:35
tsdgeosmhr3: no11:35
mhr3tsdgeos, no, it doesn't?11:36
mhr3or "no, it does"? :)11:36
tsdgeosmhr3: correct11:36
tsdgeosno, it does not11:36
mhr3lol11:36
=== alan_g is now known as alan_g|lunch
=== _salem is now known as salem_
Saviqdednick, right away12:22
Saviqdednick, care to review https://code.launchpad.net/~daker/ubuntu-settings-components/fix.slider/+merge/199356 ?12:23
Saviqdednick, we could land together12:23
dednickSaviq: sure12:25
Saviqdidrocks, greyback is on it for unity-mir12:26
=== jhodapp|afk is now known as jhodapp
dednickSaviq: hm. why no jenkins for that branch?12:30
dednickSaviq: doesn't merge cleanly anymore12:31
Saviqdednick, ok, please comment on it12:34
=== MacSlow|lunch is now known as MacSlow
Saviqtsdgeos, mhr3, on centered LazyImage, weird stuff happened when image was smaller than displayed IIRC12:46
Saviqor maybe it was about aspect ratio...12:46
Saviqdednick, kicked ci for it, since Adnane updated it already12:50
Saviqdednick, but also kicked the wrong CI for it first, hence the CI12:50
dednickSaviq: ok. ta.12:51
didrocksSaviq: great!12:51
CimiSaviq, issue with the TextArea was indeed a bug with the SDK that is fixed by silo00912:55
SaviqCimi, oh, I knew about that silo... didn't know it had text area changes :/12:55
CimiSaviq, mainly due to Flickable inside the TextArea fighting12:55
CimiSaviq, I did not too... I told zsombi there was a bug in the flickable and he said he is aware and there is a fix there :)12:56
CimiSaviq, dednick on https://code.launchpad.net/~daker/ubuntu-settings-components/fix.slider/+merge/19935612:57
Cimiwe usually have not shortened versions12:57
Cimilike minIcon12:57
Cimiinstead minimumIcon or so12:57
Cimiat least ion the sdk12:57
=== pete-woods is now known as pete-woods-lunch
SaviqCimi, and why are you writing this here instead of as a comment for the MP, if that's something you'd like fixed? ;)12:58
CimiSaviq, because I am a chatty guy :D12:58
CimiI will12:58
dednickCimi: it's not related to the MP12:58
SaviqCimi, GET TO WORK :P12:58
Cimidednick, I know12:58
dednickCimi: so raise a bug12:58
Cimidednick, but I noticed now12:59
Cimihere we go https://bugs.launchpad.net/ubuntu-settings-components/+bug/131538013:01
ubot5Ubuntu bug 1315380 in Ubuntu Settings Components "Do not use shortened names for properties" [Low,Triaged]13:01
* Cimi -> lunch13:01
=== tedg` is now known as tedg
mhr3dednick, did you write the run_tests macro that was in unity8?13:16
mhr3cmake macro that is13:16
dednickmhr3: nope13:16
dednickmzanetti: ^ ?13:16
mhr3dednick, still, you're good with cmake... how do i make that thing not run tests in parallel13:17
mhr3?13:17
dednickmhr3: eh? i'm shit with cmake... i didn't think tests were run in parallel13:18
mhr3dednick, neither did i until today13:19
dednickmhr3: uh, i see that you can use RUN_SERIAL for a cmake test.13:21
dednickmhr3: but it's just a custom target, so maybe not13:22
mhr3hm, but clearly something changed in U, i can't get the tests to actually run in parallel on T13:23
mhr3ah.. there we go13:23
mhr3/usr/bin/ctest --force-new-ctest-process -j813:23
dednickmhr3: oohh. i thought you were talking about the qml test macros13:25
mhr3yea... no13:25
dednickmhr3: well i think you can use the RUN_SERIAL property for where run_test uses add_test in that case13:27
dednickadd_test(NAME ${_test} COMMAND ${testCommand} RUN_SERIAL)13:27
mhr3nope, doesn't work there13:28
dednicker. no. sorry, set_tests_properties13:29
mhr3yea, did that on first try, didn't work13:30
mhr3apparently you need to do (.. PROPERTIES RUN_SERIAL TRUE)13:30
dednick set_tests_properties(${_test} PROPERTIES ENVIRONMENT "LC_ALL=C" RUN_SERIAL TRUE)13:30
dednickmhr3: no work?13:30
mhr3yea, that does13:31
mhr3i was missing the TRUE13:31
dednickright.. good stuff... i'm hungry13:31
Saviqdednick, CI +1 on the branch, so when you're back please have a look and let's land the two13:34
dednicknot gone yet :)13:40
dednickSaviq: done and approved.13:44
Saviqdednick, thought "I'm hungry" suggested you'll be gone for lunch ;)13:44
Saviqdednick, landing, then13:44
* mhr3 bets dednick has crisps on his table13:44
dednickpreparing myself for feasting13:44
dednicki just had a quick random meat stick from fridge. not quite sure waht is was....13:45
Saviq...13:46
MacSlowdednick, I hope you tossed in the frypan first :)13:46
dednicktasted good. er. no13:46
* dednick is away for some food now13:46
tsdgeosSaviq: so what do we do with paulliu1's branch that centers images again? approve and fix it when something break + test?14:01
tsdgeosbecause if we don't really remember what went wrong...14:01
Saviqtsdgeos, well, I do remember what went wrong14:01
tsdgeosyes14:01
tsdgeosbut not in which case14:01
tsdgeosdoesn't mean his code is going to have the same problem14:02
tsdgeosand if we don't know the case, why reject?14:02
Saviqtsdgeos, should be easy to reproduce still14:02
tsdgeosi gave it a try, failed14:02
Saviqtsdgeos, maybe he fixed it then14:02
* Saviq looks for the commit14:02
tsdgeosthat's what i'm saying14:02
tsdgeoshis code is a complete different beast14:02
tsdgeosthat also centers it14:02
tsdgeosbut has more stuff14:03
=== dandrader is now known as dandrader|afk
=== pete-woods-lunch is now known as pete-woods
paulliu1tsdgeos: I remember the centering stuff. Actually it is just a bug I've done in the code. So I fix the test cases to do the zoom-in/out twice to test that.14:17
tsdgeospaulliu1: no sure i understand what you mean14:18
=== paulliu1 is now known as paulliu
paulliutsdgeos: sorry, which branch are you actually talking about now?14:19
tsdgeospaulliu: none14:19
tsdgeospaulliu: i am saying that months ago, when we made the images center like you have done in lp:~paulliu/unity8/zoomImage  we found a problem14:20
tsdgeosbut noone can't exactly remember when the problem happened14:20
tsdgeosi was asking if people remembered so i could test it against your branch and see if it also happened or not14:20
tsdgeosbut i can't14:20
=== alan_g is now known as alan_g|tea
=== dandrader|afk is now known as dandrader
=== alan_g|tea is now known as alan_g
tsdgeosSaviq: about tests for this dynamic card stuff branch14:39
tsdgeosi'm unusure what to do honestly14:39
tsdgeosi want to still have tryCard14:40
tsdgeosso you can write your own stuff and whatnot14:40
tsdgeosbut testCard doesn't make much sense14:40
Saviqtsdgeos, doesn't it?14:40
tsdgeosand a testCardCreator would be basically "check that the string you return is the string we expect you to return", which is a bit lame14:40
Saviqtsdgeos, I think we should keep testCard14:40
Saviqtsdgeos, one that's using the card creator14:41
tsdgeosSaviq: what would testCard do?14:41
Saviqtsdgeos, verify that in a given template/component configuration stuff is as expected14:41
tsdgeoshmmmm, ok14:41
tsdgeoscan do i guess14:42
Saviqtsdgeos, instead of checking for whether stuff is visible14:42
Saviqtsdgeos, you'd check that you can't find it maybe14:42
Saviq*not visible14:42
Saviqbut for visible things, I think the tests shouldn't even change that much14:42
Saviqwell, they probably will since you got rid of CardHeader14:42
tsdgeosyep14:43
tsdgeosanother thing14:43
tsdgeoswe use the CardHeader in the preview stuff14:43
tsdgeosso rename it and use it in PreviewHeader ?14:43
=== salem_ is now known as _salem
* greyback eow16:04
greybacktalk Tue!16:04
=== alan_g is now known as alan_g|EOD
=== dandrader is now known as dandrader|lunch
=== zequence_ is now known as zequence
=== dandrader|lunch is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== jhodapp is now known as jhodapp|afk

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