/srv/irclogs.ubuntu.com/2013/12/09/#ubuntu-unity.txt

=== shiznix_ is now known as shiznix
anacrolixwhere is the documentation for python bindings to appindicator? all the links here are broken: https://unity.ubuntu.com/projects/appindicators/05:54
tsdgeosmorning08:09
tsdgeosi think i either caught the ubuflu or the heathrow flu08:09
tsdgeosfeeling quite sick08:10
Saviqtsdgeos, get a swap day, take it easy08:36
Saviqtsdgeos, *in* Heathrow meaning you slept at the airport?08:36
tsdgeosmeanig i didn't sleep08:37
tsdgeosbut yeah :D08:37
Saviqjeez08:37
tsdgeosgot a plane for sunday at 6am08:37
tsdgeosso i had to be there at 4am anyway08:37
tsdgeosso didn't make much sense trying to get somewhere to sleep08:37
tsdgeosbought last Dan Brown's book and read it all :D08:38
Saviqtsdgeos, :D how was it?08:38
tsdgeosi actually liked it08:38
Saviqtsdgeos, either way - get a swap day for that - especially if you're feeling sick08:39
Saviqtsdgeos, and also, there's a flight delay compensation to be fought for within the EU08:40
tsdgeosactually it was no that my flight got delayed08:40
tsdgeosis that awesome piccadilly line broke08:40
tsdgeosand i had to take an 1:30h detour08:40
tsdgeosso i got there late08:40
tsdgeosmy plane actually flew as scheduled08:40
Saviqtsdgeos, ah08:45
Saviqthat's "it's easier to get to Heathrow" for you...08:45
SaviqMacSlow, hey, sorry to hear about your N1009:14
SaviqMacSlow, there's one thing, though - company hardware is somewhat insured - would be good to verify what's covered09:14
MacSlowSaviq, yeah... thanks... Murphy struck hard this weekend for everybody... in some way or another09:23
SaviqMacSlow, yeah09:23
MacSlowSaviq, hm... who would know details about this?09:23
SaviqMacSlow, start with msm09:24
MacSlowSaviq, ok09:24
CimiSaviq, hey boss, I'm looking for week's tasks09:43
SaviqCimi, "week's"? "this week's"?09:44
Cimithis week09:44
SaviqCimi, how 'bout bug #125900509:50
ubot5bug 1259005 in unity8 (Ubuntu) "Swiping over SEARCH header in top left of phone Dash does not show search" [Undecided,Confirmed] https://launchpad.net/bugs/125900509:50
CimiSaviq, ok09:51
mzanettiSaviq: did we switch to use the fake applications intentionally with ./run on the desktop or is there some import path breakage going on too?10:21
Saviqmzanetti, we never had non-fake ones ;)10:21
mzanettierr... not the fake apps, but the fake scopes content10:21
Saviqmzanetti, do you have unity-plugin-scopes installed?10:22
mzanettiah... right... going back to qt 5.0 seems to have removed all that stuff10:22
mzanettithanks10:22
Saviqmzanetti, it now picks stuff up from ./plugins, /usr/lib/*/unity8/qml, ./tests/mocks - in that order, more or less10:23
Saviqmzanetti, so we override system-wide plugins and fall back to mocks10:23
Saviqs/system-wide/installed/10:23
mzanettiah ok. makes sense10:23
Saviqbiab, post office10:25
=== iahmad is now known as iahmad|afk
Saviqgreyback, ping11:28
Saviqdednick, welcome back!11:29
dednickSaviq: :) thanks11:29
Saviqdednick, were you flying during UK's air traffic shutdown?11:29
=== _salem is now known as salem_
greybackSaviq: pong11:32
dednickSaviq: no, missed it by a day luckily11:42
dednicki arrived a few hours ago :)11:42
Saviqdednick, straight into the office, eh? ;)11:42
dednick*home office* ;)11:42
CimiSaviq, does qmltestrunner run with touch emulation events?11:54
SaviqCimi, we have a custom touchtestrunner that does11:54
SaviqCimi, used by the indicator tests, for example11:55
Cimiok11:55
Cimimaybe I can use that11:55
SaviqCimi, I *think*11:55
CimiSaviq, cause was failing11:55
SaviqCimi, either way - panel tests are fine with edge drags11:55
SaviqCimi, so that must work some way ;)11:55
CimiSaviq, I added this edgedragarea11:55
CimiSaviq, but my tests fail11:56
SaviqCimi, added? there is an EdgeDragArea in the panel already - would be best to use that one probably11:56
CimiSaviq, it's only for the indicators row iirc11:57
CimiSaviq, I'll have a look11:57
SaviqCimi, I'd rather not, if possible, have two separate ones - maybe some refactoring is in order11:57
CimiSaviq, in the meanwhile I'd like to have tests working :)11:59
SaviqCimi, as in trunk tests?11:59
CimiSaviq, nope referring to this search swipe11:59
CimiSaviq, took me 5 mins to get the feature in12:00
CimiSaviq, still debugging the tests failing12:00
SaviqCimi, ok sure12:00
CimiSaviq, ok was this mouseClick -> tap12:01
CimiSaviq, mouseFlick -> touchFlick12:01
CimiSaviq, when you use touch events12:01
SaviqCimi, yeah, thought we have those :)12:01
=== MacSlow is now known as MacSlow|lunch
CimiSaviq, having one big edgedragarea common won't simplify things12:17
Cimion the tablet it will be huge12:18
Cimiwhile currently it's only 40gu12:18
SaviqCimi, right12:18
Cimialso you have to abstract properties from the indicators to the panel, making them 'public'12:19
SaviqCimi, ok, fine with split areas12:19
SaviqCimi, makes sense when they're spread out on the tablet12:19
=== boiko_ is now known as boiko
=== tvoss is now known as tvoss|lunch
CimiSaviq, you remember the tolerance area of clicks?12:49
Cimihow big is it12:49
SaviqCimi, you mean tap vs. long-press?13:00
CimiSaviq, I meant13:00
CimiSaviq, I'm faking mouse clicks in the edgedragarea13:00
SaviqCimi, that depends13:00
CimiSaviq, so I don't have to use two input areas13:00
SaviqCimi, EdgeDragArea.qml has them all set up13:01
CimiSaviq, I have mouseAbs (touchx - initialtouchx) < tolerance13:01
CimiSaviq, does not have onClicked IIRC13:01
SaviqCimi, clicks just go through the EdgeDragArea13:01
CimiSaviq, so you want me to use a edgedragarea AND a mousearea?13:02
Cimithought faking was better13:02
=== alan_g is now known as alan_g|lunch
SaviqCimi, yeah, just have a MouseArea below - that's how the EDA is supposed to be used13:03
SaviqCimi, or well, see how the IndicatorRow has those13:03
SaviqCimi, it does react to press13:03
SaviqCimi, and it seems it's the EDA that handles it13:04
CimiSaviq, they use tolerance 0 for swipes13:04
CimiSaviq, so you can swipe right to reveal13:04
Cimior swipe up13:05
Cimiit seems wrong13:05
Cimito me13:05
Cimifor reference, my current code http://bazaar.launchpad.net/~cimi/unity8/searchIndicator-swipe/revision/58213:05
Cimitwo ways to show search indicator13:06
Cimi1. click within units.dp(2) from the original click13:07
Cimi2. swipe down of at least units.gu(1.5)13:07
=== iahmad|afk is now known as iahmad
CimiSaviq, edgedragrea eats mouse clicks13:14
Cimignam gnam, it's hungry area13:14
mhr3Saviq, forgot to bring up one topic last week - running apps13:18
mhr3Saviq, i still don't want those in a scope13:18
mhr3it's just silly13:18
Cimimhr3, they'll go away13:19
Saviqmhr3, no worries, we might end up without them there completely13:19
mhr3wooo :)13:19
mzanettigreyback: hmm... should ApplicationManager.startApplication() cause ApplicationManager.focusedApplicationId to change eventually?13:24
mhr3Saviq, and one more, tests in the scopes plugin - gtest or qtest?13:28
mhr3or rather do you see a reason why qtest would be a better choice?13:29
Saviqmhr3, your call - we use qtest mostly, as it's just better integrated13:29
Saviqmhr3, but I'm completely fine on gtest13:29
mhr3Saviq, tell me more about the integration13:29
Saviqmhr3, stuff is named Q*13:30
Saviq;)13:30
Saviqmhr3, no really, don't see a reason13:30
Saviqmhr3, maybe the fact that it launches QApplication automagically13:31
Saviqmhr3, but it's not like you can't do it yourself if necessary13:31
mhr3i'm all for simpler life :)13:32
mhr3hmm, think i'll stay with qtest just to have QTRY_*13:37
mhr3will be handy for the highly-async scope tests13:37
Saviqmhr3, maybe the SignalSpy - useful, too13:39
mzanettitest rows/column might be useful too13:43
mzanettiand the nice output formatting :)13:43
=== alan_g|lunch is now known as alan_g
=== Pici` is now known as Pici
mzanettiSaviq: is there something special in regard to the order of the recent applications grid? as in, do mainstage apps need to be before sidestage ones?14:04
mzanettior could I get rid of firstModel and secondModel and just show all of ApplicationManager's recent apps in whatever order the appmanager holds them14:05
kgunnSaviq: snowboarding...ok...now i hate you14:07
mzanettikgunn: finally back home?14:08
greybackmzanetti: sorry was at lunch. ApplicationManager.focusedApplicationId should update yes14:08
kgunnmzanetti: yep, yesterday afternoon14:08
kgunnmzanetti: heard you made with no issues...lucky14:08
=== MacSlow|lunch is now known as MacSlow
mzanettikgunn: mostly, yes. 45 mins late14:09
mzanettigreyback: no problem. ok. seems our various ApplicationManager implementations start to drift apart14:09
mzanettiwill fix14:10
Saviqmzanetti, TBH it should be recency14:17
Saviqmzanetti, but I don't think we have that proper yet14:18
mzanettiSaviq: I agree. but I think it'd be better if the applicationmanager is sorted itself according to that14:18
mzanettibut anyways, dropping that firstModel, secondModel hack14:18
Saviqmzanetti, I'd be worried about reshuffling the launcher all the time14:18
Saviqmzanetti, not sure what's the plan there14:19
mzanettiSaviq: no. the launcher doesn't follow that order14:19
mzanettiSaviq: as when an app is pinned it needs to be there, not where it is in the app stack etc14:19
Saviqmzanetti, yeah exactly, but what about recent apps in launcher14:20
Saviqmzanetti, not the pinned ones14:20
mzanettiSaviq: well, they are appended as they show up14:20
mzanettiSaviq: and stay there until either moved or removed from the recent list14:21
Saviqmzanetti, that'd be good I think14:21
mzanettiI've dropped shell's knowledge about multiple stages... that's why I asked if we need to have that distinction in the recent apps grid14:21
Saviqmzanetti, still, if we go for split right edge14:21
Saviqmzanetti, we need separate models for main and side stage14:21
mzanettiSaviq: then we still can put a sortfilterproxymodel on top14:21
Saviqmzanetti, or maybe the other way 'round - let app manager give up three models? main, side, merged?14:22
mzanettibut I'd say where we need it.. instead of keeping two separate lists in shell.qml and aggregate them again all over14:22
mzanettiSaviq: so when we designed the appmanager api we went for this:14:22
mzanettiappmanager itself is a model of all apps, having a role "stage"14:23
Saviqkgunn, sorry...14:23
mzanettiso we could easily put a sortfilter on top14:23
Saviqkgunn, it's not like you don't have places to go to do that14:23
Saviqmzanetti, yeah, I'd rather it be provided by the app mgr itself14:23
Saviqmzanetti, or well maybe it really doesn't matter in that case14:24
mzanettiok well, sure... we can always create instances of filtermodel's inside the appmanager if really wanted14:24
mzanettibut yeah... the question was more the other way round14:24
=== tvoss|lunch is now known as tvoss
Saviqmzanetti, yeah, we need a merged model from app manager indeed14:25
mzanettiSaviq: yeah... that's the thing... we do have that14:25
mzanettiSaviq: then ApplicationManagerWrapper was splitting it up14:25
mzanettithe split thing was used everywhere and merged again everywhere with fancy javascript14:25
Saviqmzanetti, yeah, that's why I'm thinking we should simply have three - main, side, merged14:27
mzanettiSaviq: actually I was thinking to not have that distinction anywhere except inside the tablet stages code. Given that not all devices will have that14:31
Saviqmzanetti, yeah maybe14:33
Saviqgreyback, dednick_ standup14:33
sil2100tedg: hello!14:53
sil2100tedg: not sure if it's still super valid, but we've been discussing and wondering if the ust requirement for upstart-app-launch could be somehow made optional?14:53
sil2100tedg: by ust I mean liblttng-ust of course14:55
Saviqmzanetti, hey, I can has you to look at https://code.launchpad.net/~saviq/unity8/new-scopes-integrate-card/+merge/197930/comments/459061 ?15:09
mhr3heh, was just about to ping you about that15:13
mhr3Saviq, how is the visibility of items going to work?15:15
mhr3for example right now the height is too much, cause there's no subtitle, summary etc15:15
Saviqmhr3, items meaning price etc.?15:15
Saviqmhr3, that depends15:15
Saviqmhr3, in a static-height scenario (grid, carousel), we'll to lay out a maximum card size and stick to it15:16
mhr3Saviq, right, so for those it's about the components15:16
mhr3but for the other ones it's about both components and the data15:16
mzanettiSaviq: ack15:16
Saviqmhr3, yes, prices and attributes will be just stacked next to each other - based on contents15:17
Saviqmhr3, but still we'll have to cater for the biggest case15:17
Saviqmhr3, for variable-height/width (journals) it will be what it will be in reality15:17
mzanettiSaviq: line 117, 118 is some more commented stuff. reason?15:18
Saviqmzanetti, because the card does not yet have those signals15:18
Saviqmzanetti, but it will need them - can add FIXME15:18
mzanettiok15:18
Saviqmzanetti, shall I add FIXME?15:20
mzanettiSaviq: nah... given that you will change this soon enough in any case, no need to nitpick on it15:21
Saviqmzanetti, yup15:21
mzanettiSaviq: I'd prefer to investigate the crash in the other fixme as I have a feeling otherwise that fixme will be in there for all eternity15:21
Saviqmzanetti, oh no it won't, but yeah15:21
Saviqmzanetti, we need the sourceSize there, and need it working15:22
mzanettiyeah...15:22
Saviqmzanetti, otherwise we'll load huge images15:22
Saviqmzanetti, so I basically need to try it out with 5.215:22
mzanettiseeing what sort of fixme's I came by in the application stuff today :D15:22
mzanettiSaviq: ah damn... I just went back to 5.0 as too much other stuff was crashing with 5.215:23
mzanettiotherwise I could have tested for you15:23
Saviqmzanetti, will manage15:25
Saviqmzanetti, we shall have it resolved before that whole thing gets into lp:unity815:25
=== greyback is now known as greyback|london
=== alan_g is now known as alan_g|tea
mhr3although the sooner it would get there, the better :)15:39
mhr3would lower the barrier for testing it15:40
tedgsil2100, We'd prefer to leave it in so that we could get timing results on images.  Is it causing a problem?15:45
=== alan_g|tea is now known as alan_g
Saviqmzanetti, I'm worried the "Qt.test.qtestroot" missing thing might be that we're trying to run the testcase under qmlscene16:08
mzanettiSaviq: not following16:08
Saviqmzanetti, remember when you tried to do make tryCard under 5.2?16:09
mzanettiah, ok16:09
mzanettihmm... that'd be bad16:09
Saviqyeah, we'd need to find a way to run it under qmltestrunner16:09
Saviqwhich, btw, could be doable16:09
mzanettiyeah, quite sure. It's just the input thing right?16:10
Saviqmzanetti, well, not even16:10
Saviqmzanetti, for tryFoo we're not testing at all16:10
Saviqmzanetti, just loading the QML and let you play with it16:10
Saviqmzanetti, so we'd need to be able to the same under qmltestrunner16:10
Saviqmzanetti, maybe our custom runner with a command line option to not actually start the tests16:10
Saviqmzanetti, or set a context prop, for that matter16:11
Saviqthat we'll bind to TestCase.when:16:11
Saviqwhich would mean we'll load everything under the test runner, just we won't start the tests16:11
mzanettiSaviq: but wait... iirc I had the crash when doing make testCard16:11
Saviqmzanetti, yeah, unrelated16:11
Saviqmzanetti, crash is there indeed16:12
Cimippa:canonical-qt5-edgers/qt5-daily is for qt 5.2?16:12
Cimior we have others?16:12
SaviqCimi, qt5-beta216:12
Saviqmzanetti, but it doesn't even start with qmlscene, complaining about Qt.test.qtestroot not being there - probably something qmltestrunner imports / adds an import path  / something16:12
mzanettimhm16:13
Saviqmzanetti, the only symbols I got out of the qmltestrunner crash:16:36
Saviqhttp://pastebin.ubuntu.com/6546538/16:36
Saviqmzanetti, look familiar?16:36
mzanettiyeah. the JIT was involved here too16:36
mzanettinot sure if its the exact same thing16:37
mzanettiqv4functionobject.cpp... yeah, I think it is16:37
Saviqmzanetti, meaning https://bugs.launchpad.net/unity-api/+bug/1258057 ?16:39
ubot5Ubuntu bug 1258057 in Unity API "unity-api fails to build against Qt 5.2" [Critical,New]16:39
mzanettiSaviq: right... I didn't try to debug testCard... so that must be the one16:40
Saviqmzanetti, thanks, will try to add more info16:44
Saviqmzanetti, https://bugreports.qt-project.org/browse/QTBUG-33658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel16:46
Saviqlooks legit16:47
mzanettiSaviq: hmm... looks similar. but I wouldn't be able to say it's this one16:49
Saviqmzanetti, yeah of course - I'll try to build it locally with the patch applied16:51
anpokls16:52
mhall119Saviq: do you have time for a quick chat about Unity 8 desktop mode?16:57
Saviqmhall119, can you please put something in my calendar for tomorrow?17:02
Saviqmhall119, I'm almost at the door today17:02
Saviqmhall119, also, depending on the topic I might have more questions than answers for you...17:03
mhall119Saviq: ok, I'll find us a time tomorrow17:32
Saviqmhall119, thanks17:32
mhall119Saviq: done17:34
untitled1Saviq:  hi.  I am running run_on_devce and the build-deps for unity8 is missing  deps lcov and gcov.  are these imporant ?17:45
Saviquntitled1, that's just a warning17:46
untitled1camke warrning yeah but what are they used for ?17:46
Saviquntitled1, unless you want to see test coverage, no - they're not important17:46
untitled1thanks17:46
Saviquntitled1, http://en.wikipedia.org/wiki/Gcov17:46
untitled1I also had to mount my devce as dpkg would not work with out it17:47
=== bschaefer_ is now known as bschaefer
untitled1maybe could add to bash script  ?17:47
Saviquntitled1, you mean make writable?17:47
untitled1yeah17:47
Saviquntitled1, that's dangerous, we don't want to do it by default17:47
untitled1what is up with that ?17:47
Saviquntitled1, we could bail out if not writable, though17:47
untitled1I can not run_on_device with out that ?17:48
Saviqno17:48
untitled1because of the build deps and what not17:48
Saviqyes17:48
untitled1cmake and many other thins are not installed by default17:48
Saviquntitled1, having a writable rootfs on a phone is not feasible - battery outage could result in unbootable phone17:48
Saviquntitled1, exactly17:48
Saviquntitled1, it's really like making the phone go into developer mode17:48
untitled1I see17:48
Saviquntitled1, we have plans to make it better / less invasive on your installation17:48
untitled1thanks Saviq17:48
Saviquntitled1, ideally you should be able to revert what you did during the development session17:49
Saviquntitled1, at least to the rootfs17:49
untitled1maybe I should make a qprocess app for this like a gui that uses them scripts17:49
untitled1or add to qtcreator not sure what are your thoughts ?17:49
untitled1at that what do you think about qprocess ?17:50
Saviquntitled1, a qtcreator target could be used, sure17:50
Saviquntitled1, although for that we'd rather cross-build and transfer pre-built onto the device17:50
Saviquntitled1, this should happen relatively soon17:51
untitled1Saviq:  are the plugins for the creator still in source or are they outside branchs now ?17:51
Saviquntitled1, the ubuntu plugins?17:51
untitled1Saviq: yeah17:51
Saviquntitled1, they are separate - and will mostly remain so17:51
Saviquntitled1, until we get upstream support for Ubuntu in QtCreator at least17:52
untitled1I built ubuntu-ui-toolkit to qt5.2 and might go after the creator today17:52
untitled1qtcreator takes forever to build lol17:52
Saviquntitled1, naah, qtcreator is nothing - try qt itself ;)17:52
untitled1lol17:53
untitled1esp on arm17:53
untitled1done that many times when android was getting "wheels" on Qt17:53
untitled1Saviq:  one of the things that is hard for me to deal with is when I press the qt home screen and then press develop to go to last session and it opens like 5 windows that I can not close :(  know any work a rounds ?17:55
Saviquntitled1, here's a branch I did off of qtcreator 3.0-beta17:55
Saviqhttps://code.launchpad.net/~unity-team/kubuntu-packaging/qtcreator-3017:55
untitled1thanks17:55
Saviquntitled1, it should build now - importing rc could be useful, though17:55
Saviquntitled1, ough17:56
untitled1Oo17:56
Saviquntitled1, if that's still the same in QtC 3.017:56
Saviquntitled1, that's a bug that needs fixing17:56
Saviquntitled1, in the mean time you can use File > Sessions or so17:56
untitled1Thanks I think that I will build to rc and see what is going on in the welcome plugin17:57
Saviquntitled1, actually, let me quickly update that branch to rc17:58
=== mhall119 is now known as mhall119|afk
=== mhall119|afk is now known as mhall119
=== salem_ is now known as _salem

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