/srv/irclogs.ubuntu.com/2015/01/28/#ubuntu-unity.txt

=== RAOF is now known as tmpRAOF
=== ssweeny` is now known as ssweeny
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandradertsdgeos, got time for reviewing a small and simple MP?10:20
tsdgeosdandrader: sure10:20
dandradertsdgeos, https://code.launchpad.net/~dandrader/unity8/keepGreeterPwdUncovered/+merge/24747510:20
dandradertsdgeos, thanks! you're the most active reviewer in the team :)10:20
tsdgeosdandrader: that's because i'm easy10:21
tsdgeosshhhhhhh10:21
tsdgeosdamn i need to find out there the tablet is and charge it D:10:26
dandradersorry for that10:30
Saviqtsdgeos, about time, you need to bring them to BRU, too ;)10:33
tsdgeosSaviq: tablet? what for?10:33
tsdgeosi'm not part of the sprint10:33
Saviqtsdgeos, ah right, you're there with your K hat on ;)10:34
CimiSaviq, calling this close scope isn't working well.. http://paste.ubuntu.com/9915513/11:04
CimiSaviq, seems like the close calls are async11:04
SaviqCimi, this snippet doesn't say much11:05
CimiSaviq, http://paste.ubuntu.com/9915536/11:06
CimiSaviq, closing scope makes dash crash11:07
SaviqCimi, trace?11:07
CimiSaviq, I think I have to run dash with gdb11:07
CimiSaviq, how can I?11:07
SaviqCimi, generally when things crash, that's the way to go11:08
SaviqCimi, gdb builddir/src/Dash/unity8-dash -mousetouch11:08
Saviqgdb -args11:08
facubatistaHola!11:08
Saviqsry11:08
CimiSaviq, I need from the phone11:08
SaviqCimi, sudo gdb program `pidof unity8-dash`11:09
SaviqCimi, or just analyze the .crash file11:09
tsdgeosdandrader: so that MR11:15
tsdgeosdandrader: is for when there's multiple users on the tablet?11:15
tsdgeosbecause with a single user i don't get the keyboard over the password11:15
dandradertsdgeos, no. see "make tryMultiGreeter". The vkb covers the password if you use the shellRotation branch (in https://launchpad.net/~unity-team/+archive/ubuntu/demo-stuff)11:17
dandradertsdgeos, shellRotation branch has the code from this MP11:17
dandradertsdgeos, maybe ubuntu-keyboard from trunk (as opposed to the one from this ppa) is shorter in tablets11:18
tsdgeosdandrader: remove the  console.log("loginListRect.y " + loginListRect.y); from the test?11:21
CimiSaviq, looks like I should connect the close of the scope when the new scope finished loading11:21
Cimihttp://paste.ubuntu.com/9915707/11:21
Cimicannot read much more...11:22
Cimithere is this activate11:22
Cimidon't know11:23
SaviqCimi, you need to get symbols11:23
Cimiyeah11:23
Saviqhttps://wiki.ubuntu.com/DebuggingProgramCrash11:23
SaviqCimi, for rtm the dbgsym packages are in http://ddebs.ubuntu.com/ubuntu-rtm/11:23
dandradertsdgeos, oh, right. done11:23
Cimiinstalling11:25
=== dandrader is now known as dandrader|afk
Saviqmzanetti, just noticed authenticator app is mostly flat black, that on purpose?12:12
mzanettiyes12:12
mzanettiSaviq: I've asked mivoligo to redesign it12:12
mzanetti(the guy that designed machines vs machines)12:12
Saviqmzanetti, you should update the screenshots12:12
Saviqit looks slightly as if it lost the background or something12:13
mzanettiack. will do once the redesign is done12:13
mzanettiactually I'd need to update screenshots for nearly all of my apps12:13
=== MacSlow is now known as MacSlow|lunch
tsdgeossil2100: can you trigger rebuilds for stuff that's "old" in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-005 ?12:29
sil2100tsdgeos: ah, once again rebuilds needed, sure12:29
tsdgeostx12:31
CimiSaviq, http://paste.ubuntu.com/9916639/12:40
Saviqpstolowski, can you have a look with Cimi why the shell plugin crashes for him ↑?12:41
SaviqCimi, what's the bug# you're working on again?12:42
Cimi141033712:42
CimiSaviq, what I am trying to do is closing the store scope after launching the new scope12:43
pstolowskiCimi, Saviq looking12:46
SaviqCimi, yeah, and that sounds right12:46
Saviqpstolowski, but it might be that it's destroyed by the time you try to close it (but that would be weird)12:46
Saviqbug #141033712:46
ubot5bug 1410337 in Ubuntu UX "Launching a scope once installed is broken" [High,Triaged] https://launchpad.net/bugs/141033712:46
=== dandrader|afk is now known as dandrader
CimiSaviq, pstolowski this is another I get12:49
Cimihttp://paste.ubuntu.com/9916749/12:49
Cimiso, http://paste.ubuntu.com/9916773/ gives http://paste.ubuntu.com/9916749/12:49
Saviq/food12:50
dandradertsdgeos, thanks for the review12:50
Cimihttp://paste.ubuntu.com/9916777/ gives http://paste.ubuntu.com/9916639/12:50
pstolowskiCimi, Saviq from a quick look i think the problem is that closeScope just deletes the scope object you pass, instead of calling deleteLater on it12:54
pstolowskithis is almost always a bad idea in qt...12:55
pstolowskiCimi, shall I prepare a quick fix to try out?13:02
=== MacSlow|lunch is now known as MacSlow
Saviqpstolowski, yeah, please do13:50
pstolowskiotp13:51
dandradermzanetti, would you have time this week to review this? https://code.launchpad.net/~dandrader/unity8/fixSurfaceActiveFocus/+merge/24783614:04
dandradermzanetti, this is already in the shellRotation branch.14:05
mzanettidandrader: ack, will try to get to it14:06
dandradermzanetti, thanks. this should also affect the desktop mode14:07
mzanettiyou mean the windowed mode? :P14:07
* mzanetti needs to rename *Stage.qml files14:08
dandraders/affect/help with14:08
dandradermzanetti, yeah, right :)14:08
mzanettiO_o14:09
* mzanetti lost irc history14:09
mzanettidandrader: https://code.launchpad.net/~mzanetti/unity8/saveRestoreWindowSizePosition/+merge/24784014:19
dandradermzanetti, I'm not a big fan of singletons14:27
dandradermzanetti, makes it harder to fake them in tests14:27
pstolowskiCimi, let me know if it helps: https://code.launchpad.net/~stolowski/unity-scopes-shell/delete-later-on-close/+merge/24784214:28
pstolowskiSaviq, ^14:28
Cimipstolowski, ok14:28
=== artmello_ is now known as artmello
=== dandrader is now known as dandrader|afk
mzanettidandrader|afk: the testing/mocking argument is a valid one... not sure in this case as we either want the stuff to be the proper thing in the settings too, or we just ignore it (like the init() in the tests does)14:53
mzanettiso in here I guess it just keeps the code cleaner without hurting testability14:54
mzanettibut in general, you have a point14:54
mzanettiI was thinking, it could make sense if we set up some import paths in main.cpp, and then import singletons via their name instead of absolute path14:54
mzanettithen a test could easily override by just shipping it's own singleton implementation14:55
mzanettibecause other than your issue, singletons in qml are quite handy to keep things clean14:55
mzanettiimo14:55
=== dandrader|afk is now known as dandrader
Cimican we trigger a jenkins of https://code.launchpad.net/~stolowski/unity-scopes-shell/delete-later-on-close/+merge/247842 ?15:48
SaviqCimi, not while it's WiP15:58
SaviqCimi, just x-build it :P15:58
SaviqCimi, kicked a build here anyway http://s-jenkins.ubuntu-ci:8080/job/unity-scopes-shell-ci/284/console15:59
mzanettiSaviq: hey, about having issues with mocking singletons for testing as Daniel pointed out. wdyt of this: http://paste.ubuntu.com/9920590/17:11
Saviqmzanetti, doubt it should be _SOURCE_17:16
mzanettiwhy not?17:16
mzanettifor the not installed case only. the installed case would need INSTALL_SHELL_QML/Components or something17:17
mzanettithis diff is just for making it work...17:17
mzanettifor mocking we'd still need to add the mock dir too17:18
Saviqmzanetti, well, we have plugins/ for things that actually have qmldir files17:18
mzanettiah ok17:18
mzanettifair point17:18
mzanettiI could move it over there as a qml plugin, yes17:18
mzanettiqml-only17:18
Saviqyup17:18
mzanettiok. will do that17:18
mzanettithanks17:18
=== ljp is now known as lpotter

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