/srv/irclogs.ubuntu.com/2014/04/08/#ubuntu-unity.txt

Trevinhobeidl: yeah, that's true and that should happen... But it's something I'll try to fix asap00:25
=== fginther|away is now known as fginther
mhall119is mirscreencast available on i386?01:29
mhall119nvm, found it01:30
mhall119hmm, doesn't work though, or I'm doing something wrong02:10
beidlTrevinho: I'm a detail guy, so that's why I noticed that thing pretty early on, and I'd love if this gets fixed. But I can understand if there are more important things to work on. :)06:18
tsdgeosi see green07:44
tsdgeosand don't believe it :D07:44
tsdgeosMirv: you there?07:48
mzanettigreyback: https://code.launchpad.net/~mzanetti/unity-mir/quit-manually-started-procs/+merge/21401307:59
beidlTrevinho: is Launcher.cpp:DragOutProgress() supposed to get called when dragging the launcher *out* using 4 fingers? because it's not, only when pushing it back to the left to hide it.07:59
tsdgeosMirv: if you have time maybe this makes sense to have https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/130424808:11
ubot5Ubuntu bug 1304248 in qtdeclarative-opensource-src (Ubuntu) "[PATCH] Crash with deleted QQmlCompiledData" [Undecided,New]08:11
Cimigreyback, Saviq how can I debug the keyboard not always popping in in the wizard?08:13
Cimisometimes I have to restart it, otherwise it doesn't work08:13
Saviqgreyback, bug #128773608:15
ubot5bug 1287736 in ubuntu-system-settings-online-accounts (Ubuntu) "System Settings -> Accounts and back shows black screen and 5s delay" [Undecided,Incomplete] https://launchpad.net/bugs/128773608:15
SaviqCimi, TBH sounds like wrong z-ordering08:16
SaviqCimi, you need a debug-enabled build of libunity-mir108:22
SaviqCimi, so build unity-mir with CMAKE_BUILD_TYPE=debug08:23
SaviqCimi, and that will print quite some debug output08:23
Saviqgreyback, we should think about moving to http://blog.qt.digia.com/blog/2014/03/11/qt-weekly-1-categorized-logging/ - I'm tired of non-runtime logging configuration...08:24
Mirvtsdgeos: probably makes sense, although updating qtdeclarative this late in the cycle tends to raise eyebrows08:24
greybackSaviq: +10008:24
tsdgeosMirv: sure i understand08:25
Mirvtsdgeos: LP bug would help though in justifying the changelog entry08:25
tsdgeosMirv: didn't i already do a LP bug? /me confused08:26
Mirvtsdgeos: correct! I swiftly moved to the Qt project pages and closed the LP one it seems.08:27
tsdgeosMirv: :D08:27
Mirvok, I'll try about getting it built and the usual "run all AP:s" run08:27
larsuSaviq: the sound indicator is supposed to be red for 5 seconds after the last sound has played. It stays red indefintely for you?08:39
larsuSaviq: is pavucontrol showing any sound sources in the first tab?08:39
Saviqlarsu, looking08:43
Saviqlarsu, yeah it stays permanently red08:43
Saviqlarsu, hmm I have 5 speech-dispatchers... and a firefox audiostream08:44
Saviqlarsu, but nothing's actually playing08:44
Saviqlarsu, killed firefox, s-d, back to normal now...08:45
Saviqlarsu, feel free to mark invalid08:45
larsuSaviq: are they muted? Otherwise I'm afraid there's not much I can do...08:45
larsuit's red when pulse reports any active sources08:45
Saviqlarsu, wonder what the definition of "active" is, though08:46
larsuSaviq: available and not muted?!08:46
larsuI think ...08:46
Saviqlarsu, I think it's more smart, like is there actually stuff going through08:47
Saviqlarsu, or maybe not08:47
Saviqanyway, back to grey08:47
seb128Saviq, do you use java softwares?08:47
larsuseb128: speech dispatcher seems to have been the problem08:48
seb128Saviq, the other report we got mentioned that it happens when using java08:48
Saviqseb128, yeah, but it's not playing sound08:48
seb128larsu, hum, k08:48
Saviqseb128, yeah, s-d was the problem it seems08:48
Saviqgreyback, bug #1304257, too08:49
ubot5bug 1304257 in unity-mir (Ubuntu) "There should be a quit signal sent to sessions instead of killing them directly" [Undecided,New] https://launchpad.net/bugs/130425708:49
Saviqmardy, because of ↑ we can't do what you want for the signon ui - Mir doesn't have a quit signal yet08:50
* mardy reads the backlog08:50
Saviqmardy, just the bug08:50
Saviqmardy, think you could make it quit on "Back" straight away? and maybe also openUrlExternally so that settings app is brought to front first?08:50
Saviqmardy, otherwise https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings-online-accounts/+bug/1287736/comments/11 happens08:51
ubot5Ubuntu bug 1287736 in unity-mir (Ubuntu) "System Settings -> Accounts and back shows black screen and 5s delay" [High,Confirmed]08:51
mardySaviq: my understanding is that trusted sessions are not too far away, I would wait for them rather then implementing hacks over hacks08:53
mardySaviq: by the way, what is a Mir session? Is it analogue to an XCB xonnection or an XCB window?08:54
mardy*connection08:54
Saviqmardy, connection08:55
Saviqmardy, one session can have multiple surfaces08:55
mardySaviq: but when the user taps on the "X" button over a window, why quit the session? I would expect that only that window gets closed08:56
mardySaviq: the difference is probably irrelevant for the phone, but will be important in the desktop08:56
Saviqmardy, there is no "windows" on the phone08:58
mardySaviq: surface? :-)08:59
Saviqmardy, every session currently only has one surface08:59
Saviqmardy, in desktop world, yeah it will just send a quit signal to that window, and the app will do what it considers right for it08:59
Saviqmardy, but until then we have a 1:1 mapping between sessions and surfaces as greyback said09:00
mardySaviq: OK, I was probably misled by the "quit" word09:00
Saviqmardy, but yeah, for touch pressing X should equal the app shutting down - right now we're just sending SIGTERM (and then SIGKILL, in the case of upstart, after 5s)09:01
tsdgeosHmmmm09:17
tsdgeosanyone knows what _StringException means in http://s-jenkins.ubuntu-ci:8080/job/autopilot-testrunner-otto-trusty/3957/console ?09:17
tsdgeosthat autpilot log looks different that how it looked before09:18
tsdgeosdoesn't it?09:18
Saviqseb128, so... stuff changed in the datetime settings did they... I have UTC+1 in the settings, but indicator still shows UTC+209:22
Saviqseb128, `date` reports the correct time, apparently the indicator service doesn't?09:22
seb128Saviq, we are speaking about touch/phone?09:23
Saviqseb128, yes09:23
seb128Saviq, the indicator is off by an hour compared to the settings/system?09:23
Saviqseb128, yes09:23
seb128weird :/09:24
Saviqseb128, it looks like just the label is wrong09:24
Saviqseb128, events are in BST I think09:24
seb128I don't think that code changed recently :/09:24
Saviqseb128, yeah, events are bst09:24
* Saviq restarts indicator09:24
seb128seems like an unity8 issue to me :p09:24
Saviqhmm hmm09:25
Saviqseb128, dbus-monitor disagrees... http://pastebin.ubuntu.com/7220842/09:31
seb128Saviq, the time looks fine there?09:32
seb128Saviq, or are you in London?09:32
Saviqseb128, I'm in London ;)09:32
Saviqseb128, see `date` at the bottom09:32
seb128:-(09:33
seb128Saviq, cat /etc/timezone?09:33
Saviqseb128, indeed, not update09:34
seb128how did you change the tz?09:34
Saviqseb128, system-settings09:35
* Saviq tries to re-set it09:35
seb128:/09:35
seb128we use datetimed09:35
seb128that smells like another issue with the bindmount hackery to get stuff rw on the ro system09:35
seb128do you have any datetimed error in the system logs?09:35
Saviqseb128, must've happened some time ago09:36
Saviqseb128, resetting to Warsaw and back to London worked09:36
seb128if you change it again in system-settings, does it work?09:36
seb128:-(09:36
seb128the logs might still have an error in you grep09:37
seb128(they are rotated)09:37
Saviqseb128, so something broke there, will report again if happens09:37
Saviqseb128, where am I looking?09:37
CimiSaviq, I have another problem, the osk does not touch the bottom edge, it's like 1gu higher (like the panel height)09:38
seb128Saviq, zgrep timedated /var/log/*.gz ?09:38
SaviqCimi, it looks like unity-mir does not recognize the osk surface09:38
SaviqCimi, debug-enabled unity-mir will help09:39
Saviqoh goodness, netsplit09:39
larsuSaviq: do you mind if gsettings-qml doesn't crash you process anymore when you give it an uninstalled schema?09:52
larsuSaviq: but instead simply returns invalid for all keys?09:52
larsu(it's not even printing a warning)09:53
Saviqlarsu, YES PLEASE09:54
Saviqlarsu, ideally there'd be an error / status prop09:54
Saviqlarsu, but I'm fine with it not being there to start with09:55
Saviqmhr3_, ↑09:55
mhr3_Saviq, the schema will have a isValid prop, and be false if schema isn't installed09:56
mhr3_that would be the status09:56
larsuSaviq: I thought you'd say something along those lines. Thanks!09:58
larsumhr3_: approved09:58
mhr3_larsu, thx, will update my branches to dep on it and land it09:59
mhr3_larsu, gsettings-qt is on desktop too? ie does it need ffe?09:59
mhr3_although ultimately it's a bugix :)09:59
mhr3_bugfix09:59
CimiSaviq, can I create a package with debuild and debug?10:00
Saviqmhr3_, larsu, isValid is rather low resolution data, but I think that's probably fine10:00
Cimilike10:00
CimiCMAKE_BUILD_TYPE=debug debuild will work?10:00
SaviqCimi, no, you'd have to change debian/rules to include override_dh_configure or so10:01
CimiSaviq, ok10:01
SaviqCimi, but if you tell me you're doing that on device and waiting for it to build, I might become grumpy10:01
SaviqCimi, it's cross-building just fine10:01
CimiSaviq, hello grumpy man!10:02
larsumhr3_: yes let's treat it as a bugfix if seb128 is fine with that10:02
CimiSaviq, hah10:02
CimiI didn't think it was long to build like the system settings10:02
seb128larsu, wfm10:02
CimiSaviq, https://wiki.ubuntu.com/CrossBuilding ?10:04
SaviqCimi, and https://wiki.ubuntu.com/SimpleSbuild10:04
SaviqCimi, set it all up as per SimpleSbuild, then just mk-sbuild --target=armhf10:04
josharensonI receive the following error when building unity8 ":CMake Error at CMakeLists.txt:64 (message):10:06
josharenson  Could not determine plugin installation dir." I've tried exporting SHELL_PLUGINDIR=plugins to no avail. Please advise.10:06
tsdgeosjosharenson: did you run ./run -s ?10:11
tsdgeosSaviq: i've a fix for the dead areas thing, but looking at the debug output it should still work (i.e the code of the fix is good but should not be needed) so i'm going to investigate a bit moar10:12
josharensontsdgeos: fixed.. had to purge the mir-team/staging ppa and re-run config10:16
tsdgeosgood :)10:17
Saviqtsdgeos, kk10:24
mzanettidandrader: http://paste.ubuntu.com/722099510:28
Saviqgreyback, bug #130431510:40
Saviqhttps://bugs.launchpad.net/ubuntu/+source/unity-mir/+bug/130431510:41
=== MacSlow is now known as MacSlow|lunch
CimiSaviq, wiki is missing something10:50
CimiE: 10mount: mount: special device /home/cimi/ubuntu/scratch does not exist10:50
SaviqCimi, well, yeah, you have to mkdir that ;)10:50
Cimishall I create the dir10:50
SaviqCimi, add it to the wiki if you think useful10:50
CimiSaviq, it is, because I wasn't sure was the dir missing or "special device"10:51
SaviqCimi, yeah ok, although for a mount -o bind, the directory has to be there, is all10:52
SaviqCimi, but yeah, add10:52
Saviqxnox, hey, what's the best way for an if() in CMake that would check if we're cross building?11:02
xnoxSaviq: standard variable is CMAKE_CROSSCOMPILING, if that is TRUE, we are cross-compiling.11:07
Saviqxnox, yup, found it, thanks11:07
Cimi libc6-dev:armhf : Depends: libc6:armhf (= 2.19-0ubuntu3) but it is not going to be installed11:07
xnoxSaviq: and our multiarch cross-compilation machinery does set it.11:07
CimiSaviq, did you come across this issue?11:07
SaviqCimi, not sure what you did11:08
Saviqxnox, mir has a MIR_ENABLE_TESTS option, think we should just disable it if crosscompiling in debian/rules?11:08
CimiSaviq, mk-sbuild --target=armhf trusty11:08
SaviqCimi, looks like an archive issue, let me try11:08
CimiSaviq, I rerun update after that11:09
CimiSaviq, in fact, but no luck11:09
SaviqCimi, trying here11:10
SaviqCimi, doesn't matter that you rerun update on your host, everything happens in the chroot anyway11:10
CimiSaviq, I updated the package cache11:11
Cimibut yeah you're right11:11
Cimiit does that too if I scroll back11:11
SaviqCimi, built fine here11:16
SaviqCimi, try removing the /var/lib/ thing and try again11:16
SaviqCimi, I mean /var/lib/schroot/chroots/trusty-amd64-armhf or so11:17
CimiSaviq, I did that11:22
SaviqCimi, and still no go?11:26
Ciminope11:26
CimiSaviq, I did chroot here11:26
SaviqCimi, don't11:27
Cimischroot -c trusty-amd64-armhf -u root11:27
Cimiah ok11:27
SaviqCimi, if debootstrap failed, scrap the chroot and try again11:27
CimiSaviq, no way :(11:31
CimiSaviq, I did11:31
Cimisudo rm -r /etc/schroot/chroot.d/*11:31
Cimisudo rm -rf /var/lib/schroot/chroots/*11:32
Cimire-run11:32
Cimiand still error11:32
xnoxSaviq: if they are executed, then yeah you should disable them. If they are compile tests (e.g. it's a pass if it compiles) you should compile them.11:35
=== pete-woods is now known as pete-woods-lunch
CimiI don't seem to be able to compile with debug11:56
CimiI am doing11:56
Cimicmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=ON .. in my builddir11:56
Cimiand I cannot see11:56
Cimi-DNDEBUG while compiling11:57
Cimihowever12:01
Cimiroot@ubuntu-phablet:/home/phablet/unity-mir/build# cmake -L .. | grep CMAKE_BUILD_TYPE12:01
CimiCMAKE_BUILD_TYPE:STRING=Debug12:01
SaviqCimi, what's -DNDEBUG?12:19
=== _salem is now known as salem_
mhr3_Cimi, NDEBUG is defined to compile *out* all asserts12:32
CimiSaviq, how do I see debug now?12:33
Cimistill have to run the new unity mir with debug, just checking12:33
SaviqCimi, just run it12:35
SaviqCimi, you'll get debug output in the upstart log12:35
CimiSaviq, ok so the debuilt version does not have it12:36
SaviqCimi, did you restart the wizard?12:36
CimiSaviq, I restarted the device12:36
CimiSaviq, for debuild, I edited CMakeLists and I added set(CMAKE_BUILD ...)12:36
CimiSaviq, maybe it is overridden?12:37
SaviqCimi, should not be12:38
Cimiweird then12:38
CimiSaviq, ok I built a local build as said before12:42
CimiSaviq, I even overwrite in /usr/lib/armsomething12:42
Saviqyou did what?12:42
CimiSaviq, I ran the wizard, no extra debug12:42
CimiSaviq, http://paste.ubuntu.com/7221424/12:42
Cimioh no I have something12:44
CimiInputArea::geometryChanged (this=0xae6e4140)12:45
Cimiit's just not enough12:45
Cimi@unity someone can help me with osk debugging and mir?12:45
dandraderCimi, I can try12:47
SaviqCimi, read SurfaceFactory::create_surface12:47
SaviqCimi, see what it *should* debug12:47
SaviqCimi, and what it doesn't12:47
Cimicreating surface at (0, 0) with size (768, 1280) with title 'System Settings Wizard'SurfaceFactory::create_surface12:48
Cimicreating surface at (0, 0) with size (768, 1280) with title 'System Settings Wizard'SurfaceFactory::create_surface12:48
SaviqCimi, here's your problem12:48
CimiSaviq, I should see osk?12:48
=== pete-woods-lunch is now known as pete-woods
SaviqCimi, no, you should see Qml Phone Shell12:49
SaviqCimi, so that it's the bottom-most surface12:49
SaviqCimi, basically your window title is wrong12:49
CimiSaviq, I should really fake to be the shell then12:49
SaviqCimi, yes, Gerry told you that befoer12:49
CimiSaviq, I thought he was referring to the general calls to unity-mir, fine12:51
* Cimi tries12:51
paulliuCimi: https://code.launchpad.net/~paulliu/unity8/zoomImage/+merge/20794112:54
Cimipaulliu, better thanks!12:56
Cimipaulliu, few things12:56
Cimipaulliu, move the data function of test_pinch just before test_pinch(data)12:56
paulliuCimi: ok.12:57
Cimipaulliu, I'd add a couple of extra data here, maybe a pinch out, and an extra pinch in12:57
Cimipaulliu, jus the data12:57
Cimiso we test more cases12:57
Cimimzanetti, do you remember what you said about testing pinch to zoom here? ^12:57
paulliuCimi: ok..12:59
mzanettiCimi: hmm... iirc I just said that it could make sense to have a test for the pinching12:59
CimiSaviq, on the crossbuild topic13:07
CimiI did sudo rm -r /etc/schroot/chroot.d/* and sudo rm -rf /var/lib/schroot/chroots/*13:07
CimiSaviq, I rerun it but I always have this error13:07
CimiSaviq, which archives do you have in /var/lib/schroot/chroots/trusty-amd64-armhf/etc/apt/sources.list ?13:08
SaviqCimi, can't touch this ;P13:08
SaviqCimi, why would you want to touch that?13:09
CimiSaviq, to see if you have polish mirrors13:09
SaviqCimi, probably not13:09
SaviqCimi, nope, global ones - but that's fine, unless you really know about one that's faster for you13:09
CimiSaviq, was not for this13:10
SaviqCimi, what do you mean?13:10
CimiSaviq, maybe you had polish and they haven't been rsync'ed13:10
SaviqCimi, well, I'm in the office13:10
SaviqCimi, so I'm definitely behind some cache13:10
CimiI can try in a different machine13:11
SaviqCimi, did a amd64 chroot work?13:11
CimiSaviq, I haven't tried amd6413:11
CimiSaviq, I am already amd64, shall I try i386?13:11
Cimior saucy13:11
SaviqCimi, no, try amd6413:12
SaviqCimi, it's a chroot, it doesn't care what you have locally13:12
Cimitrying saucy armhf, will do amd64 soon13:13
CimiI have 125Mb/s here, no problem in downloading stuff B-)13:13
CimiSaviq, saucy works13:15
CimiSaviq, so it's issue with the archive13:15
SaviqCimi, yeah I thought so13:16
SaviqCimi, still, apt-cacher-ng FTW13:16
SaviqCimi, you'll have 1Gb ;)13:16
CimiSaviq, 4Gb13:18
CimiSaviq, I have SSD here ;)13:18
CimiSaviq, works for trusty too now, definitely temp issue13:22
CimiSaviq, then to build for this?13:30
CimiSaviq, the recommended command after creating the schroot was different than the one in the wiki13:31
SaviqCimi, well, I was thinking networked13:32
SaviqCimi, "recommended command"?13:33
SaviqCimi, again, update the wiki, it's a wiki after all :)13:33
CimiSaviq, I am running the one on the wiki13:33
Cimiafter I checked man sbuild13:33
SaviqCimi, not sure which one you mean :)13:34
CimiSaviq, basically I run debuild, then sbuild --build=amd64 --host=armhf -d trusty ubuntu-system-settings....dsc13:34
SaviqCimi, ahg13:34
Cimiand it's fetching deps etc13:34
SaviqCimi, same thing13:34
SaviqCimi, --build -d just "compiles" a chroot name13:35
SaviqCimi, i.e. --build=amd64 -d trusty == -c trusty-amd64-armhf13:35
Cimilet's hope it does -j8 without having to specify13:35
SaviqCimi, it doesn't13:35
SaviqCimi, unless you have DEB_BUILD_OPTIONS added13:35
Cimiouch13:35
Saviqexported, that is13:36
SaviqCimi, but it's not sbuild's "fault"13:36
tsdgeosSaviq: who reviews https://code.launchpad.net/~aacid/unity8/delegateRangeNeedsOriginY/+merge/214757 ?13:39
CimiSaviq, export DEB_BUILD_OPTIONS=parallel=8  ?13:40
CimiSaviq, greyback nope, still no luck with the osk not being at bottom of the screen13:43
Saviqtsdgeos, damn ;)13:44
Saviqtsdgeos, the old origin...13:44
tsdgeosyeap13:44
Cimicreating surface at (0, 0) with size (768, 1280) with title 'Qml Phone Shell'SurfaceFactory::create_surface13:44
greybackCimi: did you turn on debug output from unity-mir? Build with "cmake -DCMAKE_BUILD_TYPE=Debug" and install & restart13:44
tsdgeosSaviq: i never thought we'd need it in here since the grids are always static, but since we're jumping around in the view it seems we do indeed need it13:44
Cimigreyback, I did13:44
Cimigreyback, I have debug in /home/phablet/.cache/upstart/ubuntu-system-settings-wizard.log13:45
Saviqgreyback, does it then say "Shell depth"?13:45
Saviqgreyback, and does it say "OSK depth" for the maliit surface?13:45
SaviqCimi, I meant you ↑↑13:46
CimiI cleaned the file, rerunning13:46
greybackCimi: please pastebin the file13:46
Cimigreyback, that's exactly why I cleaned the file :)13:46
=== dpm is now known as dpm-afk
Saviqelopio, does that say anything to you https://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3957/testReport/junit/unity8.shell.tests.test_emulators/DashEmulatorTestCase/test_open_applications_scope_Desktop_Nexus_4_/ ?13:53
Saviqbrb13:53
CimiSaviq, greyback http://paste.ubuntu.com/7221698/13:57
SaviqCimi, there's no debug there13:58
CimiSaviq, greyback maliit is start by the upstart job before13:58
CimiSaviq, ah13:58
SaviqCimi, hmm or wait13:58
SaviqCimi, which upstart job, how is it started/13:59
SaviqCimi, it can't be started before unity813:59
Saviqor well, before the mir server13:59
CimiSaviq, http://paste.ubuntu.com/7221706/13:59
CimiSaviq, so it doesn't play13:59
SaviqCimi, that's why it's broken14:00
CimiSaviq, I need to start maliit inside the main.cpp?14:00
SaviqCimi, no14:00
SaviqCimi, you need to start it on welcome wizard started14:00
SaviqCimi, so that welcome wizard is ready14:00
CimiSaviq, edit maliit-server upstart file?14:00
SaviqCimi, short term14:00
SaviqCimi, move the "start maliit-server" to post-start script14:01
CimiSaviq, or running it from main.cpp?14:01
SaviqCimi, NO14:01
Cimisystem("start maliit-server")14:01
Saviq_NO NO NNONN ON ONO NON ON ON ON O|14:01
Cimiahahah14:01
SaviqCimi, you will really get a slap for proposing such a thing14:01
SaviqCimi, start it in post-start, stop it in pre-stop14:02
CimiSaviq, editing the upstart job of maliit doesn't seem nice to me either14:02
CimiSaviq, but what guarantees me that post-start is after mir initialization?14:02
SaviqCimi, it's much nicer, really - only it should be a generic event, but for a short-term solution the above will work14:02
SaviqCimi, "expect stop" will14:03
SaviqCimi, so you need to add that too14:03
SaviqCimi, you really need more there, too, how does maliit-server know which mir socket to connect to14:03
SaviqCimi, I'm rather sure it tries to connect to the system compositor one14:03
SaviqCimi, which is not good14:04
SaviqCimi, you need to copy most of the unity8 job14:04
SaviqCimi, re: mir sockets and such14:04
Saviqmterry, can you help Cimi with that ↑?14:04
* mterry reads14:04
Cimithis is current maliit job http://paste.ubuntu.com/7221724/14:05
mterryCimi, you are trying to make maliit work nice with the wizard?14:05
Cimimterry, yup14:05
SaviqCimi, leave maliit for now14:05
Cimiok14:05
mterryCimi, don't stress about it.  My plan was to integrate it into the unity8-greeter-wrapper launch script.   Which starts init & maliit14:06
Cimimterry, well. I want to have it working now14:06
mterryI've been meaning to get the greeter & mir branches stabilized so I can add that support14:07
mterryCimi, OK.  Did I see that you had a short term solution above?14:07
Saviqmterry, remember maliit needs to be started *after* mir is ready14:08
Saviqmterry, I think that leaving this to the upstart jobs is actually the right way14:09
Cimimterry, we have     if (system("stop maliit-server") != 0) {} in main.cpp14:09
Cimimterry, why we're not using upstart for that?14:09
mterrySaviq, still?  Weird.  I remember it working for me in testing with the split greeter14:09
Saviqmterry, i.e. maliit-server should have start on start-keyboard; stop on stop-keyboard or so14:09
Saviqmterry, otherwise it tries to connect to the system compositor14:09
mterrySaviq, I don't remember it having those events, but if it does, that's easy enough14:10
Saviqmterry, it doesn't, it should ;)14:10
mterrySaviq, well if your concern is just MIR_SOCKET being set, then my script handles that14:10
Saviqmterry, not just that14:10
Saviqmterry, then, if that socket isn't ready14:10
Saviqmterry, there's nothing to connect to14:10
Saviqmterry, and sure, it might even die and respawn14:10
mterryhumph...  maliit-server should be smarter14:11
Saviqmterry, it's not maliit14:11
Saviqmterry, it's libmirclient14:11
mterryhumph, libmirclient should allow for waiting14:11
Saviqmterry, file a bug14:11
elopioSaviq: it says nothing at all. That exception doesn't come from autopilot. Maybe dbus failing and then failing to attach the trace?14:11
mterryCimi, I believe because I didn't want to edit any other upstart jobs to support the wizard (especially since running in user session was temporary)14:12
Saviqelopio, no idea ;|14:12
Saviqmterry, ok so that's an important data point14:12
Saviqmterry, when / where is the wifi wizard supposed to run?14:12
Cimimterry, but we could have done this inside the wizard upstart job, no?14:13
mterrySaviq, before the user sees anything.  Which for convenience sake, probably means in the same session as the greeter the first boot14:13
Cimimterry, inside the post-stop script14:13
SaviqCimi, post-start14:14
mterryCimi, yeah, but I was trying to avoid a "gap" between processes where the screen went black14:14
mterryCimi, USC in split greeter mode handles that more gracefully by having a spinner14:14
Saviqmterry, ok then, which mir socket did you think the OSK would connect to?14:14
mterryCimi, so that's a problem that will go away14:14
mterrySaviq, well that was an open problem we were discussing the other day.  Cimi, where did we land on that?  I think making the wizard a mini-server?14:15
CimiSaviq, in the current code, we have system("stop maliit-server") at qt ::quit14:15
CimiSaviq, it's a different thing14:15
mterryCimi, right, because at least a while ago, maliit-server couldn't handle having two masters (two shells it talked to)14:15
Saviqmterry, yes, hence, maliit-server needs to start/stop when wizard is ready / before it's stopping14:15
Saviqmterry, it's not meant to14:15
Saviqmterry, what two shells? greeter and wizard?14:16
mterrySaviq, well, two processes yeah14:16
Saviqmterry, don't they run under different users?14:16
mterrySaviq, agreed that maliit-server needs some bring-up / bring-down around the wizard14:16
Saviqmterry, so basically two separate maliit-servers?14:16
mterrySaviq, I'm getting a little confused on whether we are talking about current user-wizard or future greeter-wizard14:17
CimiSaviq, mterry how does this look to you?14:17
Cimi http://paste.ubuntu.com/7221764/14:17
Saviqmterry, whatever the welcome wizard Cimi is working on?14:18
elopioSaviq: it seems autopilot there is not running with -v. That should give more info.14:18
SaviqCimi, UNITY_MIR_SOCKET - don't use that14:18
mterryCimi, what's wrong with the current in-code way of doing that?14:18
MacSlowmterry, hey there... does our new-gl-screen branch for u-s-c have  a new testing silo-ppa?14:18
MacSlowmterry, the old 004 one is still dead I assume14:18
mterryMacSlow, then we moved to 002 and now we got kicked out of that one14:18
Saviqmterry, you don't know when mir is ready14:19
Saviqmterry, in main14:19
Saviqmterry, hence expect stop14:19
Saviqbut crap...14:19
CimiSaviq, http://paste.ubuntu.com/7221778/ ?14:19
MacSlowmterry, hm... I don't want to push my last commits untested.14:19
mterrySaviq, the welcome wizard cimi is working on is the same wizard, but as of this second, it's designed to run in user's session before unity8 appears.  But once we split greeter, we need to move it into the greeter session14:19
Saviq    if (qgetenv("UPSTART_JOB") == "unity8") {14:19
Saviq        raise(SIGSTOP);14:19
SaviqCimi, you'd have to make that ↑ include the wifi wizard14:20
Cimiok14:20
mterrySo all this upstart integration stuff will need to be adjusted a bit.  Which is why I haven't stressed about making it perfect14:20
SaviqCimi, that's in unity-mir14:20
Saviqmterry, well, sure, Cimi's just fighting with it a few days now14:20
Cimifight fight fight14:21
mterryFair.  I'm just saying, don't shy from doing things the short-term way14:21
Saviqmterry, and when it moves to the greeter session, it's the greeter that's gonna be the mir server will it?14:21
Saviqmterry, and handle maliit and all?14:21
mterrySaviq, no...  Probably not.  Because we don't want the greeter to appear before this wizard14:21
mterrySaviq, so we still need wizard to handle OSK itself14:21
CimiSaviq, good thing I am learning LOT14:21
Saviqmterry, so right, it needs to be a mini-server still14:21
mterrySaviq, yar14:21
Saviqmterry, unless u-s-c will composite OSK with session, which I don't think is desirable?14:22
mterrySaviq, that was another way we could go, but that support would only be used by the wizard.  Didn't seem useful enough to warrant complexity14:22
Saviqmterry, yeah, ok, so welcome wizard will still run at its own job, won't it?14:22
Saviqwe probably need to change the UPSTART_JOB check for a MIR_EXPECT_STOP or something14:23
mterrySaviq, well.  The greeter's relationship with upstart isn't so clear cut as unity814:24
Saviqso that we can use it in different clients14:24
Saviqmterry, greeter isn't launched by upstart?14:24
mterrySaviq, not exactly.  We have a wrapper script that starts upstart and the greeter and points them at each other.  And I envisioned probably sticking the wizard launch bits in there too14:24
mterrySaviq, the reason for that setup is that lightdm keeps some sockets open to talk to the greeter with14:25
mterrySaviq, so we can't just tell lightdm to launch init, because those sockets won't get to the greeeter14:25
mterrynot sockets14:26
mterrysorry, fds14:26
Saviqmterry, mhm14:26
Saviqmterry, so yeah, in that case it'd have to be the wrapper script that waits for SIGSTOP14:26
Saviqmterry, before starting maliit14:27
Cimibtw how do I re-generate .dsc files and source without re-running whole debuild?14:27
Saviqwhether it'd be the greeter or the wizard14:27
SaviqCimi, you don't need .dsc14:27
SaviqCimi, and well, you go debuild -S14:27
SaviqCimi, but just do sbuild in source tree14:27
CimiSaviq, to build crossplatform14:27
Cimiok14:27
mterrySaviq, well...  right now maliit just starts (and probably dies and restarts).  For making it Right, we could have wizard/greeter just kick off a 'start maliit-server' somewhere14:27
SaviqCimi, sbuild will do it for you, just don't pass a path to .dsc, run in source tree14:27
* MacSlow hates to say it...14:28
Saviqmterry, it's not even that it dies/restarts14:28
MacSlow... but I can't connect to mumble still :/14:28
Saviqmterry, the problem now is that it runs, but connects to u-s-c14:28
Saviqmterry, AFAICT14:28
mterryMacSlow, I see you in the room...14:28
mterrySaviq, naw naw.  The wrapper script sets up MIR_SOCKET for it14:28
Saviqmterry, oh ok, then it doesn't seem like it restarts14:29
mterrySaviq, since it knows what the socket the greeter will use14:29
MacSlowmterry, here I only see the mumble process eating up on of my CPU-cores and the its window is greyed out14:29
SaviqCimi, what does ~/.cache/upstart/maliit-server.log say?14:29
CimiSaviq, so if I store qgetenv("UPSTART_JOB"), is that a QString?14:29
mterrySaviq, why do you say that?  I'm guessing you're talking about cimi's problems, which are just with running the wizard in the user session.  None of this greeter nonsense14:29
MacSlowand the server side is still using heartbleed-bug affected pre 1.0.1g OpenSSL -> "OpenSSL Support: 1 (OpenSSL 1.0.1f 6 Jan 2014)"14:30
Saviqmterry, right, possible, but then he should have MIR_SOCKET set correctly, too, but for some reason it doesn't reconnect apparently14:30
SaviqCimi, waits14:30
SaviqRTFM14:31
mterrySaviq, he might not.  unity8 job sets MIR_SOCKET14:31
mterrySaviq, but I think it sets it to the same path that Mir defaults to anyway14:31
CimiSaviq, QByteArray ?14:31
SaviqCimi, dunno14:31
MacSlowbut maybe/hopefully it's using the patched version14:31
mterrySaviq, oh, but if unity8 job hasn't run yet, then MIR_SOCKET will indeed point ot USC14:31
Saviqmterry, yeah, but there is a MIR_SOCKET in env - probably pointing at usc14:32
Saviqmterry, exactly14:32
mterryCimi, so hardcode changing MIR_SOCKET to the one unity8 uses then  :)14:32
mterrythat integration will change anyway, so we don't need to make it perfect14:32
Saviqmterry, Cimi, yeah, so just copy most of unity8.conf and add post-start / pre-stop to start/stop maliit, correct?14:33
Saviq@unity standup14:33
mhall119in the Unity 8 preview on desktop, how can I get more apps to show up in the dash?14:33
mterryCimi, Saviq: maybe...?  sure14:34
CimiI'm testing this for unity mir http://paste.ubuntu.com/7221833/14:34
Saviqmhall119, bug #130092514:35
ubot5bug 1300925 in unity8-desktop-session (Ubuntu) "Unity 8 Desktop Preview session does not show (most) installed apps" [Medium,Triaged] https://launchpad.net/bugs/130092514:35
elopioThe number of branches we have waiting for review is growing bigger. Now we have 6.14:43
elopiohttps://code.launchpad.net/~elopio/unity8/14:43
elopiohttps://code.launchpad.net/~allanlesage/unity8/14:43
elopioSaviq, can you help us getting reviewers for them?14:43
CimiSaviq, what happens in ~/ubuntu/scratch? seems empty here14:43
SaviqCimi, depends, did you mount it?14:43
CimiSaviq, nope14:43
SaviqCimi, from the fstab?14:43
SaviqCimi, then nothing will happen there ;)14:44
CimiSaviq, it's from sbuild internal fstab14:44
CimiSaviq, what it's supposed to be doing?14:44
SaviqCimi, I've logs, the build dir mounted there and such14:45
Cimisorry got logged out14:45
Saviq Cimi, I've logs, the build dir mounted there and such14:46
CimiSaviq, I have two in /var/lib/schroot/mount/14:50
CimiSaviq, maybe an old one14:50
SaviqCimi, schroot -l --all-sessions14:51
Cimicimi@draco:~/Development/unity-mir/unity-mir$ schroot -l --all-sessions14:52
Cimisession:trusty-amd64-armhf-30b0db8e-447f-4c36-8afe-6ef6ad499d6214:52
Cimisession:trusty-amd64-armhf-a9a1080a-31da-406f-9065-bbfbecb39d8914:52
SaviqCimi, and https://wiki.ubuntu.com/SimpleSbuild#Expiring_active_schroot_sessions14:52
Cimiyeah, my pc is called draco14:52
Saviq14:52
CimiSaviq, every pc has a name of a constellation14:53
SaviqCimi, nothing to do with Draco Malfoy, eh? ;)14:53
CimiSaviq, doing almost all of them :P14:53
CimiSaviq, nope14:53
CimiSaviq, that sbuild made my day14:53
CimiSOOO FAST14:53
SaviqCimi, enable ccache and shm, you'll see what's fast14:54
Cimiand no more bloody no more space available on devide14:54
CimiSaviq, think I did something wrong14:58
Cimiblack screen14:59
SaviqCimi, read the logs15:00
CimiSaviq, no logs for system wizard15:00
Cimithink I compiled without debug15:00
CimiI am recompiling indeed15:00
CimiSaviq, but everytime I run sbuild it fetches all packages?15:01
Cimiok that I have fast internet but...15:01
SaviqCimi, that's because it's meant to be clean15:02
SaviqCimi, if you want, you can prep a separate chroot15:02
SaviqCimi, and build-dep -aarmhf inside15:02
SaviqCimi, as root15:02
CimiI see15:02
Cimibut internet is fast enough, thx anyway15:02
SaviqCimi, internet might be fast15:08
SaviqCimi, but it's not about downloading15:08
SaviqCimi, it's about installing, still takes a lot of time15:08
CimiSaviq, WOFOOO15:11
Cimihoo15:11
CimiSaviq, osk working correctly and notifications15:11
Ciminow I'm working on the post quit15:11
Cimisee why the wizard is not quitting15:11
=== gatox is now known as gatox_lunch
CimiSaviq, mterry is this correct for stop? http://paste.ubuntu.com/7222036/15:28
Cimialso http://paste.ubuntu.com/7222044/15:29
Cimimain.cpp15:30
mterryCimi, you probably don't need "initctl emit indicator-services-start" in the script15:33
Cimimterry, why?15:33
mterryCimi, wizard doesn't use indicators15:33
Cimimterry, wifi15:33
mterryCimi, it needs the indicator?  It doesn't just talk to NM?15:33
mterryOK15:33
Cimimterry, it doesn't quit though15:34
mterryCimi, but those indicators are going to want to be restarted for proper unity8 session I bet...15:34
Cimimterry, an idea why it does not quit?15:35
Cimican it be main.cpp?15:35
mterryCimi, sorry, what what doesn't quit?15:35
Cimimterry, I always see the spinner15:36
Cimimterry, also, how can I stop the upstart job?15:37
mterryOh..  You know.  Maybe just skip start_xsession altogether for now.  Just do a QApplicationCore::quit() or whatever the method is15:37
Cimiroot@ubuntu-phablet:~# stop ubuntu-system-settings-wizard15:37
Cimistop: Unknown job: ubuntu-system-settings-wizard15:37
mterryCimi, I did that so the spinner page would stay up until unity8 is ready15:37
mterryCimi, but once we eventually move to split greeter, USC will show a spinner for us15:37
Cimiok15:37
mterryCimi, so that whole "not really quitting" logic can go15:37
Cimicool15:37
CimiI'm rebuilding15:39
Cimimterry, Signal QQmlEngine::quit() emitted, but no receivers connected to handle it.16:02
mterryCimi, right.  Instead of connecting start_xsession, connect QCoreApplication::quit16:02
Cimiyeah, just wanted configm16:02
Cimiconfirm16:02
Cimimterry, qcore or qgui?16:04
mterryCimi, just qcore16:04
mterryI mean, doesn't matter really.  Both do same thing16:04
=== gatox_lunch is now known as gatox
mterrykgunn, when the next unity8 release happens, do you gather all Approved branches or do I need to specially ask for lp:~mterry/unity8/unlock-script to be included?16:31
kgunnprobably need to ask...16:31
kgunnactually...16:31
Cimimterry, difficulties in closing app16:34
Cimimterry, I have     QObject::connect(view->engine(), SIGNAL(quit()), QCoreApplication::instance(), SLOT(quit()));16:34
Cimibut it hangs16:34
mterryhangs huh...16:35
mterryI would expect that to do something16:35
mterryCimi, can you gdb it?16:37
Cimimterry, I've connected to application now instead qcore16:38
Cimii'm recompiling16:38
Cimimterry, ok I'm connected with gdb16:46
Cimiwhat shall I see?16:46
mterryCimi, you connected while it's hung?16:47
Cimimterry, I think it's stuck16:47
mterryCimi, a stacktrace with 'bt' ?16:47
Cimimterry, http://paste.ubuntu.com/7222383/16:47
Cimimterry, qml emits qt.quit16:47
Cimimterry, that is handled via16:47
Cimi    QObject::connect(view->engine(), SIGNAL(quit()), application, SLOT(quit()));16:48
Cimiand that is the bt16:48
mterryCimi, maybe we want to do just an exit(0) instead of fancy QCoreApplication::quit().  mir seems to not care that we quit Qt.  Is that because we are multithreaded with Qt in one thread?16:49
Cimimterry, so instead of SLOT(quit()) I replace exit(0)?16:49
Saviq_mterry, Cimi, look at unity8's main16:50
Saviq_mterry, Cimi, we have some joins there to close gracefully16:50
mterryperfect, makes sense16:50
Saviq_or actually unity-mir?16:51
* Saviq_ was sure we had something special in u8...16:51
Saviq_brb16:51
Saviqmterry, Cimi ah, not joins, but we have the deletes at the end of startShell16:52
Saviqthat was needed for proper shutdown16:52
CimiSaviq, so I delete the app?16:53
SaviqCimi, not the app, but the objects ;)16:53
CimiSaviq, qml calls qt.quit16:53
Ciminow how do I close gracefully?16:53
SaviqCimi, that's when application->exec() returns16:53
CimiSaviq, so I don't add any connection?16:54
Cimilet me try16:54
SaviqCimi, yes you need to add a connection indeed16:54
CimiSaviq, so which one?16:54
SaviqCimi, http://qt-project.org/doc/qt-5/qqmlengine.html#quit16:55
CimiSaviq, I added  QObject::connect(view->engine(), SIGNAL(quit()), application, SLOT(quit()));16:55
CimiSaviq, but doesn't seem to work16:56
SaviqCimi, do you see the signal being emitted? did you try calling QApplication::quit() in a singleshot timer in main.cpp?16:58
SaviqCimi, do you see QApplication::exec() returning?16:58
CimiSaviq, I see InputArea::~InputArea (this=0xaeae3bc8)16:58
CimiMirSurfaceManager::~MirSurfaceManager (this=0xaeaef6b8)16:58
CimiSaviq, so something happens16:59
SaviqCimi, btw, bug #1301309 still awaits you16:59
ubot5bug 1301309 in Unity 8 ""reviews" widget not displaying properly" [High,Triaged] https://launchpad.net/bugs/130130916:59
SaviqCimi, yes, set it to grey explicitly for now17:00
Cimiok17:00
mzanettidandrader: greyback: https://code.launchpad.net/~unity-team/unity-api/add-surfacemanager-and-item/+merge/21480917:05
CimiSaviq, you think textarea might suffer of the same issue?17:06
SaviqCimi, not sure17:06
CimiSaviq, reading code, it should have bg17:08
CimiSaviq, I'll skip textarea for now17:08
SaviqCimi, you could check ;)17:09
olli_has anyone seen bregma around?17:09
SaviqCimi, but yeah, I think it's fine17:09
CimiSaviq, https://code.launchpad.net/~cimi/unity8/lp1301309/+merge/21481017:11
CimiSaviq, so basically I just need to connect to the right signal17:15
CimiSaviq, but I don't know which one in this case17:15
CimiSaviq, googling returned the one I used before QObject::connect(view->engine(), SIGNAL(quit()), application, SLOT(quit()));17:15
=== jhodapp is now known as jhodapp|brb
=== WebbyIT is now known as rpadovani
mterrykgunn, I'm looking at silo 005, and while I did say we don't need changes for USC, we do need to recompile it.  So your lp:~kgunn72/unity-system-compositor/usc-mir-0.1.8 should be fine18:48
mterrySaviq, ^ can you add USC to silo 005 there?19:19
=== salem_ is now known as _salem

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