/srv/irclogs.ubuntu.com/2014/07/21/#ubuntu-unity.txt

greybackdednick: yo, how do I test your trust helper code now? what command(s) do I run?08:58
dednickgreyback: testing mock or real?08:58
greybackdednick: emm both!08:58
greybackbut I mostly carea about real08:59
dednickgreyback: real is the same as before. using the demo app.09:00
dednickgreyback: trust-session-demo-trusted-helper -p `pgrep -f clock`    - when you have clock app open09:01
greybackdednick: ok. No need for desktop_file_hint since it uses trusted socket I guess09:01
dednickgreyback: for the mock:09:02
dednickqdbus com.canonical.Unity8 /com/canonical/Unity8/Mocks com.canonical.Unity8.Mocks.Application.addChildSurface "dialer-app" "/home/nick/Work/phablet/qtcompositor/unity8-merged/qml/Dash/graphics/phone/screenshots/facebook@12.png"09:02
dednickqdbus com.canonical.Unity8 /com/canonical/Unity8/Mocks com.canonical.Unity8.Mocks.Application.removeChildSurface 1  (1=return of addChildSurface all)09:02
dednicks/all/call09:02
greybackDo I need to run unity8 with a new env var to define the trust socket?09:03
dednickgreyback: mmm. i think my MP includes the trust socket change.09:03
greybackdednick: ok09:03
dednickmaybe not...09:04
greybackI've not tested yet, still flashing my devices09:04
mzanettidednick: hmm... do you know why the messaging indicator icon is a bell instead of the envelope?09:05
dednickmzanetti: uuuh. no...09:05
mzanettiwas it changed to be that icon or is there a new feature that paints the bell in some certain cases only?09:06
dednickmzanetti: has nothing to do with my code. either it's been changed in backend (don't think so) or it's changed in icon theme09:07
mzanettidednick: yeah, I just thought you might be aware of specs that explain it...09:08
dednickmzanetti: might be a bug. not sure09:09
mzanettiah ok...09:09
dednickmzanetti: no, looks like a replacement icon09:10
mzanettiI guess I liked the envelope better, but I can see that one doesn't really fit for missed calls09:10
dednickmzanetti: apparent'y it's green when you have a new notification09:11
mzanettiso probably that's the reason... the bell just says something rang09:11
mzanettiyeah, it is09:11
mzanettithat's only why I noticed it :D09:11
mzanettiit was there all weekend, but just now I had a missed call and actually saw it09:11
dednick:) i hadn't before09:11
tsdgeospete-woods: i have hud-service at 100% here if you want to come and debug it live09:43
pete-woodstsdgeos: will be over shortly09:52
mzanettielopio: ping10:19
facundobatistaHolas10:51
greybackdednick: first pass of https://code.launchpad.net/~nick-dedekind/qtmir/prompt_sessions/+merge/227368 complete11:05
dednickgreyback: thanks. fixed some, commented on some.11:24
greybackdednick: do I get tests?11:26
tsdgeosmhr3: just pushed something that should fix the openScope from preview, can you double check?11:27
dednickgreyback: er, are there any tests for qtmir yet? make test interestingly doenst do anything ;)11:27
greybackdednick: there's a tests/ directory. "make check" runs them I think11:28
dednickgreyback: ok. um, yeah... i guess i can write a few :)11:28
greybackdednick: ty11:28
mhr3tsdgeos, something broke, ping when back :)11:33
Saviqmzanetti, would you have time for a review https://code.launchpad.net/~saviq/unity8/dash-header-style/+merge/227522 ?11:49
=== MacSlow is now known as MacSlow|lunch
=== _salem is now known as salem_
=== MacSlow|lunch is now known as MacSlow
tsdgeosmhr3: fix pushed13:03
mhr3that was quick13:03
karniSaviq: I'd like to define some constants in QML (FooColors.qml), and reference them from other qml files. I'm not sure how do to that, though. Item { readonly property string blue: "#2ca5e0" } I reference in another QML as FooColors.blue, qmlscene says FooColors is not defined. suggestions?13:24
karnishould I define those in a .js file instead?13:24
Saviqkarni, yeah13:25
karniok13:25
Saviqkarni, http://qt-project.org/doc/qt-5/qtqml-javascript-resources.html#shared-javascript-resources-libraries13:25
karniSaviq: thanks13:26
Saviqkarni, but13:26
Saviqkarni, maybe in 5.3 it's better to use http://qt-project.org/groups/qt-contributors-summit-2013/wiki/Evolution-of-the-QML-language actually13:27
Saviqkarni, the singleton approach13:27
* karni looks13:27
karniand thank you :)13:27
Saviqkarni, this way the "readonly" part can actually be enforced, which you can't in JS13:28
karniright :)13:28
mhr3Saviq, for the overlay-color, i'll add "primary-logo-color" to the appearance attrs13:34
mhr3if you're ok with that13:35
Saviqmhr3, what's that? :D13:37
Saviqmhr3, oh in the .ini?13:38
Saviqmhr3, I'm never gonna see it anyway13:38
mhr3Saviq, you will have it in the hints, but yea, you don't really need to look at it13:39
mhr3mhall119, could you update the scopes docs again pls?13:46
Saviqseb128, shall we land password locking?13:56
Saviqseb128, I'd hijack silo 6 a little and add a few unity8 branches (since one got superseded anyway), wdyt?13:57
seb128Saviq, +1 from me, we have some other small u-s-s changes ready (mostly a bugfix and some test improvements), do you want to batch them with it or keep that for another landing?13:58
Saviqseb128, good for me, lemme add unity8 stuff to the line and you handle u-s-s13:59
seb128Saviq, ok13:59
Saviqseb128, hmm the only ~scary thing would be the livecd-rootfs change mterry mentioned in the comment14:00
Saviqto delete the default pwd14:00
Saviqseb128, so we should wait for him (he should be around soon)14:01
seb128Saviq, k14:01
Saviqseb128, line 14 ready for you14:01
seb128Saviq, done14:02
Saviqseb128, ok, /me reconf + full rebuild14:02
seb128Saviq, thanks14:02
greyback#qtcomp14:32
mhall119mhr3: done14:35
elopiomzanetti: pong14:39
=== dandrader is now known as dandrader|afk
=== greyback is now known as greyback|away
Saviqseb128, crap, mterry is out today, we might need to land without the password things, otherwise people will get (seemingly) locked out of their devices14:44
seb128Saviq, :-/14:45
Saviqseb128, I'll drop the locking-hash branches from the silo then and rebuild once more14:45
seb128Saviq, thanks14:46
=== dandrader|afk is now known as dandrader
=== greyback|away is now known as greyback
Saviqgreyback, should the window stack report app in foreground if greeter is locked?15:05
Saviq(because it apparently does)15:06
greybackSaviq: I know it does. I don't know of anyone who cared15:06
Saviqgreyback, Chipaca cares15:06
Chipacagreyback: 'ullo15:06
Chipacagreyback: is it an easy fix?15:07
greybackChipaca: hey. It may not be too hard. Need it urgently?15:08
Chipacagreyback: define "urgent"15:08
greybackChipaca: how soon do you need it?15:08
Chipacai can wait *days*. Like, *three* of them :-p15:08
greybackChipaca: ok, please log a bug against unity-mir and we'll take it on15:09
Chipacagreyback: will do15:09
Chipacagreyback: it can probably wait a week or two too, fwiw :)15:10
Chipacabut it's needed for rtm15:10
Chipacaone way or another15:10
Chipacagreyback: https://bugs.launchpad.net/unity-mir/+bug/134636715:11
greybackChipaca: ok15:12
Saviqgreyback, thanks15:13
greybacknp15:14
Chipacagreyback: yes; thank you!15:14
greybackChipaca: no worries15:15
Chipacagreyback: if it turns out to be hard (or breaks other stuff), a supported way of knowing whether the lock screen is up would work too (if be less convenient for us)15:16
greybackChipaca: it should not be too tricky. I'm more curious if WindowStack definitely gives you the info you need.15:17
greybackChipaca: push notifications are only supposed to show if no app is focused, or Greeter is open?15:17
Chipacagreyback: push notifications for an app are not to be presented if that app is in the foreground15:18
greybackChipaca: gotcha15:18
Chipacagreyback: i'll tweak the description to be clearer15:18
Chipacagreyback: there15:19
greybackChipaca: great, thank you.15:19
greybackChipaca: can you add a way for us to test a push notification for an app?15:19
Chipacagreyback: sure15:19
greybackChipaca: magic15:19
Chipacagreyback: like so?15:23
greybackChipaca: perfect15:25
paulliuSaviq, Can I create a AttributeGrid.qml and then use it inside the CardCreator.js rather than include all the code inside the .js?15:36
Saviqpaulliu, surwe15:36
Saviq-w15:36
=== gatox is now known as gatox_lunch
* greyback needs to reboot15:41
Saviqmhr3, bug #1346384 :|16:15
Saviqwhere's the damn bot?16:15
Saviqhttps://bugs.launchpad.net/ubuntu/+source/unity8/+bug/134638416:16
mhr3Saviq, hmm, cache crashing? :/16:27
mhr3maybe it's only during shutdown or something16:28
dednickdandrader: getting an crash from qtmir. "what():  Failure sending input event : Unknown channel provided"16:30
dandraderdednick, in what situation?16:31
dednickum. touching surfaceitems which backend may or may not have been destroyed...16:32
dednickdandrader: my prompt session work.16:32
dandraderdednick, backtrace?16:38
=== gatox_lunch is now known as gatox
dednickdandrader: not available. trying to install debug symbols now16:38
dandraderdednick, I'm afraid I would have to build & try out your prompt sessions stuff to be able to do anything useful about it16:39
dandraderthat crash should be inside mir16:42
mhall119thostr_: ping16:42
=== dandrader is now known as dandrader|lunch
thostr_mhall119: pong16:49
mhall119thostr_: hey, for Scopes, what should developers use for accessing the network and location data?16:50
mhall119will it be the same Qt APIs as applications use, or something different?16:50
thostr_mhall119: location will be passed as query parameter, so no need (but also no possibility) to use something else16:51
thostr_mhall119: network: either net-cpp or Qt... but net-cpp should be more straightforward16:51
mhall119do we have API docs for that which we can publish on developer.u.c?16:52
thostr_mhall119: not sure... I don't think so... need to check with tvoss16:52
mhall119is libcppnetlib the correct package for that library?16:54
thostr_mhall119: no, libcppnetlib is something different... but could probably be used as well16:59
=== alan_g is now known as alan_g|EOD
mhall119I'm not seeing net-cpp in an apt-cache search17:17
greybackwhy are we not using the Qt api? It integrates better with the toolkit we tell people to use17:18
tedggreyback, Scopes aren't necessarily Qt based, they're C++. You can run Qt if you want, but that's not what we're pushing for non-GUI stuff.17:24
greybacktedg: Qt is not just for GUI applications. It can do command line apps just as easily.17:26
=== dandrader|lunch is now known as dandrader
greybacktedg: if we use one API for scopes and another for apps, now we've 2 equivalent APIs to support17:28
greybackI don't see how that's a good thing17:28
tedggreyback, Can, sure. Not sure why you'd want all that for something simpler.17:28
greybacktedg: "simpler" ? - Qt really does not have that much of an overhead, and it offers so many useful APIs, all of which works nicely together. I fail to see the win from using "pure" C++17:30
tedggreyback, moc17:31
greybacktedg: please explain how some pre-generated C++ code that you don't have to touch is so terrifying17:32
tedggreyback, Taking my C++ and generating more C++ is terrifying. This is why templates were created.17:33
greybacktedg: I think you're dismissing it too quickly, and in my time working wit Qt, moc has seldom been trouble.17:37
greybackinstead I've mostly fought with non-Qt C++ libraries and how none of them really quite match up17:37
tedggreyback, So use Qt. We're saying you don't have to use Qt to use our platform. You're welcome to if you want, but if you don't, that's cool too.17:39
tedggreyback, You can use netcpp, or just plain ol' unix sockets.17:40
greybacka consistent message to our developers is all I ask17:44
tedggreyback, The Linux kernel should be able to load your binary and execute it. :-)17:47
mhall119tedg: the question isn't about whether you *can* use Qt or "pure" C++ APIs, the question is which should we be recommending and supporting17:51
mhall119to greyback's point, we're already recommending and supporting those Qt APIs for apps, so there's little extra cost to us in using them again for Scopes17:52
mhall119however, if Qt itself brings an added cost to developing Scopes, then it may not be the right technology to use there17:52
mhall119so, does the cost of using the Qt APIs for scopes outweigh the benefits of having only 1 API for doign it across the whole platform17:53
greybackmhall119: would be good to have that cost quantified, instead of just the notion that "Qt is heavy"17:53
tedgThe important thing is that you can develop a scope without Qt.17:53
mhall119tedg: keeping in mind also that Go support will eventually be needed for both apps and scopes, and I assume the Go/Qt bindings will allow those APIs to be used17:54
tedgI think that's a pretty big assumption :-)17:54
mhall119perhaps17:55
greybackso we'll have 3 messages for developers?17:55
greybacksorry but that's just horrible17:55
tedgmhall119, Just FYI, there's already support for Go scopes.17:56
tedgI believe (not sure) Soundcloud is a Go scope.17:57
cwayneyeah it is18:03
mhall119tedg: there *are* Go scopes, but from what I've been told it's not ready to officially support yet, and we have no documentation on it on developer.u.c18:07
mhall119bregma: ping18:07
bregmamhall119, pong18:07
mhall119bregma: hey, I'm working on your survey for convergence feedback18:08
bregmamost excellent18:08
tedgmhall119, Ah, I see what you mean.18:08
mhall119bregma: http://www.surveymonkey.com/s.aspx?PREVIEW_MODE=DO_NOT_USE_THIS_LINK_FOR_COLLECTION&sm=0DrIewtoCDgDEWXFSUu9VRIHsWY9IYG%2bvNNyfmNzxFw%3d if you want to take it for a test-run18:08
mhall119bregma: I plan to add an introductory page explaining the purpose of the survey, and also a thank you page at the end18:09
* bregma goes clicky clicky18:09
mhall119bregma: I added 3 "about you" questions as the end to get context about the respondent, but if you can think of any others I will add them as well18:09
mhall119bregma: any feedback on the survey?21:43
=== salem_ is now known as _salem

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