/srv/irclogs.ubuntu.com/2015/02/06/#ubuntu-unity.txt

dandraderkgunn, shellRotation branch should merge fine now08:53
=== vrruiz_ is now known as rvr
=== pete-woods is now known as pete-woods|afk
=== alan_g is now known as alan_g|afk
tsdgeosMirv: can you land https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1418370 ? It fixes the orientation issue with qt 5.410:09
ubot5Launchpad bug 1418370 in qtdeclarative-opensource-src (Ubuntu) "Orientation not working with Qt 5.4" [Undecided,In progress]10:09
Saviqtsdgeos, any word on refreshing the certificate for qt-project? ;)10:12
Mirvtsdgeos: ok, uploading!10:12
Mirvas well as the oxide10:13
tsdgeosSaviq: two days ago it was supposed to be fixed ...10:13
Saviqright10:13
tsdgeosMirv: cool10:14
=== pete-woods|afk is now known as pete-woods
=== MacSlow is now known as MacSlow|lunch
SaviqCimi, relatively pressing review needed: https://code.launchpad.net/~unity-team/unity8/wizard-auto-shutdown/+merge/24890212:56
CimiSaviq, ok12:56
SaviqCimi, oups, wrong version, fixing12:57
SaviqCimi, actually, need to fix a test, too :/12:59
CimiSaviq, do we really want to shut down the phone if inactive?13:01
SaviqCimi, in wizard only, and only if you never interacted with it13:01
SaviqCimi, i.e. in the factory13:01
Cimiwhy?13:01
Cimiwhat does design say?13:02
SaviqCimi, it's not about design, it's about the factory process13:02
CimiI never seen a phone/device shutting down13:02
SaviqCimi, you never left an android phone on the wizard for 2 minutes ;)13:02
CimiI might switch on the phone for the first time, go and make a coffee, come back and is switched off wtf13:02
CimiSaviq, I understand your reasons, but I think we need someone to approve this change13:03
CimiSaviq, and in any case, we need some sort of UI feedback (i'm shutting down because of inactivity-like notification)13:04
SaviqCimi, yeah, except you dont'13:04
SaviqCimi, request for this change comes directly from the product team13:04
SaviqI didn't just imagine that13:05
CimiSaviq, let me test with android, see if it switches off13:05
SaviqCimi, http://pad.lv/1418815 for reference13:06
ubot5Error: launchpad bug 1418815 not found13:06
CimiSaviq, ok I understand, will review code...13:06
Saviqmterry, could use your eyes on https://code.launchpad.net/~unity-team/unity8/wizard-auto-shutdown/+merge/248902 too13:13
Saviqmterry, hi btw! http://pad.lv/1418815 for reference13:13
ubot5Error: launchpad bug 1418815 not found13:13
mterry Saviq hello!  :)13:13
Saviqmterry, I'm not totally happy about the "pageLoaded" signal, maybe you can come up with a better thing, I'm not really sane today after the sprint13:14
mterrySaviq, :)  let me see13:15
mterrySaviq, a forced wait() in one of the tests?  grumble grumble13:18
Saviqmterry, read again ;)13:18
Saviqmterry, it's a wait on the signal spy13:18
mterrySaviq, right.  But you are expecting it to timeout13:18
Saviqmterry, well, what else?13:18
Saviqmterry, I could just verify() and go with that, the expectFail just adds one more13:19
mterrySaviq, I don't like delays in the tests, they are long enough to run already.  But I understand what you're doing here13:19
mterrySaviq, I might have been satisfied with just the verify() but I can't complain about more tests I guess13:19
Saviqmterry, yeah you know... how do you verify that something doesn't happen? :)13:19
mterrySaviq, well it's quite unlikely to happen if the timer isn't running  :)13:20
Saviqmterry, is true13:20
mterrySaviq, I'm surprised we didn't already have a Session mock13:21
Saviqmterry, yeah, was surprised, too13:21
mterrySaviq, so this is for unity8... but I assume the bug really cares about rtm?   which would be system-settings?13:23
Saviqmterry, yeah, I'll backport it to system-settings13:23
* Saviq fixes bug tasks13:23
mterrySaviq, well I love it, pageLoaded is fine too.  Let me just test on my device and then approve13:24
Saviqkk13:25
Saviqmterry, later we might make it more robust (i.e. Keys.onPressed; mouse and touch events, + a dialog before it goes to sleep)13:28
mterrySaviq, yeah I did wonder.  Like, what if someone is just fooling around with language list13:28
mterrySaviq, or puts phone down to read manual13:28
Saviqmterry, I really think that's edge cases, but yeah, let's cater for those at some point, I think this is good for now13:29
mterrySaviq, I think ideal would be to throw up a dialog that also times out, but warns user about impending shutdown13:30
Saviqmterry, yup, that's the plan13:31
Saviqmterry, edge case, though13:31
mterrySaviq, yes, ideally new users are so excited they race through the wizard13:31
mterry:)13:32
mterrySaviq, for that wait to really be effective, wouldn't you want to specify the delay time yourself?  To be over two minutes?  I think the default is 30s13:36
Saviqmterry, right, or change the interval13:37
Saviqmterry, don't really wanna add 2mins wait time to our test suite13:37
mterrySaviq, ah sure.  But again, if we don't trust the !running check, why do we trust changing interval and running?  :)13:38
Saviqmterry, indeed13:38
Saviqmterry, I'll just check that it's not running and that the signal didn't fire before then13:38
Saviqmterry, which is kinda what the wait() was doing anyway13:38
Saviqmterry, done13:41
mterrySaviq, hrm.13:42
mterrySaviq, you might want to move the pageLoaded signal before the checkSkip line too13:42
mterrySaviq, otherwise you could end up emitting pageLoaded(2) then pageLoaded(1) if you skip 113:42
Saviqmterry, done13:48
mterrySaviq, it's a little odd that we emit pageList.index rather than pageStack.depth, but either situation is deceptive (in the case of a page having follow-on pages).  And especially since we don't care about it being accurate here, no biggie13:49
mterrySaviq, I'll approve, worked fine in testing too13:49
Saviqmterry, tx13:50
=== MacSlow|lunch is now known as MacSlow
tsdgeosmzanetti: ohmy, you got an all green MR14:20
tsdgeoswe hadn't had that in ages :D14:20
mzanetti*\o/*14:20
tedgtsdgeos, Are you going to flash phones at MWC this year? ;-)14:27
tsdgeostedg: don't know, wasn't year last year, and people that were there said the numbers of flashings where down compared to 2 years ago since flashing is so well documented nowadays14:28
tedgtsdgeos, Ah, okay. Probably they'll want to sell phones more than flash other ones this year.14:28
tedgIt is kinda a funny part of Ubuntu Phone history :-)14:29
tsdgeosyep, one of the first phones we flashed was from the firefox phone people D:14:32
mzanetti:)14:33
Saviqtedg, the volume notifications are quite intrusive recently... they show up on boot, on DTMF tones in the dialer... on music...14:40
Saviqbug #141808914:40
ubot5bug 1418089 in indicator-sound (Ubuntu) "Volume notification shown on boot / in wizard" [Undecided,New] https://launchpad.net/bugs/141808914:40
Saviqthat known?14:40
tedgSaviq, Do you have the i-sound that landed last night?14:40
Saviqtedg, might not14:40
tedgSaviq, bug 141623314:42
ubot5bug 1416233 in indicator-sound (Ubuntu) "Sound indicator notification shows each time the a sound starts or stops" [Undecided,Fix released] https://launchpad.net/bugs/141623314:42
Saviqtedg, ok, that then might be fixed14:42
Saviqtedg, right, feel free to dupe my bug14:42
dandradermzanetti, https://code.launchpad.net/~dandrader/unity8/improveLauncherTests/+merge/24891914:44
Cimitsdgeos, hey, is this ok for closing scopes? http://paste.ubuntu.com/10092894/14:56
tsdgeosCimi: don't remove it from all scopes, otherwise you're going to lose the scope in the mock14:57
tsdgeosCimi: when activating it add it to a list14:57
tsdgeoswhen closing it check it's on the list14:57
tsdgeosthat's all14:57
tsdgeossame the m_openedScope did14:57
tsdgeosbut with alist14:57
Cimitsdgeos, openedscope?14:58
Cimitsdgeos, but that was never changed14:58
Cimitsdgeos, we don't call activate14:59
tsdgeoswe do14:59
tsdgeoswe already discussed over this14:59
tsdgeosthere's a test that proves we do14:59
tsdgeosand i pasted you the code that calls activate14:59
Cimitsdgeos, only when we click an item15:00
tsdgeosyes15:00
tsdgeoswhich is the only way to open a scope15:00
tsdgeosisn't it?15:00
Cimimmm15:00
tsdgeosor maybe not15:00
tsdgeosmaybe you can also though a Preview Action15:01
Cimitsdgeos, when we move between favorite scopes?15:01
Cimitsdgeos, yes, correct15:01
Cimitsdgeos, like in my bug15:01
tsdgeoswell that goes through previewmodel triggered then15:02
Cimitsdgeos, I can add activate in openScope15:02
tsdgeosno15:02
Cimiinside the tempscope15:02
Cimimmm ok15:02
tsdgeosactivate calls openscope15:02
tsdgeosnot the other way around15:02
tsdgeoswhat you can't do in your test is call openScope15:02
tsdgeosopenScope is not something we call15:02
tsdgeosis something the backend calls15:02
Cimiok15:03
tsdgeoson actions from the user15:03
tsdgeosbe it acivate()15:03
tsdgeosor                         previewModel.triggered(widgetId, actionId, data);15:03
tsdgeosin qml/Dash/Previews/Preview.qml15:03
Cimitsdgeos, in the end what  we are doing in scopes plugin https://code.launchpad.net/~stolowski/unity-scopes-shell/fix-temp-scopes/+merge/24823515:15
Cimitsdgeos, I need the same code...15:15
tsdgeosyou need something similar15:16
tsdgeosyou don't need to delete the scopes15:16
tsdgeosbecause the mock plugin creates them all the startup15:16
tsdgeosand stopres them in allscopes15:16
tsdgeosand serves them from there15:16
tsdgeosbut yes, you need something similar15:16
mzanettiSaviq: http://notyetthere.org/data/com.ubuntu.terminal_0.7.latest_amd64_rev015.click15:22
MacSlowSaviq, I've pushed a fix for the property-count failure on Jenkins, but can't trigger a rebuild on jenkins as the site is dead from my end15:58
MacSlowSaviq, ... ^ regarding the swipe-to-dismiss branch15:59
SaviqMacSlow, if you pushed a change it will notice and rebuild15:59
MacSlowSaviq, sure... local test (on my slow machine no longer failed) 50 of 50 test-runs passed... that was good enough for me to push :)16:00
SaviqMacSlow, yup, sounds sane, kicked a jenkins rebuild anyway16:00
MacSlowSaviq, thanks16:01
dandradergreyback__, does it make sense to you? mapToItem(null, Qt.point(mouse.x, mouse.y)).x;16:36
dandraderpoint = mapToItem(null, Qt.point(mouse.x, mouse.y)).x;16:37
dandraderpoint = mapToItem(null, mouse.x, mouse.y)16:38
=== vrruiz_ is now known as rvr

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