/srv/irclogs.ubuntu.com/2013/05/16/#ubuntu-unity.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
=== zoktar_ is now known as zoktar
=== jussi01 is now known as jussi
nic-doffaySaviq, sorted with the tests now cheers. Getting one concerning debug message upon running qmlscene though: file:///usr/lib/i386-linux-gnu/qt5/qml/QtTest/TestCase.qml:69: ReferenceError: qtest is not defined08:45
nic-doffayAny ideas?08:45
Saviqnic-doffay, that usually happens when you're not running under qmltestrunner08:45
Saviqnic-doffay, if it happens when you are, that's certainly weird08:45
nic-doffaySaviq, I'm trying to run just the infographics test qmltestrunner from the root with no luck.08:48
nic-doffayThe import is working though.08:48
Saviqnic-doffay, is it in a branch somewhere?08:48
nic-doffayNm sorted.08:48
nic-doffayCommand line didn't pick up a mistake.08:49
Saviqk08:49
nic-doffaySaviq, should I first ensure that the Infographics test shows correctly with qmlscene before writing the tests?08:50
Saviqnic-doffay, if you look at some of the other tests (like tst_Stage.qml for example)08:50
Saviqnic-doffay, it's nice to have a way to run and control it with qmlscene08:50
Saviqnic-doffay, so that you can see what's happening08:50
nic-doffaySaviq, ok great.08:51
Saviqnic-doffay, you can run tst_Stage.qml both under qmlscene (and control manually) and qmltestrunner (and run the actual tests)08:51
Saviqnic-doffay, would be great to do the same for Infographics08:51
nic-doffaySaviq, that shouldn't be a problem.08:52
=== pete-woods1 is now known as pete-woods
=== ubot5` is now known as ubot5
MacSlowSaviq, did you have a moment to look at https://code.launchpad.net/~macslow/unity/phablet-notification-renderer/+merge/155512 again... just waiting for the last "approved" to mark it ready for merging10:42
SaviqMacSlow, yeah, just about to get to it10:42
MacSlowok10:42
dednickmzanetti_: ping10:48
mzanetti_dednick: hey10:49
SaviqMacSlow, approved!10:52
SaviqMacSlow, you might want to have a look at https://code.launchpad.net/~saviq/unity-api/add-shell-notifications-api/+merge/16355710:52
SaviqMacSlow, which is https://code.launchpad.net/~saviq/unity/phablet.notification-interface-tests/+merge/155914 "converted" to lp:unity-api - the separate project10:53
SaviqMacSlow, and actually made pass10:53
MacSlowSaviq, thanks... looking10:53
MacSlowSaviq, btw... working on making changes to a notification actually get through to the QML-side (backend-frontend merge work)10:55
MacSlowSaviq, that'll make two more regression test pass (append- and update-notification examples)10:56
SaviqMacSlow, cool10:56
MacSlowSaviq, confirmation notifications will "benefit" from this too of course10:56
tsdgeosSaviq: greyback: http://paste.kde.org/~tsdgeos/744926/ i think i found a sane enough test that shows how contentY is broken with lists with sections11:02
greybacktsdgeos: could you not use the flick() method of the ListView?11:04
tsdgeosflick sucks11:04
tsdgeosfor some reason doesn't set moving to true11:04
tsdgeoswhich makes the "tryCompare(listView, "moving", false);"11:05
tsdgeossucced too early11:05
greybackI never quite understood moving vs flicking. I suspect moving only due to user interaction11:05
tsdgeosnot according to docu11:05
greybackyeah, I know11:05
Saviqgreyback, flicking is when you release your finger11:06
Saviqgreyback, moving is ~ dragging11:06
tsdgeosSaviq: according to docu moving = dragging || flicking11:06
Saviqwell, both are moving11:06
Saviqyeah11:06
Saviqthat11:06
tsdgeosbut then the flick() function doesn't set any11:06
tsdgeosanyway that's not what you should be looking at in the test :D11:06
greybackSaviq: yep, that's what I meant by "user interaction"11:06
tsdgeosit's the fact that listView.contentY = 0;11:07
tsdgeos    // Make sure the list is on top11:07
tsdgeostryCompare(listView, "contentY", 0);11:07
tsdgeosfails11:07
greybacktsdgeos: yeah, I know, but lots of mouseMoves doesn't always happen reliably. But for the point of your test, it will do11:07
tsdgeoswhich is imho totally braindead11:07
greybackWhy do I suspect you'll be pointed to the docs: "It is not recommended to use contentX or contentY to position the view at a particular index. This is unreliable since removing items from the start of the list does not cause all other items to be repositioned, and because the actual start of the view can vary based on the size of the delegates."11:08
=== MacSlow is now known as MacSlow|lunch
greybackeven though yeah, that's not the point11:08
Saviqgreyback, but we don't want to position at a particular index, do we?11:09
Saviqgreyback, at least that's not the inherent issue?11:09
greybackSaviq: sure it isn't, but it implies they don't want you settings contentY at all. In that example they'd recommend positionViewAtBeginning()11:10
Saviqgreyback, I didn't yet look at the example, but having a scrollbar on a listview must be somewhat supported...11:10
greybackSaviq: agreed11:10
greybackI wonder how it's done with the TableView QtQuickControl that was proposed...11:11
tsdgeosgreyback: positionViewAtBeginning doesn't pass wither11:12
greybacktsdgeos: interesting11:12
tsdgeosyou can try11:12
greyback(grrr, just switched to zsh. I've entered the qt5 repo, and it's scanning the whole thing just to show me a nice prompt)11:13
tsdgeos:D11:13
greybacknice idea, but think I'll disable that11:13
Saviqtsdgeos, hmm, listView.contentY = 0 won't always put the list at the top11:16
Saviqtsdgeos, that's what originY is supposed to compensate for, no?11:16
Saviqtsdgeos, but even so, setting it to 0 should get you to 011:17
tsdgeosSaviq: well, the fact is that it does put the list at the top11:17
Saviqtsdgeos, yeah I can see11:17
tsdgeosjust that originY is 24 and contentY is 2411:18
greybacktsdgeos: would originY = section header height?11:18
tsdgeosbut that makes no sense11:18
tsdgeossince it is exactly in the same situation thatn at the beginning11:18
tsdgeosso i'd expect the values to be the same11:18
tsdgeosgreyback: sure, but that's a bug imo11:19
Saviqtsdgeos, do you also sometimes get 80, sometimes 24 as the contentY value?11:19
tsdgeosmostly 2411:19
Saviqtsdgeos, btw, originY always == contentY at the end of the test for me11:19
tsdgeosyes11:20
Saviqtsdgeos, so if you ask me11:20
Saviqtsdgeos, that's per design11:20
Saviqtsdgeos, in that contentY _can't_ get lower than originY11:20
tsdgeossure11:20
tsdgeosbut why is originY 24 ?11:20
tsdgeosbecause everythign is at the top11:20
Saviqbecause the creation / destruction of section headers made it so11:21
Saviqwhen one of the section headers was destroyed11:21
tsdgeoswhat's even funnier is this11:21
tsdgeoshttp://paste.kde.org/~tsdgeos/744938/11:21
tsdgeossee what happens if you set contentY to 011:21
tsdgeoswait a bit11:22
tsdgeosand set it to 0 again11:22
tsdgeosjump!11:22
tsdgeosSaviq: you are saying you think it's ok the exact situation to be represented by two different values of originY?11:23
Saviqtsdgeos, yes11:23
Saviqtsdgeos, that's why there's both contentY and originY11:23
tsdgeosok, explain the jump then :D11:23
Saviqtsdgeos, thing is with a ListView you should never ignore originY11:24
tsdgeosi'm not ignoring it11:25
Saviqtsdgeos, you shouldn't be setting contentY without taking originY into account11:25
Saviqtsdgeos, if you assumed that "0" is at originY11:25
Saviqwhich it is supposed to be11:25
Saviqthe test would pass11:25
tsdgeosSaviq: what about the jump then?11:25
=== mmrazik is now known as mmrazik|afk
Saviqtsdgeos, let me check something11:26
tsdgeosi mean, i can buy your argument that contentY will never be smaller than originY thus contentY==originY means at beginning even if they both are 123, but the example with the jump gets me a contentY of 0 and originY of 2411:28
tsdgeoswhich makes no sense to me ether11:29
tsdgeos+i11:29
Saviqtsdgeos, so this works http://pastebin.ubuntu.com/5670470/11:29
Saviqtsdgeos, and this works every other time http://pastebin.ubuntu.com/5670475/11:32
Saviqtsdgeos, ok so... I take it back that contentY can't be lower than originY11:33
Saviqafter all you can scroll it to negative values11:33
Saviqtsdgeos, so you should always be able to set it to 0 (and it should _get_ set to 0, even if that means scrolling beyond the beginning)11:34
tsdgeosagreed11:35
Saviqtsdgeos, the jump I'd explain with the fact that originY gets recalculated during the wait(1000)11:35
tsdgeosnah, originY sttays at 2411:35
tsdgeosand yes, one of the qml guy is arguiing "you should never use contentY"11:35
tsdgeoswell, make it readonly if so11:35
Saviqexactly11:35
Saviqand does that mean that scrollbars should stick to items? that's bollocks11:36
Saviqthat's what happens in Friends now - and I hate it...11:36
tsdgeosscrollbyitem is retarded imho11:36
Saviqtsdgeos, so to my understanding http://pastebin.ubuntu.com/5670475/ should work11:37
Saviqtsdgeos, contentY == originY should mean that you're at the beginning11:38
Saviqand that's exactly what happens when you use ListView:;positionAtBeginning()11:38
tsdgeos¡but it doesn't11:38
Saviqyup11:39
tsdgeossee how the first time you get only half of the crap11:39
Saviqyup11:39
tsdgeosand tbh i think that if we fix that11:39
tsdgeosmy contentY will be fixed too11:39
Saviqand you should be able to set contentY to 0 when originY != 0, just as you can set it to negative11:39
tsdgeosit's just the same thing but looking at it from the other side11:39
Saviqtsdgeos, and I agree, too, that if contentY is never supposed to be used, then it should be readonly, but then there should at least be a scrollBy(real)11:40
tsdgeosso i'll try to get this fixed and then convince someone in Qt11:41
tsdgeos:D11:41
Saviqtsdgeos, cheers11:42
greybackyep, qtquickcontrols are setting the contentX/Y directly, nothing fancy.11:44
tsdgeosyep11:47
tsdgeosflickableItem.contentY = value11:47
tsdgeosthing is11:47
tsdgeosif you set the contentY "slowly"11:48
tsdgeosit'll work11:48
tsdgeosand you'll be able to reach 011:48
tsdgeoswith everything being fine11:48
tsdgeosthis is confusing11:49
=== _salem is now known as salem_
tsdgeosanyway, fooooood11:54
=== MacSlow|lunch is now known as MacSlow
=== mzanetti_ is now known as mzanetti
=== salem_ is now known as _salem
=== greyback is now known as greyback|lunch
=== mmrazik|afk is now known as mmrazik
nic-doffaySaviq, what do I need to do to include LightDM in my qmlscene on command line?12:22
Saviqnic-doffay, -import builddir/plugins should do12:22
Saviqnic-doffay, actually12:22
Saviq-I builddir/plugins12:22
Saviq-import is for qmltestrunner12:22
nic-doffaySaviq, cheers!12:23
=== mzanetti is now known as mzanetti|lunch
paulliutsdgeos: when I do make testLensView, I got LensView.qml:42:21: TyoeError: Result of expression is not an object.12:27
paulliutsdgeos: Is that normal?12:27
paulliutsdgeos: I think it works before. But now I got empty categories from the fake Lens.12:28
=== dednick is now known as dednick|lunch
nic-doffaySaviq, qmlscene -I builddir/tests/utils/modules -I builddir/plugins/12:41
nic-doffayNot finding either Test or LightDM module.12:41
Saviqnic-doffay, they're both there, did you build recently?12:42
Saviqnic-doffay, and really, just add your test to tests/qmltests/CMakeLists.txt12:42
nic-doffaySaviq, I have already.12:43
nic-doffayA window isn't popping up though when I make it.12:43
tsdgeospaulliu: not sure what may have changed, can you try going back in teh history to see wehn that happened?12:43
Saviqnic-doffay, did you add it to the first list or to the second one?12:43
Saviqnic-doffay, you need to add them to the second list, the "qmlunittests" one is for non-graphical tests12:43
Saviqnic-doffay, drop it under "add_qml_test(Greeter Greeter ..."12:44
nic-doffaySaviq, second list.12:44
Saviqnic-doffay, branch?12:44
nic-doffaySaviq, lp:~unity-team/unity/infographics-with-lightdm12:46
paulliutsdgeos: ok, let me check.12:46
Saviqpete-woods, btw, "infographicmodel.cpp:0: Note: No relevant classes found. No output generated."12:47
Saviqpete-woods, you don't need the explicit #include for moc with CMAKE_AUTOMOC enabled, too12:47
Saviqnic-doffay, « qmlscene -I builddir/plugins/ -I builddir/tests/utils/modules/ tests/qmltests/Greeter/tst_Infographics.qml » works fine here12:49
Saviqnic-doffay, well, it runs, but http://pastebin.ubuntu.com/5670658/12:49
nic-doffayOk Saviq when I make the test should a scene be run too?12:50
=== mzanetti|lunch is now known as mzanetti
Saviqnic-doffay, not getting your question?12:50
Saviqnic-doffay, ah when "make test..."?12:51
nic-doffaySaviq, yeah12:51
Saviqnic-doffay, yes, a window should be there12:51
Saviqnic-doffay, but it will close as soon as the test is done12:51
nic-doffaySaviq, ah I see.12:51
Saviqnic-doffay, so because it fails, it closes the window straight away, too12:51
Saviq<Saviq> pete-woods1, btw, "infographicmodel.cpp:0: Note: No relevant classes found. No output generated."12:55
Saviq<Saviq> pete-woods1, you don't need the explicit #include for moc with CMAKE_AUTOMOC enabled, too12:55
* pete-woods1 pete-woods12:55
=== Thijser is now known as thijser
=== pete-woods1 is now known as pete-woods
pete-woodswhoops12:56
pete-woodsSaviq: thanks12:56
davidcalledidrocks, ping12:56
didrocksdavidcalle: pong12:57
davidcalledidrocks, ça va? :)12:57
didrocksça va, pingomachine, mais ça va :)12:58
didrockset toi?12:58
davidcalledidrocks, bien :)12:58
davidcalledidrocks, do you know the archive inclusion status of 100scopes?12:58
=== _salem is now known as salem_
didrocksdavidcalle: what I told yesterday in the hangout, this is depending on everything to be in due to the autopilot change13:00
didrocksdavidcalle: so 1-2 weeks13:00
davidcalledidrocks, I'm asking more specifically about the Universe inclusion and MIR for scopes themselves :)13:01
didrocksdavidcalle: it's the same timeline, it's linked to it :)13:02
dandraderSaviq, about running the DirectionalDragArea example on the device: do you get the behavior I described. It's odd. I installed an event filter on the QCoreApplication instance and no input events come by at all if drags come from beyond left, right and top edges13:03
dandraderbut they do work fine from the bottom border13:03
Saviqdandrader, if the shell is running behind it, yes13:04
Saviqdandrader, because the shell installs input filters13:04
dandraderSaviq, qml-phone-shell wasn't running13:04
davidcalledidrocks, ok. Anything special you need from me for that? Like a maintenance promise signed with my blood or something? :P13:04
Saviqdandrader, in that case you should get all the events from all edges13:04
dandraderSaviq, it's odd because that wasn't happening back in Oakland13:04
dandraderso I guess something changed in the meantime13:04
dandraderSaviq, do you also get this behavior?13:05
Saviqdandrader, checking13:06
Saviqdandrader, nope, qmlscene --fullscreen -I builddir/plugins/ tests/plugins/Ubuntu/Gestures/edgeDragExample.qml13:07
=== greyback|lunch is now known as greyback
Saviqdandrader, and all the edges work fine13:07
didrocksdandrader: ahah, nothing yet, we will go to the MIR starting next week I guess :)13:08
didrocksdavidcalle: ^13:08
didrockssorry dandrader ;)13:08
davidcalledidrocks, ok!13:08
Saviqdidrocks, you need to fix your tab-completer ;)13:08
didrocksSaviq: you meant, my brain? :p13:08
dandraderSaviq, well, that's some good news. I will flash my phone with the latest-and-greatest13:09
didrocksI typed 2 characters!13:09
didrocksit wasn't enough :p13:09
Saviqdidrocks, yeah, but that shouldn't have completed if ambiguous13:09
dandraderSaviq, it does if you use xchat for instance13:09
dandrader(my case)13:09
Saviqdidrocks, dandrader xchat-gnome here13:09
Saviqda >> nothing13:09
Saviqwell, a list of da*13:09
Saviqonly dan >> / dav >> completes13:10
dandraderI'm old-school plain xchat13:10
Saviqdandrader, seems the false-negatives on a Nexus 10 have gone away, too13:11
dandraderSaviq, great.13:12
Saviqdandrader, and the "red stuck", too13:12
didrocksSaviq: yeah, here, it tries to be too smart :p13:14
didrocksSaviq: taking the latest/closest to the conversation on that chan13:15
Saviqdidrocks, ah, nasty ;d13:15
=== olli_ is now known as olli
mzanettiSaviq: so, who prepares the release now? should i?13:51
Saviqmzanetti, /me13:51
mzanettiok13:51
Saviq/we should really release more often13:52
Saviqwill try and release daily13:52
sil2100pstolowski: ping13:53
pstolowskisil2100: pong13:53
mzanettiWellark: hey ho13:55
Wellarkmzanetti: ho, hey13:57
=== timchen1` is now known as timchen119
Wellark:)13:59
SaviqCimi, should bottom swipe work now for revealing the Dash bar?14:01
Cimino14:01
CimiSaviq, there's a bug in the panel14:01
sil2100tedg: ping14:01
SaviqCimi, k14:01
CimiSaviq, functionality currently disabled, if you removed the "locked: true" in DashBar.qml works14:01
tedgsil2100, Howdy14:02
Cimi(with a minor bug, on the SDK side)14:02
nic-doffaySaviq, any idea about this? https://pastebin.canonical.com/91097/14:02
sil2100tedg: hello! While browsing the autopilot test results for unity nux using the new hud, I noticed a small strange 'regression'14:03
sil2100tedg: that sometimes when you type in a command, it appears in the results, you press enter and there is like an 0.5-1.0 second lag until the command gets actually executed14:03
sil2100tedg: might happen only when the results are still updated14:04
sil2100tedg: I don't remember that in the past - is that normal? Or should the action be instantenous?14:04
tedgsil2100, It should be "instant" but right now the Unity 7 compat layer isn't very ideal.  We were actually just talking about that.14:05
tedgsil2100, The issue is that it's building a query each time, and thus init'ing the voice engine.14:05
Saviqmzanetti, https://code.launchpad.net/~saviq/unity/phablet.release-176/+merge/16419214:08
mzanettiSaviq: on it14:08
sil2100Oh14:08
Saviqnic-doffay, what about it?14:09
sil2100tedg: is there even support for voice input in the unity nux compatibility layer?14:09
nic-doffaySaviq, apparently pete-woods sorted a fix out...14:09
tedgsil2100, There's no way to activate it, but if you sent a DBus command it would work.14:10
dandraderSaviq, about using enum classes. How do you envision the API on the QML side? Currently it's like "direction: DirectionalDragArea.Rightwards". You would prefer "direction: DirectionalDragArea.Direction.Rightwards"?14:11
Saviqdandrader, generally yeah, I prefer enums wrapped to avoid conflicts and misunderstanding14:12
Saviqdandrader, but it would really be "Direction.Rightwards"14:12
Saviqdandrader, or "WhateverNameYouImportedAs.Direction.Rightwards"14:12
GuidoPallemansI have a design Idea for unity-next/8, would this be the correct place to show it?14:13
=== pete-woods is now known as pete-woods|food
sil2100tedg: is there a way to get this 'lag' fixed here, or it's not worth it? Since I can modify the tests to not fail because of that14:14
sil2100But this would mean we're ready to accept this problem14:14
tedgsil2100, I think that, for today, we should modify the test.  But, we should look into ways to make HUD faster on Unity7.14:15
tedgsil2100, I'm not quite sure what the answer is going to be there, but it shouldn't block landing stuff.14:15
dandraderSaviq, I think the best way to avoid conflicts and misunderstanding  is having it this way "direction: DirectionalDragArea.Rightwards"14:16
sil2100tedg: ok, I'll maybe fill in a quick bug about it, fix the tests but maybe attach the bug number to the workarounds I made14:17
dandraderSaviq,  so you known that value belongs to DirectionalDragArea context14:17
sil2100So that we won't loose scope of this one14:17
sil2100tedg: thanks!14:17
kgunnGuidoPallemans: show away14:17
Saviqdandrader, only problem is when you grow a bunch of enums on DirectionalDragArea (sure, maybe not a problem here)14:17
Saviqdandrader, you start mixing them up14:18
Saviqdandrader, not only because I'm used to adding "Invalid" as the first enum14:18
dandraderSaviq, just "Direction.Rightwards" you don't know where that Direction comes from unless you import it with with a prefix, in which case you end up with long names14:18
GuidoPallemansIdea: http://paste.ubuntu.com/5670932/plain/14:18
Saviqdandrader, but also, because named imports are recommended14:18
Saviqdandrader, it should always be "DDA.Direction.Rightwards"14:19
dandraderargh14:19
dandraderIMHO named imports are a last resort of avoiding naming clashes14:19
dandraderthey just unnecessarily bloat names14:20
dandraderreducing readability14:20
Saviqdandrader, DirectionalDragArea.Rightwards is not long? ;)14:20
kgunnGuidoPallemans: will pass on to design folks14:20
GuidoPallemansthanks!14:21
dandraderSaviq, well, that's the name of the class14:21
Saviqdandrader, but really the most important thing is enum clashes within the same class14:21
Saviqdandrader, we'd need to prefix them to be "DirectionRightwards" etc. to prevent clashes14:21
Saviqso the net result would be DirectionalDragArea.DirectionRightwards14:22
dandraderSaviq, the "wards" ending already does the trick14:22
Saviqvs. DDA.Direction.Rightwards14:22
Saviqdandrader, sounds like one more flame war14:22
dandraderSaviq, as with coding style, it's a subjective matter14:23
Saviqdandrader, I lean towards named imports and wrapped enums ;)14:23
kgunnMacSlow: btw, meant to tell you...streaming music app was pretty cool14:23
kgunntoo bad it was created at the expense of riding the motorcycle14:23
MacSlowkgunn, yeah... still raining here14:23
MacSlowkgunn, not very typical for May around here14:24
Saviqdandrader, but I'm not religious, might get converted14:24
dandraderSaviq, you know that named imports are getting in the way when you have to shorten then with cryptic acronyms14:24
dandraderwhose meaning can only be understood by having a look at their definitions14:24
Saviqdandrader, it's just namespaces14:25
Saviqdandrader, and the cryptic acronyms can be made better14:25
nic-doffaymzanetti, any suggestions on what you think should be tested with the infographics?14:26
Saviqdandrader, how would you go about unclashing invalid direction vs. invalid something else in a single class, then?14:26
mzanettinic-doffay: would need to check the code again. give me a minute14:26
dandraderit's a named entity, like variables, methods, classes, etc. The naming concerns apply to it just as well (understandability, concise, etc)14:26
dandraderSaviq, ^14:26
SaviqRightwards, Leftwards, DirectionInvalid?14:27
nic-doffaycheers mzanetti14:27
dandraderSaviq, I would do it like in your example14:28
mzanettinic-doffay: Dot.qml: set different states and check if status eventually goes to Image.Ready when you give a correct state string14:28
mzanettinic-doffay: no Idea how one would test something like Circle.qml... Did you by any chance came across something like testing shaders in your previous job? would be interesting to know if/how that is possible.14:30
nic-doffaymzanetti, this is the first company I've been in that tests at all!14:30
Saviqdandrader, I agree that having to wrap enums in a separate QObject class to expose them like I wanted to is awkward, so here's definitely one argument against14:31
MacSlowkgunn, there are big plans still in the pipe for the DigitallyImported client... but that has to wait for more rainy weekends :)14:31
nic-doffaymzanetti, should I use the onStatusChanged to check for the image?14:31
mzanettinic-doffay: I'd say a tryCompare() would do14:31
nic-doffaymzanetti, I imagine testing shaders you'd just plug in different uniforms.14:32
kgunnMacSlow: :)14:32
nic-doffayNot much else you can do.14:32
Saviqdandrader, care for a flamewar on unityuiteam@lists...? ;)14:32
mzanettinic-doffay: Infographics.qml: set a model and verify some of the dots reflecting data in the model14:32
dandraderSaviq, I have a trump car in my favor: that's how Qt does it :D14:32
kgunnkatie: so for indicator access from "lock screen"/greeter, i noticed you left a note 2 days ago14:32
dandraders/car/card14:33
mzanettinic-doffay: well, just feeding a shader with stuff wouldn't be enough. you need a way to verify if it actually does the expected things14:33
kgunnshould we make it so sliding is the only means of access ?14:33
Saviqdandrader, yeah, and you never know what the freakin' enum is for ;)14:33
kgunndednick|lunch: ^14:33
=== dednick|lunch is now known as dednick
kgunndednick: maybe you guys already spoke (luxury of co-location :)14:34
kgunnkatie: dednick just trying to get to the point of resolution, i keep promising we're going to enable this :)14:36
dednickkgunn: no, we haven't talked about it. havent been into the office.14:36
kgunnkatie: maybe we could enable as dednick's change (w/ single tap)14:36
kgunnand then work on a hint afterwards ?14:37
kgunnthis way we make some progress14:37
katiekgunn, yes I left a comment14:38
dednickkgunn, katie: we have this document for interaction updates. https://docs.google.com/a/canonical.com/document/d/1iXhf9CpfGncAVc8zKDnq7fpFCyLOntefF7LatmBdZsw/edit#heading=h.5xqn14xtq4u214:39
nic-doffaymzanetti, I'm not aware of any shader testing traditions since shaders are usually pretty small.14:39
dednickkatie: can we get validation on the indicator hint tap and amend point 2 of that document.14:40
dednickkgunn: i think it should be ok to merge my branch and once i get to the interaction updates make the required changes.14:41
kgunndednick: cool, help14:41
kgunn's keep my promises :)14:41
katiedednick, sure, let me just talk to Mika about it14:43
dednickkatie: ta14:43
dednicktsdgeos, Saviq: could either of you? https://code.launchpad.net/~nick-dedekind/unity/phablet-greeter-indicators/+merge/15733014:46
Saviqdednick, do what? approve? is it design-approved like this, then?14:47
dednickSaviq: review/approve. The open in greeter is as per design. The tap design will change slightly, but is part of another iteration.14:49
Saviqdednick, ok14:50
dednickSaviq: thanks14:50
kgunntsdgeos: ping14:56
tsdgeoskgunn: hi14:56
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
katiedednick, mika is changing the document now.. does it make sense?15:16
nic-doffaymzanetti, I was attempting to reference an alias which apparently is wrong, however an alias in tst_PageHeader appears to reference an alias in PageHeader. Any ideas?15:16
nic-doffayline 33 in tst_PageHeader.15:16
nic-doffayreferences line 31 in PageHeader...15:17
dednickkatie: yes. thanks15:17
mzanettinic-doffay: can you show me the code that doesn't work?15:18
dednickkatie: although some more detail would help. ie how long we want it to hint for.15:19
nic-doffayhttps://pastebin.canonical.com/91128/ line 12 mzanetti15:19
katiedednick, fair enough! I'll get some more detail in there for ya :)15:19
dednickkatie: thanks :)15:20
mzanettinic-doffay: you can't access internal things15:20
mzanettinic-doffay: only the public properties of Infographics can be referenced directly15:20
mzanettinic-doffay: think of "public:" and "private:" in C++ terms15:20
mzanettinic-doffay: only those properties in the top-level item are public15:21
mzanettinic-doffay: anyways, you can still access them for testing:15:21
=== pete-woods|food is now known as pete-woods
mzanettinic-doffay: open Infographics.qml and go to line 43015:23
mzanettinic-doffay: add this:15:23
mzanettiobjectName: "dots"15:23
mzanettiin your test you can do this:15:23
mzanettivar dots = findChild(infographic, "dots")15:23
mzanettinic-doffay: ^15:23
nic-doffaymzanetti, line 430?15:23
mzanettinic-doffay: sorry... line 430 in this diff: https://code.launchpad.net/~unity-team/unity/infographics-with-lightdm/+merge/16378315:24
nic-doffaymzanetti, handy thanks!15:24
dandraderSaviq, another thing against standalone enum objects is that they should make sense and be generally useful in the entire namespace where they live. Whereas an enum that lives inside a class has to make sense just for that class. In other words: keep it in the scope where it's used.15:33
cyphermoxthomi: can you or someone in your team look into the autopilot functional tests currently failing for daily release?15:49
cyphermoxsil2100: ^ so you know...15:49
cyphermoxhttp://10.97.0.1:8080/job/ps-generic-autopilot-release-testing/392/testReport/15:49
thomicyphermox: they're not fixed yet? sure15:50
thomicyphermox: also, join #ubuntu-autopilot :)15:50
cyphermoxI don't know, perhaps it just needs to be rerun, but that was running last night15:50
thomicyphermox: late last night I fixed all the tests, and asked didrocks to re-run the stack, but maybe he didn't get around to it15:50
thomicyphermox: but those results are old :)15:50
didrocksthomi: saw my mail?15:51
cyphermoxalright then :)15:51
didrocksthomi: your fix didn't merge15:51
thomididrocks: awwwww :(15:51
thomilet me work out why15:51
cyphermoxdidrocks: I'll pick this back up15:51
didrocks:)15:51
didrocksthanks :)15:51
* thomi moves conversation to #ubuntu-autopilot15:51
* didrocks is away for now15:51
nic-doffaymzanetti, have another moment?15:52
mzanettinic-doffay: ofc15:54
Saviqdandrader, like Qt.*? ;)15:55
mzanettievil :D15:55
nic-doffaymzanetti, line 446 in the diff.15:55
nic-doffayI've accessed the children in the dots which are CirclePositioners.15:55
nic-doffayWhat would be the best method to now access the dot.15:56
mzanettinic-doffay: can you show what you have now please15:57
nic-doffaymzanetti, https://pastebin.canonical.com/91144/15:58
mzanettinic-doffay: ok... now I understand... sorry...15:59
nic-doffaymzanetti, no prob15:59
mzanettinic-doffay: so: you add an objectName to the Dot {}15:59
mzanettinic-doffay: something like this:15:59
mzanettiobjectName: "dot" + index16:00
nic-doffaymzanetti, right so this would be the best way to externally reference anything at any time.16:00
mzanettinic-doffay: then you can findChild("dot1"), findChild("dot5") etc16:00
mzanettinic-doffay: does that help you?16:01
nic-doffaymzanetti, could I just do that from the parent?16:01
mzanettiyeah. I think so16:01
mzanettione sec16:01
nic-doffaymzanetti, the algorithm is recursive16:01
nic-doffayIt won't encounter other hidden QML dangers would it?16:02
mzanettinic-doffay: shouldn't... but not entirely sure... could be that Animations and Transitions mess things up16:02
mzanettinic-doffay: anyways, you can access children by using dots.itemAt(x).children[0]16:03
mzanettithat would give you the Dot of CirclePositioner with index x16:03
mzanettinic-doffay: ^16:03
mzanettinic-doffay: check out the implementation of findChild() in tests/qmltests/UnityTestCase.qml16:04
nic-doffaymzanetti, yeah I had a look at it.16:04
nic-doffaymzanetti, I'll try not doing too many tricks.16:04
=== chrisccoulson is now known as firefox-is-aweso
=== firefox-is-aweso is now known as chrisccoulson
mzanettinic-doffay: imho using Dot { objectName: "dot" + index } and using findChild() would be the cleanest16:05
nic-doffaymzanetti, yeah that's what I'm sticking with atm.16:05
nic-doffaymzanetti, cheers!16:05
mzanettiyw16:06
sil2100cyphermox: I'm looking into that16:15
sil2100cyphermox: I sent an e-mail to thomi yesterday and he fixed those problems, but the merge is not merging properly - looking into that16:16
thomisil2100: should be mergable now16:18
thomisil2100: I forgot to commit my last changes :-/16:19
dednickSaviq: ping16:21
sil2100Ah ;)16:21
sil2100thomi: awesome, thanks!16:22
sil2100cyphermox: did you fire a QA stack re-build?16:22
sil2100I can't wait to see the results16:22
dednickomg. nautilus is kicking my arse with this new search behaviour!16:30
nic-doffaydednick, what's different?16:33
dednickseems to be doing a recursive search.16:34
nic-doffaymzanetti, https://pastebin.canonical.com/91156/16:34
nic-doffayHere's what I'm testing in the dot at the moment. Any further comments or suggestions?16:34
dednickanyone having trouble with unity-lens-mock on desktop? i'm getting a python error.  http://pastebin.ubuntu.com/5671314/16:36
dednickon raring16:37
katiedednick, vesar is doing a prototype for the indicator hint. perhaps talk to him or mesq for more details...16:40
dednickkatie: ok. thanks16:40
sil2100kenvandine, cyphermox, didrocks: we're commencing the merge-in of scope's into trunks16:41
sil2100The branch that switches 100scopes in cu2d-config is ready since a week16:42
sil2100So I'm handling this one16:42
kenvandinesil2100, great16:42
sil2100kenvandine: pstolowski and me just landed libunity elements16:43
Saviqdednick, pong16:46
mzanettinic-doffay: looks good. you could use a _data() function and test all existing states16:46
dednickSaviq: have you noticed any problems with mock lenses on desktop? unity-lens-mock doesnt work for me.16:47
dednickbut works on phone16:47
nic-doffaymzanetti, cool. I'll also add checks for the other states.16:47
Saviqdednick, works here on raring, maybe you have some smart scope-y things around?16:47
Saviqdednick, and how does nautilus "kick your arse" with the search?16:48
dednickSaviq: possible i guess. but dont think so.16:48
Saviqdednick, I'm still not sure I like it better than the usual type-ahead, but it does work, and relatively quick, too16:48
dednickdednick: returning multiple results for python2.7 in the /usr/lib folder. :) dont know which one to open!16:49
Saviqslightly too disruptive, though16:49
Saviqdednick, talkin' to yourself, eh? you sure the cold is through?16:49
dednicki think there was a bug when using it earlier though. It didnt seem to update the current search folder when i changed folders. was still searching home folder when i was in /usr/lib.16:50
dednickSaviq: hehe. maybe the cold meds is making me hallucinate.16:50
dednick(more than usual)16:50
Saviq;d16:51
=== dandrader is now known as dandrader|lunch
=== mmrazik is now known as mmrazik|afk
mdeslaur#ubuntu-uds-foundations-118:01
mdeslaurgah, wrong window18:01
=== dandrader|lunch is now known as dandrader
=== mmrazik|afk is now known as mmrazik
gatoxhi, i'm having some problems when trying to execute unity-next in the desktop: http://paste.ubuntu.com/5671882/19:47
gatoxi'm following the steps in the CODING file, but it doesn't seem to work, and about the people lens, the doc mention this step:19:48
gatoxrun the People lens daemon19:48
gatox--------------------------19:48
gatox$ ~/unity/unity_build/libexec/unity-people-daemon19:48
gatoxbut that part is not being build19:48
gatoxany ideas/help?19:48
sergiusensSaviq: ^^19:51
kgunngatox: so the unity build is busted ?20:05
kgunnnot unitynext...but the orig unity20:05
kgunngatox: just curious....from unity-next dir20:07
gatoxkgunn, what?? i've just build unity-next, but when i try to execute ./run the window with the phone shell open, but after a couple of seconds it dies with a segfault20:07
kgunnrun ./build_unity -u & then ./build_unity -c20:07
gatoxack20:07
kgunnwhich updated  & cleanly builds the original unity bits that unitynext still relies on20:08
gatoxkgunn, ack, i'll do that right now20:08
kgunngatox: sorry...major window swap distractions.... :) i may seem incoherent (more than usual)20:08
=== dandrader_ is now known as dandrader|afk
gatoxkgunn, nop.... same problem20:12
gatoxkgunn, http://paste.ubuntu.com/5671995/20:13
kgunngatox: oops should've looked a bit closer20:14
kgunnlooks like a Qt version incompatibility issue20:14
kgunnmight run apt-get dist-upgrade20:15
kgunn(also keep an eye out for old ppa's)20:15
gatoxkgunn, ack..... will check20:17
kgunngatox: i'm trying in //20:18
gatoxkgunn, it's upgrading20:20
gatoxkgunn, there was several qt stuff to upgrade.... i thought i did it this morning20:21
kgunngatox: hope that fixes it...20:22
kgunni just built from scratch and it seems ok (./run that is)20:22
kgunngatox: side note....you don't even have to run the people daemon20:23
kgunnit'll complain20:23
gatoxkgunn, ack, thx20:23
kgunnbut it'll run20:23
=== dandrader|afk is now known as dandrader
gatoxkgunn, now it's working, what a silly mistake.... sorry :P20:27
gatoxkgunn, thanks20:27
kgunngatox: no worries....i am 10x worse trust me :)20:28
tedgbregma, So I just got a VM to put Unity under and upstart job.  Basically, started by upstart instead of gnome-session.  Thoughts on doing that in saucy?20:31
tedgs/and/an/20:31
bregmatedg, you mean you're running compiz as an upstart job?20:33
tedgbregma, Yes, and removing it from the gnome-session config for the ubuntu session.20:34
bregmado an MP and we'll test it20:35
tedgUnfortunately it requires a gnome-session MP and a Unity one.20:35
tedgSo it'll be a bit tricky to put in a single one.20:35
tedgBut I guess I can just put instructions in.20:35
bregmahow will that affect g-s-d and all that other wonderful stuff?20:37
tedgThat stuff still gets launched by gnome-session.  Just gnome-session doesn't start the window manager.20:37
bregmabut Unity wants g-s-d to be running, so is sequencing going to be an inssue?20:38
tedgJobs that are interested can put a NoShowIn=ubuntu in /etc and then an upstart job.20:38
tedgHmm, it worked :-)20:38
tedgLet me find out why ;-)20:38
tedgAh, stgrabber had already converted it.20:39
tedgSo no, not an issue.20:39
tedgbregma, Cool, I figured out how to make it safe :-)20:54
tedgWatching the Unity 8 in archive session.  Very impressed the big wooden tunnel bregma works in.21:15
bregmathat's the loft of my cosy log cabin in the woods21:16
bregmaall wood all the time21:17
ChrisTownsendIs that an euphemism?21:18
=== salem_ is now known as _salem
eeansil2100: what's the status of the appmenu plugin on Qt 5? do the 'menubar' plugins no longer work? it's a bit confusing in all the lp bugs.21:59
sil2100eean: hi22:09
eeanyo22:09
sil2100eean: you mean the status in saucy, yes?22:09
eeanI mean the status in stuff I can download and build :)22:09
eeanI'm deploying an app with Qt 5.0.2.22:10
sil2100heh ;) Well, if you run raring, the global appmenu for Qt 5 applications should work fine22:10
sil2100Would have to check 5.0.2 though22:11
eeanvia the menubar plugin?22:11
eeanso I'm shipping my own qt as well. do I need to patch vanilla Qt 5.0.2?22:11
sil2100But the rule is, on raring it should 'just work', but on saucy the patches that were enabling the menu support got reverted, so currently there is no appmenu *yet*, but it's being worked on22:11
sil2100Yes, sadly22:11
eeanI don't use Ubuntu, I just deploy to users who do :)22:11
eeanOK22:11
sil2100eean: the thing is, the Qt5 appmenu plugin is a bit 'hacked up'22:12
sil2100eean: the real support, which will not require any patching or whatsoever, will be released soon22:12
sil2100For now, it requires patching Qt522:12
eean'released' .... do you have the code sitting somewhere that I could build? :D22:13
sil2100Not yet! But just give me some free time to be able to finish my tests ;)22:14
eeancool.22:14
eeanshould I bother recompiling qt 5 with the patches or will it be ready soon enough anyways?22:15
eeanmy users are live with in-window menus for a bit ;)22:15
eeanmy users *can live22:15
sil2100Let's define 'soon enough' ;p22:16
* sil2100 hides22:16
eeana couple weeks22:16
eeanI guess22:16
sil2100Yes, I think this would be the case22:16
eeanOK22:16
eeanI'll watch lp then :)22:16
sil2100eean: this depends on how smoothly all the daily-release-related stuff here goes, I'll give you a sign if I'll have to push things back so that your users won't have to wait like 10 weeks for something so trivial22:17
eeanOK great22:17
eeanthe worst is gnome's gmenu which doesn't have a non-gtk public api. Qt apps are just out cold from having an app menu. but that's a problem for a different irc network. :)22:18

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