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

zbenjaminSaviq: i see my branch has been merged... is it already on the image?06:57
Saviqzbenjamin, http://people.canonical.com/~ogra/touch-image-stats/211.changes06:57
Saviqzbenjamin, not yet apparently06:58
Saviqzbenjamin, the next one06:58
zbenjaminSaviq: :/06:58
Saviqzbenjamin, ah no06:58
Saviqzbenjamin, yeah, it's there in 21106:58
Saviqzbenjamin, sorry, eyes didn't wake up yet :)06:58
zbenjaminSaviq: but not on the RTM image i guess06:58
Saviqzbenjamin, no, it's in a silo for that06:58
Saviqzbenjamin, awaiting QA sign-off06:58
Saviqzbenjamin, http://people.canonical.com/~platform/citrain_dashboard/#?distro=ubuntu-rtm&q=landing-00106:59
zbenjaminSaviq: 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 SDK06:59
Saviqzbenjamin, I believe that was pulled back again06:59
zbenjaminSaviq: ok then i'll check that later07:00
Saviqzbenjamin, if you get me a .click package I can test out for you, just flashing 21107:00
Cimimorning07:06
zbenjaminSaviq: sent you a mail07:08
Saviqzbenjamin, tx, will check in a mo07:08
tsdgeosSaviq: ping07:11
tsdgeosi didn't realize your seeLessStuckBottom did so many things different to mine07:12
tsdgeosin particular you changed expandedCategoryId to expandedCategoryItem which is wrong07:12
Saviqtsdgeos, was not me, was Daniel actually07:13
Saviqtsdgeos, http://bazaar.launchpad.net/~unity-team/unity8/seeLessStuckBottom/revision/112807:13
tsdgeosgood07:14
tsdgeoscode is mor declarative07:14
tsdgeosand doesn't work :)07:14
tsdgeosshall i simply revert the whole change?07:16
Saviqtsdgeos, what doesn't work there? I didn't notice any wrong behavior when testing?07:17
tsdgeosSaviq: well, storing the pointer is wrong07:17
tsdgeosyou can't compare pointer delegates07:18
tsdgeosbecause the next delegate represent the same category will obviously have a different pointer07:18
Saviqtsdgeos, right, so what's broken is expansion across searches?07:18
tsdgeosthat's why we store the category id and not the pointer07:18
tsdgeosSaviq: and expansion across scrolling07:18
tsdgeosexpand, scroll, scroll back, broken07:19
Saviqtsdgeos, right07:19
tsdgeosthat might get fixed once/if we merge the branch i did to keep all the categories created07:19
Saviqyeah, but not across searches07:20
* Saviq was never fond of the persistence of the expansion TBH07:20
Saviqacross searches that is07:20
Saviqzbenjamin, status in bug #1361349 will tell you what's in RTM btw07:21
ubot5bug 1361349 in url-dispatcher (Ubuntu RTM) "Should open scope:// URIs through unity8-dash" [Undecided,In progress] https://launchpad.net/bugs/136134907:21
Saviqzbenjamin, hmm and I didn't get no email?07:21
Saviqah07:21
Saviqjunk07:22
zbenjaminSaviq: so you consider my click package junk? ;)07:22
Saviqzbenjamin, thunderbird does07:22
tsdgeosSaviq: so where do you want that reversion? in a new separate branch or is part of two_see_more_bugfix ?07:23
Saviqzbenjamin, yeah, pkcon install-local installed it fine07:24
Saviqtsdgeos, the same, just name it "three_see_more_bugfix" ;)07:24
tsdgeosok07:25
zbenjaminSaviq: awesome thx for testign07:33
Cimitsdgeos, isn't like the indentation incorrect here? https://code.launchpad.net/~aacid/unity8/dashOverviewFromTempScopePreview/+merge/23237808:05
tsdgeosCimi: no08:05
tsdgeosunless you mean that the whole list is08:05
tsdgeosthen yes08:05
Cimitsdgeos, yes08:06
Saviqtsdgeos, btw, sorry for missing the expansion behaviour, I didn't look too closely as Daniel top-acked it already08:07
Saviqtsdgeos, 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:07
Saviqtsdgeos, btw, your popover test fix didn't help apparently :/08:08
tsdgeosyeah i saw08:08
tsdgeoscan try making that last test a trycompare08:08
tsdgeoswill do in a bit08:08
Saviqtsdgeos, so you basically use valgrind to slow stuff up during a test run locally?08:15
tsdgeosthat's what i did yesterdya yeah08:15
Saviqnice ;)08:15
tsdgeossometimes it is unworkable08:15
tsdgeossince it takes too much08:16
tsdgeosand then tryCompare fails08:16
tsdgeosbecause takes more than 5 sec08:16
tsdgeosyou know what?08:17
tsdgeosthe test fails all the time here now :D08:17
tsdgeosSaviq: and the test is righfully changing08:26
Saviqtsdgeos, oh interesting08:27
tsdgeossomething's bringing back the focus to the text field after clicking in a popover result here in tryPageHeader08:27
tsdgeosand from what i can see it isn't us08:28
tsdgeosnow what made this break, i do not know08:31
tsdgeosthe pluin is from 26th08:33
tsdgeospluin -> SDK08:33
tsdgeosso may well be that08:33
tsdgeosSaviq: yeah SDK08:40
Saviqtsdgeos, yay :08:41
tsdgeosthey made their popup destruction restore focus08:41
tsdgeoswhich i can see how it makes sense08:41
tsdgeosbut broke us08:41
tsdgeosi think i can workaround, let me see08:43
Saviqtsdgeos, since when do bindings with functions introspect the function body ?¿08:43
tsdgeosthey don't afaik08:43
tsdgeosit may just happen that you get the binding updated for some other reason08:44
Saviqtsdgeos, http://pastebin.ubuntu.com/8167099/08:44
Saviqtsdgeos, that's due to find*Child08:44
tsdgeos:S08:44
Saviqor actually findInvisibleChild08:44
tsdgeosweird08:44
Saviqbecause findChild looks at children08:44
tsdgeosSaviq: no, can't workaround it08:45
Saviqtsdgeos, I think I saw the bad behaviour too08:46
Saviqbut can't pinpoint when08:46
tsdgeosSaviq: shall i do a quick MR against SDK adding a "propery bool restoreFocus: true" to Popup?08:46
Saviqtsdgeos, hmm, why would it restore focus?08:47
MacSlowSaviq, 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
SaviqMacSlow, it landed already, yeah ;)08:48
tsdgeosSaviq: because is the new default, i jus want to expose the property so we can set it to false08:48
SaviqMacSlow, but that's fine, we'll get another one08:48
MacSlowSaviq, I could swear I had that fix pushed before... I don't remember seeing it when I did local tests... no idea how that slipped08:49
Saviqtsdgeos, looks like https://bugs.launchpad.net/ubuntu-ux/+bug/1353966 ?08:49
ubot5Ubuntu bug 1353966 in Ubuntu UX "[SDK] Slider does not work in a List View" [Medium,Triaged]08:49
Saviqhmm08:50
tsdgeosSaviq: no?08:50
Saviqtsdgeos, no ;)08:50
MacSlowSaviq, I'll to a "paranoid" check of all of my other branches... I don't want to be surprised like that again :)08:50
Saviqaargh devel branches ffs08:50
tsdgeosSaviq: https://bugs.launchpad.net/bugs/1234982 is the bug it tries to fix08:50
ubot5Ubuntu bug 1234982 in ubuntu-keyboard (Ubuntu) "[osk] Keyboard does not auto-hide when no longer needed" [Undecided,Confirmed]08:50
tsdgeosdon't see how it helps08:51
tsdgeosbut it's the bug number attached to the change08:51
Saviqtsdgeos, http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/staging/revision/1211 then08:52
tsdgeosSaviq: yes, that one08:52
tsdgeossee the change in popupbase08:52
Saviqtsdgeos, mhm, talk to zsombi please08:53
Saviqtsdgeos, or well, if we create the popup before we focus (but we do create it on focus don't we?)08:54
Saviqoh yay, got a popup in the middle of the screen now08:54
Saviqbecause it restored focus... uugh08:54
tsdgeosSaviq: yes, we create it on focus, only way to know we have to create it08:55
Saviqtsdgeos, mhm, I'm not totally sure I agree with that behaviour08:55
Saviqbut maybe I don't know everything08:56
=== alan_g is now known as alan_g|afk
tsdgeosSaviq: our qmluitests take 2h in CI ?¿09:42
Saviqtsdgeos, yup, an hour to install deps / build + 40 sthg to run the tests :/09:43
tsdgeos:/09:43
Saviqtsdgeos, I have plans to improve that, but time...09:43
tsdgeossure :D09:43
=== alan_g|afk is now known as alan_g
SaviqWellark, huh, is it expected that one of the SIMs goes "no signal" when the other is on call?09:55
* Saviq gets No signal all the time on one of the SIMs, need to swap them...09:57
Saviqhmm so the no signal is a lie10:07
CimiSaviq, looks like we might have indeed issues with the carousel and card size10:09
CimiSaviq, i was trying with scope tool10:09
CimiSaviq, do you have a category handy I can override?10:09
CimiI don't have enough music to show me carousel10:09
SaviqCimi, just get more music?10:10
SaviqCimi, or override any random category?10:10
CimiSaviq, yeah but some others are broken too10:11
CimiSaviq, the carousel seems to clip10:11
Cimiso I was wondering what we want to support10:11
SaviqCimi, yes, because it only supports overlay10:11
SaviqCimi, that's fixed in the scope already10:11
SaviqCimi, don't look at carousel, that is fine10:11
CimiSaviq, I tried this in grooveshark http://paste.ubuntu.com/8167638/10:12
SaviqCimi, look at when you tap on a result and open10:12
SaviqCimi, carousel is fine, leave it10:12
Cimiok10:12
Cimithis is broken btw10:12
Cimishows text clip10:12
Saviqyes, because it's not overlaid10:12
Saviqwhen it should be10:12
Saviqcarousel assumes there's nothing below the card (per design)10:12
SaviqCimi, and that's fix committed to the scope already10:13
SaviqCimi, what is not fine is the single large card when you open an artist search10:13
CimiSaviq, how do I open an artist search?10:15
SaviqCimi, just tap on an artist in music (the tool does not support canned queries, so in the real thing)10:15
CimiI don't have artists??10:17
CimiI have few coldplay albums10:17
CimiI tap it opens albums10:17
Cimioh maybe I need two artists10:17
tsdgeoseasy joke incoming "Coldplay don't produce art thus no artist"10:17
Saviq;)10:20
WellarkSaviq: yes10:24
tsdgeosj/k it's like when Skrillex added this sample at the end of one of his songs https://www.youtube.com/watch?v=Gs3ocG5yW8810:24
Wellarkbut the signal strength should return10:24
Wellarkwhen you end up the call10:24
WellarkSaviq: you can still check with awe and abeator10:24
SaviqWellark, yeah weird thing is stuff works fine, but the indicator just goes to no signal for no reason10:25
WellarkSaviq: it goes to no signal if ofono tells it to go no signal10:25
WellarkSaviq: so A) there really is no signal10:25
SaviqWellark, sure, I understand, I didn't say that's your fault10:25
WellarkB) ofono is not updating the signals properly :)10:25
SaviqWellark, just wanted to know your experience10:26
WellarkSaviq: your experience matches mine10:26
Wellarkexcept that the signal should recover once you hang up the phone10:26
Saviqsure it did10:26
Saviqbut then it was switching back'n'forth after that10:26
Saviqeven though everything seemingly worked10:26
* Saviq wonders if the names should be mapped to SIM serial numbers...10:27
WellarkSaviq: the back and forth is another bug10:27
Wellarkwhich will get fixed on the next ofono planging10:27
SaviqWellark, oh ok, yeah, my 2nd SIM does that, regardless which SIM I put in10:27
SaviqI mean I swapped them and it's still the second one that jumps about10:28
tsdgeosSaviq: we're hitting a few asserts on tests when running on a debug qt (i.e. one that has asserts enabled)10:29
tsdgeos:(10:29
tsdgeosQFATAL : qmltestrunner::Dash::test_temp_scope_dash_overview_all_search_temp_scope_favorite_from_all() ASSERT: "e->isAccepted()" in file items/qquickitem.cpp, line 449010:29
Saviqtsdgeos, oops10:30
Saviqhuh, interesting10:30
tsdgeoswhich is ultra weird10:30
tsdgeossince it's a keyevent10:30
tsdgeosand i don't see us having key events on that test10:30
Saviqit seems the second SIM slot is slow for data...10:30
tsdgeosSaviq: yes10:30
tsdgeosSaviq: i think someone mentioned 3g is only available on first10:30
tsdgeosrings a bell10:31
Saviqwell then the indicator is wrong10:31
Saviqsays H still10:31
tsdgeosask around, my bell may be broken :D10:35
* Saviq sends stupid photos around, wonder when the sensor will break10:44
Saviq00608710:50
* Saviq managed to remember a 16-random-char password for U1 SSO... #brainisstupid10:51
CimiSaviq, I put another artist, no luck10:51
SaviqCimi, search for it?10:51
SaviqCimi, what do you see in the Music scope?10:52
Cimialbums10:52
SaviqCimi, that's Music or My Music?10:53
Cimimusic10:54
SaviqCimi, where are those albums from?10:54
Cimilocal10:54
Cimihere10:54
SaviqCimi, and it says "My music" above them? and there's Grooveshark results below?10:54
Cimiyes10:55
SaviqCimi, I only get artists there, not albums...10:55
SaviqCimi, do you have tags in your music at all?10:56
CimiSaviq, yes I have artist10:56
Cimialbums, genres, tracks10:57
Cimiinside my music navigation10:57
SaviqCimi, I've artists, albums, genres, tracks...10:57
SaviqCimi, so your music selection must really not sit together with the media scanner ;P10:58
CimiSaviq, so can you tell me what I can put in scope-tool?11:02
Cimipls?11:02
SaviqCimi, I don't think you'll get the exact result with the scope tool as you can't override the result data11:02
SaviqCimi, in card tool11:02
CimiI'll unassign myself for now then11:02
CimiI copied 3GB of music11:03
Cimistill no artist11:03
SaviqCimi, http://pastebin.ubuntu.com/8168021/11:04
Cimitrying thaty11:04
SaviqCimi, and see that implicitHeight is wrong11:04
CimitryCard?11:04
Cimiah basically we want to not allocate height for summary here>?11:06
tsdgeosSaviq: http://paste.ubuntu.com/8168055/11:10
SaviqCimi, implicitHeight should always be the real, minimum, height of the card (no forced height)11:13
SaviqCimi, because it's used in vertical journals where there's no "allocation" happening11:13
CimiSaviq, it is weird because we have   text: cardData && cardData["summary"] || ""; \n\  height: text ? implicitHeight : 0; \n\11:14
CimiSaviq, maybe we need text != "" ?11:14
Cimion height?11:14
SaviqCimi, well, text === "" in that case11:16
SaviqCimi, that seems to be the problem11:16
=== _salem is now known as salem_
larsustarting unity8/trunk gives me a black window and some warnings about a lightdm mock module not being found11:18
larsudoes anyone have an idea what could be going on?11:21
facundobatistaHolas11:22
Saviqlarsu, how are you starting it?11:26
Saviqlarsu, ./build.sh and ./run.sh are best set up to take care of it now11:27
larsuSaviq: running the binary directly (but setting QML2_IMPORT_PATH to what run.sh sets it to)11:27
larsurun.sh doesn't work for me, because I don't have unity8 installed on my system11:27
Saviqlarsu, you need LD path too11:28
Saviqlarsu, just copy data/unity8.conf to ~/.config/upstart11:28
larsuhm? Doesn't qml load .so files directly?11:28
larsuoh, interesting11:28
larsuthat makes it work, thanks11:28
Saviqlarsu, if you care about the dash, copy unity8-dash.conf, too11:29
larsuoooh, colored indicators11:29
Saviqlarsu, ;)11:29
Saviqbut 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 situation11:30
Saviqlarsu, means you got the mock indicator backend11:30
larsudash works for me11:30
larsuseems to be a mock as well11:30
Saviqlarsu, just an image ;)11:30
Saviqsee the SURFACE part? ;)11:31
Saviqlarsu, yeah, we can't do window management under X11 ya know11:31
larsuya, makes sense11:31
=== MacSlow is now known as MacSlow|lunch
larsuI'm just trying to test whether doing s/StatusIcon/Icon works11:32
Saviqlarsu, not sure why you'd get mock indicators, though :/11:33
larsuSaviq: a stray QML2_IMPORT_PATH. Now I don't get any indicators and the system's dash11:34
Saviqunless 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
Saviqunity8-dash11:35
Saviqand even if you did copy it11:35
Saviqthe job doesn't know how to run the non-installed dash11:35
larsuI copied it11:35
Saviqso should fail11:35
larsuI have a dash though11:35
Saviqlarsu, inside unity8?11:35
larsuya...11:36
Saviqlarsu, that's just an image11:36
Saviqmzanetti, gonna kill ya ↑11:36
Saviqwe need to replace that image :P11:36
mzanetti?11:36
mzanettinah...11:37
mzanettiI like it :)11:37
Saviqmzanetti, I'm gonna defer people to you every time someone mentions a dash inside unity8 under x11 :P11:37
mzanettiwe might stamp a red "Facsimile" on it though11:37
larsuargh, now it stopped working again11:37
Saviqmzanetti, we have a yellow SURFACE stamped on it now11:37
Saviqaanyway11:37
* Saviq goes to try out BT in the car + /food11:38
larsu"unity8 start/running"  - but no window11:38
mzanettiSaviq: can you pair something now?11:38
larsuSaviq: bon appetit11:38
Saviqlarsu, .cache/upstart/unity8.log11:38
mzanettiSaviq: I still can't pair anything BT11:38
Saviqmzanetti, it's supposed to work, will find out soon (don't have anything BT at home other than laptops and phone)11:38
Saviqs11:38
mzanettithat would be awesome11:39
* Saviq wonders how will google sheets behave with no internets11:39
mzanettiSaviq: they don't11:39
larsuoh neat: *** Error in `/home/lars/src/unity8/trunk/builddir/src/unity8': corrupted double-linked list: 0x0000000000ef3a10 ***11:39
mzanettijust don't11:39
mzanettihmm11:39
Saviqmzanetti, I have the sheet opened, didn't complain in plane mode yet ;)11:39
larsualso, a binding loop11:39
mzanettilarsu: what are you trying to do?11:40
larsumzanetti: run unity from trunk (just shelved my changes)11:40
mzanettilarsu: shouldn't crash then :/11:40
mzanettilarsu: you using ./run.sh?11:40
larsuyep11:40
mzanettihmm... well, sometimes I have such crashes when it doesn't rebuild everything. eg. after shelving11:41
mzanettilarsu: try a ./build -c11:41
mzanettiif its still crashing then, we need to debug11:41
larsuk11:41
larsumzanetti: same crash11:44
mzanettimeh11:44
larsuI wonder why this happens now - it worked 10 minutes ago11:44
mzanettiyeah... weird11:44
larsuthere's a bunch of image provider warnings as well11:44
mzanettithey shouldn't be fatal though11:45
larsufor the launcher icons11:45
larsuno, they aren't. The fatal one is the currupted double linked list error11:45
larsuworks in gdb of course :(11:45
mzanetti...11:46
* mzanetti tries current trunk11:46
mzanettiworking fine here11:46
mzanettihmm...that's not good11:47
larsumight be related to copying unity8-dash.conf to ~/.config/upstart?11:47
* larsu tries without11:47
larsuindeed11:48
larsuI still get the dash with my currently running apps though11:48
mzanettilarsu: I can't repro even with copying the file over11:49
mzanettiwhat's the currently running apps?11:49
larsuit's a heisenbug. I'm getting it again now11:49
larsumzanetti: gnome-terminal, firefox, thunderbird11:49
mzanettilarsu: how are they related to unity8?11:50
larsuI don't know?11:50
larsumzanetti: got it in gdb now: http://paste.debian.net/plain/11798311:59
mzanettihmmm plugins/Unity/Indicators/rootactionstate.cpp:5612:02
* mzanetti looks12:02
larsulooks like a noreml connect call to me - maybe @menu is dangling?12:03
mzanettiyeah...12:03
mzanettim_menu is set from the outside using setMenu()12:03
mzanettimaybe the outside deletes it at some point12:03
larsuright12:03
mzanettidednick: hey, can you maybe have look? ^12:03
=== alan_g is now known as alan_g|lunch
mzanettidednick: first guess would be m_menu is parent-less and QML engine garbage collects it12:04
mzanettiwell, assuming the pointer ends up in QML at some point12:05
mzanettiyeah. its a Q_PROPERTY(). so most likely that's it12:05
mzanettidednick: thanks for the trace, seems helpful12:06
mzanettierr larsu ^12:06
dednickmzanetti: hm. i remember something similar with the actions i think12:06
larsumzanetti, dednick: manually setting a parent in that function doesn't resolve it though12:08
mzanettiI think the ownership is determined when it first reaches the qml context12:09
larsuand it can't be changed?12:09
mzanettiand as setMenu is called *from* QML that ship has sailed at that point12:09
mzanettiyes it can be changed12:09
larsubut qml doesn't notice?12:09
mzanettiyes, it does, but doing that here would probably be too late already (as the connect below crashes already)12:10
mzanettiand even if it would work, it would be a bad hack12:10
mzanettibut if you want to try, its something like setOwnership in QQmlContext iirc12:10
larsuyeah it's a hack - I'm just trying to suport your hypothesis :)12:11
mzanettilarsu: http://qt-project.org/doc/qt-5/qqmlengine.html#setObjectOwnership12:11
larsuhm, I don't have acces to the qmlengine in here though12:11
dednickhuh. looks weird to me. if the menu was destroyed, why is it being set?12:12
larsudednick: mzanetti's idea is that it is set and GCed right after12:13
dednickright after what?12:13
larsusetting it12:13
dednickbut it's crashing in the set.12:13
mzanettiyeah... which doesn't line up I just realize12:14
larsuah right. Is the GC running in the same thread?12:14
mzanettihmm... actually12:14
dednick#11 0x00007fffd0b3087e in RootActionState::setMenu (this=0xcab270, menu=0xcfd530)12:14
mzanettino it's not12:14
larsuso it might stil be that12:14
larsubut judging by how often I see it, I doubt it12:14
larsuit would need to be gced at exactly the right time every time12:14
mzanettilarsu: it doesn't always crash for you, right?12:14
larsumzanetti: no, but more than half the time12:15
mzanettican you try qDebug() << menu->parent()12:15
larsuin gdb a bit less often12:15
mzanettiwould be interesting what it says in the non-crashing case12:15
Saviqmzanetti, hah! it did work (sheets with no wifi)12:15
larsusure12:15
Saviqmzanetti, it only saves the changes after you press "ready"12:15
mzanettiSaviq: last time I tried it it broke the whole doc12:16
Saviqmzanetti, so I was able to do the changes and it synced them up12:16
Saviqmzanetti, wfm12:16
Saviqmzanetti, 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
Saviqmzanetti, so it found the phone and as soon as it tried to connect it failed12:16
Saviqhah, note != comment12:17
dednicklarsu: has this only been recent?12:18
larsumzanetti: gcc complains  that unitymenumodel only has a parent(QModelIndex &) function12:18
larsudednick: haven't run unity in a while12:18
dednickthis must have to do with lp:~nick-dedekind/unity8/lp132864612:18
larsudednick: just tried it and hit this error12:18
mzanettinow that's strange12:18
dednickmessed around with the object ownership of models12:19
larsuis qasbatrctitemmodel not a qobject?12:19
mzanettiit is12:20
mzanettiand it should have a QObject* parent() method12:20
dednicki wonder if something is trying to access it's parentItem, which it doesnt habve12:21
dednickbut is accessed through the qml parent property12:21
dednicklarsu: is it latest image?12:22
larsudednick: it's unity8 trunk on my laptop12:22
dednicklarsu: ah. running desktop shell in window?12:22
dednick./run i mean12:23
dednick./run.sh12:23
larsumzanetti: http://paste.debian.net/plain/11798712:24
larsudednick: yes12:24
mzanettilarsu: you said it inherits QAbstractItemModel?12:25
mzanettilarsu: then this might be the issue actually... I wonder how it compiles at all then12:26
larsumzanetti: I think it does, yes. Why=12:26
larsu?12:26
mzanettinot sure how you even can mask the parent() method of a QObject12:27
mzanettihttp://qt-project.org/doc/qt-5/qabstractitemmodel-members.html12:27
larsuya... setParent() works fine12:28
* larsu loves c++12:28
larsumzanetti: casting it to QObject makes it compile. parent() returns NULL12:29
dednickhm. weird that it's not happening to me.12:31
larsuya, I get this fairly consistently now12:32
dednicklarsu: 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:32
larsusure12:33
dednicklarsu: it's the qml trying to access the parent i think12:34
dednickmzanetti: ^12:34
dednickmaybe12:34
dednicknot sure why though12:34
mzanettidednick: ?12:35
mzanettiyeah, QML is accessing the parent for sure12:35
dednicki meant about compaining about parent not existing12:36
mzanettiyeah, that's really weird12:36
dednicki'm pretty sure nothing explicitly tries to set the parent of the model.12:36
=== MacSlow|lunch is now known as MacSlow
dednickoh. hm. maybe it's because of the javascript ownership12:37
dednickhm.12:37
dednicki have no idea12:37
mzanettidednick: is it explicitly set to javascript ownership?12:37
dednickno. but it's a invokable function to get the model12:37
larsudednick: it never arrives at that line12:38
mzanettiyeah... if it has no parent, i.e. parent() == nullptr, then it'll be javascript ownership12:38
mzanettiand then qml might GC it at any point12:38
mzanettiand its not safe to pass it in setModel() back to c++12:38
dednicklarsu: huh. so that means the menu isn't being destroyed :/12:38
dednickmzanetti: but the gc happens on main thread? wont occur at the point inside setMenu right?12:40
mzanettidednick: I think gc also happens in other threads... that behavior changed a bit with Qt 5.2 and Qt 5.3.12:40
mzanettiwhich is why we didn't have any of those crashes before, and since Qt 5.3 I fixed the parenting in like 10 places already12:40
larsube back in ~20 mins12:41
dednicksounds dodgey to me12:42
dednickmzanetti: so. the only way gc can take place on the model is after we've released the model property from:12:45
dednickhttp://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/qml/Panel/Indicators/CachedUnityMenuModel.qml#L3212:45
dednickright?12:45
mzanettinot sure about that...12:46
mzanettidednick: no... I think if the using QML context is destroyed it would clean up the model property too12:46
dednickmzanetti: 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
dednickto go out of context.12:46
mzanettihmm... I think so yes12:47
dednickif 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
mzanettiI think yes12:48
dednickfor the model to get deleted12:48
dednickhm.12:48
mzanettibut... not that I would ever have tried it12:48
dednickbecause that would explain things.12:48
mzanettiright12:48
dednickactually, there is a unity-test for that12:48
dednickunit-test12:48
* mzanetti can't type unit without the y and more either12:49
dednickhehe12:49
dednickqmltest atually.12:49
=== alan_g|lunch is now known as alan_g
dednickbut that's relying on gc actually cooperating with the gc() function12:49
dednickwhich it doesnt really12:49
dednickanyway. i don't understand why this is happening since the model isn't being deleted.12:51
mzanettidednick: I don't know the code around it and how it works... so I'm not that much of a help12:52
dednickotherwise we should hit: http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/plugins/Unity/Indicators/unitymenumodelcache.cpp#L4112:52
dednickmzanetti: i'm not supposed to be doing anything other than prompts at the moment. otherwise the gunn will be upset12:52
mzanettidednick: can't you just pass (this) as argument in line 39 here?12:53
mzanettidednick: then its owned by c++ and all is well12:53
mzanettihaha12:53
dednickmzanetti: lol. then Saviq isn't happy12:53
mzanettiwhy not?12:53
dednickbecause he wanted qml ownership!12:53
mzanettiah12:54
mzanettithen make him fix the crash12:54
Saviqdednick, no, I didn't want refcounting in QML ;)12:54
mzanetti:)12:54
dednickSaviq: well this is what you get for that!12:54
Saviqdednick, didn't we really end up saying that these models will basically never get destroyed? (provided that they can switch profiles)?12:54
dednickSaviq: yeah. not sure why they are.12:55
mzanettiwell, if they're never destroyed, one more reason to keep c++ ownership.. imho12:55
dednickmzanetti: well, they "can" be12:55
dednickmzanetti: just that they aren't under normal ops12:56
mzanettiapparently :)12:56
dednickif they aren't being used anymore12:56
Saviq*gasp* we don't have pastebinit in rtm?12:56
mzanettiok well... I'm sure you guys figure it... I really lack knowledge how this whole menumodel construct works12:56
dednickmzanetti: it's not a menumodel problem :) it's purly qml isuee. so you're perfect match12:57
dednick:)12:57
mzanettino its not...12:57
mzanettiif its purely a QML issue I'd say either don't pass the object back to c++ (in setModel()) or make it c++ owned12:58
mzanettibut both doesn't seem to be options because of the way the menumodel works12:58
dednickmzanetti: well, i don't pass it back via setModel. i use qml property12:58
dednick:)12:58
mzanettidude12:58
dednickwhich is the same as any other qml object. they're all c++ backed12:59
mzanettiyou don't want me to explain what Q_PROPERTY() expands to, domyou?12:59
mzanetti:)12:59
dednickbut yeah. creating in c++ then passing back and forth probably not best. blame Saviq13:00
dednicki do!13:00
tsdgeosany idea where this is coming from?13:01
tsdgeosFailed to get image from provider: image://scaling/0.666667//home/tsdgeos_work/phablet/unity8/croppedImageMinimumSourceSize/tests/qmltests/Dash/artwork/avatar@12.png13:01
tsdgeosspecially the scaling part13:01
dednickSaviq: otherwise i'm going to c++'ise CachedUnityMenuModel and put ref counting in there.13:02
dednickor shared pointers or whatever13:02
Saviqdednick, or let's just not cache them13:03
dednickSaviq: and have 3 models for each indicator13:03
Saviqdednick, you can share those without having the factory13:03
Saviqtsdgeos, UITK13:03
dednickSaviq: yeah but it would be realy nasty13:03
Saviqdednick, if you can get it to work proper without refcounting in QML, fine13:04
Saviqdednick, using shptr or whatever13:04
mzanettimeh for shptr :D13:04
dednickmzanetti: c++ ownership!13:04
* larsu apologizes for the discussion he started ;)13:05
mzanettilarsu: no... its good you found the issue!13:05
dednicklarsu: i don't really see how this is happening in the first place. should only occur if an indicator is being removed.13:06
Saviqgreyback__, http://paste.ubuntu.com/8168840/, thread 25, does that look like a lock to you? (doesn't to me)13:07
* Saviq blames scopes13:07
dednicklarsu: bug#?13:07
larsudednick: I on't see any indicators13:07
larsudednick: no bug13:07
larsuI just found it13:07
tsdgeosSaviq: grrrr13:08
dednicklarsu: does it happen pretty much as soon as the app window opens?13:08
dednicklarsu: can you log one? i can't sort it right away. busy with other things13:08
Saviqtsdgeos, what? me?13:08
tsdgeosSaviq: no the uitk :D13:08
tsdgeoswhy is it changing source of my images?13:09
Saviqtsdgeos, anyway, the avatar shouldn't ever be @foo13:09
Saviqtsdgeos, because it's doing it for the @foo mechanism13:09
larsudednick: it happens at different times. Sometimes before the window opens, sometimes after I close it13:09
larsudednick: yes, I'll file a bug13:09
dednicklarsu: but you have no indicators?13:09
dednicklarsu: that's weird13:09
larsuyes13:10
larsuvery weird indeed13:10
dednickmight explain things13:10
Saviqlarsu, didn't you have the coloured indicators?13:10
dednickor why i can't reproduce13:10
Saviqor is that gone now13:10
larsuSaviq: those went away after I removed the mock import pats13:10
larsu*paths13:10
Saviqmhm13:10
dednickcoloured indicators? hang on. is this in testcase?13:11
larsudednick: no, it's when you run unity8 in fake mode (./run.sh -f)13:12
dednicklarsu: with no mock paths?13:13
larsuno, it adds the mock paths in that case13:13
dednicklarsu: does bug also happen when running non fake mode?13:14
larsudednick: the other way around: it _only_ happens in non-fake moe13:15
larsu*mode13:16
dednicklarsu: ah. ok13:16
dednickthought that sounded weird13:16
larsusorry if I wasn't clear13:17
Saviqfacundobatista, can we report bugs against the remote scopes somewhere (like wrong header colours and such)?13:22
facundobatistaSaviq, https://bugs.launchpad.net/ubuntu-rest-scopes/+filebug13:23
Saviqfacundobatista, thanks13:23
facundobatistaSaviq, 90% is faster just tell me (if they are small changes), but as you wish :)13:23
Saviqfacundobatista, it was davmor2 finding it difficult to read in some scopes (7dig, grooveshark)13:24
Saviqfacundobatista, foreground color should be white13:24
Saviqaccording to https://docs.google.com/a/canonical.com/file/d/0B8I8ZVKH-8SsS01CcE93TFNUSGc/edit13:24
facundobatistaSaviq, 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, etc13:24
Saviqor white-ish13:24
facundobatistaSaviq, you're saying, for example, the background color for the 7digital header?13:25
Saviqfacundobatista, no, foreground color13:26
Saviqfacundobatista, icons13:26
Saviqfacundobatista, back and favorite and search13:26
Saviqfacundobatista, so page-header.foreground-color or some such13:26
facundobatistaoh, wait13:26
facundobatistaSaviq, I can control that?13:26
davmor2facundobatista: 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 header13:26
Saviqfacundobatista, of course :)13:26
facundobatistaSaviq, I got confused, sorry, yesterday I read this13:26
facundobatistaPageHeader.ForegroundColor = default header text color (defaults to the overall foreground color)13:26
facundobatistaand I thought "ah, the text, not the icons"13:27
Saviqfacundobatista, yeah, it should say "also applies to icons...."13:27
Saviqfacundobatista, and it shouldn't say 'default'...13:27
zbenjaminSaviq: should the url dispatcher bring the scope up on the screen?13:27
facundobatistadavmor2, Saviq, Daniela mentioned changes to those colors, I thought I couldn't control them13:27
Saviqzbenjamin, in the dash, yes13:27
zbenjaminSaviq: because on the most recent devel-proposed the screen just flickers and nothing else :/13:27
Saviqzbenjamin, restart url-dispatcher13:28
Saviqzbenjamin, ah oh13:28
=== dandrader is now known as dandrader|afk
Saviqzbenjamin, let me try13:28
Saviqzbenjamin, `url-dispatcher scope://clickscope`13:29
davmor2facundobatista: So we all on the same page now though right?13:29
Saviqzbenjamin, works fine here?13:29
zbenjaminSaviq: the clickscope is the store?13:29
Saviqzbenjamin, apps13:29
zbenjaminSaviq: try any other please13:29
zbenjaminurl-dispatcher scope://com.ubuntu.scopes.youtube13:29
Saviqurl-dispatcher scope://com.canonical.scopes.clickstore13:29
zbenjaminmaybe i do it wrong13:29
facundobatistadavmor2, maybe, Daniela mentioned changes for 7digital and TWC, but not for Grooveshark13:30
zbenjaminooo that works13:30
Saviqzbenjamin, youtube is wrong13:30
CimiSaviq, is not implicitHeight of the card being calculated incorrectly, is the cardHeight in cardTool that forces an height that is uncorrect13:30
SaviqCimi, that's not used in vertical journal13:30
zbenjaminSaviq: how to find out the correct url?13:30
Saviqzbenjamin, favorite it, `gsettings get com.canonical.Unity.Dash favorite-scopes`13:31
Saviqzbenjamin, there's probably a *real* way somewhere, but that works ;D13:31
CimiSaviq, implicitHeight is correct13:31
CimiSaviq, I just tested13:31
CimiSaviq, but cardHeight is fixed regardless of the summary size13:32
larsudednick: https://bugs.launchpad.net/unity8/+bug/1362609 - can't assign you for some reason, but I've subscribed you13:32
ubot5Ubuntu bug 1362609 in Unity 8 "Crashes with: corrupted double-linked list" [Undecided,New]13:32
zbenjaminSaviq: how do i favorite it?13:32
SaviqCimi, should not be in vertical journal13:32
Saviqzbenjamin, go to overview13:32
Saviqzbenjamin, press on the star icon13:32
zbenjaminaaa13:32
dednicklarsu: ta13:32
Saviqzbenjamin, _youtube13:33
Saviqzbenjamin, you need the hook name too13:33
dednicklarsu: can you add a u8 startup log to that as well?13:33
zbenjaminSaviq: ok i have something to try now ! thanks :)13:33
Saviqurl-dispatcher scope://com.ubuntu.scopes.youtube_youtube13:33
Saviqzbenjamin, coolz13:33
SaviqCimi, CardVerticalJournal does not force the card height on its delegates13:34
larsudednick: sure13:34
CimiSaviq, fixes to 18.5 gu, no~?13:35
SaviqCimi, no13:35
Cimiyeah no13:35
CimiI was testing normal ones anyway13:36
SaviqCimi, 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
SaviqCimi, and it was cut off13:36
greyback__Saviq: hmm, thread25 (renderer thread) is sitting, waiting to be told to render. (processEventsAndWaitForMore)13:36
SaviqCimi, I can measure for you13:37
Saviqgreyback__, yeah, what I thought13:37
greyback__Saviq: usaully means the GUI thread blocked13:37
CimiSaviq, I am seeing mistakes in testCard13:39
greyback__Saviq: scopes use zeromq?13:39
CimiSaviq, just clear out the summary text and the height is fixed13:39
CimiimplicitHeight changes13:39
SaviqCimi, #Cimi?13:40
CimiSaviq, I am there13:40
SaviqCimi, don't use me for debugging then please13:43
CimiSaviq, i debugged and I discovered height is fixed13:43
Cimifrom cardTool13:43
Cimiand I told you :)13:43
SaviqCimi, in the test, maybe, that doesn't mean that's the case in CardVerticalJournal13:43
CimiSaviq, would be good to see then13:44
CimiSaviq, this cardVerticalJournal13:44
CimiI cannot enable it apparently13:45
CimiSaviq, testing vertical-journal in scope tool works fine here13:46
CimiSaviq, maybe it's a particular combination of components for the artits?13:47
CimiSaviq, I think is that one for scope tool http://paste.ubuntu.com/8169147/13:49
Ciminope13:49
SaviqCimi, yeah, as long as it has only one result13:49
Saviqpstolowski, any idea why Cimi wouldn't get artists in the music aggregator?13:50
tedgSaviq, Do you have any idea where all these bad AppIDs could be coming from? https://errors.ubuntu.com/bucket/?id=ubuntu-app-launch-invalid-appid13:50
tedgSaviq, It's kinda reaching epidemic proportions.13:50
Saviqtedg, what am I looking at in those reports?13:51
CimiSaviq, ok reproduced13:51
CimiSaviq, with scope tool13:51
Saviqtedg, like can I see what appid was passed?13:51
tedgSaviq, Mostly the numbers, the data is stripped (different patch), but UAL is throwing an error when an invalid AppID is given.13:51
pstolowskiCimi do you have local music files? are they correctly tagged?13:52
CimiSaviq, because the bands I am listening too don't deserve to be called artists13:52
tedgSaviq, It's *there* but Whoopsie strips it right now :-/13:52
Saviqtedg, a) someone has a stale entry in the launcher13:52
Cimipstolowski, sure13:52
Saviqtedg, b) click scope didn't notice a upgrade / removal13:52
Saviqtedg, ... and didn't tell the dash to refresh13:53
tedgSaviq, Hmm, okay. It's just happening 500 times a week on phones right now.13:53
tedgSo it must be in the testing somewhere.13:53
Saviqtedg, ah yeah, testing could makes sense too13:53
Saviqtedg, but it would help a *lot* to see the actual appid used13:53
Saviqtedg, I'll have a look in my /var/crash when I run a unity8 suite next13:54
tedgSaviq, Yeah, working on that patch. Tradeoffs in DB space, etc.13:54
pstolowskiCimi, and what exectly do you see when going to My Music -> artists department? empty page?13:56
=== dandrader|afk is now known as dandrader
MacSlowtsdgeos, 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_popover14:02
tsdgeosMacSlow: sdk changes14:02
tsdgeosMacSlow: https://code.launchpad.net/~aacid/unity8/pageHeaderFailingTest/+merge/232528 should fix it14:02
tsdgeosbut on first run CI i had a dozen unexpected autopilot errors14:03
tsdgeosi triggered CI again since they seem unrelated14:03
tsdgeosand may be just a CI hicukup14:03
tsdgeos+spelling14:03
MacSlowtsdgeos, guess it just typical CI-routine :)14:04
Cimipstolowski, no artist department14:04
MacSlowtsdgeos, getting stuff through CI makes one feel like Don Quixote :)14:05
tsdgeosold and crazy? :D14:05
MacSlowtsdgeos, hehe... not like that :)14:05
MacSlowtsdgeos, Sisyphus would have been a better choice of analogy I guess14:07
pstolowskiCimi, no artists department in "My Music" scope? (don't confuse it with "Music" which is the aggrgeating scope)14:07
CimiMacSlow, http://www.engadget.com/2014/08/28/leap-motion-s-next-sensor-is-designed-specifically-for-virtual-r/?ncid=rss_truncated14:10
MacSlowCimi, very cool idea... the leap-motion is indeed next on my list of geek-toys to get hold of14:11
Saviqwha!14:12
Saviqthis video is not available in your country ffs14:12
CimiSaviq, here too, didn't watch it14:13
Cimiit's bs14:14
Cimitried with a proxy, is not even available in US14:14
tsdgeosmterry: ping14:14
MacSlowCimi, Saviq: tor-browser to the rescue maybe14:14
mterrytsdgeos, hello!14:15
SaviqMacSlow, yeah, and then I got police on my back eh? ;)14:15
tsdgeosmterry: i'm testing the silo with https://code.launchpad.net/~mterry/unity8/interactive-while-locked/+merge/23125314:15
tsdgeosmterry: is it correct that if locked, i can launch the phone, but then from the phone i don't get the launcher?14:16
mterrytsdgeos, yes14:16
tsdgeosthat's weird14:17
tsdgeosbut ok14:17
mterrytsdgeos, yeah...14:17
tsdgeosmterry: where do i edit that in system settings?14:18
mterrytsdgeos, 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 with14:18
=== gatox is now known as gatox_lunch
mterrytsdgeos, I had to rebuild USS this morning after a release -- confirm that you have USS from the silo14:18
mterrytsdgeos, but you edit it in the security panel14:19
mterrytsdgeos, under the lock phone setting14:19
tsdgeos *** 0.3+14.10.20140828-0ubuntu1 014:19
tsdgeos        500 http://ppa.launchpad.net/ci-train-ppa-service/landing-009/ubuntu/ utopic/main armhf Packages14:19
tsdgeosah14:19
mterrytsdgeos, awesome14:19
tsdgeossee it14:19
tsdgeosnow that you mention it, makes sense :D14:20
dandraderkgunn_, 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 instance14:21
tsdgeosmterry: so what things can i open from the locked launcher?14:22
tsdgeosphone nly?14:22
mterrytsdgeos, everything else will open, but you have to unlock first14:22
kgunn_dandrader: yep, sorry bout that,slipped my mind14:22
mterrytsdgeos, phone is only one that you can actually interact with without unlocking14:22
tsdgeosmterry: and then what's the point?14:22
mterrytsdgeos, slightly faster?14:23
tsdgeosfaster what?14:23
mterrytsdgeos, I think the indicator switch is more interesting14:23
dandraderkgunn_, np. I know it's easy to forget follow up on such small things14:23
tsdgeosmterry: i still have to type my passcode, can't see how it's faster14:23
mterrytsdgeos, er, not faster, but more natural how about.  like the flow is "click, unlock" rather than "unlock, click"  -- you lead with the action you want14:24
mterrytsdgeos, but honestly it's not a big deal14:24
tsdgeosok14:24
tsdgeoslet's not argue about what is more natural14:24
mterrytsdgeos, I think the reason you would disable it is if you had sensitive icons on it14:24
tsdgeosi like my natural blue14:24
tsdgeos:D14:24
mterrytsdgeos, it's enabled by default14:24
mterrytsdgeos, I think it's just a privacy toggle to hide the apps you have14:24
tsdgeosok14:26
dandraderdednick, wow, "make trySessionContainer" is awesome now!14:26
dednickdandrader: :) what you asked for!14:47
CimiSaviq, #Cimi14:47
mzanettiis there party at #Cimi's?14:48
dednickdandrader: can you read and let me know what you think: http://paste.ubuntu.com/8169568/14:49
dednickdandrader: i've come up with a solution, but it needs some more eyes.14:49
dandraderjesus, that's a long conversation14:53
Cimitsdgeos, is there a container of cards that clips?14:58
tsdgeosCimi: not sure what you mean14:59
Cimitsdgeos, cards in vertical journal seems clipped14:59
Cimiwhen you only have 1 card14:59
tsdgeoscards in vertical journal are clipped at XY gu14:59
tsdgeosXY = don't remember, 20 i think14:59
tsdgeosnot clipped14:59
tsdgeosbut you have to press see more15:00
tsdgeosso yes, clipped :D15:00
Cimitsdgeos, with 1 only?15:02
Cimitsdgeos, would you mind having a look at https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1362160 ?15:03
ubot5Ubuntu bug 1362160 in Unity 8 "Card's implicitHeight calculated wrong if summary is missing" [High,Triaged]15:03
tsdgeosCimi: it does not matter15:03
tsdgeosheight is height15:03
tsdgeosan be 1000 items or 115:03
Cimitsdgeos, it's true that missing summary is complicating things, but the bottom edge is still clipped15:03
tsdgeosit clips at 2015:03
Cimiso here is different15:04
tsdgeosis that a VJ?15:05
tsdgeoswhy would anyone use a VJ there?15:05
tsdgeosif that's a VJ15:06
tsdgeosi don't see where is the problem15:06
tsdgeosbesides it looking ugly as hell15:06
tsdgeosit's cut at 35gu how VJ is supposed to do15:06
tsdgeosno?15:07
Cimiwell15:07
CimiI never seen this15:07
tsdgeosthis = what?15:08
Cimitsdgeos, that bug15:09
tsdgeosi've never seen it either15:09
Cimitsdgeos, I don't have artist department15:09
dandraderdednick, (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 surface15:09
dandraderdednick, when a client dies, its surface is not automatically destroyed15:10
tsdgeosSaviq: why do you say the implicit height is wrong at https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1362160 ?15:10
ubot5Ubuntu bug 1362160 in Unity 8 "Card's implicitHeight calculated wrong if summary is missing" [High,Triaged]15:10
dandraderdednick, as the compositor (unity8 through qtmir) still holds a reference to it15:10
dandraderdednick, only once the compositor releases its reference to a mir surface is that it gets destroyed15:11
Saviq@unity, while I have most of you here: http://pastebin.ubuntu.com/8169708/ TAGS!15:11
dednickdandrader: 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
tsdgeosSaviq: so you've decided to kill 0.1.16=15:11
mzanettiphew15:11
tsdgeosthat's news15:11
tsdgeosi thought you liked it15:11
Saviqtsdgeos, ;D15:11
mzanetti:D15:11
dandraderdednick, more exactly, every application (mir client) has a a ring buffer of surfaces. the compositor always points/holds one of them and the client another15:11
dandraderdednick, to one of the surfaces in the ring buffer I mean15:12
tsdgeosSaviq: not killing  7.85+14.10.20140428.2-0ubuntu1 ?15:12
dandraderdednick, so while the client is rendering onto a surface, the compositor is displaying another one.15:12
Saviqtsdgeos, it's there15:12
mterrySaviq, fixed15:13
tsdgeosSaviq: ah tight15:13
tsdgeosright15:13
dednickdandrader: 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:13
dandraderdednick, we hang on to it when switching between app surface and its screenshot for instance, when a suspended app is killed due to OOM conditions15:14
dednickdandrader: ya. but not when an app closes.15:15
dednickdandrader: which is my prpblem15:15
dednicksince the surface gets destroyed first.15:15
dandraderdednick, what do you mean by "when an app closes"?15:15
dandraderdednick, swiping it up in the spread?15:15
Saviqdandrader, no, Qt.quit()15:15
Saviqdandrader, that's when the job's gone from ual too15:16
dednickdandrader: in my case it's when the prompt process closes.15:16
dandraderSaviq, dednick ahhh... an application closing itself15:16
dednickthe surface gets destroyed first15:16
dednickand then we want to animate the transition15:16
dednickbut the surface is already gonners15:16
dednickso 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 existing15:17
Saviqdandrader, 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 ;)15:19
=== gatox_lunch is now known as gatox
=== dandrader is now known as dandrader|afk
cwayneSaviq: \o/15:25
tsdgeosSaviq: ok, all my extra tags should be gone15:33
Saviqcwayne, what up? rtm landing? :)15:33
cwayneSaviq: yep :)15:33
Saviqcwayne, it has davmor2's stamp on it15:34
Saviqwith barely a complaint!15:34
davmor2Saviq: no I dare not stamp on it, it'll break15:34
Saviqdavmor2, IT WILL NOT!15:34
* davmor2 hands the pieces to Saviq told you15:35
mzanettiSaviq: do we already use dbus-testrunner or similar somewhere in unity=15:38
mzanetti?15:39
Saviqmzanetti, grep doesn't work? :D15:39
Saviqmzanetti, dbus-test-runner15:39
mzanettioh... it does work with the correct input...15:39
mzanettithanks15:39
=== dandrader|afk is now known as dandrader
* Saviq goes for another round of BT testing then15:48
SaviqFAIL15:54
mzanettilol15:55
mzanettiSaviq: same issue still?15:55
Saviqmzanetti, yeah, I don't think we support reverse pairing yet15:56
dandraderdednick, "so my solution is just to delay the release for 100ms" <- is that in qtmir code?15:56
mzanettiSaviq: need a bug for that15:56
dednickdandrader: not yet15:56
mzanettiSaviq: btw there is no such thing as reverse pairing in the spec :)15:56
Saviqmzanetti, that's what I'm afraid of15:56
mzanettiSaviq: well... its an incoming pairing... and has to work just like outgoing pairing15:57
dednickdandrader: 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:57
mzanettiSaviq: but I'm afraid we don't have a bt service... do we?15:58
mzanettioh right... the indicator15:58
dandraderdednick, 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:58
Saviqmzanetti, yeah, we need a snap decision from the bt indicator I think15:59
mzanettiSaviq: yeah, all pairing needs to be handled by that, even for outgoing15:59
mzanettialso incoming obex push requests15:59
Saviqmzanetti, yeah probably, not sure how it works now, but it feels like settings are quite involved16:00
mzanettiSaviq: 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
mzanettias bluez always asks back iirc16:00
Saviqmzanetti, well it should work for already paired devices16:01
Saviqmzanetti, but yeah, we need the indicator to handle this16:01
mzanettiSaviq: it depends on the trust level (by specification)16:01
mzanettiSaviq: you should be able to mark a device as trusted16:01
SaviqMacSlow, friendly reminder, strip tags on lp:~macslow/unity8/fix-134809216:02
dednickdandrader: 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
mzanettiand if that's not the case we'd need to open a snap decision which asks for ok16:02
Saviqdednick, you got 0.1.16 in prompts-in-prompts too16:02
dednickSaviq: damnit. i removed it yesterday16:02
MacSlowSaviq, doh... ok16:02
dednickSaviq: keeps going back into trunk!16:02
dednickSaviq: removed.16:03
Saviqdednick, remember to remove locally too16:04
dednickSaviq: yup16:04
dandraderdednick, 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:05
dandraderdednick, so maybe the same would apply for sessions.....16:06
dednickdandrader: if you mir destroys an application surface on close, when is it ok for u8 to destroy it?16:06
dandraderdednick, 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:08
dednickdandrader: right. but when a session closes, it's the session that needs to animate away16:10
dandraderdednick, so we would need a similar qtmir-unity8 "protocol"  for sessions...16:11
dandraderor something in that spirit16:11
dednickdandrader: 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
tsdgeosSaviq: CI passed on https://code.launchpad.net/~aacid/unity8/pageHeaderFailingTest/+merge/23252816:12
tsdgeos\o/16:12
dednickdandrader: the qtmir-unity8 protocol for sessions is what my branch does16:13
dandraderdednick, the surface is only gone is unity8 already finished animating it (called surface.release)16:13
dandraderis unity8/if unity816:13
dednickdandrader: yes. so i end up swiping down an empty session container :)16:14
dandraderdednick, I don't see DarkenAndFadeInAnimation being used for anything. Is it a leftover? something for the future?16:16
dednickdandrader: yeah, it's just left over. where supposed to be different types of animations for different surface types16:17
dednickbut nor supported yet.16:17
dednickdandrader: i'll remove16:17
Saviqtsdgeos, awesomes16:23
MacSlowSaviq, cleaned lp:~macslow/unity8/fix-1348092 only 8.0-tags remain16:28
* mzanetti listens to music using his bluetooth headphones and an ubuntu phone and loves it!16:43
* popey phones mzanetti to break that experience16:43
mzanettipopey: if that works through the headphones too its the "Bye bye Nokia N950"16:44
popeytry it ㋛16:45
popeyknown broken for months16:45
mzanettiI only manage today to pair something for the first time (using the UI only)16:45
mterryDoes anyone have time for reviewing https://code.launchpad.net/~mterry/unity8/unlock-via-dbus/+merge/232428 ?16:46
mterryIt's blocking some adb work16:46
mterry@unity ^16:46
dandradermterry, I don't16:46
tsdgeosmterry: why remove lockscreen.hide(); ?16:50
mterrytsdgeos, 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
mterrytsdgeos, just unrelated cleanup really16:51
tsdgeosmterry: don't understand this16:54
tsdgeosUNLOCK_OUTPUT=$(adb shell "if [ \"\$(id -u)\" = 0 ]; then sudo -u phablet -i $GDBUS_CMD; else $GDBUS_CMD; fi" 2>&1)16:54
tsdgeoswhy do i need sudo if i'm root already=16:54
tsdgeos?16:54
Saviqtsdgeos, -u phablet16:54
tsdgeosdoh16:55
mterrytsdgeos, yeah, that bit was there to future-proof when adb changes which user it is16:55
tsdgeoslooks good to me then16:56
dednicktsdgeos: mzanetti: SurfaceContainer.qml:47:19: Unable to assign bool to [unknown property type]17:00
dednickhttp://paste.ubuntu.com/8170572/17:00
dednickany idea? it's happening totally randomly inside a qmltest17:00
dednickevery 10 or so runs it happens17:00
=== alan_g is now known as alan_g|EOD
=== boiko_ is now known as boiko
dandraderdednick, is that trunk?17:12
dandraderah, the pastebin17:13
dednickdandrader: yeah17:13
dednickdandrader: oh. no, my branch17:13
dandraderdednick, prompt-in-prompt or something else. that looks like something else17:14
dandraderyeah, I've no idea17:16
dandrader(that qml warning)17:16
dednickdandrader: it's prompt in prompt17:16
dednickthe new one that i just pushed17:16
dandraderoh, time to pull again17:17
dandraderdednick, 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
dednickdandrader: heh. indeed. although it is used for opacity in the app window17:19
dandrader?17:20
dednickswitching between showing surface and showing splash17:20
dednickdandrader: or screenshot17:20
dandraderah, I keep forgetting that AppWindow extends SessionContainer17:20
dandraderdednick, I wonder if we could merge SessionContainer with AppWindow. might make it easier understand and maintain the interaction between the logic in those two files17:24
dandraderjust an idea17:25
dednickdandrader: ? can't really. A SessionContainer has child SessionContainers which don't use things like splashscreens17:25
dandraderdednick, or make AppWindow have a SessionContainer inside it instead. composition instead of inheritance17:26
dandraderdednick, right17:26
dednickdandrader: i thought about using composition, but thought it would introduce another level of items which takes more time to render.17:27
dandraderdednick,not if that new level doesn't render anything itself but just positions its children17:28
dednickdandrader: as in Item { Item {} } takes longer to render than Item {}17:28
dednickgreyback_: ^ ? didn't you do some perf monitoring on this?17:28
dednickwhen i originally did prompt sessions i had a few levels which was slowing things down.17:29
greyback_dednick: Items don't actually draw anything, they add a couple of extra nodes to the scenegraph though17:29
greyback_so it's slightly slower to render the tree, but the difference would be tiny17:30
dandraderhmm17:30
greyback_Items can clip though, clipping often has a cost17:31
dandraderoh yeah, clipping should be avoided as much as possible17:32
dandraderbut are disabled by default17:32
dednickdandrader: well i dont mind. i can use composition if you really want it.17:32
dandraderdednick, I'm still reviewing. so just an idea at this point17:33
dandraderdednick, btw, are you changing that mp much still?17:33
dednickdandrader: na, i think i'm done now17:33
dednickgreyback_: finished the qtmir one as well. :)17:34
dednickgreyback_: MR is up for grabs :)17:34
dednickyou know you want to.17:34
dednickonly 4k lines!17:34
greyback_I really don't17:34
dednickhehe17:35
dednickgreyback_: quite a bit of it is from the other MP17:35
greyback_dednick: the fun part is figuring out what is and what isn't :)17:36
=== dandrader is now known as dandrader|afk
greyback_dednick: commit message & checklist when you're ready17:36
dednick1k lines of tests. although i just realised they arent valid anymore17:36
dednickdamn. i think i commented them out17:37
dednickprobably not good17:37
greyback_jesus dude you're a hero17:42
greyback_dednick: ^17:42
dednickgreyback_: ? what, for disabling tests? :)17:46
greyback_dednick: heh, no, just the hugeness of this MR17:46
dednickone of my smaller ones i know17:47
dednicki think my record still stands at 12k17:47
greyback_that's your strategy, is it? shock & awe - nobody dares critique it!17:48
greyback_note - tests are disabled in tests/tests/pro still17:48
cwaynedid the scope:// url stuff land in url-dispatcher?17:52
cwayneand also, can i use that to open a scope to a specific department?17:53
CimiSaviq, you here?17:54
greyback_dednick: high-level question - does your code support the case where a trust helper appears before the applicaiton does?18:00
greyback_+surface18:00
dednickgreyback_: um. should do. i might not have tested that eventuality though18:01
greyback_dednick: ok. Was just curious18:01
dednickgreyback_: oh. before the application does? no18:01
dednickgreyback_: before the app surface, yes.18:01
greyback_dednick: before app surface is what I wanted to know. Thanks18:02
dednickgreyback_: pl18:02
dednickok )18:02
dednickbah!18:02
greyback_dednick: can you share tools and instructions on making a nested trust session?18:02
dednickgreyback_: sure18:03
mterrykgunn_, any problems with landing silo 009?  It has unity8 while you have a version of unity8 in silo 00218:05
dednickgreyback_: added to mp18:07
greyback_dednick: ta18:07
=== dandrader|afk is now known as dandrader
mhall119Saviq: can a scope's Art and Icon fields use relative filenames?18:25
mhall119it doesn't seem to find mine18:26
kgunn_mterry: go for it....if we have to rebuild we'll rebuild18:26
cwaynemhall119: they should18:28
Saviqmhall119, if they're in click, yes18:29
mhall119cwayne: Saviq: are there any restrictions or requirements for those files?18:38
Saviqmhall119, they should be square, similar to those https://drive.google.com/drive/#folders/0B8I8ZVKH-8SsT1V6MmVGM01uRE018:41
Saviqmhall119, because they will be cropped to the aspect ratio of the dash18:41
Saviqmhall119, in reality only one of them will be used soon18:43
mhall119Saviq: 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 restart18:47
mhall119is there a way to force it to refresh without restarting  my emulator?18:47
cwaynenone that i know of18:49
mhall119pkill -f unity8-dash worked :)18:54
mhall119Saviq: are we going to be able to use an image for the background, rather than just a color?19:02
Saviqmhall119, no19:25
mhall119:(19:38
=== dandrader is now known as dandrader|afk
mhall119Saviq: thanks for all your help today, I was able to make quite a bit of progress20:27
Saviqmhall119, sure20:33
Saviqmhall119, on backgrounds for scopes, there's a slew of issues that would arise of that20:33
Saviqmhall119, different aspect ratios, readability etc20:34
mhall119Saviq: but we have background images on the default ones and the dash management screen, so it's a problem that'll need solving anyway20:54
mhall119and readability is technically already a possible issue, it's just up to the scope developer to not be dumb20:55
mhall119I understand that there are issues though, and until they're worked out I can understand not supporting it20:55
mhall119still, it would be nice to have20:56
mhall119both for my own scopes, and being able to change the Apps scope background again :)20:56
Saviqmhall119, 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 salad20:56
mhall119"see through"20:56
Saviqmhall119, that basically means it's static behind the dash, not at the layer of scopes, where their background is20:59
=== dandrader|afk is now known as dandrader
=== salem_ is now known as _salem
=== shiznix_ is now known as shiznix

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