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

=== duflu_ is now known as duflu
didrockshey Saviq, how was your week-end?07:23
=== iahmad is now known as iahmad|afk
didrocksSaviq: still sleepy? ;)08:36
Saviqdidrocks, wassup?08:39
Saviqdidrocks, if it's about the unity8 crash, I haven't been able to retrace it (just ?? everywhere)08:41
didrocksSaviq: we still get it in the latest image08:42
didrocksSaviq: so, seems like a popular crash08:42
Saviqdidrocks, it doesn't affect the tests does it?08:42
Saviqdidrocks, as it's on exit?08:42
didrocksSaviq: we aren't sure it's on exit, my guess would be it is08:43
didrocksSaviq: are you certain it's on exit?08:43
Saviqdidrocks, so it doesn't affect UX either08:43
Saviqdidrocks, yes08:43
didrocksSaviq: ok, in that case, better to keep an eye on it, but not a blocker08:44
Saviqdidrocks, yeah we are08:44
didrocksSaviq: thanks for the additional infos!08:44
Saviqdidrocks, here's one on exit we managed to retrace: bug #125368508:45
ubot5bug 1253685 in unity8 (Ubuntu) "unity8 crashed with SIGSEGV in QMetaObject::activate()" [Medium,New] https://launchpad.net/bugs/125368508:45
Saviqdidrocks, but we don't really want to spend time fixing Qt 5.0 still, when 5.2 is around the corner and solves most of these for us08:45
Saviq(and comes with others that we need to be fixin')08:46
didrocksSaviq: agreed08:46
mhr3sil2100, morning, could you finish the unity-scopes-api packaging cleanup, so we can get it in distro?09:09
mhr3sil2100, there are some comments on the licence branch09:10
sil2100mhr3: sure09:16
Cimitsdgeos, I didn't kill the headache friday :D09:20
CimiI had to stay in bed till 8pm09:20
tsdgeosCimi: better?09:20
Cimiyeah now I'm great09:20
tsdgeos\o/09:20
Cimithere was a beautiful sunrise this morning09:20
Cimitook a pic09:20
Cimimmm09:20
Cimihttp://i.imgur.com/09PG2jQ.jpg09:23
SaviqCimi, nice one indeed!09:23
CimiSaviq, it's the 55-210 with the nex 609:23
SaviqCimi, why the vignetting?09:24
CimiSaviq, because I like it ;)09:24
SaviqCimi, got it :)09:24
CimiSaviq, but yeah in this pic I can remove it09:24
=== iahmad|afk is now known as iahmad
CimiSaviq, but was 9am and decided to postpone the editing :)09:25
SaviqCimi, it looks nice, don't get me wrong, was wondering if it's the lens or maybe some filter09:25
CimiSaviq, I usually put vignette on purpose09:25
CimiSaviq, this time it's due to the contrast09:25
SaviqCimi, mhm09:26
CimiSaviq, I need to bump the contrast and play with lights in a way I keep the black shape of buildings while making the rest brighter09:26
SaviqCimi, yup09:26
SaviqMirv, hey, tsdgeos fixed qtubuntu to build against rc109:26
Saviqtsdgeos, although it stopped building against beta, that expected?09:27
Saviqhttps://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta2/+build/525571009:27
tsdgeosSaviq: hrrmmm, lol09:27
Saviqah it's the urlinterceptor that was made public, private, public, private...09:28
tsdgeosyeah09:28
Saviqso as long as it builds against rc1 that's fine09:28
tsdgeosi can remove the QtQuick include again09:28
tsdgeos:D09:28
Saviqtsdgeos, let's not target the beta ;)09:32
tsdgeosSaviq: https://code.launchpad.net/~aacid/qtubuntu/no_qtquick_megaheader/+merge/19650309:32
Saviqtsdgeos, ah it's only that09:33
Saviqtsdgeos, then yeah09:33
tsdgeosyeah09:33
Saviqmzanetti, got you a functional review of the expandables https://code.launchpad.net/~mzanetti/ubuntu-ui-toolkit/expanding-listitem/+merge/195602/comments/45460210:06
mzanettiSaviq: thanks10:06
mzanettiUbuntu One - Service Temporarily Unavailable10:07
Saviqugh :?10:07
Saviqmzanetti, try refreshing, worked for me after a few seconds10:08
Saviqmzanetti, either way also available at http://people.canonical.com/~msawicz/unity8/10:08
mzanettiSaviq: ok. works again10:10
mzanettiSaviq: they do collapse when you click outside, given they are used inside a Expandables*10:11
mzanettiSaviq: if you use them just standalong, they can't10:11
Saviqmzanetti, which point are you talking about?10:11
mzanettiSaviq: "Shouldn't it collapse as soon as you touch outside?"10:11
Saviqmzanetti, touch != tap10:12
mzanettiah10:12
mzanettiSaviq: from what I understood from design this is how it should be10:12
mzanettilet me dig out the conversation10:12
Saviqmzanetti, those questions aren't really for you :)10:12
Saviqmzanetti, but to someone from design that will review this10:12
mzanettiSaviq: fyi: https://pastebin.canonical.com/100949/10:15
Saviqmzanetti, yup - seems the only missing thing is the 'continue scrolling when reached the end'10:17
Saviqmzanetti, but as we talked before, that's tricky from the users' perspective, I think10:18
mzanettiSaviq: yeah. which I told them in a later conversion about the issues we have with that10:18
Saviqmzanetti, right, I think it's fine to omit this for now10:18
Saviqmzanetti, even when we get "there" it shouldn't change the API, just the behaviour10:18
Saviqso we can fix later10:18
mzanettiyep10:19
* mzanetti nods10:19
mzanettiSaviq: the two ThinDivider's is weird. I don't add a second one...10:20
mzanettialso I can't see it here. but it's clearly there in your video10:21
Saviqmzanetti, ah! it's only there when overshooting10:21
Saviqmzanetti, hence only visible on the Expandables*, but then it's not there without your branch...10:22
Saviqtricky...10:22
mzanettihumm...10:23
Saviqmzanetti, hmm must be some visual glitch maybe10:23
Saviqmzanetti, can't see it when maximized either10:23
Saviqyikes10:24
mzanettiSaviq: I can't see it here, no matter what I try. But I can see the UbuntuShape in the expanded area painting a bit weird10:24
Saviqit's actually there on mouseY = foo, not there on mouseY = foo + 110:24
mzanettiah. no. now I see it10:25
Saviqmzanetti, right, maybe it's actually the top of the shape10:25
Saviqmzanetti, it must be10:25
Saviqmzanetti, it's a rounding error10:25
mzanettiSaviq: where is this mouseY you are referring to?10:26
Saviqmzanetti, my pointer ;)10:26
mzanettiah10:26
Saviqmzanetti, I meant that if I drag by foo pixels, it's not there, but if I drag one more pixel - it's back10:26
Saviqmzanetti, should be solved by the 'content overlays divider' anyway10:26
mzanettimhm... yeah. that does sound like a rounding error indeed10:26
tsdgeosSaviq: the scopes.cpp code is now in whch bzr repo?10:29
Saviqtsdgeos, lp:unity-scopes-shell10:29
tsdgeosSaviq: do you mind me add a title property to the scopes model so it's easier to be used with the new SDK tabs? or prefer me to add an identitymodel that adds that new role?10:30
tsdgeoss/title property/title role10:30
Saviqtsdgeos, add away10:30
mzanettiSaviq: fixed the divider overlay glitch. will talk to design about the rest10:45
Saviqmzanetti, cheers10:45
mzanettiSaviq: one issue with the immediate expanding on click is that you can't really only collapse all the items any more10:48
Saviqmzanetti, true10:48
mzanetti(katie and christina are not around yet)10:48
mzanettibut I will ask them about this in any case10:48
Saviqmzanetti, I'm just poking holes, if they plug them that's completely fine10:48
mzanettiyeah, sure10:49
tsdgeosSaviq: https://code.launchpad.net/~aacid/unity-scopes-shell/addscopestitle/+merge/19651410:54
Saviqmhr3, ↑10:55
mhr3approved10:59
mhr3Saviq, btw i'll need someone who'll do reviews for stuff in that branch, who's going to be the lucky one? :)11:00
mhr3Saviq, i supposed tsdgeos/mzanetti/dednick are quite familiar with models and qt11:01
Saviqmhr3, there's plenty of us that can do that11:02
Saviqmhr3, just bug us11:02
mhr3ok11:03
Saviq/food11:25
mzanettiSaviq: mhr3: updated this: https://code.launchpad.net/~mzanetti/unity8/music-preview/+merge/193803 and created this: https://code.launchpad.net/~mzanetti/unity-scopes-shell/musicpreviewtrackmodel/+merge/19652211:29
Saviqmzanetti, cheers11:32
davidcallemzanetti, hi, would you mind adding a harmless feature to ^ : not displaying the track length when it's == 0. There are cases where the music provider doesn't expose it and displaying 0 feels wrong.11:32
mzanettidavidcalle: makes sense11:33
Cimiis there a way from qml to get the type name of the component as string?11:34
davidcallemzanetti, thx :)11:36
davidcalle/lunch11:36
CimiSaviq, tsdgeos ^11:44
tsdgeosCimi: what you need that for?11:45
Cimitsdgeos, having a clever renderer name default11:45
tsdgeosobjectName?11:45
Cimitsdgeos, it weirdly didn't work11:45
tsdgeosno no11:47
tsdgeosi mean what do you mean by "renderer name default"?11:47
Saviqmhr3, you might want to look at https://code.launchpad.net/~mzanetti/unity-scopes-shell/musicpreviewtrackmodel/+merge/196522 too11:59
=== _salem is now known as salem_
=== MacSlow is now known as MacSlow|lunch
mhr3mzanetti, https://code.launchpad.net/~mzanetti/unity-scopes-shell/musicpreviewtrackmodel/+merge/196522/comments/45465612:05
mzanettimhr3: hmm... dunno. I don't use them currently. We could as well drop those 2 roles12:07
dandraderSaviq, what do you think about unity8 publishing a d-bus interface for taking screenshots?12:07
mhr3mzanetti, pls do12:07
mzanettimhr3: ack12:07
mzanettimhr3: done12:10
Saviqdandrader, don't have better ideas, TBH12:11
mhr3mzanetti, thx, approved12:11
dandraderSaviq, so it's a sensible approach then?12:13
Saviqdandrader, wonder if it shouldn't go through the Mir connection, TBH12:13
Saviqdandrader, especially once we say we want screencasts, not only screenshots12:13
Saviqdbus won't be a good choice then12:14
Cimitsdgeos, a name for the denreder12:14
Saviqdandrader, and it shouldn't be something unity8-specific, really, have you talked to Mir folk?12:14
Cimitsdgeos, so in genericscopeview I can do if typeName != carousel do...12:14
Cimiproperty string rendererName is what I have now12:15
tsdgeosCimi: typeof ?12:15
dandraderSaviq, just asked alf_ on how to take a screenshot using mirserver api.12:15
Cimimmm let's see12:15
dandraderSaviq, and why dbus would be appropriate for screencasts? I was thinking about the resquestor saying "hey, take a screenshot and put it on /foo/bar.jpg"12:16
mzanettiSaviq: do you have a package for the upstart signals handy now?12:16
Cimitsdgeos, weird12:17
dandraderthe main target for the screenshots feature being autopilot12:17
Cimitsdgeos, I'll just use rendererName12:17
dandraderatm12:17
dandraderSaviq, so, if I understood you correctly, you think a screenshot feature should be in the mir client API?12:18
mzanettidandrader: I'd say so too, yes12:18
dandraderdisclaimer, I don't have a strong opinion on the subject myself, that's why I'm asking around12:18
Saviqmzanetti, almost...12:19
tsdgeosmaybe we should tell the ci guys about all those otto failures :D12:20
Saviqdandrader, it depends on the level of the API we're thinking12:20
Saviqdandrader, but once you want to implement something as functional as kazam12:20
Saviqdandrader, where you can select a window to screenshot / screencast12:20
Saviqthe FPS12:20
Saviqdandrader, we'd either have to maintain a bug chunk of code (and API) somewhere between mir and unity812:21
MirvSaviq: right, I meant to answer you but I was preparing for a hangout and then forgot :) yes, I built qtubuntu for armhf already in the morning. I guess more modules rebuilds needed though still for u8 to start.12:21
SaviqMirv, ok, please let us know if you need help12:22
Cimitsdgeos, ok I need a different head here12:22
Saviqdandrader, or provide a low-level API and let the "other side" take care of encoding / compression / whatever12:22
MirvSaviq: well if you wouldn't mind, try upgrading from qt5-daily and see if what kind of problem you hit with starting unity8. I somehow stuck with something already bound to xxx message even though I did initctl stop unity8 first.12:23
Cimitsdgeos, line 450 of GenericScopeView12:23
Cimitsdgeos, if you open the preview of the carousel12:23
Cimiswipe between the preview items12:23
SaviqMirv, tried removing the mir_socket from /run/user/32011?12:23
Cimitsdgeos, this Y changes12:23
Cimi:-\12:23
Saviqdandrader, in which case an API of "give me a buffer of region x,y,w,h, 15 times a second" would be enough, and the app would be responsible for doing what it needs doing12:24
Saviqdandrader, but for that dbus wouldn't be appropriate, IMO12:24
tsdgeosCimi: shoot!12:24
MirvSaviq: thanks for the tip, trying12:24
Cimitsdgeos, tried printing y f the carousel but it's always the same12:24
Cimi012:24
Cimisomething moves12:24
Cimidunno12:24
MirvSaviq: ok thanks, now I got a symbol lookup failure, no further help needed12:25
tsdgeosCimi: yeah it's the list that moves12:26
tsdgeosthe carousel is stuck at it's position12:26
tsdgeosand since the carousel is inside a loader12:26
tsdgeosit's always 012:26
tsdgeosmaybe the loader pos moves though12:26
Cimiyeah12:26
Cimibut why it doesn't for the flitergrid?12:26
dandraderSaviq, yeah, passing actual pixel data through d-bus is no-go12:29
Saviqdandrader, yeah, that's why I'm saying it depends on how far we wanna go now12:31
Saviqdandrader, if we can define a more-or-less-final API for this already, and just write a small utility around it, that'd probably be better than implementing an interim solution12:33
Saviqdandrader, OTOH protecting that API is important as well - we don't want any app to be able to take screenshots - we need to mediate it through apparmor12:33
Saviqdandrader, and while it's doable otherwise, it's certainly easier with DBus12:34
dandraderSaviq, that's why I thought about d-bus, because you can "easily" add access control to the interface later through d-bus policies12:35
dandraderSaviq, and such an api, at least for screenshots, would be dead-simple. the screencast use case is likely in a whole different league12:36
Saviqdandrader, sure, but then there's no reason why the utility around the "real" mir screen{shot,cast} API couldn't wrap it and expose the DBus API12:37
Saviqdandrader, FWIW that'd be a transition strategy ↑12:38
Saviqdandrader, so yeah, I'm of two minds :)12:38
Saviqdandrader, it'd be better / more future-proof to write it proper12:39
Saviqdandrader, but then it'd be easier to just have it going, especially if we don't have a plan for the future+proper solution yet12:39
Cimitsdgeos, I think it's the fact it's still moving12:40
Cimitsdgeos, the open effect is not finished12:40
tsdgeoshmmm12:40
tsdgeosneed more context :D12:40
tsdgeosCimi: what is still moving and when?12:41
Saviqdandrader, re: jenkins, there seems to be a problem with the mediumtests runner12:41
Cimitsdgeos, i's expanding12:41
Saviqdandrader, ev is on it12:41
Cimitsdgeos, currentIndexChanged of previewListView runs and sets itemY for the first time using a value that is not finalized12:41
Saviqmzanetti, should we not have bumped unity-scopes-shell version? is it safe if unity8 will upgrade without scopes-shell?12:42
Saviqmzanetti, I mean for the music preview?12:42
tsdgeosCimi: is that a new bug?12:42
tsdgeosCimi: or just happens in your branch?12:42
dandraderSaviq, "ev"?12:42
Cimimmm I dunno12:42
mzanettiSaviq: yes, the upgrade should be safe. still, bumping the version probably would have been a good idea12:42
Saviqdandrader, Evan Dandrea12:42
Cimitsdgeos, carousel preview is broken in trunk12:42
Saviqmzanetti, ABI changes, doesn't it?12:43
Saviqmzanetti, OTOH nothing's linking against it12:43
mzanettiSaviq: it's a qml plugin... it's resolved at runtime12:43
Saviqmzanetti, yeah, that12:43
tsdgeosCimi: ah ok, i thought this was on the base-renderer branch12:43
mzanettiSaviq: but in any case I think we have 2 TODOs here:12:44
Saviqmzanetti, so yeah, nvm, if u8 won't fail regardless, we're fine not bumping12:44
mzanettiSaviq: - add scopes api to unity-api12:44
Saviqmzanetti, +1, when it's stable-ish12:44
mzanettiSaviq: - add some check that requires version number bumping on api changes in jenkins for unity-api and friends12:44
om26erThere is something wrong with the order indicators are show. I drag the messaging indicator, it shows bluetooth indicator12:44
tsdgeosCimi: it's broken as in "doesn't show up at all"?12:45
Saviqmzanetti, that will be part of the first one - API tests in unity-api12:45
Saviqmzanetti, since that will check for the type of the prop12:45
Saviqmzanetti, we could look at what UITK has - the .api files - /me doesn't know what they're about12:45
Saviqbtu they seem to help with API stability12:46
mzanettiSaviq: yeah. that's great stuff12:46
mzanettiSaviq: we're green again :) https://code.launchpad.net/~mzanetti/unity8/music-preview/+merge/19380312:56
Saviqmzanetti, good12:56
Cimitsdgeos, on trunk, no13:00
Cimitsdgeos, works with my branch13:00
Cimitsdgeos, but there is this bug and I don't know why13:00
Cimitsdgeos, yeah contentY of the flickable containing the loader changes with the carousel13:14
Cimitsdgeos, doesn't with the filter13:14
Cimimight be some stuff here...13:16
Cimiin previelistview13:16
=== alan_g is now known as alan_g|lunch
Saviqmzanetti, packages for testing sigstop http://people.canonical.com/~msawicz/sigstop.tar.xz13:29
mzanettiSaviq: cheers13:30
Saviqmzanetti, real-life thing to test: drop the "sleep 2" script from /usr/share/upstart/sessions/maliit-server.conf13:30
mzanetti \o/13:30
CimiI don't know13:31
=== MacSlow|lunch is now known as MacSlow
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
tsdgeosCimi: ok, push everything and i'll have a look13:57
Cimitsdgeos, thanks14:03
Cimitsdgeos, I need to change task14:03
Cimitsdgeos, not going anywhere on this14:03
tsdgeosCimi: pushed?14:10
Cimitsdgeos, it is14:10
tsdgeosok14:10
Cimitsdgeos, not my tests14:10
Cimitsdgeos, like print out14:10
tsdgeosthat's ok14:10
tsdgeosi'll have a look today, not now, need to finish some tests in the tabbar+dash thing14:11
tsdgeosCimi: can you tell me exactly what i do to see the problem though14:11
tsdgeos?14:11
Cimitsdgeos, open preview with carousel14:11
Cimitsdgeos, look at theY position of the crusel at the bottom14:11
Cimitsdgeos, swipe the preview and notice the Y changes14:12
* Cimi cooks a burger14:12
mzanettiSaviq: works with Mir and SF14:23
Saviqmzanetti, cool14:23
mzanettiSaviq: and wow! just was reminded how fast the Galaxy Nexus is with SF14:23
Saviqmzanetti, ;)14:23
* mzanetti wants that with Mir :D14:23
Saviqmzanetti, I pushed some tweaks to the test today14:23
Saviqmzanetti, so please re-review and let's land this14:24
mzanettiack14:25
=== alan_g|lunch is now known as alan_g
* mzanetti installs emulator14:46
mzanettigreyback: Saviq: both approved. works fine here14:58
greybackmzanetti: cool, thanks!14:58
Saviqmzanetti, the unity8 won't land before unity-mir builds, though14:58
mzanettisure14:58
Saviqmzanetti, unapproved14:59
Saviqmzanetti, will take care of it, thanks14:59
mzanettidammit. note to myself: don't press ctrl+c in the emulator's console15:12
Saviqmzanetti, yeah just don't use it at all - ssh / adb as usual15:14
mzanettiyep15:14
Saviqmzanetti, or well, this is a bug I'd say15:15
mzanettiseems so15:15
mzanettiyou know what sucks :D. When you see the display of your phone lighting up. You know there is an incoming phone call with a hidden number but you just can't accept it.15:15
Saviqmzanetti, there a bug #?15:16
mzanettiyes15:16
mzanettilemme search15:16
Saviqmzanetti, feels like one that should be escalated15:16
mzanettiSaviq: https://bugs.launchpad.net/telephony-service/+bug/123893315:17
ubot5Ubuntu bug 1238933 in telephony-service "Incoming phone calls with hidden phone numbers are ignored" [High,Confirmed]15:17
davmor2mzanetti: it's less that SF is faster, it's mostly that it is consistently smoother which in turn makes it feel a hell of a lot faster I think :)15:17
mzanettidavmor2: I would say that for the Nexus 4. But for the Galaxy Nexus Mir definitely is slower. much slower15:18
Saviqdavmor2, how do you define smoother vs. faster?15:18
Saviqmzanetti, mhr3 small one https://code.launchpad.net/~saviq/unity-scopes-shell/platform-minimal/+merge/19655715:19
mzanettiSaviq: this only c++ tests?15:20
Saviqmzanetti, yes15:20
mzanettiok then15:20
Saviqmzanetti, there's no other ones there15:20
davmor2Saviq: so things like scrolling is juddery and feels much slower on mir, on sf because its speed and smothness is consistent it therefore feels much faster, where as it may only be slightly faster to display if that makes any sense15:21
Saviqdavmor2, I think it does not make sense to me ;) - it's just that "speed" of a display server in that sense can only be measured in how many frames get to the display every second15:23
Saviqdavmor2, which equals smoothness15:24
mhr3Saviq, why is that necessary?15:26
Saviqmhr3, otherwise some of the tests try to access the display15:27
Cimiit'd define smoothness vs faster talking about frame drops15:27
Saviqmhr3, without you wanting it, just that the (default) xcb plugin excepts it to be there15:27
mhr3hm, but it was passing on ci15:27
Saviqmhr3, must be it granted access to display somehow - or maybe they're exporting that globally15:27
CimiI'd15:27
Saviqmhr3, failed for me in sbuild15:27
davmor2Saviq: so for me speed is how quickly things are displayed initially these seem to be on par, ie opening an app, clicking on something in the dash and it expanding and swipes of the indicators etc. The smoothness is down to perceived speed if it is smooth it seems faster, if it is juddery it feels slower15:28
mhr3Saviq, very well15:28
Cimidavmor2, on frame drops maybe15:28
Saviqdavmor2, yeah, but that's not related to Mir or SurfaceFlinger, as they're not doing the work15:28
Cimiif everything is in sync, it feels smooth15:28
Saviqdavmor2, only thing they can do is say "bleh, I'm not ready for that frame, let's drop it"15:29
Cimiwhen the framerate is not consistent, it's not smooth15:29
Saviqdavmor2, even if the application is ready with it15:29
Saviqdavmor2, and that results in judder etc.15:29
Saviqdavmor2, so it's not that Mir causes overall slowdown of the device, of course15:29
Saviqdavmor2, that would suck big time15:29
Saviqdavmor2, it's just that it can't juggle the frames as fast15:29
Saviqdavmor2, 'cause it's not optimised for the Galaxy15:30
mzanettimeh... someone keeps on calling me with a hidden number...15:30
* mzanetti switches to his good old nokia phone15:30
Cimi:)15:30
Cimitsdgeos, reproduced?15:30
tsdgeosCimi: sorry, still busy in the other one :-/15:31
mhr3Saviq, right now to switch between old and new scopes you have to change the import statement in about 5 qml files, is there a way to make it simpler where you'd need to change just one thing?15:43
Saviqmhr3, right, I was wondering about that - easiest would be to have the new scopes in a different import path and keep the version number the same for now15:47
Saviqmhr3, as then you'd just export QML2_IMPORT_PATH15:47
Saviqmhr3_, right, I was wondering about that - easiest would be to have the new scopes in a different import path and keep the version number the same for now15:47
Saviq mhr3_, as then you'd just export QML2_IMPORT_PATH15:47
undefined1Hello there I have some questions about unity8 and was directed here.  my questions are as follows.  How do I add previews to a Carousel ? I see that I can use the model.icon/title ect but it seems that the gridviews that have previews also are in some sorta model.  I am a little bit lost any docs on this ?16:04
undefined1or should I just make a loader that has propertys for each of the model types ?16:05
undefined12nd question is about filtering out data in the dash.  There seems to be the c++ code in the backend and I have exposed most of this to QML but it is still not showing up.  is there people working on this and if so where are blueprints.  Thanks .16:07
=== dandrader is now known as dandrader|lunch
mhr3_sil2100, ping? managed to fix the license branch?16:17
didrocksSaviq: any news on the indicator thingy?16:30
Saviqdidrocks, yeah, doesn't help it seems16:31
didrocksSaviq: can you work on that (with a test of course once fixed?) it seems some people are upset because of it16:33
didrocksSaviq: at least, to know where it comes from16:33
Saviqdidrocks, yes, I'll try and pinpoint where this happened16:34
Saviqdidrocks, where do we have the image vs. image diff again?16:34
didrocksSaviq: seems it happened in image 2716:35
didrockswhich had:16:35
didrockshttp://people.canonical.com/~ogra/touch-image-stats/20131120.2.changes16:36
didrocksso, it can be Mir… sounds plausible to you? (for the matching?)16:36
Saviqdidrocks, huh :/ nothing related there16:36
Saviqdidrocks, no16:37
didrockshttp://people.canonical.com/~ogra/touch-image-stats/20131119.changes16:37
didrocksthat was image 2416:37
Saviqdidrocks, and it's fine on 24?16:37
didrocksbut as 24/25/26 was respin quite fast16:37
didrocksmaybe peopel didn't notice16:37
didrockspeople*16:38
Saviqdidrocks, ok, I'll start from there16:38
didrocksSaviq: do you have it in image 29?16:38
Saviqdidrocks, not sure which one I've flashed16:38
didrocksyeah, I do16:38
didrocksnevermind16:38
undefined1Saviq: do you know what the plans are for the previews in carousel mode ? or adding filters to the dash scopes ?16:38
didrocksSaviq: the toolkit seems to be the most obvious offender16:38
Saviqdidrocks, inded16:39
mhr3_pete-woods, could you review https://code.launchpad.net/~nick-dedekind/qmenumodel/lp1199423/+merge/196284 pls?16:39
Saviqundefined1, we have branches lying around for those, but will wait for the new scopes API work16:40
Saviqundefined1, so that we don't have to do it twice16:40
undefined1Saviq:  I see that is what I thought.  I was playing around with the model.icon/dndUri ect to make fake previews for it. Saviq do you know where the blueprints are for the lens/scope work ?16:42
undefined1I have been hacking on the plugins for my own use case16:43
undefined1mainly Unity0.116:43
Saviqundefined1, here's the new one https://blueprints.launchpad.net/ubuntu/+spec/client-1311-scopes16:43
undefined1thanks16:43
Saviqundefined1, but anyway, previews with carousel should work fine16:43
Saviqundefined1, might need a long-press though16:43
undefined1Saviq: onPressandHold:  but how to call and from where ?>16:44
undefined1do I need to add statement to basescope ?16:44
undefined1I can not seem to figure out how they are getting called in the gridviews16:44
undefined1ATM I am just loading a new page over the dashContent to make carousel previews16:45
sil2100mhr3_: yes, it can get rereviewed/reapproved I guess?16:45
Saviqundefined1, it's there already in GenericScopeView.qml:19816:45
undefined1Saviq:  thanks that is what I was looking for your great !16:45
Saviqundefined1, maybe let's define what you mean by "carousel previews"16:45
Saviqundefined1, if you mean getting a preview from a carousel, that should work already16:46
undefined1carousel or coverflow view from the dashContent is what I mean.  there is nothing in the delegate that lets me fire off previews.  Only in the grid views16:46
pete-woodsmhr3_: I've had a look at it, as commented, I'm concerned about the API break, but the rest of the changes look good to me16:47
Saviqundefined1, there's definitely a branch that does that16:48
Saviqundefined1, https://code.launchpad.net/~cimi/unity8/carousel-music-video/+merge/19211816:48
Saviqundefined1, it's work in progress, though16:48
undefined1Cool yeah I was just looking at the function collapseAllButExpandedCategory() seems cool.16:48
undefined1the one that you pointed out16:49
undefined1Saviq:  sorry for all the questions. Last one for now. How does the shell know that it is or is not tablet vs phone ? thanks16:52
didrocksSaviq: ok, tested, it's the toolkit16:52
undefined1I see that there is the property in the Shell.qml to set the width.  But how does it know if it is tablet ?16:52
Saviqdidrocks, right16:52
Saviqundefined1, there's no difference between phone and tablet other than the aspect ratio is there16:53
Saviqundefined1, it's just bigger16:53
undefined1Are there plans to tie in mir to tell what the width/.height is and then apply to the property ?16:54
Saviqundefined1, so no, we don't have (and don't mean to have, if we can avoid it) a clear distinction between phone and tablet16:54
Saviqundefined1, you already know that16:54
Saviqundefined1, your app's widht/height is what you should be looking at16:54
=== dandrader|lunch is now known as dandrader
undefined1Saviq:  so there are plans to expose Mir things like width and height to QML Bindings so that it will be set on its own say for also the desktop ?16:56
Saviqundefined1, it's just your window's width/height you should look at, not at the screen16:57
Saviqundefined1, even if your app needs to care if it's the phone or a tablet, it rarely actually cares about that, but rather if it has GSM, for example16:58
Saviqundefined1, phone vs. tablet is just not a valid distinction16:58
undefined1Ohhh.... I see.  Saviq  I am new to the sdk but not to C++/Qt is there anywhere that I can learn more about units. I heard about this from a co-worker.16:59
mhr3_pete-woods, ah, nice catch, but i guess the fix has to wait for nick as it's his branch16:59
mhr3_sil2100, yep looks good, approving16:59
Saviqundefined1, http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components.Units/ should be a start17:00
undefined1Cool and thanks17:01
undefined1Saviq:  do you know if there is a branch that has filters for the dash in it. I see that there is the C++/QT work in the plugins lib but it is not exposed to qmlRegisterType via the plugin.cpp/h files.  Is there a branch that has alpha work on that ?  thanks again truly that is my last question.17:04
undefined1Like filter.h filters.h ratingsfilter.h radiooptionfilter.h checkoptionfilter.h multirangefilter.h radiooptionfilter.h17:05
karnithostr_: hi!17:07
karnithostr_: How's it going Thomas :)? You still around?17:07
thostr_karni: yes, still here17:07
karnithostr_: Perfect. I've got some questions for you that me, cwayne and ssweeny are interested in hearing some answers for :)17:08
thostr_karni: just shoot :)17:08
karnithostr_: In general, we'd like to implement more complex scopes and were wondering what technologies we could use.17:08
karniWe know that there's a weather scope that does geolocation17:08
karniRight, cwayne?17:08
cwaynein general, we were looking into writing scopes that might have more complex UI elements than just a gridview17:08
cwaynekarni, yeah17:08
karnithostr_: Wild question - could we use HTML5 (fully or partially) for scope content?17:09
thostr_karni: no html517:09
karnithostr_: And another question (just shooting them at ya :) - do you know if we can playback videos from within the scope (i.e. thinkg of a thumbnail preview rather than full screen video)17:10
Saviqundefined1, yup, here it is https://code.launchpad.net/~nicolas-doffay/unity8/filter-selector/+merge/19114517:10
thostr_karni: but we're currently working on extending the layouts17:10
Saviqundefined1, work in progress as well17:10
om26erI don't know what changed recently but I see bug 1254793 now and that's a bit annoying17:10
ubot5bug 1254793 in unity8 (Ubuntu) "Opening apps from Apps lens shows OpenEffect in the background" [Undecided,New] https://launchpad.net/bugs/125479317:10
karnithostr_: Another wild follow up question - is a webview too heavy to be included in a scope body then?17:10
undefined1thnks again Saviq  look forward to hacking on this with you all17:10
thostr_karni: in general, we want to offer some kind of dash toolkit17:11
karnithostr_: ssweeny: are scopes somehow constrained to GridViews?17:11
* karni nods17:11
karniFTR you guys know much more about scopes than I do, thus all my questions17:11
thostr_karni: : that will offer more customization possibilities for scope authors but is still somewhat restricted to maintain a common look/feel/behaviour across scopes17:11
karnithostr_: check out the link I sent you17:12
thostr_karni: same will apply to previews. but a webview is currently not on our list... for normal dash it will definitely be too heavy17:12
karnithostr_: That should give a bit better undestanding of what we're aiming at17:12
karnithostr_: What about using a webview in a master scope? Would that be possible? (rather than subscopes with the dash search)17:13
karnithostr_: Basically, we're looking at most flexibility possible at current stage of development.17:13
cwaynekarni, well a master scope is essentially just a collection of sub scopes17:14
karnicwayne: say, if we were to implment the weather scope that you mentioned, that's a single result (assuming you don't want to view weather in multiple locations)17:15
cwaynekarni, check out the weather scope on your laptop, its the same scope17:15
karniperhaps we could override master scope body with something else than subscopes (if that even makes any sense)17:15
cwayneit'll just show different days17:15
cwaynethostr_, is there an eta for when scope authors may be able to implement more specific layouts?17:16
Saviqundefined1, ditto17:17
thostr_cwayne: we hope to have at least first iteration of new API by end of this year17:18
karnithostr_: so, does this basically mean currently scopes are constrained to showing results in grid like fashion only?17:19
karni(sorry if that's just stating the obvious)17:19
thostr_current scopes: yes17:19
karniaha17:19
=== salem_ is now known as _salem
=== _salem is now known as salem_
Saviqmhr3_, https://code.launchpad.net/~saviq/unity8/use-api-plugindir/+merge/19660717:43
mhr3_Saviq, are you sure you want the fallback to be a fatal message?17:47
Saviqmhr3_, it's not the fallback17:49
Saviqmhr3_, we require libunity-api-dev17:49
Saviqmhr3_, and that's supposed to have those paths in there17:49
mhr3_Saviq, yea, but now you require its very latest version17:49
Saviqmhr3_, if it doesn't - I wanna know ;)17:49
mhr3_it's just - i'm not sure everyone is running T yet :)17:50
Saviqmhr3_, everyone who's hacking unity8 are17:50
Saviqmhr3_, or soon will be17:50
Saviq;)17:50
mhr3_if you say so :)17:50
mhall119mhr3_: thostr_: newest Scopes API is up: http://developer.ubuntu.com/api/scopes/ubuntu-13.10/17:51
mhr3_but yea, looks fine otherwise17:51
mhr3_mhall119, you should be careful with the word "newest", cause that's not the newest :P17:51
thostr_mhall119: this looks good!17:54
cwaynethostr_, hey, are C and python and vala the only supported languages for writing a scope today?17:54
thostr_mhall119: so, it's only us who need to provide better doc content in future17:54
thostr_cwayne: yes, but that will change with 14.0417:55
cwaynethostr_, to include what else? go?17:55
thostr_cwayne: plan is go and js17:55
thostr_cwayne: and c++17:55
cwaynethostr_, ack, thanks17:55
mhr3_cwayne, -c, -python, -vala, +cpp, +go, +js17:55
mhr3_just to make it clear17:56
thostr_cwayne: karni scheduled a meeting for tomorrow to walk through all the details17:56
cwaynemhr3_, ah thanks, i didn't realize we were removing that support17:56
karniyes, Chris and Scott are invited17:56
karnimhr3_: thanks17:57
=== alan_g is now known as alan_g|EOD
mhr3_Saviq, looking at unity's debian/control it seems like i forgot to remove some deps (libunity, libunity-core) with the move to unity-scopes-shell, mind removing those in the plugindir branch?18:05
Saviqmhr3_, will do18:06
mhr3_Saviq, and by getting rid of those we could maybe disable the QT_NO_KEYWORDS :)18:12
Saviqmhr3_, we don't want that anyway18:15
mhr3_owwwh :/18:15
mhr3_but, but... it looks nice :)18:15
=== salem_ is now known as _salem
mhall119mhr3_: well, the newest stable release ones :)18:24
=== _salem is now known as salem_
mhall119mhr3_: I've only included the C API for now18:28
mhall119we can work out how to support other languages in 14.0418:28
mhr3_mhall119, well it definitely looks better than what we had until now, and since we don't want to promote the python bindings, it's a good thing that it doesn't mention them18:38
mhr3_anyway, i'm out18:38
undefined1Where can I find the API docs for OptionSelectorDelegate ?18:43
undefined1thanks18:43
mhall119undefined1: you mean http://developer.ubuntu.com/api/qml/sdk-1.0/Components.Components.OptionSelector/ ?18:44
mhall119or is OptionSelectorDelegate a newer component18:45
undefined1mhall119:  it seems that it is replacing ItemSelectorDelegate  from ListView elements  line 537  http://bazaar.launchpad.net/~nicolas-doffay/unity8/filter-selector/view/head:/Components/PageHeader.qml18:48
undefined1things like onExpandedChanged ect have different names it seems I could be wrong this is only my 1st week with the sdk18:49
mhall119ah, not part of the SDK components then18:49
undefined1mhall119:  I think that it is. I am reading the source to that page that you sent. and it seems that things are just named different.18:50
undefined1like dividerExpanded vs CurrentlyExpanded18:51
Saviqundefined1, mhall119, OptionSelectorDelegate is just a base class for OptionSelector's delegate18:54
Saviqor maybe the default one18:54
Saviqundefined1, mhall119, not sure why its docs are not published, though18:55
=== salem_ is now known as _salem
Saviqother than that it's a new component18:55
mhall119Saviq: depending on how new, it might not have existed when I generated the docs18:56
Saviqmhall119, should be there at the same time the OptionSelector got added18:56
Saviqmhall119, maybe a week after18:56
Saviqmhall119, undefined1 anyway the docs are always there in the .qml files http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/modules/Ubuntu/Components/OptionSelectorDelegate.qml18:56
undefined1thanks Saviq  and mhall119  I was looking for expanded:  property.18:58
Saviqundefined1, that's on OptionSelector, not on the delegate18:58
undefined1yeah That is where I was going wrong. I should figure out highlights and all that also. Just need to study all the Elements that you all have made for the sdk.19:02
undefined1Saviq:  are there other things that are used for desktopfile readers that use QFile and what not plugings or more c++ plugins that are not just under unity 8 and libdee stuff ?19:04
undefined1other classe19:04
undefined1classes *19:04
Saviqundefined1, for desktop file readers, make sure you read ubuntu-phone ML - there was a recent thread on standardizing it19:04
undefined1ML ?19:05
Saviqmailing list19:05
Saviqundefined1, as for other classes... not sure what you mean, but there's a bunch of things we import runtime, from lp:unity-notifications, from lp:unity-scopes-shell, for example19:05
undefined1ahh yes I should sign op to that.19:05
undefined1Saviq:  what about mir stuff I see windows and stuff like that, under Utils libs. I know that Mir is new and all but are there plans to make something like Qt.Quick.Windows but not for X11 but for Mir ? thanks again19:07
mhall119Saviq: BTW, if you want to host API docs for Unity8-specific QML components, we can support that on the new API website19:07
Saviqundefined1, right, that comes from lp:unity-mir19:07
Saviqmhall119, those are not public, so not much sense to host them19:08
mhall119it would help anybody who's contributing to Unity 8 itself, but I suppose they can just use offline docs for that too19:08
Saviqmhall119, stuff that's usable for others we try to push up to the UITK19:08
undefined1thanks again Saviq  ... back to hackking19:08
Saviqmhall119, that's assuming we're documenting it at all ;)19:08
mhall119of course we're documenting it all, right?19:08
mhall119;)19:08
Saviqyes, there's a few thousand SLOC of documentation19:09
Saviqin QML19:09
Saviq;P19:09
=== _salem is now known as salem_
undefined1Saviq:  I like the filter options.  http://picpaste.com/cdcded76f3f9228d92c93dde6ae4c440.png   thanks for showing me the code that was already wrote so I was not writing it again myself.19:16
Saviqundefined1, they're really dumb for now, though (only one item selected at any one time)19:16
Saviqundefined1, and the biggest issue there it has the first item selected, even if it's not really selected19:17
Saviqundefined1, something that'd have to change in lp:unity-scopes-shell, but we've decided to do this in the new scopes apis19:17
Saviqso this one's on hold for now19:17
undefined1Yeah I was just testing that all out there is a lot of room for imporvment. But like you where saying about unity-scopes-shell... Is that what you work on ?19:18
undefined1or the shell all-together ?19:18
undefined1Saviq:  Ohh I see. you are moving all the plugin libs aka Unity 0.1 too its own little area and calling it unity-scopes-shell, Well hacking on it I take it.19:20
Saviqundefined1, yeah, we're moving it out, really 'cause there's a different team responsible for it, and yeah, hacking on it is easier when it's separate, too19:21
undefined1+119:21
undefined1I am going to try and add radiooptionfilters (qml ones) to the list and see if I can make it so that I can use multiple options in the filter19:24
Saviqundefined1, thing is that OptionSelector widget isn't really useful for multiselection19:25
Saviqundefined1, as how would you display the multiple items selected when collapsed19:25
Saviqanyway19:26
Saviqabout time to go AFK19:26
Saviqo/19:26
undefined1 \o19:31
=== salem_ is now known as _salem
=== racarr is now known as racarr|lunch
veebersSaviq: are you still around?21:29
Saviqveebers, yup21:29
veebersI'm having trouble building the unity8 debs21:29
veebersSaviq: I was hoping you could help me out :-) I've been using pbuilder, but I assume you use something different? sbuild perhaps?21:30
veebersNormally the command I use is: pdebuild --buildresult ../DEB-phablet/ -- --basetgz /var/cache/pbuilder/saucy-manhattan.tgz21:31
veebersbut it seems to stall after a while (I'm just in the process of getting more details for when it stops). Building for desktop/amd64 works fine, just not for arm21:33
Saviqveebers, yeah, pbuilder was just too slow for me, sbuild is great21:34
Saviqveebers, building for arm in qemu is rarely the best thing to do, though21:34
Saviqveebers, whether it's pbuilder or sbuild - it's just slow (gonna be slower than Galaxy Nexus, fwiw)21:35
veebersSaviq: ah nice, anything faster sounds good. I assume I have to do more than the 2 commands mentioned in "Local Setup" found here? https://wiki.ubuntu.com/CrossBuilding21:35
veebersSaviq: ah ok, so you're suggesting building on the device21:35
Saviqveebers, actual cross building is a whole other beast I'm afraid21:35
Saviqveebers, and is not working well yet21:35
veebersah ok ^_^21:35
Saviqveebers, we're getting there, and around January, hopefully, it should work exactly with the two commands mentioned21:36
Saviqveebers, I actually have sbuild with ccache set up on my Nexus 1021:36
Saviqveebers, depends on what devices you have21:36
veebersSaviq: oh. is it setup to use the home directory for config/data so you don't have to set it up again after a flash?21:37
veebersI have a Galaxy Nexus21:37
Saviqveebers, yes, it is21:38
Saviqveebers, let me package you some scripts I have around this21:38
veebersSaviq: that would be awesome, thanks!21:38
Saviqveebers, http://people.canonical.com/~msawicz/sbuild.tar.xz - should be more or less self-explanatory21:40
Saviqveebers, just run with --setup after every flash21:40
veebersSaviq: nice thanks, I'll try that out21:40
Saviqveebers, and without on every boot (it needs to bind-mount/symlink some stuff)21:41
Saviqveebers, https://wiki.ubuntu.com/SimpleSbuild is the simplest sbuild setup I could compose21:41
Saviqveebers, and you'll need a step from there to generate the gpg keys21:41
Saviqveebers, namely 'sbuild-update --keygen'21:41
Saviqveebers, one manual step that's still needed21:42
veebersSaviq: ack, I'll take a whack at that today21:42
Saviqveebers, is changing 'aufs' to 'unionfs' in /etc/schroot/chroot.d/* after creating the chroot21:42
Saviqveebers, cheers, let me know if you have any issues with it21:42
veeberswill do21:42
undefined1Saviq:  I set the filters to set them-selfs up by rendererName works alright now I am writing a delegate for each21:49
Saviqveebers, on the unity8 ap tests in py3 - I'm waiting on a comment from you to ACK it21:57
* veebers checks comment21:57
veebersSaviq: I'm responding, just have a meeting now22:00
Saviqveebers, no worries, will look at it tomorrow anyway22:00
veebersSaviq: ack22:00
=== racarr|lunch is now known as racarr
Saviqmhr3_, right, let me bring back the json thingy22:20
Saviqmhr3_, pushed22:21
mhr3_Saviq, thx, acked22:50
=== _salem is now known as salem_
=== salem_ is now known as _salem

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