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

=== salem_ is now known as _salem
tsdgeosmzanetti: Stage.qml needs to die?08:24
mzanettitsdgeos: still there? I was quite sure I deleted it08:24
* mzanetti does08:24
tsdgeosdo it in the one we kill the test :D08:25
mzanettitsdgeos: yeah, sure08:26
mzanettitsdgeos: pushed. thanks08:29
tsdgeos:)08:29
Saviqtsdgeos, do you remember why we said we don't want to export LC_ALL in our test env (bug #1301038)?08:35
ubot5bug 1301038 in Unity 8 "TimeFormatterTest does not set environment properly." [Undecided,New] https://launchpad.net/bugs/130103808:36
tsdgeosSaviq: not really, i think it may have been lazyness :D08:36
tsdgeosSaviq: i need to load the fake plugin on the scope tool because DashApps08:37
Saviqtsdgeos, no, I think we really said "yeah, let's not" for some reason ;)08:37
Saviqtsdgeos, right, that08:37
Saviqmzanetti, can you do another run through tsdgeos's branch for the app plugin (fixed scope tool)08:53
mzanettiok08:56
tsdgeosSaviq: https://code.launchpad.net/~allanlesage/unity8/autopilot-indicator-page-title-matches-widget/+merge/19699109:02
mzanettihmm... the scope-tool seems to work here even without albert's last fix09:05
mzanettiwhere should I see any breakage?09:05
tsdgeosmzanetti: same crash as before, loads the unity.application plugin and gets ::quit'ed09:08
tsdgeosmzanetti: do you have scopes running?09:08
tsdgeosi.e. do you see the apps scope in there?09:08
mzanettitsdgeos: no. nothing in there.09:10
mzanettilet me try09:10
tsdgeosmzanetti: start scope-registry09:10
tsdgeosand the smart-scopes-proxy thing09:10
mzanettitsdgeos: not crashing here. also unity8 was only crashing when I started an app, which doesn't seem to be possible with the scope-tool09:11
tsdgeosmzanetti: it still imports Unity.Application09:11
tsdgeoswhich will end up creating the ApplicationManager singleton09:12
tsdgeosand crashing09:12
tsdgeosare you sure you're totally dist-upgraded?09:12
mzanettiyes09:12
tsdgeosmzanetti: so you are on the scope-tool it's showing the apps scope and it's not quitting?09:13
mzanettitsdgeos: yes09:13
mzanettitsdgeos: ah no... not the apps scope09:13
mzanettionly 10 others, like music, ebay and whatnot09:13
tsdgeoswell09:13
tsdgeosthat's not what i said you needed :)09:13
tsdgeosplease get the apps scope09:14
tsdgeosand try again09:14
tsdgeosmzanetti: do you know the name of the apps scope package? maybe you don't have it installed09:16
mzanettiyeah... have the package... fighting with my internet connection. (my ISP is doing some work around here and seems it just killed the ipv6 routing09:17
CimiSaviq, as I expected, Unity.Application for the OSK09:17
CimiMacSlow, I have a workaround for the crash09:18
SaviqCimi, right, that makes some sense09:23
CimiSaviq, and... is there a solution for this?09:25
SaviqCimi, coming09:26
tsdgeosmzanetti: why do we need the preload thing in xvfb?09:29
tsdgeosmzanetti: also we no longer have a something like qmluitests that actually shows all the windows?09:30
tsdgeosis that on purpose?09:30
mzanettitsdgeos: huh? it should09:31
mzanettitsdgeos: make testSomething should still show it09:31
mzanettionly make xvfbtestSomething doesn't09:31
tsdgeosmzanetti: but i mean one that runs them all09:31
tsdgeosi.e.09:31
tsdgeosmake qmluitests09:31
tsdgeosruns all xvfbtestSomething09:31
tsdgeoswhile previously it ran all the testSomething09:31
tsdgeoswould it make more sense to have qmluitests did what it did and the make xvfbqmluitests run all xvfbtestSomething ?09:32
tsdgeosmzanetti: am i making sense?09:34
mzanettitsdgeos: re. got a phonecall too... sorry09:39
mzanettitsdgeos: yes, I agree having a way to execute all without xvfb would make sense09:40
mzanettitsdgeos: I'll look into it09:40
tsdgeosmzanetti: wahat about the ldpreload thing?09:40
mzanettitsdgeos: that's required for nvidia cards.09:41
tsdgeosweird09:41
tsdgeosok09:41
mzanettitsdgeos: Saviq knows more about it09:41
mzanettitsdgeos: ok. scope tool issue reproduced, fix verified & approved.09:45
tsdgeosmzanetti: :)09:45
xnoxbregma: from silo5, i have tested unity for my changes. The u1 launcher is correctly gone and all indicators still load and indicator-sync is not pulled in (and indicator-sync got removed from the archive already)09:47
SaviqMacSlow, hey, is there something else ready for landing, other than https://code.launchpad.net/~macslow/unity-api/expose-notification-data-roles-to-qml/+merge/21258110:01
Saviqhttps://code.launchpad.net/~macslow/unity-notifications/mark-unsupported-examples/+merge/208113 ?10:01
MacSlowCimi, tell me10:01
CimiMacSlow, so it's the Unity.Application import10:02
CimiMacSlow, if you comment it out from main.qml10:02
CimiMacSlow, as well as OSKcontroller10:02
CimiMacSlow, the app runs10:02
MacSlowSaviq, no... it's those three related bits I made ready10:02
SaviqMacSlow, hmm I only have two?10:03
SaviqMacSlow, or do you mean https://code.launchpad.net/~macslow/unity8/fix-notification-ap-test-assertions/+merge/212169 as well?10:04
MacSlowSaviq, no10:04
MacSlowSaviq, https://code.launchpad.net/~macslow/unity-notifications/modal-snap-decisions/+merge/212483 https://code.launchpad.net/~macslow/unity8/modal-snap-decisions/+merge/210988  https://code.launchpad.net/~macslow/unity-api/expose-notification-data-roles-to-qml/+merge/21258110:05
MacSlowSaviq, there are things like https://code.launchpad.net/~macslow/unity-notifications/multiple-snap-decision-example/+merge/210638 and https://code.launchpad.net/~macslow/unity-notifications/mark-unsupported-examples/+merge/208113 but the are not "important" enough10:07
greybackok, lesson learned: with tablet you can't start a long job in a screen session, detach, plug into power and leave it overnight, and expect it to be finished in the morning. Damn power management :)10:07
MacSlowSaviq, all other things (e.g. ComboButton-utilization) are not ready because I am/was caught up elsewhere10:08
MacSlowSaviq, that's the rough summary :)10:08
MacSlowCimi, good to know I'll try that out10:09
SaviqMacSlow, yeah, fine, was just asking what to merge - the modal snaps are not ACK'ed, though, did we get a design ACK for it?10:09
MacSlowSaviq, I've attached a screen-cast to the bug filed by JohnLea I've never heard back from yet10:10
SaviqMacSlow, ok thanks10:10
SaviqMacSlow, connect the branch and the bug, please, though10:10
SaviqMacSlow, I mean to https://code.launchpad.net/~macslow/unity-notifications/modal-snap-decisions/+merge/21248310:11
Saviqactually, odne10:11
Saviqdone10:11
SaviqMacSlow, ↑10:11
MacSlowSaviq, *cough.cough*  :) https://code.launchpad.net/~macslow/unity8/modal-snap-decisions/+merge/21098810:11
MacSlowSaviq, see "Related bugs and blueprints" :)10:11
SaviqMacSlow, *cough.cough* https://code.launchpad.net/~macslow/unity-notifications/modal-snap-decisions/+merge/212483  :P10:11
SaviqMacSlow, that one wasn't linked10:12
Saviqaanyway10:12
Saviqthat doesn't get in yet, then10:12
MacSlowSaviq, what link was missing then?10:12
Saviqthe unity-notifications didn't link to the bug10:13
MacSlowcrap10:13
MacSlowSaviq, so when will it be reconsidered?10:13
SaviqMacSlow, when someone reviews it :)10:14
SaviqMacSlow, I'll try and get John to look at the screencast today, though10:14
MacSlowSaviq, thx10:14
MacSlowSaviq, so now all three are linked to the bug10:15
SaviqMacSlow, k10:15
MacSlowSaviq, really thought I linked that too10:16
SaviqMacSlow, no worries10:16
SaviqMacSlow, just to confirm, works on the greeter, too?10:18
MacSlowSaviq, yes... even AP-tested10:19
MacSlowSaviq, so the modal-behaviour happens on the regular shell, but not on the greeter as per design10:20
MacSlowSaviq, oh... I didn't put that in the screencast10:20
tsdgeoselopio: are you doing the review of https://code.launchpad.net/~saviq/unity8/skip-bluetooth-on-manta/+merge/211834 ?10:23
MacSlowCimi, I'll dive into it right after lunch10:24
CimiMacSlow, thx10:24
=== MacSlow is now known as MacSlow|lunch
SaviqMacSlow|lunch, ok, got ack10:25
=== dandrader is now known as dandrader|afk
mzanettiSaviq: so investigating the closing apps issue. its not because they're asleep but because upstart doesn't know them and we only stop through upstart. had a chat with greyback and we were thinking if we shouldn't start forcing people to move to upstart for starting things.10:33
tsdgeosmzanetti: i've had to merge+resubmit https://code.launchpad.net/~aacid/unity8/removeUnusedDashRendererProperties/+merge/212867 into https://code.launchpad.net/~aacid/unity8/removeUnusedDashRendererProperties/+merge/213997 because of a merge conflict can you do a qiuck re-review, re-approve?10:34
mzanettiSaviq: so far identified parties are: settings, qtc and autopilot (where AP doesn't seem of a problem cause it stops apps on its own)10:34
mzanettitsdgeos: sure10:35
greybackSaviq: mzanetti as long as upstart can satisfy their requirements10:35
greybackif it doesn't, a workaround in unity-mir would have to suffice I guess.10:35
mzanettiother possibility would be to send the sigterm/kill/whatever ourselves whenever upstart fails to stop something.10:35
Saviqmzanetti, greyback, yeah, we'll force people to move to upstart ultimately, but that's not a short-term goal I'm afraid10:36
CimiSaviq, what might Unity.Application start?10:37
Saviqmzanetti, greyback, so yeah let's close the window (as mardy asked) when upstart fails10:37
mzanettiok10:38
CimiSaviq, it workz!10:44
=== dandrader|afk is now known as dandrader
CimiMacSlow|lunch, don't need you for now10:48
dandradertsdgeos, I'm getting an empty dash even though I have an army of scope-related processes running. where should I start debugging? dbus?10:50
tsdgeosouch10:50
tsdgeosdandrader: do you see the different scopes at least?10:51
tsdgeosor no scopes at all either?10:51
dandradernothing10:51
dandraderso I flashed the device. all nice. then compiled new mir, platform-api, the "qt as mir compositor" qpa and unity810:51
dandraderthen I run that new unity8. all fine except nothing shows in the dash10:52
tsdgeosdandrader: you sure the merge is correct?10:55
tsdgeosi.e. all your unity imports are 0.2 and not 0.1?10:55
dandradertsdgeos, yes10:55
tsdgeosdandrader: what does http://paste.ubuntu.com/7198177/ give you?10:59
dandradertsdgeos, hmm http://paste.ubuntu.com/7198187/11:02
dandradertsdgeos, so it's working, right? ^11:02
tsdgeoswell it is kind of working yes11:02
tsdgeosbut the fact you don't see anything11:03
tsdgeosit's not cool :D11:03
CimiSaviq, tsdgeos z: 100 doesn't help11:03
dandradertsdgeos, maybe there's some blunder in the unity8 qml code somewhere11:03
tsdgeosdandrader: yeah, can you show me the diff?11:04
tsdgeosCimi: :/11:04
Cimitsdgeos, your voice saying "that's bad" popped in my mind :P11:04
tsdgeosCimi: want me to have a look at the code?11:05
Cimitsdgeos, well11:05
Cimitsdgeos, MainView { ... Notifications { anchors.fill: parent; z: 100 } }11:06
dandradertsdgeos, lp:~dandrader/unity8/mirCompositorNew11:06
mzanettidednick: hey. jfi: I reflashed my phone with the same image and the sim pin entry works again11:09
mzanettidednick: if it happens again we should probably dig deeper tho11:09
tsdgeosCimi: can you repro it in the desktop?11:09
Cimitsdgeos, I'll try a test app11:09
tsdgeosCimi: +111:10
dednickmzanetti: hm. weird11:10
mzanettidednick: yeah... until the reflashing there was absolutely no chance it bringing it up again11:10
tsdgeosdandrader: branching11:11
mzanettidednick: note that this is on a read only phone with the stable released image (r250). so unlikely that I screwed up the image11:11
dednickmzanetti: yeah. must have been something funky going on with the indicator-network ofono dbus shizzle11:11
tsdgeosdandrader: so the whole code is the same in qml/Dash11:13
tsdgeosexcept a few Unity.Application -> Mir.Application11:13
dandraderyeah11:14
tsdgeosdandrader: is there any chance this is a bug in the compositor code you guys are doing?11:14
tsdgeoslike not painting that area or something?11:14
dandraderin Shell.qml I essentially commented out all state stuff and removed the unity-mir hacks (InputFilterArea, OSKController)11:15
dandraders/state/stage11:15
dandradertsdgeos, ahahha, no. I see the new background. panel an launcher works fine11:16
dandradertsdgeos, but you gave me I starting point. I will start adding more console.logs in the Dash code11:16
dandrader*a starting point11:17
Cimitsdgeos, lp:~cimi/+junk/weird-header11:17
tsdgeosdandrader: good luck!11:18
dandrader:)11:18
tsdgeosCimi: so that looks good? or not?11:20
tsdgeosok, not11:20
tsdgeoswait11:21
tsdgeosyou're transparent11:21
tsdgeosyou're transparent11:22
tsdgeosCimi: you had problems ssh'ing to the phone the other day, right?11:33
Cimitsdgeos, nope11:34
Cimitsdgeos, well, I had canonical sshebang to remove11:34
tsdgeosCimi: so what did you remove exactly, i think i may be having the same issue11:34
Cimitsdgeos, did you ever set up sshebang?11:36
tsdgeosCimi: had Saviq help already11:36
Cimiok11:36
pete-woodsSaviq: https://wiki.ubuntu.com/SoftwareUpdates#Prompting11:42
MacSlowCimi, is the expected outcome of commenting out the OSKController and the import Unity.Application in main.qml a white screen when the wizard is running during boot?11:51
CimiMacSlow, nope11:51
CimiMacSlow, that might be something else11:51
CimiMacSlow, check debug11:51
MacSlowCimi, where is that written to?11:52
Cimitail -f /home/phablet/.cache/upstart/ubuntu-system-settings-wizard.log11:52
* MacSlow tries again11:53
CimiMacSlow, I'd also remove the file from config11:54
CimiMacSlow, but it works now11:54
CimiMacSlow, I don't need your help :)11:54
Saviqlol11:54
CimiSaviq, well, still crashes with unity.application11:54
CimiSaviq, but I'm waiting for that11:55
CimiSaviq, how about this^ https://bugs.launchpad.net/unity8/+bug/1301309 ?11:55
ubot5Ubuntu bug 1301309 in Unity 8 ""reviews" widget not displaying properly" [High,New]11:55
MacSlowCimi, so you see the notifications showing up then?11:56
CimiSaviq, static color and // FIXME or // XXX11:56
CimiMacSlow, I do11:56
MacSlowDude!!!11:56
MacSlowCimi, since when?11:56
SaviqCimi, please fix, it's just white on white11:56
CimiMacSlow, one hour ago11:56
CimiMacSlow, I texted you here11:56
Cimi<Cimi> Saviq, it workz!11:57
Cimi<Cimi> MacSlow|lunch, don't need you for now11:57
* MacSlow checks his logs11:57
MacSlowCimi, really didn't see that11:57
* MacSlow WTF's xhcat11:57
MacSlowCimi, never mind then11:57
CimiMacSlow, if you change nickname, maybe you miss highlight11:57
Cimiadd MacSlow as a word to highlight11:58
MacSlowCimi, no... it logs everything... and it would still trigger the icon-jiggle-dance... which it did not11:58
Cimiso you can be MacSlow|toilet and you'll get it :D11:58
MacSlowCimi, usually yes11:58
MacSlowCimi, so to recap... it was the position of the Notification {...} after all?11:59
CimiMacSlow, no idea12:03
CimiMacSlow, but works now12:03
CimiMacSlow, flashed phone12:03
Cimiand other stuff12:03
=== alan_g is now known as alan_g|lunch
dandradertsdgeos, trying to understand the Dash code: What does DashContent show and what does ScopeItem show?12:05
MacSlowCimi, I'm removing all the wizard.wifi related bits now... and go back to bug-hunting12:09
elopiotsdgeos: I am not, but I can take a look in a moment.12:10
elopioMacSlow: you pinged yesterday, right? Can I help you?12:11
MacSlowelopio, no... not right now... I might get to you later today with some AP-questions... right now bugs12:12
=== jhodapp|afk is now known as jhodapp
elopioMacSlow: ok12:43
JohnLeaMacSlow, Saviq; hyia, what is the bug # of the bug you were discussing in the earlier conversation that you wanted feedback on?12:48
MacSlowJohnLea, the modal snap-decisions... bug12:48
MacSlow#12:48
MacSlow...12:48
MacSlowJohnLea, https://bugs.launchpad.net/unity8/+bug/1285712 https://code.launchpad.net/~macslow/unity8/modal-snap-decisions/+merge/21098812:49
ubot5Ubuntu bug 1285712 in Unity 8 "phone notifications should appear modally and block events to the app below" [High,In progress]12:49
MacSlowJohnLea, I've attached a screencast of the implementation in action12:49
SaviqMacSlow, actually not, JohnLea, bug# 1301682 and bug #130168512:49
ubot5bug 1301685 in Unity 8 "snap decisions don't support a single action button" [Undecided,New] https://launchpad.net/bugs/130168512:49
MacSlowJohnLea, but jouni also approved it12:49
Saviqbug #130168212:50
ubot5bug 1301682 in Unity 8 "Notifications are not displayed if snap decision visible" [Undecided,New] https://launchpad.net/bugs/130168212:50
SaviqJohnLea, ↑12:50
MacSlowSaviq, oh... and single button... that would be an interactive notification12:50
SaviqMacSlow, yeah, I commented on both12:50
SaviqMacSlow, but since the reworked spec is rather scarce on details, I asked for confirmation12:51
* Saviq really thinks there's no point in having a single-button snap decision12:51
* MacSlow agrees12:51
Saviqit should either be "Launch, Cancel", or actually nothing in the "OK" case12:51
Saviqthat bfiller wrote about12:52
Saviqi.e. an interactive one12:52
JohnLeaSaviq, MacSlow; I think bug #1301682 should be marked won't fix because it contradicts the queuing logic defined in section 4.2.2 of https://docs.google.com/a/canonical.com/document/d/1puQ9Z0yKqzsQ1VQ1OOBkxgp78iWGnAhAkFXWJFTWIrE/edit#heading=h.kr29xp2emoyq12:52
ubot5bug 1301682 in Unity 8 "Notifications are not displayed if snap decision visible" [Undecided,New] https://launchpad.net/bugs/130168212:52
SaviqJohnLea, right12:53
MacSlowJohnLea, yup12:53
JohnLeaSaviq, MacSlow; cool, added comment to bug and marked won't fix12:54
JohnLeaSaviq, MacSlow; also re. single button notifications - if there is only one button in a notification it should actually be a clickable notification - no snap decision should have only one button12:55
SaviqJohnLea, yup12:55
JohnLeacool - does that answer your questions or was there something else?12:55
SaviqJohnLea, please comment on the bugs, that's all, we just wanted confirmation of the Won't Fixes12:55
Saviqtsdgeos, can you have a look at bug #130187112:56
ubot5bug 1301871 in unity8 (Ubuntu) "Last track visible on the music carousel can not be used" [High,New] https://launchpad.net/bugs/130187112:56
JohnLeaSaviq, commented on bug #1301682 are there any other bugs you need me to look at?12:56
=== _salem is now known as salem_
ubot5bug 1301682 in Unity 8 "Notifications are not displayed if snap decision visible" [Undecided,New] https://launchpad.net/bugs/130168212:56
MacSlowJohnLea, yes... that's how I always viewed the reason which motivated the need for the "interactive notification"... keep the UI cleaner if possible12:56
SaviqJohnLea, not atm, thanks12:56
=== dandrader is now known as dandrader|afk
SaviqJohnLea, I can't change the status of the ubuntu-ux task, can you please mark it wontfix bug #1301685?12:58
ubot5bug 1301685 in Ubuntu UX "snap decisions don't support a single action button" [Undecided,New] https://launchpad.net/bugs/130168512:58
JohnLeaSaviq, woops, I marked it won't fix in the wrong project.  done now12:59
mterrySaviq, in silo 002, USC needs a rebuild.  Changes in mir/devel have broken it again and I updated it to match last night.   I think I need to do the same for unity-mir now13:04
=== alan_g|lunch is now known as alan_g
Saviqmterry, yay for devel braches...13:04
Saviqmterry, just usc for now?13:05
mterrySaviq, yeah13:05
Saviqmterry, kicked13:06
CimiSaviq, so basically what's the import path I should use now?13:07
CimiSaviq, I'm confused because it still crashes at boot13:07
tsdgeosCimi: lp:~aacid/unity8/application_manager_install_fix13:09
Cimitsdgeos, but why is it crashing?13:09
Cimitsdgeos, I'm running before shell13:09
tsdgeosunity.application calls ::quit13:10
pete-woodsSaviq: https://code.launchpad.net/~unity-team/libusermetrics/file-based-infographics/+merge/21402013:10
tsdgeosif you're not a qmirguisomethingsomethingapplication13:10
Cimiok13:10
Cimitsdgeos, so how do I get a working oskcontroller and inputfilterarea?13:10
Ciminot-mocks13:10
CimiI can always copy the plugins :D13:11
tsdgeosCimi: you'd have to be a qmirguisomethingsomethingapplication or fix oskcontroller and inputfilterarea to not use the applicationManager13:12
tsdgeosor don't use them13:12
tsdgeoswhy do you need them?13:12
tsdgeosah because you're a shell13:12
Cimitsdgeos, Cimshell13:13
Cimitsdgeos, pay respect, I have the power to show on your phone, when you boot, "Welcome to your Cimi phone"13:13
pete-woodsSaviq: the camera MR https://code.launchpad.net/~pete-woods/camera-app/file-based-infographics/+merge/21057313:14
pete-woods(basically it just adds the click hook to say "I'm a source")13:15
SaviqCimi, tsdgeos, yeah, the input area and friends should be a separate API I'd say13:16
CimiSaviq, I can work on it13:17
CimiSaviq, where can I put it? currently it's unity-mir13:18
SaviqCimi, it needs to stay in unity-mir13:20
CimiSaviq, so I can split Unity.Application and create a new module?13:20
SaviqCimi, but needs to be a separate import, something along the lines of Unity.Input13:20
CimiUnity.Cimi ?13:20
Saviqgreyback, can you do a quick sanity check on what I said ↑?13:20
Saviqi.e. we want to be a shell with no app management13:21
greybackSaviq: Cimi: when we go the QtCompositor route, both will go away13:21
greybackthe input filter a consequence of Mir being the compositor and input manager13:21
Saviqgreyback, well, we'll need *some* input filter still13:21
Saviqgreyback, since the keyboard might be a larger surface still than the input it will receie13:22
Saviq*receive13:22
greybackSaviq: with qtcompositor, all input goes directly into Qt's event loop13:22
Saviqgreyback, i.e. it has key "popups" that go out of the keyboard rectangle13:22
greybackand we decide where those input events go to in QML13:23
greybackthen the QML item that is the target of those events, delivers those events back to the mir client13:23
greybackMir's input system is completely bypassed13:23
Saviqgreyback, I understand that, but we need that "input-aware" item to be different than the surface item itself (sometimes)13:24
Cimigreyback, anyway guys, I need this soon :D13:25
CimiUnity.Input or Inputs?13:25
SaviqCimi, wait, though13:25
SaviqCimi, there's no reason why you'd need to do that when you're the "shell"13:25
greybackSaviq: hmm then we need a way for a Mir surface to define its input area, in such a way that QML can make the correct decision where the input event should go13:26
CimiSaviq, it crashes now13:26
Saviqgreyback, yup13:27
greybackInputAreas are guessed by shell right now13:27
CimiSaviq, upstart at boot before unity813:27
SaviqCimi, "crashes" with the protobuf error?13:27
CimiSaviq, yeah13:27
SaviqCimi, please ask #ubuntu-mir why that could be13:27
SaviqCimi, that sounds like a bug13:27
greybackSaviq: as equivalent to what we have now, the shell will know the OSK surface, and we can have it not accept input events outside a certain geometry13:28
greybackand thus pass them to whatever is underneath13:29
Saviqgreyback, yup, exactly what I meant13:29
Saviqmardy, hey, re: closing signon-ui window... it looks to me like something doesn't work correctly when we press "Back" in the UI, the surface goes away (blank), but the connection to Mir seems to remain, as we don't see the app closed or something13:30
mardySaviq: I'm not sure how the Mir connection maps to Qt objects, but if it's bound to the QGuiApplication, that's expected: we are not destroying it13:31
greybackSaviq: that can be done, need to think about how to design it13:32
Saviqmardy, yeah, I think that's the problem, no windows doesn't mean no connection to mir → doesn't mean no app13:33
greybackOSKController can move into shell. Only reason it wasn't there is that it used window manager specific methods13:33
Saviqgreyback, I'd think a kind of "input overrider" thing on surfaces13:33
mardySaviq: so I think it's all correct, right? I'm calling "quitOnLastWindowClosed(false)13:33
Saviqmardy, so the process should go straight away?13:34
greybackSaviq: would be more pure-qml to have the actual surface Item itself decide whether to accept/reject events13:34
Saviqgreyback, right, and "come back" if not accepted?13:34
mardySaviq: no, the process stays for some (5, IIRC) seconds, then it quits13:35
Saviqmardy, ah, so you disable quitting on last window closed...13:35
greybackSaviq: if not accepted, qml will pass it to whatever is underneath13:35
Saviqgreyback, well, yeah, that's what I meant13:35
greybackSaviq: ok, we're on same page13:36
Saviqgreyback, only thing I'd be scared of in that case would be some input-sniffing attack angle13:36
Saviqgreyback, i.e. maximized surface that doesn't accept input anywhere13:37
Saviqgreyback, but maybe paranoid13:37
Saviqmardy, so yeah, that sounds like an issue, maybe we need to improve the QPA in that case (no windows → app gone), not my area of expertise, though...13:38
greybackSaviq: if it doesn't accept input anywhere, where is the sniffing? But yeah it could be abused. Wuld need shell to decide if requested input region is accepable or not13:39
Saviqgreyback, doesn't accept, doesn't mean it doesn't listen13:40
greybackSaviq: I mean more an app would define a geometry: "this sub region of my surface accepts events, else doesn't" and shell would implement that input policy13:41
greybackso we don't trust app to make the accept/reject events decision, shell does it13:41
Saviqgreyback, right, yeah13:41
Saviqgreyback, ok, then now we're on the same page ;)13:42
greybackSaviq: good13:42
Saviqgreyback, sounds a lot like window shapes in unity-2d....13:42
greybackSaviq: exactly13:42
Saviqthat api was crazy, though :|13:42
greybackhow else could it be done? You effectively sent a binary pixmap to the server, about as flexible as it can get.13:44
greybackwe could be more strict, where any part of app that doesn't receive events, is also made transparent13:44
greybackso an app can't draw in a place, but let the input pass through it13:44
greybacks/but/yet/13:45
=== dandrader|afk is now known as dandrader
mzanettizbenjamin: in case the fix works for you, feel free to leave a comment here: https://code.launchpad.net/~mzanetti/unity-mir/quit-manually-started-procs/+merge/21401314:24
mzanettiwell, if it doesn't too14:24
zbenjaminmzanetti: did you also find a cause why it maybe did not accept my SIGTERM from QtC?14:24
mzanettizbenjamin: no... seemed to work fine on the first try here14:24
zbenjaminmzanetti: weird maybe its related to SSH somehow, QtC starts the process over a SSH connection14:25
mzanettizbenjamin: shouldn't... but we do some fancy stuff down there in the signal handlers14:25
zbenjaminmzanetti: once the new QtC version is out i'll maybe ask you to test it for yourself. I wrote a app that shows me when its receiving a SIGTERM and it did clearly not when i pressed the stop button in QtC14:26
zbenjaminmzanetti: i have no idea where to look atm maybe you can help there14:26
mzanettizbenjamin: ok, sure14:28
dandradertsdgeos, greyback: you won't believe what fixed the empty dash: http://paste.ubuntu.com/7198880/14:28
mzanettiwow...14:29
greybackwhaaaaa?14:29
dandraderscary14:29
greybackwas disappearingAnimationProgress being animated?14:30
om26erSaviq, Hi! Can you remove my name from 'Unity UI stand-up' attendants ? :)14:31
Saviqom26er, you're leaving us? :(14:31
Saviq;)14:31
om26erhah :D14:31
dandradergreyback, well, its value changes when you slide the greeter away14:31
om26erSaviq, that was QUICK14:32
Saviq;)14:32
greybackSaviq: can you join standup?14:32
tsdgeosdandrader: that is veeery weird14:33
tsdgeosthere's maybe some calculation that breaks that?14:33
greybackkgunn: joining us?14:33
kgunncrap14:34
Cimimhr3, can you ping tsdgeos and Saviq for standup?14:35
SaviqCimi, in a mtg14:39
Cimiok14:39
zbenjaminmzanetti: it does not fix the problem as far as i can see14:48
mzanettizbenjamin: hmm... strange... so its a different one than the settings app has14:49
mzanettizbenjamin: just to make the cross-check: open system-settings, open accounts. swipe both away. close accounts. return to system settings and try opening accounts again14:49
mzanettidoes it come up?14:49
zbenjaminmzanetti: hm no, but i installed your package14:51
mzanettiok... then I maybe messed up with the package :/14:51
* mzanetti verifies14:51
zbenjaminmzanetti: i rebooted would that remove the package_?14:52
mzanettino...14:52
zbenjaminok good, not that there is some sort of default image restore on boot14:52
zbenjaminmzanetti: just verified from the commandline that the accounts.ui was still running14:53
mzanettino, there isn't.14:53
* mzanetti installs the package on another phone14:54
mzanettizbenjamin: indeed.... installing that package on another phone doesn't fix it... seems I messed up somehow15:23
zbenjaminmzanetti: ok np15:23
zbenjaminmzanetti:lets test it tomorrow again, i'll go to training soon15:24
mzanettizbenjamin: ok... I'll make sure to have a working package for you by tomorrow morning15:24
zbenjaminmzanetti: nice thx!15:24
pete-woodsSaviq: https://ci-train.ubuntu.com/job/landing-013-1-build/4/console I don't really understand this build error - all I've done is add an unreleased version?15:47
Saviqtsdgeos, hey, I'd like you to look at bug #1300302 please16:03
ubot5bug 1300302 in unity8 (Ubuntu) "Dead area at bottom when scrolling in scopes" [High,Incomplete] https://launchpad.net/bugs/130030216:03
Saviqmzanetti, a different fun one for you: bug #130032616:08
ubot5bug 1300326 in unity8 (Ubuntu) "Shell randomly freezes with grey tint" [High,Confirmed] https://launchpad.net/bugs/130032616:08
mzanettiSaviq: that came in with new-scopes I think16:09
Saviqmzanetti, yeah, sure, that's around when it started... but not explained by it...16:09
Saviqmzanetti, only thing I can think of is new scopes being more processing-heavy and that surfaced the issue16:10
mzanettimight be true...16:10
mzanettiSaviq: I have a feeling its related to the thing dandrader had today16:10
mzanettithat smoothedanimation in shell.qml16:10
mzanettiI'll look into it16:11
Saviqmzanetti, coolz, thanks16:11
* greyback early eod16:13
=== _salem is now known as salem_
=== jhodapp is now known as jhodapp|lunch
mzanettihmpf... trying to reproduce the grey tint one, I found another one:16:31
mzanettiopen an app, swipe it away from the left. you'll be in apps scope. go to the scopes scope, pull in the app from the right, swipe it away from the left again16:33
mzanettiyou'll be in scopes scope (which is wrong) with the apps scope's header16:33
MacSlowtsdgeos, What's the difference between libqt5quick5 and libqt5qml5?16:47
tsdgeosMacSlow: qml is the language16:47
tsdgeosquick is the graphics16:48
tsdgeosi.e. blackberry uses qml but not quick16:48
MacSlowtsdgeos, ok16:48
tsdgeosthey uses qml+cascades16:48
tsdgeosok, you can still use qml+quick, but qml+cascades is the recommended way16:48
mhr3mzanetti, everyone tells me that header sucks, and will go away anyway16:48
mzanettimhr3: strangle in this case the header is the only one doing the right thing :D16:49
mzanettibut yeah. I've been told so too16:49
MacSlowtsdgeos, I'm just asking as I have the impression I need to debug QtQuick's Image or Qt's Image to figure out the regresssion with the messed up icons when updating a notification.16:50
tsdgeosMacSlow: which problem do you have?16:51
MacSlowtsdgeos, when I update the icon (Image {...}) of a notification the element doesn't get correctly updated... although the reported source and sizes are correct16:52
MacSlowtsdgeos, I tried numerous things on the QML-side all without effect... thus I think this might be a bug introduced by the move from Qt 5.0 to 5.216:53
MacSlowtsdgeos, I need to see what's happening behind the scene, when the source of an already created Image get changed16:54
=== alan_g is now known as alan_g|EOD
* MacSlow drops out for food17:01
elopiohey unity team. We need another small review here: https://code.launchpad.net/~allanlesage/unity8/dash-apps-visible-ordering/+merge/21391317:08
=== jhodapp|lunch is now known as jhodapp
=== jhodapp is now known as jhodapp|bbl
tedgbregma, So I'm looking at your upstart indicator-session patch.21:06
tedgbregma, I don't think that we can drop gnome-session support.21:06
tedgbregma, It does a lot more on the desktop than just logging out.21:06
bregmatedg, yes, I'm not suprized, my patch was mostly exploratory and not intended as a proper solution21:08
tedgI feel like we shouldn't be telling Upstart to end the session.21:09
tedgWe should be telling Unity8 to do it.21:09
tedgSo it can do "app management stuff" on all the applications.21:09
bregmatedg, I am open to better ways to get things working21:10
tedgLet's see if Saviq is up late :-)21:10
tedgThere's an API that Unity7 uses to pop up the logout dialogs, no?21:12
tedgIs that something from gnome-session or something else?21:12
Saviqwtf?21:16
tedgHeh21:17
* Saviq sleeps21:17
tedgSaviq, We're talking about how to logout in the Unity8 world21:17
Saviqyou don't21:17
tedgi.e. who should indicator-session talk to.21:17
tedgOn desktop21:17
tedgWe can talk to Upstart and just bring the whole thing down, but it seems like Unity8 should orchestrate bringing down apps.21:18
Saviqso, being frank, /me is drunk now, please file a bug, and I'll get to it tomorra?21:18
Saviqafk21:18
* tedg is trying to decide if being drunk will get him more or less of what he wants :-)21:19
bregmatedg, should upstart now be reponsible to shutting down Uniy 8 gracefully, along with everything else it starts in the session?21:36
bregma*not21:36
bregmalet me rephrase: I would think upstart itself should be responsible for stopping what it started on session shutdown21:37
tedgSure, and it will, but there could be things like grace periods.21:37
tedgFor instance to give apps a chance to save one last time.21:38
tedgThose signals all go via the session management interface, which is the app manager in Unity.21:38
bregmaI would expect upstart to ask Unity to shut down, which would then ask all its spawn to do their thing21:38
bregmain a nice, orderly and heirarchical fashion21:39
tedgUpstart only gives it 5 seconds to do so.21:39
bregmait takes 20 seconds to shut down and reboot my laptop, what is Uniy doing that takes that long?21:39
tedgIt can't have a sophisticated conversation with the apps21:39
bregmaanyway, can't upstart be configured to be more patient?21:40
bregmaI want all things not unnatural to have a beautiful symmetry21:40
tedgSure, and actually Unity8 does configure it longer than that because apport couldn't get stack traces in time :-)21:40
tedgBut, I think it's the wrong place to bring down the session in an orderly way.21:41
bregmawould systemd do a better job? *ducks*21:41
tedgHeh, not really. The init systems are roughly the same.21:41
tedg(in this regard)21:41
tedgI think we want Unity8 to tell upstart when it's ready to go so it can pop user interaction dialogs, etc.21:42
tedgThings that might happen on "human time" -- they suck, but eh, we have to work with those humans.21:42
bregmawell, that's not going to happen before final freeze for 14.0421:43
bregmahow about system("pkill unity8"); ?21:43
tedgHeh21:45
tedgI'd rather add an API that Unity8 just did "exit()" on.21:45
tedgbregma, Look at unity8-mir.conf, the stop conditions there make sense.21:53
tedgbregma, bug 130221321:56
ubot5bug 1302213 in Unity 8 "API to bring down the session" [Undecided,New] https://launchpad.net/bugs/130221321:56
=== salem_ is now known as _salem
tedgbregma, In a nutshell, I think we can wait to see what Saviq says, but I'd rather do that or just call "stop unity8"22:03
tedgbregma, And let that bring down the sessions.22:03
=== jhodapp|bbl is now known as jhodapp

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