[06:57] Saviq: i see my branch has been merged... is it already on the image? [06:57] zbenjamin, http://people.canonical.com/~ogra/touch-image-stats/211.changes [06:58] zbenjamin, not yet apparently [06:58] zbenjamin, the next one [06:58] Saviq: :/ [06:58] zbenjamin, ah no [06:58] zbenjamin, yeah, it's there in 211 [06:58] zbenjamin, sorry, eyes didn't wake up yet :) [06:58] Saviq: but not on the RTM image i guess [06:58] zbenjamin, no, it's in a silo for that [06:58] zbenjamin, awaiting QA sign-off [06:59] zbenjamin, http://people.canonical.com/~platform/citrain_dashboard/#?distro=ubuntu-rtm&q=landing-001 [06:59] Saviq: ok because thats what i use , on the devel-proposed image the click packagage signing checks are enabled and make it impossible to install click packages from the SDK [06:59] zbenjamin, I believe that was pulled back again [07:00] Saviq: ok then i'll check that later [07:00] zbenjamin, if you get me a .click package I can test out for you, just flashing 211 [07:06] morning [07:08] Saviq: sent you a mail [07:08] zbenjamin, tx, will check in a mo [07:11] Saviq: ping [07:12] i didn't realize your seeLessStuckBottom did so many things different to mine [07:12] in particular you changed expandedCategoryId to expandedCategoryItem which is wrong [07:13] tsdgeos, was not me, was Daniel actually [07:13] tsdgeos, http://bazaar.launchpad.net/~unity-team/unity8/seeLessStuckBottom/revision/1128 [07:14] good [07:14] code is mor declarative [07:14] and doesn't work :) [07:16] shall i simply revert the whole change? [07:17] tsdgeos, what doesn't work there? I didn't notice any wrong behavior when testing? [07:17] Saviq: well, storing the pointer is wrong [07:18] you can't compare pointer delegates [07:18] because the next delegate represent the same category will obviously have a different pointer [07:18] tsdgeos, right, so what's broken is expansion across searches? [07:18] that's why we store the category id and not the pointer [07:18] Saviq: and expansion across scrolling [07:19] expand, scroll, scroll back, broken [07:19] tsdgeos, right [07:19] that might get fixed once/if we merge the branch i did to keep all the categories created [07:20] yeah, but not across searches [07:20] * Saviq was never fond of the persistence of the expansion TBH [07:20] across searches that is [07:21] zbenjamin, status in bug #1361349 will tell you what's in RTM btw [07:21] bug 1361349 in url-dispatcher (Ubuntu RTM) "Should open scope:// URIs through unity8-dash" [Undecided,In progress] https://launchpad.net/bugs/1361349 [07:21] zbenjamin, hmm and I didn't get no email? [07:21] ah [07:22] junk [07:22] Saviq: so you consider my click package junk? ;) [07:22] zbenjamin, thunderbird does [07:23] Saviq: so where do you want that reversion? in a new separate branch or is part of two_see_more_bugfix ? [07:24] zbenjamin, yeah, pkcon install-local installed it fine [07:24] tsdgeos, the same, just name it "three_see_more_bugfix" ;) [07:25] ok [07:33] Saviq: awesome thx for testign [08:05] tsdgeos, isn't like the indentation incorrect here? https://code.launchpad.net/~aacid/unity8/dashOverviewFromTempScopePreview/+merge/232378 [08:05] Cimi: no [08:05] unless you mean that the whole list is [08:05] then yes [08:06] tsdgeos, yes [08:07] tsdgeos, btw, sorry for missing the expansion behaviour, I didn't look too closely as Daniel top-acked it already [08:07] tsdgeos, sounds like we need a test, but let me try and verify that that's still the behaviour we want (persistency across searches that is) [08:08] tsdgeos, btw, your popover test fix didn't help apparently :/ [08:08] yeah i saw [08:08] can try making that last test a trycompare [08:08] will do in a bit [08:15] tsdgeos, so you basically use valgrind to slow stuff up during a test run locally? [08:15] that's what i did yesterdya yeah [08:15] nice ;) [08:15] sometimes it is unworkable [08:16] since it takes too much [08:16] and then tryCompare fails [08:16] because takes more than 5 sec [08:17] you know what? [08:17] the test fails all the time here now :D [08:26] Saviq: and the test is righfully changing [08:27] tsdgeos, oh interesting [08:27] something's bringing back the focus to the text field after clicking in a popover result here in tryPageHeader [08:28] and from what i can see it isn't us [08:31] now what made this break, i do not know [08:33] the pluin is from 26th [08:33] pluin -> SDK [08:33] so may well be that [08:40] Saviq: yeah SDK [08:41] tsdgeos, yay : [08:41] they made their popup destruction restore focus [08:41] which i can see how it makes sense [08:41] but broke us [08:43] i think i can workaround, let me see [08:43] tsdgeos, since when do bindings with functions introspect the function body ?¿ [08:43] they don't afaik [08:44] it may just happen that you get the binding updated for some other reason [08:44] tsdgeos, http://pastebin.ubuntu.com/8167099/ [08:44] tsdgeos, that's due to find*Child [08:44] :S [08:44] or actually findInvisibleChild [08:44] weird [08:44] because findChild looks at children [08:45] Saviq: no, can't workaround it [08:46] tsdgeos, I think I saw the bad behaviour too [08:46] but can't pinpoint when [08:46] Saviq: shall i do a quick MR against SDK adding a "propery bool restoreFocus: true" to Popup? [08:47] tsdgeos, hmm, why would it restore focus? [08:48] Saviq, just pushed the fix for the "white-bar on top of sim-unlock snap-decision" to my branch... I guess it's too late for the silo, right? [08:48] MacSlow, it landed already, yeah ;) [08:48] Saviq: because is the new default, i jus want to expose the property so we can set it to false [08:48] MacSlow, but that's fine, we'll get another one [08:49] Saviq, I could swear I had that fix pushed before... I don't remember seeing it when I did local tests... no idea how that slipped [08:49] tsdgeos, looks like https://bugs.launchpad.net/ubuntu-ux/+bug/1353966 ? [08:49] Ubuntu bug 1353966 in Ubuntu UX "[SDK] Slider does not work in a List View" [Medium,Triaged] [08:50] hmm [08:50] Saviq: no? [08:50] tsdgeos, no ;) [08:50] Saviq, I'll to a "paranoid" check of all of my other branches... I don't want to be surprised like that again :) [08:50] aargh devel branches ffs [08:50] Saviq: https://bugs.launchpad.net/bugs/1234982 is the bug it tries to fix [08:50] Ubuntu bug 1234982 in ubuntu-keyboard (Ubuntu) "[osk] Keyboard does not auto-hide when no longer needed" [Undecided,Confirmed] [08:51] don't see how it helps [08:51] but it's the bug number attached to the change [08:52] tsdgeos, http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/staging/revision/1211 then [08:52] Saviq: yes, that one [08:52] see the change in popupbase [08:53] tsdgeos, mhm, talk to zsombi please [08:54] tsdgeos, or well, if we create the popup before we focus (but we do create it on focus don't we?) [08:54] oh yay, got a popup in the middle of the screen now [08:54] because it restored focus... uugh [08:55] Saviq: yes, we create it on focus, only way to know we have to create it [08:55] tsdgeos, mhm, I'm not totally sure I agree with that behaviour [08:56] but maybe I don't know everything === alan_g is now known as alan_g|afk [09:42] Saviq: our qmluitests take 2h in CI ?¿ [09:43] tsdgeos, yup, an hour to install deps / build + 40 sthg to run the tests :/ [09:43] :/ [09:43] tsdgeos, I have plans to improve that, but time... [09:43] sure :D === alan_g|afk is now known as alan_g [09:55] Wellark, huh, is it expected that one of the SIMs goes "no signal" when the other is on call? [09:57] * Saviq gets No signal all the time on one of the SIMs, need to swap them... [10:07] hmm so the no signal is a lie [10:09] Saviq, looks like we might have indeed issues with the carousel and card size [10:09] Saviq, i was trying with scope tool [10:09] Saviq, do you have a category handy I can override? [10:09] I don't have enough music to show me carousel [10:10] Cimi, just get more music? [10:10] Cimi, or override any random category? [10:11] Saviq, yeah but some others are broken too [10:11] Saviq, the carousel seems to clip [10:11] so I was wondering what we want to support [10:11] Cimi, yes, because it only supports overlay [10:11] Cimi, that's fixed in the scope already [10:11] Cimi, don't look at carousel, that is fine [10:12] Saviq, I tried this in grooveshark http://paste.ubuntu.com/8167638/ [10:12] Cimi, look at when you tap on a result and open [10:12] Cimi, carousel is fine, leave it [10:12] ok [10:12] this is broken btw [10:12] shows text clip [10:12] yes, because it's not overlaid [10:12] when it should be [10:12] carousel assumes there's nothing below the card (per design) [10:13] Cimi, and that's fix committed to the scope already [10:13] Cimi, what is not fine is the single large card when you open an artist search [10:15] Saviq, how do I open an artist search? [10:15] Cimi, just tap on an artist in music (the tool does not support canned queries, so in the real thing) [10:17] I don't have artists?? [10:17] I have few coldplay albums [10:17] I tap it opens albums [10:17] oh maybe I need two artists [10:17] easy joke incoming "Coldplay don't produce art thus no artist" [10:20] ;) [10:24] Saviq: yes [10:24] j/k it's like when Skrillex added this sample at the end of one of his songs https://www.youtube.com/watch?v=Gs3ocG5yW88 [10:24] but the signal strength should return [10:24] when you end up the call [10:24] Saviq: you can still check with awe and abeator [10:25] Wellark, yeah weird thing is stuff works fine, but the indicator just goes to no signal for no reason [10:25] Saviq: it goes to no signal if ofono tells it to go no signal [10:25] Saviq: so A) there really is no signal [10:25] Wellark, sure, I understand, I didn't say that's your fault [10:25] B) ofono is not updating the signals properly :) [10:26] Wellark, just wanted to know your experience [10:26] Saviq: your experience matches mine [10:26] except that the signal should recover once you hang up the phone [10:26] sure it did [10:26] but then it was switching back'n'forth after that [10:26] even though everything seemingly worked [10:27] * Saviq wonders if the names should be mapped to SIM serial numbers... [10:27] Saviq: the back and forth is another bug [10:27] which will get fixed on the next ofono planging [10:27] Wellark, oh ok, yeah, my 2nd SIM does that, regardless which SIM I put in [10:28] I mean I swapped them and it's still the second one that jumps about [10:29] Saviq: we're hitting a few asserts on tests when running on a debug qt (i.e. one that has asserts enabled) [10:29] :( [10:29] QFATAL : qmltestrunner::Dash::test_temp_scope_dash_overview_all_search_temp_scope_favorite_from_all() ASSERT: "e->isAccepted()" in file items/qquickitem.cpp, line 4490 [10:30] tsdgeos, oops [10:30] huh, interesting [10:30] which is ultra weird [10:30] since it's a keyevent [10:30] and i don't see us having key events on that test [10:30] it seems the second SIM slot is slow for data... [10:30] Saviq: yes [10:30] Saviq: i think someone mentioned 3g is only available on first [10:31] rings a bell [10:31] well then the indicator is wrong [10:31] says H still [10:35] ask around, my bell may be broken :D [10:44] * Saviq sends stupid photos around, wonder when the sensor will break [10:50] 006087 [10:51] * Saviq managed to remember a 16-random-char password for U1 SSO... #brainisstupid [10:51] Saviq, I put another artist, no luck [10:51] Cimi, search for it? [10:52] Cimi, what do you see in the Music scope? [10:52] albums [10:53] Cimi, that's Music or My Music? [10:54] music [10:54] Cimi, where are those albums from? [10:54] local [10:54] here [10:54] Cimi, and it says "My music" above them? and there's Grooveshark results below? [10:55] yes [10:55] Cimi, I only get artists there, not albums... [10:56] Cimi, do you have tags in your music at all? [10:56] Saviq, yes I have artist [10:57] albums, genres, tracks [10:57] inside my music navigation [10:57] Cimi, I've artists, albums, genres, tracks... [10:58] Cimi, so your music selection must really not sit together with the media scanner ;P [11:02] Saviq, so can you tell me what I can put in scope-tool? [11:02] pls? [11:02] Cimi, I don't think you'll get the exact result with the scope tool as you can't override the result data [11:02] Cimi, in card tool [11:02] I'll unassign myself for now then [11:03] I copied 3GB of music [11:03] still no artist [11:04] Cimi, http://pastebin.ubuntu.com/8168021/ [11:04] trying thaty [11:04] Cimi, and see that implicitHeight is wrong [11:04] tryCard? [11:06] ah basically we want to not allocate height for summary here>? [11:10] Saviq: http://paste.ubuntu.com/8168055/ [11:13] Cimi, implicitHeight should always be the real, minimum, height of the card (no forced height) [11:13] Cimi, because it's used in vertical journals where there's no "allocation" happening [11:14] Saviq, it is weird because we have text: cardData && cardData["summary"] || ""; \n\ height: text ? implicitHeight : 0; \n\ [11:14] Saviq, maybe we need text != "" ? [11:14] on height? [11:16] Cimi, well, text === "" in that case [11:16] Cimi, that seems to be the problem === _salem is now known as salem_ [11:18] starting unity8/trunk gives me a black window and some warnings about a lightdm mock module not being found [11:21] does anyone have an idea what could be going on? [11:22] Holas [11:26] larsu, how are you starting it? [11:27] larsu, ./build.sh and ./run.sh are best set up to take care of it now [11:27] Saviq: running the binary directly (but setting QML2_IMPORT_PATH to what run.sh sets it to) [11:27] run.sh doesn't work for me, because I don't have unity8 installed on my system [11:28] larsu, you need LD path too [11:28] larsu, just copy data/unity8.conf to ~/.config/upstart [11:28] hm? Doesn't qml load .so files directly? [11:28] oh, interesting [11:28] that makes it work, thanks [11:29] larsu, if you care about the dash, copy unity8-dash.conf, too [11:29] oooh, colored indicators [11:29] larsu, ;) [11:30] but note that by default the dash that launches with ./run.sh is the system-wide one (so it will fail in your case), we need to fix the run script to support the split-dash situation [11:30] larsu, means you got the mock indicator backend [11:30] dash works for me [11:30] seems to be a mock as well [11:30] larsu, just an image ;) [11:31] see the SURFACE part? ;) [11:31] larsu, yeah, we can't do window management under X11 ya know [11:31] ya, makes sense === MacSlow is now known as MacSlow|lunch [11:32] I'm just trying to test whether doing s/StatusIcon/Icon works [11:33] larsu, not sure why you'd get mock indicators, though :/ [11:34] Saviq: a stray QML2_IMPORT_PATH. Now I don't get any indicators and the system's dash [11:35] unless you copied unity-dash.conf to upstart and you don't have unity8 installed, there can be no dash as upstart doesn't know the job... [11:35] unity8-dash [11:35] and even if you did copy it [11:35] the job doesn't know how to run the non-installed dash [11:35] I copied it [11:35] so should fail [11:35] I have a dash though [11:35] larsu, inside unity8? [11:36] ya... [11:36] larsu, that's just an image [11:36] mzanetti, gonna kill ya ↑ [11:36] we need to replace that image :P [11:36] ? [11:37] nah... [11:37] I like it :) [11:37] mzanetti, I'm gonna defer people to you every time someone mentions a dash inside unity8 under x11 :P [11:37] we might stamp a red "Facsimile" on it though [11:37] argh, now it stopped working again [11:37] mzanetti, we have a yellow SURFACE stamped on it now [11:37] aanyway [11:38] * Saviq goes to try out BT in the car + /food [11:38] "unity8 start/running" - but no window [11:38] Saviq: can you pair something now? [11:38] Saviq: bon appetit [11:38] larsu, .cache/upstart/unity8.log [11:38] Saviq: I still can't pair anything BT [11:38] mzanetti, it's supposed to work, will find out soon (don't have anything BT at home other than laptops and phone) [11:38] s [11:39] that would be awesome [11:39] * Saviq wonders how will google sheets behave with no internets [11:39] Saviq: they don't [11:39] oh neat: *** Error in `/home/lars/src/unity8/trunk/builddir/src/unity8': corrupted double-linked list: 0x0000000000ef3a10 *** [11:39] just don't [11:39] hmm [11:39] mzanetti, I have the sheet opened, didn't complain in plane mode yet ;) [11:39] also, a binding loop [11:40] larsu: what are you trying to do? [11:40] mzanetti: run unity from trunk (just shelved my changes) [11:40] larsu: shouldn't crash then :/ [11:40] larsu: you using ./run.sh? [11:40] yep [11:41] hmm... well, sometimes I have such crashes when it doesn't rebuild everything. eg. after shelving [11:41] larsu: try a ./build -c [11:41] if its still crashing then, we need to debug [11:41] k [11:44] mzanetti: same crash [11:44] meh [11:44] I wonder why this happens now - it worked 10 minutes ago [11:44] yeah... weird [11:44] there's a bunch of image provider warnings as well [11:45] they shouldn't be fatal though [11:45] for the launcher icons [11:45] no, they aren't. The fatal one is the currupted double linked list error [11:45] works in gdb of course :( [11:46] ... [11:46] * mzanetti tries current trunk [11:46] working fine here [11:47] hmm...that's not good [11:47] might be related to copying unity8-dash.conf to ~/.config/upstart? [11:47] * larsu tries without [11:48] indeed [11:48] I still get the dash with my currently running apps though [11:49] larsu: I can't repro even with copying the file over [11:49] what's the currently running apps? [11:49] it's a heisenbug. I'm getting it again now [11:49] mzanetti: gnome-terminal, firefox, thunderbird [11:50] larsu: how are they related to unity8? [11:50] I don't know? [11:59] mzanetti: got it in gdb now: http://paste.debian.net/plain/117983 [12:02] hmmm plugins/Unity/Indicators/rootactionstate.cpp:56 [12:02] * mzanetti looks [12:03] looks like a noreml connect call to me - maybe @menu is dangling? [12:03] yeah... [12:03] m_menu is set from the outside using setMenu() [12:03] maybe the outside deletes it at some point [12:03] right [12:03] dednick: hey, can you maybe have look? ^ === alan_g is now known as alan_g|lunch [12:04] dednick: first guess would be m_menu is parent-less and QML engine garbage collects it [12:05] well, assuming the pointer ends up in QML at some point [12:05] yeah. its a Q_PROPERTY(). so most likely that's it [12:06] dednick: thanks for the trace, seems helpful [12:06] err larsu ^ [12:06] mzanetti: hm. i remember something similar with the actions i think [12:08] mzanetti, dednick: manually setting a parent in that function doesn't resolve it though [12:09] I think the ownership is determined when it first reaches the qml context [12:09] and it can't be changed? [12:09] and as setMenu is called *from* QML that ship has sailed at that point [12:09] yes it can be changed [12:09] but qml doesn't notice? [12:10] yes, it does, but doing that here would probably be too late already (as the connect below crashes already) [12:10] and even if it would work, it would be a bad hack [12:10] but if you want to try, its something like setOwnership in QQmlContext iirc [12:11] yeah it's a hack - I'm just trying to suport your hypothesis :) [12:11] larsu: http://qt-project.org/doc/qt-5/qqmlengine.html#setObjectOwnership [12:11] hm, I don't have acces to the qmlengine in here though [12:12] huh. looks weird to me. if the menu was destroyed, why is it being set? [12:13] dednick: mzanetti's idea is that it is set and GCed right after [12:13] right after what? [12:13] setting it [12:13] but it's crashing in the set. [12:14] yeah... which doesn't line up I just realize [12:14] ah right. Is the GC running in the same thread? [12:14] hmm... actually [12:14] #11 0x00007fffd0b3087e in RootActionState::setMenu (this=0xcab270, menu=0xcfd530) [12:14] no it's not [12:14] so it might stil be that [12:14] but judging by how often I see it, I doubt it [12:14] it would need to be gced at exactly the right time every time [12:14] larsu: it doesn't always crash for you, right? [12:15] mzanetti: no, but more than half the time [12:15] can you try qDebug() << menu->parent() [12:15] in gdb a bit less often [12:15] would be interesting what it says in the non-crashing case [12:15] mzanetti, hah! it did work (sheets with no wifi) [12:15] sure [12:15] mzanetti, it only saves the changes after you press "ready" [12:16] Saviq: last time I tried it it broke the whole doc [12:16] mzanetti, so I was able to do the changes and it synced them up [12:16] mzanetti, wfm [12:16] mzanetti, but, BT, did not, my car kit requires a reverse pairing (it's the car kit that initiates and says what pairing code to use) [12:16] mzanetti, so it found the phone and as soon as it tried to connect it failed [12:17] hah, note != comment [12:18] larsu: has this only been recent? [12:18] mzanetti: gcc complains that unitymenumodel only has a parent(QModelIndex &) function [12:18] dednick: haven't run unity in a while [12:18] this must have to do with lp:~nick-dedekind/unity8/lp1328646 [12:18] dednick: just tried it and hit this error [12:18] now that's strange [12:19] messed around with the object ownership of models [12:19] is qasbatrctitemmodel not a qobject? [12:20] it is [12:20] and it should have a QObject* parent() method [12:21] i wonder if something is trying to access it's parentItem, which it doesnt habve [12:21] but is accessed through the qml parent property [12:22] larsu: is it latest image? [12:22] dednick: it's unity8 trunk on my laptop [12:22] larsu: ah. running desktop shell in window? [12:23] ./run i mean [12:23] ./run.sh [12:24] mzanetti: http://paste.debian.net/plain/117987 [12:24] dednick: yes [12:25] larsu: you said it inherits QAbstractItemModel? [12:26] larsu: then this might be the issue actually... I wonder how it compiles at all then [12:26] mzanetti: I think it does, yes. Why= [12:26] ? [12:27] not sure how you even can mask the parent() method of a QObject [12:27] http://qt-project.org/doc/qt-5/qabstractitemmodel-members.html [12:28] ya... setParent() works fine [12:28] * larsu loves c++ [12:29] mzanetti: casting it to QObject makes it compile. parent() returns NULL [12:31] hm. weird that it's not happening to me. [12:32] ya, I get this fairly consistently now [12:32] larsu: can you try put a tracepoint in plugins/Unity/Indicators/unitymenumodelcache.cpp ln:41 (should be a connection to the QObject::destroy of the model) [12:33] sure [12:34] larsu: it's the qml trying to access the parent i think [12:34] mzanetti: ^ [12:34] maybe [12:34] not sure why though [12:35] dednick: ? [12:35] yeah, QML is accessing the parent for sure [12:36] i meant about compaining about parent not existing [12:36] yeah, that's really weird [12:36] i'm pretty sure nothing explicitly tries to set the parent of the model. === MacSlow|lunch is now known as MacSlow [12:37] oh. hm. maybe it's because of the javascript ownership [12:37] hm. [12:37] i have no idea [12:37] dednick: is it explicitly set to javascript ownership? [12:37] no. but it's a invokable function to get the model [12:38] dednick: it never arrives at that line [12:38] yeah... if it has no parent, i.e. parent() == nullptr, then it'll be javascript ownership [12:38] and then qml might GC it at any point [12:38] and its not safe to pass it in setModel() back to c++ [12:38] larsu: huh. so that means the menu isn't being destroyed :/ [12:40] mzanetti: but the gc happens on main thread? wont occur at the point inside setMenu right? [12:40] dednick: I think gc also happens in other threads... that behavior changed a bit with Qt 5.2 and Qt 5.3. [12:40] which is why we didn't have any of those crashes before, and since Qt 5.3 I fixed the parenting in like 10 places already [12:41] be back in ~20 mins [12:42] sounds dodgey to me [12:45] mzanetti: so. the only way gc can take place on the model is after we've released the model property from: [12:45] http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/qml/Panel/Indicators/CachedUnityMenuModel.qml#L32 [12:45] right? [12:46] not sure about that... [12:46] dednick: no... I think if the using QML context is destroyed it would clean up the model property too [12:46] mzanetti: althought how does the referencing work? if there are multiple properties using the return from a c++ function, does it need to wait for all of them? [12:46] to go out of context. [12:47] hmm... I think so yes [12:48] if it's javascript owned that is. so if I point 2 of these "CachedUnityMenuModels" at the same menu model in the cache, they both need to get cleaned up? [12:48] I think yes [12:48] for the model to get deleted [12:48] hm. [12:48] but... not that I would ever have tried it [12:48] because that would explain things. [12:48] right [12:48] actually, there is a unity-test for that [12:48] unit-test [12:49] * mzanetti can't type unit without the y and more either [12:49] hehe [12:49] qmltest atually. === alan_g|lunch is now known as alan_g [12:49] but that's relying on gc actually cooperating with the gc() function [12:49] which it doesnt really [12:51] anyway. i don't understand why this is happening since the model isn't being deleted. [12:52] dednick: I don't know the code around it and how it works... so I'm not that much of a help [12:52] otherwise we should hit: http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/plugins/Unity/Indicators/unitymenumodelcache.cpp#L41 [12:52] mzanetti: i'm not supposed to be doing anything other than prompts at the moment. otherwise the gunn will be upset [12:53] dednick: can't you just pass (this) as argument in line 39 here? [12:53] dednick: then its owned by c++ and all is well [12:53] haha [12:53] mzanetti: lol. then Saviq isn't happy [12:53] why not? [12:53] because he wanted qml ownership! [12:54] ah [12:54] then make him fix the crash [12:54] dednick, no, I didn't want refcounting in QML ;) [12:54] :) [12:54] Saviq: well this is what you get for that! [12:54] dednick, didn't we really end up saying that these models will basically never get destroyed? (provided that they can switch profiles)? [12:55] Saviq: yeah. not sure why they are. [12:55] well, if they're never destroyed, one more reason to keep c++ ownership.. imho [12:55] mzanetti: well, they "can" be [12:56] mzanetti: just that they aren't under normal ops [12:56] apparently :) [12:56] if they aren't being used anymore [12:56] *gasp* we don't have pastebinit in rtm? [12:56] ok well... I'm sure you guys figure it... I really lack knowledge how this whole menumodel construct works [12:57] mzanetti: it's not a menumodel problem :) it's purly qml isuee. so you're perfect match [12:57] :) [12:57] no its not... [12:58] if its purely a QML issue I'd say either don't pass the object back to c++ (in setModel()) or make it c++ owned [12:58] but both doesn't seem to be options because of the way the menumodel works [12:58] mzanetti: well, i don't pass it back via setModel. i use qml property [12:58] :) [12:58] dude [12:59] which is the same as any other qml object. they're all c++ backed [12:59] you don't want me to explain what Q_PROPERTY() expands to, domyou? [12:59] :) [13:00] but yeah. creating in c++ then passing back and forth probably not best. blame Saviq [13:00] i do! [13:01] any idea where this is coming from? [13:01] Failed to get image from provider: image://scaling/0.666667//home/tsdgeos_work/phablet/unity8/croppedImageMinimumSourceSize/tests/qmltests/Dash/artwork/avatar@12.png [13:01] specially the scaling part [13:02] Saviq: otherwise i'm going to c++'ise CachedUnityMenuModel and put ref counting in there. [13:02] or shared pointers or whatever [13:03] dednick, or let's just not cache them [13:03] Saviq: and have 3 models for each indicator [13:03] dednick, you can share those without having the factory [13:03] tsdgeos, UITK [13:03] Saviq: yeah but it would be realy nasty [13:04] dednick, if you can get it to work proper without refcounting in QML, fine [13:04] dednick, using shptr or whatever [13:04] meh for shptr :D [13:04] mzanetti: c++ ownership! [13:05] * larsu apologizes for the discussion he started ;) [13:05] larsu: no... its good you found the issue! [13:06] larsu: i don't really see how this is happening in the first place. should only occur if an indicator is being removed. [13:07] greyback__, http://paste.ubuntu.com/8168840/, thread 25, does that look like a lock to you? (doesn't to me) [13:07] * Saviq blames scopes [13:07] larsu: bug#? [13:07] dednick: I on't see any indicators [13:07] dednick: no bug [13:07] I just found it [13:08] Saviq: grrrr [13:08] larsu: does it happen pretty much as soon as the app window opens? [13:08] larsu: can you log one? i can't sort it right away. busy with other things [13:08] tsdgeos, what? me? [13:08] Saviq: no the uitk :D [13:09] why is it changing source of my images? [13:09] tsdgeos, anyway, the avatar shouldn't ever be @foo [13:09] tsdgeos, because it's doing it for the @foo mechanism [13:09] dednick: it happens at different times. Sometimes before the window opens, sometimes after I close it [13:09] dednick: yes, I'll file a bug [13:09] larsu: but you have no indicators? [13:09] larsu: that's weird [13:10] yes [13:10] very weird indeed [13:10] might explain things [13:10] larsu, didn't you have the coloured indicators? [13:10] or why i can't reproduce [13:10] or is that gone now [13:10] Saviq: those went away after I removed the mock import pats [13:10] *paths [13:10] mhm [13:11] coloured indicators? hang on. is this in testcase? [13:12] dednick: no, it's when you run unity8 in fake mode (./run.sh -f) [13:13] larsu: with no mock paths? [13:13] no, it adds the mock paths in that case [13:14] larsu: does bug also happen when running non fake mode? [13:15] dednick: the other way around: it _only_ happens in non-fake moe [13:16] *mode [13:16] larsu: ah. ok [13:16] thought that sounded weird [13:17] sorry if I wasn't clear [13:22] facundobatista, can we report bugs against the remote scopes somewhere (like wrong header colours and such)? [13:23] Saviq, https://bugs.launchpad.net/ubuntu-rest-scopes/+filebug [13:23] facundobatista, thanks [13:23] Saviq, 90% is faster just tell me (if they are small changes), but as you wish :) [13:24] facundobatista, it was davmor2 finding it difficult to read in some scopes (7dig, grooveshark) [13:24] facundobatista, foreground color should be white [13:24] according to https://docs.google.com/a/canonical.com/file/d/0B8I8ZVKH-8SsS01CcE93TFNUSGc/edit [13:24] Saviq, it's a matter of response time... for example you tell me to change a couple of colors, I'll probably propose a branch in the next hours... but I don't know when I'll read the mails to find out a new bug was proposed, etc [13:24] or white-ish [13:25] Saviq, you're saying, for example, the background color for the 7digital header? [13:26] facundobatista, no, foreground color [13:26] facundobatista, icons [13:26] facundobatista, back and favorite and search [13:26] facundobatista, so page-header.foreground-color or some such [13:26] oh, wait [13:26] Saviq, I can control that? [13:26] facundobatista: Currently any header that is dark on the scopes makes it really hard to see the dark grey settings and favourite icons to the right of the header [13:26] facundobatista, of course :) [13:26] Saviq, I got confused, sorry, yesterday I read this [13:26] PageHeader.ForegroundColor = default header text color (defaults to the overall foreground color) [13:27] and I thought "ah, the text, not the icons" [13:27] facundobatista, yeah, it should say "also applies to icons...." [13:27] facundobatista, and it shouldn't say 'default'... [13:27] Saviq: should the url dispatcher bring the scope up on the screen? [13:27] davmor2, Saviq, Daniela mentioned changes to those colors, I thought I couldn't control them [13:27] zbenjamin, in the dash, yes [13:27] Saviq: because on the most recent devel-proposed the screen just flickers and nothing else :/ [13:28] zbenjamin, restart url-dispatcher [13:28] zbenjamin, ah oh === dandrader is now known as dandrader|afk [13:28] zbenjamin, let me try [13:29] zbenjamin, `url-dispatcher scope://clickscope` [13:29] facundobatista: So we all on the same page now though right? [13:29] zbenjamin, works fine here? [13:29] Saviq: the clickscope is the store? [13:29] zbenjamin, apps [13:29] Saviq: try any other please [13:29] url-dispatcher scope://com.ubuntu.scopes.youtube [13:29] url-dispatcher scope://com.canonical.scopes.clickstore [13:29] maybe i do it wrong [13:30] davmor2, maybe, Daniela mentioned changes for 7digital and TWC, but not for Grooveshark [13:30] ooo that works [13:30] zbenjamin, youtube is wrong [13:30] Saviq, is not implicitHeight of the card being calculated incorrectly, is the cardHeight in cardTool that forces an height that is uncorrect [13:30] Cimi, that's not used in vertical journal [13:30] Saviq: how to find out the correct url? [13:31] zbenjamin, favorite it, `gsettings get com.canonical.Unity.Dash favorite-scopes` [13:31] zbenjamin, there's probably a *real* way somewhere, but that works ;D [13:31] Saviq, implicitHeight is correct [13:31] Saviq, I just tested [13:32] Saviq, but cardHeight is fixed regardless of the summary size [13:32] dednick: https://bugs.launchpad.net/unity8/+bug/1362609 - can't assign you for some reason, but I've subscribed you [13:32] Ubuntu bug 1362609 in Unity 8 "Crashes with: corrupted double-linked list" [Undecided,New] [13:32] Saviq: how do i favorite it? [13:32] Cimi, should not be in vertical journal [13:32] zbenjamin, go to overview [13:32] zbenjamin, press on the star icon [13:32] aaa [13:32] larsu: ta [13:33] zbenjamin, _youtube [13:33] zbenjamin, you need the hook name too [13:33] larsu: can you add a u8 startup log to that as well? [13:33] Saviq: ok i have something to try now ! thanks :) [13:33] url-dispatcher scope://com.ubuntu.scopes.youtube_youtube [13:33] zbenjamin, coolz [13:34] Cimi, CardVerticalJournal does not force the card height on its delegates [13:34] dednick: sure [13:35] Saviq, fixes to 18.5 gu, no~? [13:35] Cimi, no [13:35] yeah no [13:36] I was testing normal ones anyway [13:36] Cimi, and I tracked the wrong expanded height of a vjournal down to implicitHeight being incorrect (because it was the same as the whole journal's height - just one item) [13:36] Cimi, and it was cut off [13:36] Saviq: hmm, thread25 (renderer thread) is sitting, waiting to be told to render. (processEventsAndWaitForMore) [13:37] Cimi, I can measure for you [13:37] greyback__, yeah, what I thought [13:37] Saviq: usaully means the GUI thread blocked [13:39] Saviq, I am seeing mistakes in testCard [13:39] Saviq: scopes use zeromq? [13:39] Saviq, just clear out the summary text and the height is fixed [13:39] implicitHeight changes [13:40] Cimi, #Cimi? [13:40] Saviq, I am there [13:43] Cimi, don't use me for debugging then please [13:43] Saviq, i debugged and I discovered height is fixed [13:43] from cardTool [13:43] and I told you :) [13:43] Cimi, in the test, maybe, that doesn't mean that's the case in CardVerticalJournal [13:44] Saviq, would be good to see then [13:44] Saviq, this cardVerticalJournal [13:45] I cannot enable it apparently [13:46] Saviq, testing vertical-journal in scope tool works fine here [13:47] Saviq, maybe it's a particular combination of components for the artits? [13:49] Saviq, I think is that one for scope tool http://paste.ubuntu.com/8169147/ [13:49] nope [13:49] Cimi, yeah, as long as it has only one result [13:50] pstolowski, any idea why Cimi wouldn't get artists in the music aggregator? [13:50] Saviq, Do you have any idea where all these bad AppIDs could be coming from? https://errors.ubuntu.com/bucket/?id=ubuntu-app-launch-invalid-appid [13:50] Saviq, It's kinda reaching epidemic proportions. [13:51] tedg, what am I looking at in those reports? [13:51] Saviq, ok reproduced [13:51] Saviq, with scope tool [13:51] tedg, like can I see what appid was passed? [13:51] Saviq, Mostly the numbers, the data is stripped (different patch), but UAL is throwing an error when an invalid AppID is given. [13:52] Cimi do you have local music files? are they correctly tagged? [13:52] Saviq, because the bands I am listening too don't deserve to be called artists [13:52] Saviq, It's *there* but Whoopsie strips it right now :-/ [13:52] tedg, a) someone has a stale entry in the launcher [13:52] pstolowski, sure [13:52] tedg, b) click scope didn't notice a upgrade / removal [13:53] tedg, ... and didn't tell the dash to refresh [13:53] Saviq, Hmm, okay. It's just happening 500 times a week on phones right now. [13:53] So it must be in the testing somewhere. [13:53] tedg, ah yeah, testing could makes sense too [13:53] tedg, but it would help a *lot* to see the actual appid used [13:54] tedg, I'll have a look in my /var/crash when I run a unity8 suite next [13:54] Saviq, Yeah, working on that patch. Tradeoffs in DB space, etc. [13:56] Cimi, and what exectly do you see when going to My Music -> artists department? empty page? === dandrader|afk is now known as dandrader [14:02] tsdgeos, do you happen to know why test_popover of PageHeaderLabel fails -> https://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-utopic/1158/testReport/%28root%29/qmltestrunner/PageHeaderLabelTest__test_popover [14:02] MacSlow: sdk changes [14:02] MacSlow: https://code.launchpad.net/~aacid/unity8/pageHeaderFailingTest/+merge/232528 should fix it [14:03] but on first run CI i had a dozen unexpected autopilot errors [14:03] i triggered CI again since they seem unrelated [14:03] and may be just a CI hicukup [14:03] +spelling [14:04] tsdgeos, guess it just typical CI-routine :) [14:04] pstolowski, no artist department [14:05] tsdgeos, getting stuff through CI makes one feel like Don Quixote :) [14:05] old and crazy? :D [14:05] tsdgeos, hehe... not like that :) [14:07] tsdgeos, Sisyphus would have been a better choice of analogy I guess [14:07] Cimi, no artists department in "My Music" scope? (don't confuse it with "Music" which is the aggrgeating scope) [14:10] MacSlow, http://www.engadget.com/2014/08/28/leap-motion-s-next-sensor-is-designed-specifically-for-virtual-r/?ncid=rss_truncated [14:11] Cimi, very cool idea... the leap-motion is indeed next on my list of geek-toys to get hold of [14:12] wha! [14:12] this video is not available in your country ffs [14:13] Saviq, here too, didn't watch it [14:14] it's bs [14:14] tried with a proxy, is not even available in US [14:14] mterry: ping [14:14] Cimi, Saviq: tor-browser to the rescue maybe [14:15] tsdgeos, hello! [14:15] MacSlow, yeah, and then I got police on my back eh? ;) [14:15] mterry: i'm testing the silo with https://code.launchpad.net/~mterry/unity8/interactive-while-locked/+merge/231253 [14:16] mterry: is it correct that if locked, i can launch the phone, but then from the phone i don't get the launcher? [14:16] tsdgeos, yes [14:17] that's weird [14:17] but ok [14:17] tsdgeos, yeah... [14:18] mterry: where do i edit that in system settings? [14:18] tsdgeos, the idea was for (a) security reasons, reducing the surface of attack -- because that emergency phone mode is actually in your session, if we screw up and let you actually switch to another app, that's bad. We have code to prevent that, but just for safety, we hid the launcher and also (b) if you are actually making an emergency call, we didn't want any extra UI to confuse or accidentally interact with === gatox is now known as gatox_lunch [14:18] tsdgeos, I had to rebuild USS this morning after a release -- confirm that you have USS from the silo [14:19] tsdgeos, but you edit it in the security panel [14:19] tsdgeos, under the lock phone setting [14:19] *** 0.3+14.10.20140828-0ubuntu1 0 [14:19] 500 http://ppa.launchpad.net/ci-train-ppa-service/landing-009/ubuntu/ utopic/main armhf Packages [14:19] ah [14:19] tsdgeos, awesome [14:19] see it [14:20] now that you mention it, makes sense :D [14:21] kgunn_, could you please lift your "needs fixing" on https://code.launchpad.net/~nick-dedekind/unity8/prompts-in-prompts/+merge/232362 . it merges fine now. you could replace it with a "abstain" for instance [14:22] mterry: so what things can i open from the locked launcher? [14:22] phone nly? [14:22] tsdgeos, everything else will open, but you have to unlock first [14:22] dandrader: yep, sorry bout that,slipped my mind [14:22] tsdgeos, phone is only one that you can actually interact with without unlocking [14:22] mterry: and then what's the point? [14:23] tsdgeos, slightly faster? [14:23] faster what? [14:23] tsdgeos, I think the indicator switch is more interesting [14:23] kgunn_, np. I know it's easy to forget follow up on such small things [14:23] mterry: i still have to type my passcode, can't see how it's faster [14:24] tsdgeos, er, not faster, but more natural how about. like the flow is "click, unlock" rather than "unlock, click" -- you lead with the action you want [14:24] tsdgeos, but honestly it's not a big deal [14:24] ok [14:24] let's not argue about what is more natural [14:24] tsdgeos, I think the reason you would disable it is if you had sensitive icons on it [14:24] i like my natural blue [14:24] :D [14:24] tsdgeos, it's enabled by default [14:24] tsdgeos, I think it's just a privacy toggle to hide the apps you have [14:26] ok [14:26] dednick, wow, "make trySessionContainer" is awesome now! [14:47] dandrader: :) what you asked for! [14:47] Saviq, #Cimi [14:48] is there party at #Cimi's? [14:49] dandrader: can you read and let me know what you think: http://paste.ubuntu.com/8169568/ [14:49] dandrader: i've come up with a solution, but it needs some more eyes. [14:53] jesus, that's a long conversation [14:58] tsdgeos, is there a container of cards that clips? [14:59] Cimi: not sure what you mean [14:59] tsdgeos, cards in vertical journal seems clipped [14:59] when you only have 1 card [14:59] cards in vertical journal are clipped at XY gu [14:59] XY = don't remember, 20 i think [14:59] not clipped [15:00] but you have to press see more [15:00] so yes, clipped :D [15:02] tsdgeos, with 1 only? [15:03] tsdgeos, would you mind having a look at https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1362160 ? [15:03] Ubuntu bug 1362160 in Unity 8 "Card's implicitHeight calculated wrong if summary is missing" [High,Triaged] [15:03] Cimi: it does not matter [15:03] height is height [15:03] an be 1000 items or 1 [15:03] tsdgeos, it's true that missing summary is complicating things, but the bottom edge is still clipped [15:03] it clips at 20 [15:04] so here is different [15:05] is that a VJ? [15:05] why would anyone use a VJ there? [15:06] if that's a VJ [15:06] i don't see where is the problem [15:06] besides it looking ugly as hell [15:06] it's cut at 35gu how VJ is supposed to do [15:07] no? [15:07] well [15:07] I never seen this [15:08] this = what? [15:09] tsdgeos, that bug [15:09] i've never seen it either [15:09] tsdgeos, I don't have artist department [15:09] dednick, (about that conversation) that's the reason we have MirSurfaceItem::release(). It's so that unity8 can decide when to really destroy a mir surface. So qtmir tells unity8 "hey, that surface/app/session/whatever is no more". then unity8 animates things away. once unity8 animations are done. it finally calls surface.release() so that qtmir can finally destroy the mir surface [15:10] dednick, when a client dies, its surface is not automatically destroyed [15:10] Saviq: why do you say the implicit height is wrong at https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1362160 ? [15:10] Ubuntu bug 1362160 in Unity 8 "Card's implicitHeight calculated wrong if summary is missing" [High,Triaged] [15:10] dednick, as the compositor (unity8 through qtmir) still holds a reference to it [15:11] dednick, only once the compositor releases its reference to a mir surface is that it gets destroyed [15:11] @unity, while I have most of you here: http://pastebin.ubuntu.com/8169708/ TAGS! [15:11] dandrader: ya. so my solution is just to delay the release for 100ms, and if it starts removing the session then cancels the release (and gets released with the session). [15:11] Saviq: so you've decided to kill 0.1.16= [15:11] phew [15:11] that's news [15:11] i thought you liked it [15:11] tsdgeos, ;D [15:11] :D [15:11] dednick, more exactly, every application (mir client) has a a ring buffer of surfaces. the compositor always points/holds one of them and the client another [15:12] dednick, to one of the surfaces in the ring buffer I mean [15:12] Saviq: not killing 7.85+14.10.20140428.2-0ubuntu1 ? [15:12] dednick, so while the client is rendering onto a surface, the compositor is displaying another one. [15:12] tsdgeos, it's there [15:13] Saviq, fixed [15:13] Saviq: ah tight [15:13] right [15:13] dandrader: yep. i understand it's not "really" destroyed. we can hold on to it. but under normal circumstances we dont want to (just closing an app) . it's only if we're going to animate the prompt transition that we want to hang on. [15:14] dednick, we hang on to it when switching between app surface and its screenshot for instance, when a suspended app is killed due to OOM conditions [15:15] dandrader: ya. but not when an app closes. [15:15] dandrader: which is my prpblem [15:15] since the surface gets destroyed first. [15:15] dednick, what do you mean by "when an app closes"? [15:15] dednick, swiping it up in the spread? [15:15] dandrader, no, Qt.quit() [15:16] dandrader, that's when the job's gone from ual too [15:16] dandrader: in my case it's when the prompt process closes. [15:16] Saviq, dednick ahhh... an application closing itself [15:16] the surface gets destroyed first [15:16] and then we want to animate the transition [15:16] but the surface is already gonners [15:17] so we need to hang on to it for awhile until we know that the session hasn't been closed so that we can do the transition with the surface still existing [15:19] dandrader, see, https://launchpad.net/ubuntu-rtm/+source/unity8/8.00+14.10.20140827.2-0ubuntu1 just landed in rtm and I pushed it to lp:unity8/rtm-14.09 for you https://code.launchpad.net/~unity-team/unity8/rtm-14.09 ;) === gatox_lunch is now known as gatox === dandrader is now known as dandrader|afk [15:25] Saviq: \o/ [15:33] Saviq: ok, all my extra tags should be gone [15:33] cwayne, what up? rtm landing? :) [15:33] Saviq: yep :) [15:34] cwayne, it has davmor2's stamp on it [15:34] with barely a complaint! [15:34] Saviq: no I dare not stamp on it, it'll break [15:34] davmor2, IT WILL NOT! [15:35] * davmor2 hands the pieces to Saviq told you [15:38] Saviq: do we already use dbus-testrunner or similar somewhere in unity= [15:39] ? [15:39] mzanetti, grep doesn't work? :D [15:39] mzanetti, dbus-test-runner [15:39] oh... it does work with the correct input... [15:39] thanks === dandrader|afk is now known as dandrader [15:48] * Saviq goes for another round of BT testing then [15:54] FAIL [15:55] lol [15:55] Saviq: same issue still? [15:56] mzanetti, yeah, I don't think we support reverse pairing yet [15:56] dednick, "so my solution is just to delay the release for 100ms" <- is that in qtmir code? [15:56] Saviq: need a bug for that [15:56] dandrader: not yet [15:56] Saviq: btw there is no such thing as reverse pairing in the spec :) [15:56] mzanetti, that's what I'm afraid of [15:57] Saviq: well... its an incoming pairing... and has to work just like outgoing pairing [15:57] dandrader: and it's going to have to be about 1s actually. seems to take a bit of time between destroying surface & closing session. going to put in a fadeout while it's deciding. [15:58] Saviq: but I'm afraid we don't have a bt service... do we? [15:58] oh right... the indicator [15:58] dednick, not sure I got it. if mir client (a prompt session) just destroys its surface and hang on to the session you do one thing. but if it also closes the session you do another? [15:59] mzanetti, yeah, we need a snap decision from the bt indicator I think [15:59] Saviq: yeah, all pairing needs to be handled by that, even for outgoing [15:59] also incoming obex push requests [16:00] mzanetti, yeah probably, not sure how it works now, but it feels like settings are quite involved [16:00] Saviq: and I think without that pairing-agent not even incoming connections (without pairing) would work when system settings is not opened and in foreground :/ [16:00] as bluez always asks back iirc [16:01] mzanetti, well it should work for already paired devices [16:01] mzanetti, but yeah, we need the indicator to handle this [16:01] Saviq: it depends on the trust level (by specification) [16:01] Saviq: you should be able to mark a device as trusted [16:02] MacSlow, friendly reminder, strip tags on lp:~macslow/unity8/fix-1348092 [16:02] dandrader: erm. trying to work out the details still. basically always hang on to the surface for awhile after it's destroyed. But if we close the session, it hangs onto it until the session is destroyed. [16:02] and if that's not the case we'd need to open a snap decision which asks for ok [16:02] dednick, you got 0.1.16 in prompts-in-prompts too [16:02] Saviq: damnit. i removed it yesterday [16:02] Saviq, doh... ok [16:02] Saviq: keeps going back into trunk! [16:03] Saviq: removed. [16:04] dednick, remember to remove locally too [16:04] Saviq: yup [16:05] dednick, I still don't fully understand the problem (might only get it when I see the code and try out for real), but as a general rule, IMHO, qtmir should only destroys a surface once unity8 okays it. so that we can ensure that unity8 animates what it has to animate. so there should be no need for those timers/delays.... [16:06] dednick, so maybe the same would apply for sessions..... [16:06] dandrader: if you mir destroys an application surface on close, when is it ok for u8 to destroy it? [16:08] dednick, qtmir would somehow tell that the surface was closed. unity8 responds to it by animating it away and once it's done it callls surface.release(). [16:10] dandrader: right. but when a session closes, it's the session that needs to animate away [16:11] dednick, so we would need a similar qtmir-unity8 "protocol" for sessions... [16:11] or something in that spirit [16:12] dandrader: but when a client closes, the session is destroyed some time after the surfaces (about 200ms or so). so there's nothing to animate, since the surfaces are already gone. [16:12] Saviq: CI passed on https://code.launchpad.net/~aacid/unity8/pageHeaderFailingTest/+merge/232528 [16:12] \o/ [16:13] dandrader: the qtmir-unity8 protocol for sessions is what my branch does [16:13] dednick, the surface is only gone is unity8 already finished animating it (called surface.release) [16:13] is unity8/if unity8 [16:14] dandrader: yes. so i end up swiping down an empty session container :) [16:16] dednick, I don't see DarkenAndFadeInAnimation being used for anything. Is it a leftover? something for the future? [16:17] dandrader: yeah, it's just left over. where supposed to be different types of animations for different surface types [16:17] but nor supported yet. [16:17] dandrader: i'll remove [16:23] tsdgeos, awesomes [16:28] Saviq, cleaned lp:~macslow/unity8/fix-1348092 only 8.0-tags remain [16:43] * mzanetti listens to music using his bluetooth headphones and an ubuntu phone and loves it! [16:43] * popey phones mzanetti to break that experience [16:44] popey: if that works through the headphones too its the "Bye bye Nokia N950" [16:45] try it ㋛ [16:45] known broken for months [16:45] I only manage today to pair something for the first time (using the UI only) [16:46] Does anyone have time for reviewing https://code.launchpad.net/~mterry/unity8/unlock-via-dbus/+merge/232428 ? [16:46] It's blocking some adb work [16:46] @unity ^ [16:46] mterry, I don't [16:50] mterry: why remove lockscreen.hide(); ? [16:51] tsdgeos, Oh I had a comment in the merge but it got lost by later commits: "Just a quick comment on this change -- I realized it was an unnecessary call so I took it out. greeter.login() does the hiding." [16:51] tsdgeos, just unrelated cleanup really [16:54] mterry: don't understand this [16:54] UNLOCK_OUTPUT=$(adb shell "if [ \"\$(id -u)\" = 0 ]; then sudo -u phablet -i $GDBUS_CMD; else $GDBUS_CMD; fi" 2>&1) [16:54] why do i need sudo if i'm root already= [16:54] ? [16:54] tsdgeos, -u phablet [16:55] doh [16:55] tsdgeos, yeah, that bit was there to future-proof when adb changes which user it is [16:56] looks good to me then [17:00] tsdgeos: mzanetti: SurfaceContainer.qml:47:19: Unable to assign bool to [unknown property type] [17:00] http://paste.ubuntu.com/8170572/ [17:00] any idea? it's happening totally randomly inside a qmltest [17:00] every 10 or so runs it happens === alan_g is now known as alan_g|EOD === boiko_ is now known as boiko [17:12] dednick, is that trunk? [17:13] ah, the pastebin [17:13] dandrader: yeah [17:13] dandrader: oh. no, my branch [17:14] dednick, prompt-in-prompt or something else. that looks like something else [17:16] yeah, I've no idea [17:16] (that qml warning) [17:16] dandrader: it's prompt in prompt [17:16] the new one that i just pushed [17:17] oh, time to pull again [17:19] dednick, was already writing in my review that SurfaceContainer was quite empty now, not warranting the existence of a separate component (thus to be merged with SessionContainer) [17:19] dandrader: heh. indeed. although it is used for opacity in the app window [17:20] ? [17:20] switching between showing surface and showing splash [17:20] dandrader: or screenshot [17:20] ah, I keep forgetting that AppWindow extends SessionContainer [17:24] dednick, I wonder if we could merge SessionContainer with AppWindow. might make it easier understand and maintain the interaction between the logic in those two files [17:25] just an idea [17:25] dandrader: ? can't really. A SessionContainer has child SessionContainers which don't use things like splashscreens [17:26] dednick, or make AppWindow have a SessionContainer inside it instead. composition instead of inheritance [17:26] dednick, right [17:27] dandrader: i thought about using composition, but thought it would introduce another level of items which takes more time to render. [17:28] dednick,not if that new level doesn't render anything itself but just positions its children [17:28] dandrader: as in Item { Item {} } takes longer to render than Item {} [17:28] greyback_: ^ ? didn't you do some perf monitoring on this? [17:29] when i originally did prompt sessions i had a few levels which was slowing things down. [17:29] dednick: Items don't actually draw anything, they add a couple of extra nodes to the scenegraph though [17:30] so it's slightly slower to render the tree, but the difference would be tiny [17:30] hmm [17:31] Items can clip though, clipping often has a cost [17:32] oh yeah, clipping should be avoided as much as possible [17:32] but are disabled by default [17:32] dandrader: well i dont mind. i can use composition if you really want it. [17:33] dednick, I'm still reviewing. so just an idea at this point [17:33] dednick, btw, are you changing that mp much still? [17:33] dandrader: na, i think i'm done now [17:34] greyback_: finished the qtmir one as well. :) [17:34] greyback_: MR is up for grabs :) [17:34] you know you want to. [17:34] only 4k lines! [17:34] I really don't [17:35] hehe [17:35] greyback_: quite a bit of it is from the other MP [17:36] dednick: the fun part is figuring out what is and what isn't :) === dandrader is now known as dandrader|afk [17:36] dednick: commit message & checklist when you're ready [17:36] 1k lines of tests. although i just realised they arent valid anymore [17:37] damn. i think i commented them out [17:37] probably not good [17:42] jesus dude you're a hero [17:42] dednick: ^ [17:46] greyback_: ? what, for disabling tests? :) [17:46] dednick: heh, no, just the hugeness of this MR [17:47] one of my smaller ones i know [17:47] i think my record still stands at 12k [17:48] that's your strategy, is it? shock & awe - nobody dares critique it! [17:48] note - tests are disabled in tests/tests/pro still [17:52] did the scope:// url stuff land in url-dispatcher? [17:53] and also, can i use that to open a scope to a specific department? [17:54] Saviq, you here? [18:00] dednick: high-level question - does your code support the case where a trust helper appears before the applicaiton does? [18:00] +surface [18:01] greyback_: um. should do. i might not have tested that eventuality though [18:01] dednick: ok. Was just curious [18:01] greyback_: oh. before the application does? no [18:01] greyback_: before the app surface, yes. [18:02] dednick: before app surface is what I wanted to know. Thanks [18:02] greyback_: pl [18:02] ok ) [18:02] bah! [18:02] dednick: can you share tools and instructions on making a nested trust session? [18:03] greyback_: sure [18:05] kgunn_, any problems with landing silo 009? It has unity8 while you have a version of unity8 in silo 002 [18:07] greyback_: added to mp [18:07] dednick: ta === dandrader|afk is now known as dandrader [18:25] Saviq: can a scope's Art and Icon fields use relative filenames? [18:26] it doesn't seem to find mine [18:26] mterry: go for it....if we have to rebuild we'll rebuild [18:28] mhall119: they should [18:29] mhall119, if they're in click, yes [18:38] cwayne: Saviq: are there any restrictions or requirements for those files? [18:41] mhall119, they should be square, similar to those https://drive.google.com/drive/#folders/0B8I8ZVKH-8SsT1V6MmVGM01uRE0 [18:41] mhall119, because they will be cropped to the aspect ratio of the dash [18:43] mhall119, in reality only one of them will be used soon [18:47] Saviq: cwayne: I think my problem was that the dash scopes manager doesn't update when I install a click package update, but it does on restart [18:47] is there a way to force it to refresh without restarting my emulator? [18:49] none that i know of [18:54] pkill -f unity8-dash worked :) [19:02] Saviq: are we going to be able to use an image for the background, rather than just a color? [19:25] mhall119, no [19:38] :( === dandrader is now known as dandrader|afk [20:27] Saviq: thanks for all your help today, I was able to make quite a bit of progress [20:33] mhall119, sure [20:33] mhall119, on backgrounds for scopes, there's a slew of issues that would arise of that [20:34] mhall119, different aspect ratios, readability etc [20:54] Saviq: but we have background images on the default ones and the dash management screen, so it's a problem that'll need solving anyway [20:55] and readability is technically already a possible issue, it's just up to the scope developer to not be dumb [20:55] I understand that there are issues though, and until they're worked out I can understand not supporting it [20:56] still, it would be nice to have [20:56] both for my own scopes, and being able to change the Apps scope background again :) [20:56] mhall119, sure, that's ultimately a design decision on how this should work, and it was explicit that they did not want image backgrounds on scopes (the background we see now is "see through") [20:56] * mhall119 misses the purple salad [20:56] "see through" [20:59] mhall119, that basically means it's static behind the dash, not at the layer of scopes, where their background is === dandrader|afk is now known as dandrader === salem_ is now known as _salem === shiznix_ is now known as shiznix