/srv/irclogs.ubuntu.com/2013/11/27/#ubuntu-unity.txt

=== duflu_ is now known as duflu
=== thijser_ is now known as thijser
=== iahmad is now known as iahmad|afk
tsdgeosarg, that unity package still not released08:39
tsdgeoswill un-update unity808:39
Saviqtsdgeos, just grab unity-api from daily-ppa08:41
Saviqtsdgeos, and to answer your question - yes, today08:41
didrocks(for unity-api? yeah, it's targeted and Mirv is working on it as we speak)08:45
Mirvyeah, working on it, just some weird python problems because of which I'm reflashing fully08:46
Mirvie. unity8 autopilot tests didn't start08:47
sil2100pete-woods: ping!09:48
pete-woodssil2100: hi09:50
Saviqthat was a loud ping!09:52
pete-woods;)09:53
=== rachelliu_ is now known as rachelliu
=== iahmad|afk is now known as iahmad
mhr3_sil2100, so, any pattern to follow for the versioning issue you mentioned yesterday?10:38
nic-doffayHas anyone gotten this error with phablet-network on trusty before? Network connection file "uuid=1042ce84-5e70-4eea-b373-fe87b6b8b832" cannot be read10:44
sil2100mhr3_: hm, let me think about that for a moment!10:46
mhr3_saviq, is there a known battery issue with latest images? my phone never survives overnight lately10:47
Saviqmhr3_, I'd say mtp-server and mediascanner crashing all the time and apport collecting crashes10:48
mhr3_saviq, don't have either in /var/crash, though i do have powerd crash file... i have a feeling that's related10:49
Saviqmhr3_, right, if powerd crashed, it never went into suspend10:50
mhr3_still can't believe the entire thing boots just when charging it10:51
mhr3_sil2100, btw anything still missing to push unity-scopes-api10:56
mhr3_?10:56
Saviqmzanetti, can you check what's going on with track durations in music previews? I get songs that are like 23hrs long11:02
mzanettiSaviq: hmm... strange. but yeah, I can check11:03
nic-doffaySaviq, who should I chat to about phablet-network issues?11:07
Saviqnic-doffay, Sergio11:08
nic-doffaySaviq, what chan?11:08
sil2100mhr3_: I'm pushing it today! As for the versioning schemes, how long do you plan on using this PPA for testing?11:09
Saviqnic-doffay, he's not around11:09
Saviqnic-doffay, best file a bug against phablet-tools11:09
mhr3_sil2100, couple of weeks i guess11:09
mzanettiSaviq: it works fine for all the sample data I have in use here11:09
mzanettiSaviq: the time is delivered from the scope backend11:10
Saviqnic-doffay, apport-bug phablet-tools11:10
Saviqmzanetti, let me print them ou11:10
Saviqt11:10
Saviqmzanetti, so it comes in as string?11:12
Saviqmzanetti, you're not processing it in any way?11:12
mzanettiSaviq: int11:12
* Saviq adds debugging to scopes-shell11:13
mzanettiSaviq: I load it into a QTime with addSecs() and then use toString("hh:mm:ss")11:13
Saviqmzanetti, wonder if it comes in msecs from banshee or something11:13
nic-doffaySaviq, commented here: https://code.launchpad.net/~nicolas-doffay/unity8/category-transition-speed-fix/+merge/19520311:13
mzanettiSaviq: I populated it with some other music player. can't recall the name. mhr3 told me to11:14
mzanettiit wasn't banshee iirc11:14
mhr3_rb is the default11:15
Saviqrb == rhythmbox11:15
mzanettiah right11:16
mhr3_so what's the issue?11:18
mhr3_banshee gives length in milliseconds?11:18
mhr3_sounds incredibly useful11:18
mzanetti:)11:18
mhr3_anyway, bug in scope11:19
mzanettimhr3_: iirc mpris does stuff in milliseconds too11:19
Saviqmhr3_, looks like it11:26
Saviq272514 is not a sane song length in seconds11:26
Saviqyeah, unity7 is broken there, too11:26
CimiSaviq, mzanetti https://code.launchpad.net/~unity-team/unity8/dash-renderers/+merge/19628511:27
Cimithis doesn't fil here11:27
Cimi*fail11:27
SaviqCimi, http://pad.lv/125545211:27
ubot5Launchpad bug 1255452 in Unity 8 "Dash::test_show_scope_on_load is flaky" [High,Triaged]11:27
Cimiok11:27
CimiSaviq, let me look at it11:28
SaviqCimi, feel free11:28
mzanettiCimi: https://code.launchpad.net/~unity-team/unity8/dash-renderers/+merge/196285/comments/45564511:28
CimiSaviq, yeah I got a bug on the indicagtors11:28
Cimibut I believe it's better for dednick11:28
Cimimzanetti, I know you get launchpad karma but you can tell me directly when I'm online for those things :)11:30
mzanettiCimi: :D11:30
Cimimzanetti, fixed11:31
mzanettiCimi: but how should I manage to catch Saviq then?11:31
Cimimzanetti, you can go and do the real review now :P11:31
mzanetti:P11:31
Cimimzanetti, creating a bot11:31
Cimimzanetti, saviq has a bot11:31
Cimimzanetti, he cannot be always the first one to track bugs, he must have one come on!11:31
Cimi:S11:32
Cimi:D11:32
mzanettihehe11:32
Cimiunless Saviq is a bot11:32
* Cimi mmmm ::D11:32
Saviqshh11:32
Cimiahah11:32
Saviqmzanetti, mhr3_, davidcalle? bug #125550011:33
ubot5bug 1255500 in unity-lens-music (Ubuntu) "banshee scope reports length in milliseconds for previews" [Undecided,New] https://launchpad.net/bugs/125550011:33
SaviqFWIW it also includes songs that I have on my phone...11:34
Saviqwhich is kinda weird11:34
mzanettiSaviq: ah, so it happens in unity7 too?11:34
Saviqmzanetti, oh yes11:35
Saviqhttp://goo.gl/KKFLTl11:36
mzanettimeh...  Could not determine plugin installation dir.11:36
mzanetti:D11:36
davidcalleSaviq, Björk does have very long songs ;)11:36
mzanettilol11:36
Saviqdavidcalle, indeed!11:36
Saviqmzanetti, new unity-api11:36
Saviqmzanetti, it's in distro now11:36
Saviqmzanetti, ./build -c will pull it for you11:37
mzanettinope... tried that. but probably I need to dist-upgrade first11:37
davidcalleSaviq, looking at it <- pstolowski, is it fine if I fix it in the preview creation instead of the db parsing ?11:37
Saviqdavidcalle, please no11:38
Saviqdavidcalle, unity8 would be broken still11:38
mzanettihow would that even work?11:38
davidcalleSaviq, I don't thing it would, I mean, the preview creation in the scope11:38
mzanettiguessing if it is too much by a factor of 1000?11:38
Saviqdavidcalle, aah11:38
davidcallethink*11:38
davidcallemzanetti, that would be fun :)11:39
Saviqdavidcalle, in that case yeah, as long as unity-core spits out seconds, we're good11:39
Saviqmzanetti, crap, for https://code.launchpad.net/~mzanetti/unity8/music-preview/+merge/193803 you need to add QtMultimedia to fake-env.install11:39
pstolowskiSaviq, davidcalle yes, the problem is in the scope, it needs to do the conversion11:39
mzanettiSaviq: done11:40
mhr3_davidcalle, i don't follow, why do you want to fix it just in preview instead of db parsing?11:40
mzanettiSaviq: I just needed to merge with trunk as all the cmakelists have changed11:40
Saviqmzanetti, mhm11:40
Saviqdavidcalle, what do you think should be done with songs from my phone?11:41
Saviqdavidcalle, I think it caches it in the database11:41
Saviqdavidcalle, that's why I have 3 copies of the same song there - one local (laptop), one remote (NAS), one on phone11:42
Saviqdavidcalle, local+remote are added to the database as usual, so that's expected, but the phone one should be filtered I think - ideal would be unless it's connected :)11:42
davidcalleSaviq, interesting. Actually, I think the scope should deduplicate that itself all the time.11:44
Saviqdavidcalle, or even that, yeah11:44
davidcallemhr3_, nevermind, I found the db parsing bit for duration.11:45
Saviqnic-doffay, I'm afraid I don't get your reasoning re: transition speed, what "bouncing" do you have in mind?11:46
=== _salem is now known as salem_
karniWhat is UNITY_RESULT_TYPE_PERSONAL and UNITY_RESULT_TYPE_SEMI_PERSONAL compared to UNITY_RESULT_TYPE_DEFAULT ?12:04
Saviqmhr3_, pstolowski ↑?12:06
pstolowskikarni, DEFAULT = a public content12:06
pstolowskikarni, PERSONAL = for results such as personal documents on your hdd12:07
pstolowskikarni, SEMI_PERSONAL = re.g. esults coming from a personal clud afair12:07
karnipstolowski: I see, thank you!12:08
pstolowskikarni, they affect sorting; personal content takes precedence over non-personal12:08
karniACK12:08
pstolowskiyw12:09
=== MacSlow is now known as MacSlow|lunch
=== alan_g is now known as alan_g|afk
mzanettiSaviq: no... still can12:12
mzanetti't find the plugin dir12:12
Saviqmzanetti, apt-cache policy libunity-api-dev ?12:13
mzanetti7.80.3+13.10.20130927.1-0ubuntu112:13
mzanettihmm... that seems a bit old12:14
Saviqmzanetti, and 7.80.4 not available yet?12:14
mzanettiapparently not12:14
Saviqmzanetti, might not have reached your mirror yet12:14
Saviqmzanetti, or archive, for that matter12:14
Saviqmzanetti, grab it from https://launchpad.net/ubuntu/+source/unity-api/7.80.4+14.04.20131126.2-0ubuntu112:14
* mzanetti removes .de from sources lists12:14
mzanettiyep. better now12:16
mzanettiCimi: your branch conflicts with trunk12:18
Cimiagain :\12:18
Cimiok12:18
CimiI fixed it the other day12:18
CimiI'll fix it12:18
=== alan_g|afk is now known as alan_g
Cimimzanetti, no conflicts here12:33
Cimimzanetti, just merged and repushed12:33
davidcallepstolowski, can you please have a look at https://code.launchpad.net/~davidc3/unity-lens-music/banshee-track-duration-seconds/+merge/196879 ?12:34
mzanettiCimi: ok. works now12:34
mzanettiCimi: did we come to a conclusion on what we should use to tag those bugs you mentioned yesterday?12:34
mzanettiCimi: hmm... now the local videos isn't a carousel any more. is that wanted?12:35
Cimimzanetti, how many videos you have?12:36
mzanettihuh? now it turned into a carousel after wating for a couple of seconds12:36
nic-doffaySaviq, whoa only saw your response now.12:46
nic-doffaySaviq, the "bounce" I'm talking about is basically a noticeble delay between the animation and it's end.12:46
nic-doffayin the "to:" the FilterGrid's height is set to the scopeViewHeight, then onStopped it's set to either uncollapsed or collapsed height.12:47
nic-doffayIt's between these two that you can see that issue, which was why I did it the way I currently am. But unfortunately that causes the speed variation between the collapsing and expansion now. I'm unsure how to get around this.12:48
Saviqnic-doffay, ok, let's start from the beginning, say a category is at y=100, scopeViewHeight=500, uncollapsedHeight=100012:49
Saviqnic-doffay, first step is animation to height=500, second step is setting height=100012:49
nic-doffaySaviq, yeah that's fine.12:50
nic-doffayIt's when the uncollapsed height is less than the scopeViewHeight that the issue happens.12:50
Saviqnic-doffay, ok, so say y=400, scopeViewHeight=500, uncollapsedHeight=40012:51
Saviqnic-doffay, there's only one step there, then, animate to height=40012:51
Saviqnic-doffay, and y gets animated to y=100 at the same time12:51
nic-doffaySaviq, I tried that already I think let me just refresh my memory quickly...12:51
Saviqnic-doffay, as long as the y and height animations are in sync, which they should be, I see no reason for bouncing12:52
Saviqnic-doffay, I think your issue was with the fact that you animate to height=500 in that case, and then re-set to 40012:52
Cimimzanetti, it loads the carousel with more than 6 elements12:53
Saviqnic-doffay, but then you solved that already I think12:53
Cimimzanetti, otherwise it shows the grid12:53
mzanettiCimi: yeah. I was just confused as I knew I had more of them and it still was grid. and suddenly it turned into a carousel12:55
nic-doffaySaviq, in that case it could be an issue with the root.y I haven't taken into account any y positioning because the root.y of the filter grid always printed 0.12:57
mzanettiCimi: https://code.launchpad.net/~unity-team/unity8/dash-renderers/+merge/196285/comments/45570312:57
Saviqnic-doffay, that's because it's wrapped by a Loader, in which it's always at 012:58
mhr3_sil2100, ping?12:58
Saviqnic-doffay, and anyway y in a Flickable won't help you, unless you take contentY and originY into account, at which point it starts to be better if you just use mapToItem / mapFromItem12:59
mhr3_sil2100, finished thinking about the pattern yet?12:59
=== dandrader is now known as dandrader|afk
=== MacSlow|lunch is now known as MacSlow
nic-doffaySaviq, would you recommend using mapToItem?13:00
sil2100mhr3_: yeah ;p Basically it's really hard to do, as the daily-release pattern is well, daily-dated - so best choice would be to simply put a +2 weeks date with a ~ on it13:00
sil2100mhr3_: I published unity-scopes-api btw.13:00
Saviqnic-doffay, as long as you can get to the item you want to map to13:00
nic-doffaySaviq, here's the simplified code which has a "bounce" but fixes the speed issue. I can't help but think there must be some other way around this. http://pastebin.ubuntu.com/6484230/13:01
mhr3_sil2100, hm, then i'll just increment the micro version and have it incremented in trunk unity when we merge it13:02
Saviqnic-doffay, can you record the bounce you mention? kazam is relatively good at it - make sure to set a high framerate and only record the window13:02
nic-doffaySaviq, yeah sure.13:02
bregmaSaviq, do you know where I should start looking if I want to run Unity8 fullscreen on my desktop?13:03
sil2100mhr3_: is that feasible? Since you would have to have permission from the unity8 guys13:04
sil2100mhr3_: since yes, a micro bump and ~ is the way to go, but I didn't think you wanted to release a new upstream version bump13:04
=== alan_g is now known as alan_g|lunch
Saviqbregma, if you mean to have a tablet-like session, it's still impossible to run unity8@Mir outside of android I'm afraid13:05
Saviqbregma, bug #1246851 and bug #1246850 were last things I filed last I tried13:05
ubot5bug 1246851 in qtubuntu (Ubuntu) "qtubuntu-android is the only package providing mir QPA plugins" [Undecided,New] https://launchpad.net/bugs/124685113:05
ubot5bug 1246850 in unity8 (Ubuntu) "unity8 crashed with SIGSEGV in AccelerometerCommon::AccelerometerCommon()" [Medium,New] https://launchpad.net/bugs/124685013:05
mhr3_sil2100, well, i want the ppa to upgrade distro if you use it13:05
mhr3_upgrade distro version of unity8 that is13:06
bregmaSaviq, I can run it as a phone in an X11 session on the desktop (default QPA) but I'd like to go to tablet mode, is there a simple way?13:06
Saviqbregma, -fullscreen13:07
Saviqbregma, or just resize the window, for that matter13:07
bregmaresising windows doesn;t work when Unity8 is the window manager13:07
bregmaI'll try -fullscreen13:07
Saviqbregma, yeah, then -fullscreen13:07
Saviqbregma, you also want -mousetouch13:07
Saviqbregma, to convert mouse events to touch ones13:07
bregmaa --help option would be nice13:07
Saviqbregma, indeed13:08
Saviqbregma, ./run -h has some13:08
Saviqbregma, but yeah, we need a -h for unity8 itself13:08
bregmaI want mouse and touch events, since this is a desktop session, can I get both?13:08
Saviqbregma, depends if you want to distinguish between them13:08
Saviqbregma, actually even Qt thinks of merging the two, although that's some time away13:09
Saviqbregma, -mousetouch will convert mouse events to touch for the shell, and leave touch ones be13:09
Saviqbregma, so everything should work as expected, using both pointer and touch interaction13:10
=== dandrader|afk is now known as dandrader
bregmaSaviq, -fullscreen still looks like a phone, do I need to install additional packages or use a PPA (this is Trusty)?13:15
Saviqbregma, no13:17
bregma:(13:17
Saviqbregma, unity8 -fullscreen starts, correctly, full-screen here13:18
Saviqbregma, wonder if that requires a window manager...13:18
bregmasounds like13:18
Saviqbregma, it just calls showFullscreen() instead of just show() on the QQuickView13:18
Saviqbregma, so http://qt-project.org/doc/qt-5.0/qtgui/qwindow.html#showFullScreen13:19
* bregma starts digging 13:19
bregmaI think I have my work cut out for me13:20
mhr3_saviq, i mentioned yesterday that if there's no home.scope you can't switch between scope pages... been searching where does that get enabled/disabled but can't find it, any pointers?13:23
Saviqmhr3_, it doesn't really get enabled/disabled13:23
Saviqmhr3_, I'm not sure what's happening, TBH13:23
Saviqmhr3_, let me try13:23
mhr3_oh :/13:24
Saviqmhr3_, there's nothing special about home.scope other than it switches to it on startup13:24
Saviqaaaah crap, autoremoved libc ;(13:26
mhr3_who needs that anyway :)13:26
mhr3_saviq, hm, ok tried that with regular scopes and not having home.scope works fine, must be something in the new model then13:28
Saviqmhr3_, no rowCount updates or something?13:28
Saviqmhr3_, see if onCountChanged is kicked on the dash ListView13:29
* Saviq reboots and tries to bring back libc13:29
mhr3_k13:29
Saviqohkay, that worked... uff13:36
mzanettiCimi: did you see the comment I left here? https://code.launchpad.net/~cimi/unity8/fix-1214423/+merge/19286813:36
Cimimzanetti, yeah but I'm waiting to see if we have to work on the sdk or not13:41
=== alan_g|lunch is now known as alan_g
MacSlowIs there a way to "walk" a QMenuModel in QML to extract only one specific attribute (type)?13:59
nic-doffaySaviq, I personally think this is acceptable for the time being: https://code.launchpad.net/~nicolas-doffay/unity8/category-transition-speed-fix/+merge/19520314:05
nic-doffayIt's the only way using this method that works ok.14:05
nic-doffayI updated it a bit.14:06
Saviqnic-doffay, not unless we understand what the issue is14:08
Saviqnic-doffay, and I, for one, don't14:09
nic-doffaySaviq, that branch essentially does what you mentioned earlier.14:11
nic-doffayTo remove the bounce it animates to uncollapsed or collapsed.14:11
nic-doffayif they are smaller than the scopeViewHeight.14:12
nic-doffayThe onStopped logic is only called if the root.height is at scopeViewHeight.14:12
Saviqnic-doffay, so why the different speed?14:13
nic-doffaySaviq, the speed variation only occurs on big lists with small uncollapsed heights.14:14
nic-doffaySaviq, I think it's that way round...14:14
Saviqnic-doffay, big lists with small uncollapsed heights? that sounds oxymoronic14:15
Saviqnic-doffay, list "size" should be proportional to its height, no?14:15
nic-doffaySaviq, I'll try explain it better.14:16
nic-doffaySaviq, I'm actually not sure about the speed variation on further thought.14:20
nic-doffayWhat causes it at least.14:20
Saviqnic-doffay, just do onHeightChanged: console.log(height)14:21
Saviqnic-doffay, and see if it changes as you would expect it to14:21
Saviqnic-doffay, i.e. no animation between [uncollapsedHeight, scopeHeight]14:21
nic-doffaySaviq, I have the figures look fine either way.14:22
nic-doffayWhich is what is confusing me.14:22
nic-doffaySaviq, wait perhaps not.14:23
nic-doffayhttp://pastebin.ubuntu.com/6484517/14:23
nic-doffayWould that extra 200 cause a speed difference?14:23
Cimiwho wrote tst_Dash.qml?14:24
nic-doffaySaviq, nm they both begin and end at 700 like I thought, I just put spaced in the incorrect number. So back to the beginning, I'm clueless about the speed issue.14:25
nic-doffayIt only occurs when collapsing large grids.14:25
nic-doffayI'll try look into it more.14:25
SaviqCimi, bzr blame doesn't help?14:25
Saviqnic-doffay, sure, extra 200 could cause a speed difference, especially when easing's involved14:26
CimiSaviq, many people14:26
SaviqCimi, here's your answer ;)14:27
Cimibut last one is tsdgeos !14:27
CimiI love blaming him14:27
Cimitsdgeos, hey dude :P14:27
tsdgeoshi14:27
tsdgeosi tried to fix that test a while ago14:28
tsdgeoscan't find how it fails tbh14:28
tsdgeoswe're speaking about the showdash thing, no?14:28
Cimitsdgeos, https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/125545214:29
ubot5Ubuntu bug 1255452 in Unity 8 "Dash::test_show_scope_on_load is flaky" [High,Triaged]14:29
tsdgeosyes14:29
Cimitsdgeos, few things are weird14:29
tsdgeoswhat's with it?14:29
Cimitsdgeos, dunno why dednick added the verify (dashcontentist != undefined)14:29
Cimiat almost the end of the file14:30
Saviqnic-doffay, standup14:30
Cimitsdgeos, I believe this is failing because 5000ms of try compare are not enough14:31
CimiSaviq, ^14:31
SaviqCimi, the third argument is timeout14:32
CimiSaviq, yep I know14:32
CimiSaviq, can I increase it or mzanetti will kill me?14:33
SaviqCimi, why would he?14:33
CimiSaviq, time spent...14:33
CimiSaviq, I could double it and see what happens14:33
SaviqCimi, it's not your fault, is it14:33
Cimiwe could put 1000014:33
mzanettiI guess in this case its ok14:33
nic-doffaySaviq, I think it's because there's no easing when it gets set on Stopped.14:38
nic-doffayThat's my guess.14:39
nic-doffayat least.14:39
tsdgeosCimi: but that's not where it fails, no?14:39
nic-doffaySaviq, here are better written out figures: http://pastebin.ubuntu.com/6484612/14:39
Saviqnic-doffay, those figures show that it animates between uncollapsed height and scope view height, then jumps to collapsed height14:40
Saviqnic-doffay, the opposite should happen14:40
Cimitsdgeos, it is14:41
Cimihttps://code.launchpad.net/~cimi/unity8/fix-1255452/+merge/19691314:41
Cimilet's see what jenkins has to say14:41
Saviqnic-doffay, it should go 200 ... 542 → 752, but 752 → 542 ... 20014:41
Saviqnic-doffay, where ... is animated, → is not14:41
nic-doffaySaviq, yeah I see now. Good observation.14:43
tsdgeosCimi: you'll have to run it lots of times to make sure it's not just a lucky run14:43
Cimitsdgeos, sometimes jenkins fails at 5s14:43
Cimitsdgeos, so I put 10s14:44
mhr3_saviq, ok finally figured it out, the currentItem on the scopes listview remains null for some reason (yet it's displaying the first scope)14:44
mhr3_and that screws up the interactive prop on the listview14:45
Saviqmhr3_, right, interesting14:45
mhr3_saviq, why would it stay null though?14:45
nic-doffaySaviq, ah right I recall now why I changed that. It was due to a small grid.14:45
nic-doffayThat was smaller than the scopeViewHeight, I think a check for that should sort it out though.14:46
Saviqmhr3_, good question, it shouldn't - ListView selects the first item by default as soon as it comes in14:46
mhr3_which means that we set it to null/-114:48
Saviqmhr3_, check onCurrentIndexChanged14:49
Saviqmhr3_, and see if setCurrentScopeAtIndex is called at all (it shouldn't)14:50
mhr3_saviq, looks like that if you have an empty model and give it to listview and then populate it, currentIndex/Item stays -115:04
Saviqtsdgeos, that's not what you found is it ↑?15:04
Saviqmhr3_, tsdgeos found code that would actively choose the first item in the model and focus it when added15:05
Saviqmhr3_, we have a workaround for that in notifications15:05
tsdgeoshmmm15:05
tsdgeosdon't remember tbh15:05
tsdgeosbut i think not15:05
tsdgeosalso i could never reproduce the notifications thing in a small testcase15:05
Saviqtsdgeos, remember the notifications? it was stealing focus when the model was empty and a notification was added15:06
tsdgeosso it seems there's some other weird interaction going on somewhere15:06
tsdgeosyes yes15:06
tsdgeosi remember that15:06
Saviqtsdgeos, and that wasn't related to setting currentIndex?15:06
tsdgeosi mean i don't remember if it's the same as mhr3 says15:06
tsdgeosit was15:06
tsdgeosbut can't say if it's what's causing that or not15:06
=== dandrader is now known as dandrader|lunch
tsdgeoswhen we have more time someone should try to produce a simpler testcase for the notifications thing15:07
Saviqtsdgeos, oh no it shouldn't be, it's what should be solving it ;D15:07
tsdgeosbecause it did not happen in a simple testcase15:07
tsdgeosso isntead of the real fix we did the workaround15:07
Saviqmhr3_, either way, just do onCountChanged: if (currentIndex === null && count > 0) currentIndex = 1;15:07
mhr3_saviq, did http://paste.ubuntu.com/6484755/15:07
Saviqmhr3_, + { }15:07
Saviqmhr3_, but yeah15:08
mhr3_but but, it wasn't there :P15:08
Saviqmhr3_, currentIndex < 0, is it not -1 always?15:08
Saviqmhr3_, if not >= 0 ?15:08
Saviqmhr3_, either way, +115:09
mhr3_saviq, probably, but noone likes ones, zeros are nicer :)15:09
Saviqmhr3_, that can go to lp:unity8 directly, too15:09
mhr3_k proposing15:10
Saviqmhr3_, FWIW some of the tests would show that issue I expect15:10
Saviqas we're waiting for Home to be selected on startup15:10
Saviqmhr3_, or maybe we could use a test that does that15:11
Saviqmhr3_, supply an empty scopes model15:11
Saviqmhr3_, and adds one then, checks that the first one is selected15:11
mhr3_saviq, something's weird with the scopes model, it seems like it's always loaded, and always populated15:11
Saviqmhr3_, our qml tests operate on mock models, so should be easy to add a test like that15:12
mhr3_right15:12
mzanettiSaviq: "Aborted by Micha? Sawicz" ?15:20
Saviqmzanetti, dependency deadlock15:20
mzanettiah15:20
Saviqmzanetti, and aborted because of bug #125319815:23
ubot5bug 1253198 in Ubuntu CI Services "missing dependencies block otto runner for an hour" [Undecided,New] https://launchpad.net/bugs/125319815:23
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
Saviqmzanetti, confirm bug #1255578 for me please?15:54
ubot5bug 1255578 in Ubuntu CI Services "dependency issues on libunity-mir1 in testrunner-otto" [Undecided,New] https://launchpad.net/bugs/125557815:54
* mzanetti reads15:55
Saviqmzanetti, another example of a job failed because of that https://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-autolanding/164/console15:56
=== rachelliu_ is now known as rachelliu
tsdgeosSaviq: should https://bugs.launchpad.net/unity8/+bug/1252736 be invalid in unity8?16:10
ubot5Ubuntu bug 1252736 in Unity 8 "[Qt5.2] UbuntuShape content is incorrect, garbage shown" [Undecided,Confirmed]16:10
Saviqtsdgeos, done16:11
alesageSaviq, that indicator-stubs MP appears ready: https://code.launchpad.net/~allanlesage/unity8/indicator-stubs/+merge/192059 (in spite of a spurious failure or two)16:14
Saviqalesage, ok I'll check it out16:15
alesageSaviq, thank you sir16:15
Saviqalesage, does it check against https://bugs.launchpad.net/ubuntu-ux/+bug/1253804 regressing?16:16
ubot5Ubuntu bug 1253804 in Ubuntu UX "[regression] Indicator icons don't match the settings they display" [Undecided,New]16:16
Saviqalesage, like we talked yesterday?16:16
alesageSaviq, made a note in that bug, a separate branch is in the works, need the stubs regardless16:16
Saviqalesage, ah good16:16
* Saviq is not getting comments on bugs by default, not sure if that's good or bad16:16
alesageSaviq, more mail is always good16:18
Saviqalesage, ;)16:18
tsdgeosSaviq: confirmed the qfatal16:48
tsdgeosnow i need to investigate what's wrong16:48
tsdgeosqt, the code or the test16:48
untitled1hello Saviq  I do not know if you remember talking to me a couple days ago mainly about filters in the dash ?  But I have set up a framework to have different views (widgets) for each of the filter-whatevers   I was wondering what you think ago this approach and if you have any other ideas.  Here is a paste of the Loader that is run and the Binding that is past to the Item, http://pastebin.com/YyLSkdix      thanks I know that y16:49
mhr3saviq, grrrrrr!16:52
untitled1maybe I should just name the files (widgets) for each of the views to be the rendererName that is passed  via scopes model ? and have the source so that it is  filterRenderName + ".qml"16:52
mhr3saviq, so it turns out that if i use beingResetModel + endResetModel, the property getting is scheduled in a different way and things break16:53
mhr3if i do beginInsertRows + end, it seems like something gets queued (inside ListView), and things work16:54
untitled1maybe also rename things  like "options" to FilterModel stuff like that.  in the Binding that is.16:54
tsdgeosSaviq: my guess? the test only worked because we did not compile with debug so asserts where never triggered :D16:55
tsdgeoss/where/were16:55
tsdgeosbecause both the ui toolkit and the qt code is quite old16:55
Cimihttps://code.launchpad.net/~unity-team/unity8/carousel-shader/+merge/19694216:59
nic-doffaySaviq, I can't figure out a good looking enough solution for that without more drastic changes. The problematic part is the uncollapsed -> scopeViewHeight -> animate to collapsed.17:00
untitled1I do not think that scope.cpp/h are working right in Unity 0.1 plugin.  I can not set the QString to a different one other then "phone" for the formFactor Q_PROPERTY. I am doing a simple test on Shell.qml width and onWidthChanged I have a function to look at the width and change formFactors bye this. but there not changing ....18:02
untitled1Heere is a simple example of trying to change the formFacor http://pastebin.com/Aur5t2Ey18:08
Saviquntitled1, that formFactor property is unity8's responsibility, to be consumed by the scopes, not the other way round18:11
Saviquntitled1, the filterLoader looks more or less sane, there's no need for the wrapping Item, though18:12
Saviquntitled1, there's switch/case that could be used instead of the if/else18:13
Saviquntitled1, also, we generally abstract the mapper out - see ScopeDelegateMapper for example18:15
Saviquntitled1, it gets nice and clean then18:15
Saviqmhr3, "property getting" meaning calls to data() or?18:15
untitled1Saviq:  thanks I was able to clean it up some and it is working now18:21
Saviquntitled1, cool18:22
untitled1I had to make the Element then was able to set not in a property18:22
untitled1but then it is not wide.  like it is different in other files PageHeader.qml for example18:23
untitled1when there is a property Scope scope that is .18:23
untitled1example http://pastebin.com/XZcJe6U218:24
untitled1just laying around with stuff to get to know the plugins and what not.  thanks for your help18:27
untitled1playing *18:27
Saviquntitled1, the scope.formFactor really isn't something you should be setting18:36
Saviquntitled1, it's just passed to the scopes so that they modify their behavior accordingly18:37
untitled1yeah I am looking at http://bazaar.launchpad.net/~mir-team/unity-mir/trunk/view/head:/src/modules/Unity/Application/mirsurface.h18:37
Saviquntitled1, not needed either18:37
Saviquntitled1, what are you after?18:37
Saviquntitled1, if you want a bigger window - just resize it18:37
Saviquntitled1, or ./run -- -fullscreen18:37
seb128Cimi, can you review https://code.launchpad.net/~larsu/overlay-scrollbar/fix-for-3.10/+merge/196920 this week?18:37
Saviquntitled1, everything will adapt18:37
untitled1and upgrading to trusty to see if I can get mir running inn this machine.  As far as what I am after.  I m just playing around with the libs. just to learn them.18:38
untitled1Saviq:  but it would be cool to have other formfactors that the shell can adapt to.18:38
Saviquntitled1, it shouldn't need to adapt at all18:39
Saviquntitled1, it should just work18:39
Saviquntitled1, unity8 on Mir won't work outside of android as of now18:40
untitled1Saviq:  what do you mean. I am a little lost.  Like if it was Desktop formfactor.  then there would have to be a look and feel that is different or am I wrong ?18:40
Saviquntitled1, there's a few issues we need to flesh out still18:40
Saviquntitled1, no, the look and feel should be the same everywhere18:40
Saviquntitled1, with as little exceptions as possible18:40
Saviquntitled1, we just want it to be... Unity ;)18:41
Saviquntitled1, converged18:41
Saviquntitled1, and even for the exceptions - we should avoid the phone vs. desktop vs. tablet vs. tv vs. whatever18:42
untitled1Saviq:  like some of the models would be different ?  like for applications and what not ? like things that run off X or need X.  that is where I am also lost as to how these applications will run on Mir.  maybe they are cross platform ?18:42
Saviquntitled1, as what is a tablet with a bluetooth keyboard and a mouse18:42
Saviquntitled1, everything will run under Mir, yes - natively where the toolkits / apps support it, and through rootless X for legacy18:42
Saviquntitled1, what kind of models do you have in mind?18:43
Saviquntitled1, the differences between form factors are blurry already, and will get even more so18:43
untitled1Like ones that can read say /usr/share/applications  stuff like that so that all the apps show up in the apps lens18:43
Saviquntitled1, like what's the difference between a 5" phone and a 5" tablet18:44
Saviquntitled1, they all will, ultimately, as they all will work18:44
untitled1yeah will have to look at the device somehow18:44
Saviquntitled1, no, you won't :)18:44
Saviquntitled1, why would you want it to be different?18:44
untitled1serial numbers or something like that IDK that is above my knowledge.18:44
Saviquntitled1, no that's fine, we could - but why18:45
Saviquntitled1, why would you want them to behave differently18:45
Saviquntitled1, sure, there's no GSM, so you'd disable that part of the experience18:45
untitled1Saviq:  so I can run unity8 on my desktop with say mutter or some other manager ATM.  not in the long run so to say but just for now.18:45
untitled1maybe I could change the application scope that is working on the unity8 branch that I have been playing around with.18:46
Saviquntitled1, you'll be able to run it natively on your desktop by 14.0418:46
untitled1that is nice :)18:46
Saviquntitled1, it will be a tablet-like experience, but unity8 is not meant to be run with different window managers18:47
Saviquntitled1, there is some effort to make the unity8 dash a standalone app, fwiw18:47
untitled1wheres  the fun in that j/k :P18:47
Saviqaanyway18:47
Saviqtime to get up18:47
Saviqgotta go o.18:47
Saviqo/18:48
untitled1Yeah that is what I am using it as atm is a standalone app18:48
untitled1have a good one thanks again for the help.18:48
Cimiseb128, will do19:28
Cimitomo19:28
SaviqCimi, don't re-approve stuff, it won't merge I'm afraid, we need to wait for Mir 0.1.2 to get released19:36
CimiSaviq, didn't know19:36
SaviqCimi, no worries19:36
Saviqalesage, small nitpick https://code.launchpad.net/~allanlesage/unity8/indicator-stubs/+merge/192059/comments/45596220:51
alesageSaviq, will update20:51
alesageSaviq, updated.  these compiles are murder :)21:02
Saviqalesage, hmm?21:03
alesageSaviq, just complaining about the wait21:03
alesage(to compile unity8)21:03
Saviqalesage, on device?21:03
alesageSaviq, yes21:03
Saviqalesage, were you building packages or?21:03
alesageSaviq, yes, seems cleanest21:04
Saviqalesage, I got sbuild + ccache for that on my manta21:04
alesageSaviq, will investigate thx21:04
Saviqalesage, not that it makes it *fast*, just *faster* ;)21:05
Saviqalesage, we'll be able to cross-build soon, though21:05
Saviqalesage, we already are, but still with some tricks21:05
alesageSaviq, o that's good news, hadn't heard21:05
Saviqalesage, it should be as easy as `sbuild --host=armhf` soon21:05
alesagenifty21:06
Saviqveebers, on that note - if you tried my sbuild scripts, I forgot to add DEBOOTSTRAP_INCLUDE=ccache to mk-sbuild.rc21:09
Saviqveebers, which means you have to install it manually in the chroot21:09
veebersSaviq: sweet cheers. I'll be checking that out today21:10
Saviqveebers, if you haven't yet - just add that ↑↑ to .mk-sbuild.rc on your device21:10
veebersSaviq: sweetbix, will do21:11
=== salem_ is now known as _salem
alesageSaviq, FYI https://code.launchpad.net/~allanlesage/unity8/autopilot-indicator-page-title-matches-widget/+merge/196991 , need some reviews and advice but on its way :)23:19
Saviqalesage, cool23:24
Saviqalesage, dednick's on holiday until the week after next, so I'll try and advise23:25
alesageSaviq, o didn't realize, thanks23:25
=== thomi_ is now known as thomi

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