/srv/irclogs.ubuntu.com/2013/05/08/#ubuntu-unity.txt

=== hggdh_ is now known as hggdh
=== broder_ is now known as broder
Saviqmzanetti, around?06:58
tsdgeosmorning folks07:00
Saviqhey tsdgeos, slept well? ;)07:02
* Saviq got up around 6am again...07:02
Saviqtsdgeos, I need a second pair of eyes lp:~unity-team/+junk/shell-interfaces07:02
Saviqtsdgeos, I'm bootstrapping the "separate project for shell-facing interface definitions"07:03
tsdgeosSaviq: yeah no stupid hours wake up here07:03
* tsdgeos branches07:03
Saviqtsdgeos, my current issue is "Unable to handle unregistered datatype 'Source*' for property 'MockModel::source'"07:03
Saviqeven though the plugin registers the type :/07:04
* Saviq back in 1507:05
tsdgeosSaviq: seems you're hitting the "moc doesn't know C++" case07:26
tsdgeosSaviq: http://paste.kde.org/~tsdgeos/739586/ gets me past that registration error07:27
tsdgeoswant a MR push for that?07:28
tsdgeoswant a MR/push for that?07:28
Saviqtsdgeos, nah, that's fine07:29
Saviqtsdgeos, thanks07:29
tsdgeosSaviq: still fails with07:30
tsdgeosFAIL!  : qmltestrunner::test_singletons(Model.source) Model.source should be writable07:30
tsdgeos   Loc: [/home/tsdgeos_work/phablet/shell-interfaces/build/modules/TestUtil/Verifier.qml(74)]07:30
tsdgeosbut i guess that's another thing07:30
Saviqtsdgeos, that's fine, yeah07:30
Saviqtsdgeos, any other comments on that?07:31
tsdgeosgot confused with too many things named the same :D07:31
Saviqmhm07:31
tsdgeosstill haven't look at it in depth07:31
tsdgeosgive me 10 min more07:31
Saviqsure07:31
tsdgeosSaviq: btw i "improved" the isInstanceOf thing, did you see it?07:45
Saviqtsdgeos, no07:45
tsdgeosSaviq: have a look, it works for "qmltypes" now too07:45
Saviqtsdgeos, same branch?07:46
tsdgeosSaviq: it's in master :D07:46
Saviqright ;)07:46
Saviqand it should go away from there07:46
tsdgeoswell not master07:46
tsdgeosunity/phablet07:46
tsdgeosor whatever07:46
Saviqyeah07:46
tsdgeosSaviq: want me to have a look at that Verifier.qml too?07:47
Saviqtsdgeos, sure07:47
Saviqtsdgeos, and how does "Hud: Support having toolbar items enabled/disabled." describe the changes to the test utils? :P07:50
tsdgeosobvious, ain't it?07:50
tsdgeosi know, complain to the approver07:51
SaviqI will07:51
Saviqwhen he decides to show up07:51
tsdgeosit basically grew up organically as part of needs for that feature07:51
tsdgeosand we all know it's not the right thing to do07:52
tsdgeosbut most of the times it's a pain to  split stuff into more MRs07:52
tsdgeosand Mr Judge, that's all i have to say in my defense :D07:54
tsdgeosSaviq: where the "if (writable) {" in the writable func come from?07:59
Saviqtsdgeos, it shouldn't be there probably08:00
tsdgeosok, everything makes kind of sense, the few comments are08:01
tsdgeosyou should probably assign values 1 and 2 to HintEnum enums to make clear it's bitwise enums and next should be 4 and not 308:01
tsdgeosin modules/TestUtil/Verifier.qml " obj is the object on" -> " object is the object on"08:02
tsdgeosas previously said got a bit confused we have to "Source" QML types (even if with different URIs)08:03
tsdgeosand I'm not a fan of long nested namespaces, but that's personal i guess :D08:03
Saviqok MockSource it's going to be08:04
Saviqas for namespaces... I could do either, but this seems to be a preference in the Unity APIs team, so let's go with that08:05
Saviqthanks for the other comments08:05
tsdgeos:)08:06
Saviqtsdgeos, any way to convince QFlags to work with strongly-typed enums?08:13
Saviqi.e. "enum class { ... }"08:13
tsdgeosthat's c+11 enums, right?08:14
Saviqyeah08:14
Saviqit works for Q_ENUMS08:14
Saviqbut flags die08:14
tsdgeoshaven't played much with those08:14
tsdgeosbut does it make sense for flags?08:15
tsdgeosi mean if it's strongly typed08:15
tsdgeoswhat do you assign the result to?08:15
Saviqhere he is08:16
Saviqgreyback, you get a slap on the wrist for r65008:16
* tsdgeos plays a bit with enum class08:17
greybackSaviq: why? What did I miss?08:17
Saviqgreyback, there's no mention of changes to TestUtil in the commit msg08:17
Saviqtsdgeos, that's a good question, but well, you can use any enum as flags, it's mostly about comparison and passing them around08:18
Saviqso that if your argument is of type SomeFlag, you can only use SomeFlags to provide that argument08:18
Saviqnot any int08:18
tsdgeosSaviq: i mean http://paste.kde.org/~tsdgeos/739664/ doesn't work08:19
greybackSaviq: okay. My bad08:19
tsdgeossince there's no strongly typed enum for the or of the two strongly typed enums08:19
Saviqtsdgeos, right08:19
tsdgeosi guess you could store it into an int if you define the | operator?08:20
Saviqtsdgeos, and/or explicitly provide all combinations ;)08:21
Saviqwhich kind of beats the purpose08:21
tsdgeosyep08:21
Saviqtsdgeos, the failure you got is "Cannot assign QObject* to unity::notifications::Source*"08:22
Saviqwhen trying to assing MockSource to MockModel.source :/08:22
tsdgeos?08:22
tsdgeosno, never got that08:22
Saviqyou did - the failed test08:22
tsdgeosah08:22
SaviqI wonder if I need to expose the Source in the Mocks, too...08:23
tsdgeoswhich kind of makes sens08:23
tsdgeosyou can't assign a QObject* to a Source*08:23
tsdgeosthough you are not08:23
tsdgeosso yeah some more exporting missing around i guess08:23
Saviqyup08:23
Saviqyup08:25
Saviqworks08:25
SaviqI should probably name the virtual classes something special08:25
Saviqso that you can register them without polluting the scope08:25
Saviqi.e. ModelInterface etc.08:25
Saviqand then I can have an abstract base plugin that registers them08:27
tsdgeosyep08:29
tsdgeosbtw after using the BB10 phone as my main phone for a few days, i like how they implemented the vertical toolbar08:32
tsdgeosthis way they can provide tooltips on icons08:32
tsdgeoslooks weird at first08:32
tsdgeosbut then makes sense08:32
Saviqtsdgeos, so instead of the toolbar at the bottom you get them vertically at the left?08:33
Saviqor?08:33
tsdgeosyou have the "regular" toolbar at the bottom08:34
tsdgeoswith 3 icons + text08:34
tsdgeosand then you have the "extra actions" toolbar vertically (that appears i.e. after long pressing in an email) vertically08:34
tsdgeosand then it first only shows icons08:34
tsdgeosbut if you hover over it shows text08:34
tsdgeoslet me show a few screenshots08:34
Saviqsounds complicated ;)08:35
SaviqI wonder how would that go with user testing :D08:35
tsdgeosso08:37
tsdgeosdefault mail view https://www.box.com/s/n0rmsfzx6yplrajasux808:37
tsdgeosafter long pressing an email https://www.box.com/s/6wdyy9o065okcmh03w5908:38
greybackhow do you "hover" with a touchscreen?08:38
tsdgeosgreyback: put the finger on top of the icon :D08:38
tsdgeosafter putting my finger on top on an icon because i have no clue what it means https://www.box.com/s/meonqun0x1d03gkygg4f08:38
greybacktsdgeos: so long press08:38
greybackno08:38
greyback?08:38
tsdgeosgreyback: no, press without release08:38
tsdgeoscan you guys see those urls?08:39
greybackyep, tho why it needs flash to show a png is beyond me08:39
tsdgeoslol08:39
greybackso all that time you keep your finger on the screen (no release)08:40
tsdgeosah no08:40
tsdgeosyou do long press on the email08:41
tsdgeosand then the side bar appears08:41
tsdgeosat that stage you can release the finger08:41
tsdgeosand the side bar stays08:41
tsdgeosyou can either dismiss it by pressing on the "empty" area08:41
tsdgeosor use the longpress to scrub amongst the icons for tooltips08:41
greybackok, and if you press on the sidebar icon, it shows the "tooltip", and it only fires on release?08:41
tsdgeosor directly click an icon if you know what it does08:41
tsdgeosyep08:42
tsdgeosif you are fast enough (i.e regular press) you don't get the tooltip08:42
tsdgeosi think it's smart enough08:42
tsdgeosnot saying we should get inspiration in it08:42
greybackok. That's not too dissimilar to what we're trying with the launcher08:43
tsdgeosgood stuff then :-)08:43
Saviqalthough I must say it's relatively ugly08:49
Saviqit tries to be clean08:49
Saviqbut then there's things that make me squint08:49
Saviqlike the envelope icon, which if I didn't know it was an envelope I'd have a hard time understanding what it is08:50
Saviqthe fadeout elide... I think /me no like08:50
tsdgeosSaviq: well, you're reading email :D08:51
tsdgeoswhat you expect it to be :D08:51
Saviqthat's not to say I like our apps, our phone app is just as ugly at the moment08:51
tsdgeosfade instead of ... makes sense in the sense it's much more space friendly08:52
tsdgeosadding ... kills lots of space08:52
tsdgeoswhile fade kills less08:52
Saviqsure, but is ugly, IMO ;)09:03
Saviqbut what do I know09:03
tsdgeoswon't comment regarding uglyness :D09:04
sil2100pstolowski: hi! Do you know if the 100scopes unity got rid of the irritating regression when pressing enter when the results are still loading?09:20
sil2100pstolowski: the one you mentioned to me during the sprint09:20
pstolowskisil2100: hey! mhr3 told me there is a workaround commited but not yet released in the ppa09:22
sil2100pstolowski: excellent - it's on unity's side or somewhere else, do you know?09:22
pstolowskisil2100: unity09:22
sil2100Since I've been asked to get things merged in and auto-releasing this week09:23
sil2100pstolowski: thanks!09:23
sil2100brb09:23
mhr3sil2100, pstolowski, it's not committed yet, andyrock started to work on a branch, but it's not done yet09:24
pstolowskimhr3: thanks for clarification09:25
tsdgeosSaviq: i see why we have the get() thing in the proxymodel09:26
tsdgeosto mimic the QML ListModel element09:26
Saviqtsdgeos, is that a good reason?09:27
tsdgeoswell there is the big problem in that the QML ListModel and QAbstractListModel stuff doesn't have the same API09:28
tsdgeoseven both are valid "model" things09:28
tsdgeoslike pete-woods was complaining in #ubuntu-touch one has count and the other has not09:28
Saviqyeah, and we do mimic that as well in the proxy09:29
tsdgeosso i guess the intention was to make the proxy have an api closer to QML ListModel09:29
Saviqyeah, but then that causes issues when other QALMs don't do that09:29
tsdgeosright09:29
Saviqwhen you expected count to be there09:29
Saviqbut there is not09:29
tsdgeosit's a bit of a mess tbh09:29
Saviqindeed09:29
tsdgeosanyway i'll see who is using that get()09:30
SaviqListModel should have the exact same api QALM has09:30
tsdgeosi guess is too late for that09:33
tsdgeoshmmm09:35
tsdgeosSaviq: can you look at updateLensesViewType in Dash.qml09:35
tsdgeosi am wondering how that works09:35
Saviqtsdgeos, it doesn't09:35
tsdgeosok that makes more sense :D09:36
Saviqtsdgeos, I have a branch that makes it work09:36
Saviqbut then it crashes somewhere in glib09:36
tsdgeosi was wondering how doing anything to a local var made any change globally09:36
Saviqtsdgeos, it's supposed to tell lenses "you're visible / you're hidden / home is visible"09:36
Saviqfor them to react accordingly (i.e. update their models)09:37
tsdgeosook09:38
Saviqtsdgeos, I can give you my branch if you want ;)09:38
tsdgeosSaviq: well, i only got there because i was having a look at the get() users09:39
tsdgeosand that uses it09:39
Saviqyeah I know09:39
mhr3that call is ignored in smart scopes, so i'd say forget about it09:39
mhr3Saviq, tsdgeos ^09:39
Saviqmhr3, yeah I know, didn't want to spend time on it09:39
Saviqmhr3, is there a new way to tell scopes "you're displayed"?09:40
Saviqmhr3, so that they can update their models if needed?09:40
mhr3Saviq, send them a search() request09:40
Saviqmhr3, right ;d09:40
Saviqsimples :D09:40
* Saviq likes simples09:40
mhr3Saviq, btw who will work on the shell part of the update?09:41
Saviqmhr3, probable me & greyback09:42
Saviqmhr3, but it's you guys that will take over the QML bindings and update them - we need to talk about the APIs at some point09:43
mhr3Saviq, cool, just asking cause we're pretty much ready for it to happen, don't expect any more changes to unitycore09:43
mhr3Saviq, that was my understanding, you surprised when you said you'll do it this time :)09:44
Saviqgrr09:44
mhr3Saviq, that was my understanding, you surprised when you said you'll do it this time :)09:44
Saviqmhr3, that's not the "shell part" though, is it ;)09:45
mhr3oh, so that's the "but"09:45
Saviqmhr3, we'll need a primer on the new Unity APIs09:45
Saviqs/Unity/Scopes/09:45
Saviqand as I understand it pstolowski already has a working example09:46
Saviqso that will probably be a base for the new QML bindings09:46
Saviqstuff from the previous implementation (unity-2d / lp:unity/phablet) should only be carried over carefully09:46
mhr3Saviq, might be simpler at this point to keep using unitycore, and as you know scopes will change again, and with that change the dbus api will probably change too, so at that point we can get rid of unitycore09:47
Saviqmhr3, k09:48
Saviqif there's not so much changes09:48
tsdgeosSaviq: https://code.launchpad.net/~aacid/unity/fix_spacing/+merge/16294709:49
mhr3pstolowski, or do you think it'll be simpler to go without unitycore right away ^?09:49
tsdgeosSaviq: and dee-qt has a get(row) too09:51
tsdgeosmay want to have a look at that too later09:52
tsdgeosor not09:52
pstolowskiSaviq: I wouldn't call the code I have 'a working example', the goal was to have a simple ui that is able to fire off a search query with new backend, so what I have is a qml app that supports only one dbus call (search, using qtdbus) and displays the resulting model09:53
Saviqtsdgeos, right back at you https://code.launchpad.net/~saviq/unity/phablet.newlines-at-end-check/+merge/16294809:54
Saviqpstolowski, got it09:54
pstolowskimhr3, Saviq: +1 for keeping unitycore for now09:56
Saviqhttp://pastebin.ubuntu.com/5644194/ oO09:59
tsdgeoslol09:59
tsdgeos-0 != +010:00
tsdgeos:D10:00
* tsdgeos sees how the PhD in Math appropiately leaves the room10:00
Saviqstupd JS10:01
Saviqtsdgeos, lol10:02
Saviqtsdgeos, "0" != 010:02
tsdgeostrue that10:02
mhr3Saviq, one more thing - i had trouble building the phablet branch, for some reason it didn't want to build hud, seen such issue?10:03
greybackPlaying with Mir is fun, occasionally you screw up and lock yourself out of your whole machine :)10:03
Saviqmhr3, we've had some issues, but current trunk should work10:03
Saviqgreyback, ;)10:03
mhr3Saviq, hm, it annoyed me too much and i created a jhbuild moduleset to build it all :)10:04
Saviqmhr3, yeah, we'll be rid of the ./build_unity script soon10:04
greybackSaviq: I have cursor working on desktop now. I still think it'd be useful to be able to run shell in X, so I intend to add logic to detect the platform on run-time and do the right thing. Approve?10:04
Saviqtbh now that People lens is out for now... maybe we should just ignore it10:05
mhr3Saviq, yey! it's a mess :P10:05
Saviqgreyback, yeah, for sure10:05
greybackSaviq: ok good. Proceeding..10:05
Saviqgreyback, maybe two separate executables?10:05
greybackSaviq: let me see. I'm uncertain yet how big the if{} blocks will end up being.10:06
Saviqgreyback, k10:07
Saviqgreyback, would be useful to be able to run shell-in-mir from your desktop, should that work?10:07
Saviqgreyback, or do you need to be on a VT to run it?10:07
greybackSaviq: I think VT is needed, but I agree that would be nice. I'll look into it10:08
Saviqgreyback, should be a case of telling Mir which VT to use, no10:08
Saviq?10:08
greybackSaviq: probably yes. But I need to learn how10:09
tvossgreyback, you want to talk to alf or raof for those questions10:17
greybacktvoss: will do10:18
tsdgeosdid we lose the fake music player?10:20
Saviqtsdgeos, looks like it10:21
Saviq;( you can't pass JS objects from QML to C++10:23
Saviqas in {name: "value"}10:23
tsdgeosnot as a variantmap?10:26
Saviqtsdgeos, nope, it comes back as QObject(0x0)10:40
Saviqtsdgeos, it probably only lives in the JSEngine10:40
tsdgeosSaviq: but a variantmap is not a QObject10:40
Saviqtsdgeos, hmm, checking10:40
tsdgeosi mean if the function in c++ accepts a QVariantMap10:40
Saviqyeah, checking10:40
Saviqtsdgeos, "Unknown method parameter type: QVariantMap*"10:42
Saviqyeah10:43
Saviqtsdgeos, works10:43
Saviqnot via pointer10:43
tsdgeosnice :-)10:44
tsdgeosSaviq: so there's only 1 place where the get() function is used and works (there are 2 other places were we use it but the code is wrong :D)10:45
Saviqnice10:45
tsdgeosthe place is in passing down the selected video when clicking the video10:45
tsdgeosi guess we can just make the "clicked" signal pass up the needed info and be done?10:45
Saviqprobably10:46
* Saviq bbl10:46
MirvTrevinho: could you define the regression potentials for the raring bamf SRU bug fixes?11:03
=== _salem is now known as salem_
tsdgeosSaviq: so https://code.launchpad.net/~aacid/unity/remove_qsortfilterproxymodelqml_get/+merge/162955 is what i got11:40
tsdgeosopinions?11:40
=== salem_ is now known as _salem
=== _salem is now known as salem_
Saviqtsdgeos, just so we're clear, that function did not do nothing11:57
Saviqtsdgeos, lens was a pointer to the actual lens object11:57
Saviqtsdgeos, and so setting viewType on it would set it there11:57
tsdgeosSaviq: you sure?11:58
Saviqtsdgeos, yes11:58
tsdgeosfilteredLenses is a SortFilterProxyModel11:58
tsdgeosso the get() there is the QVariantMap one11:58
tsdgeoslens can't be a Lens*11:58
Saviqtsdgeos, it was working, that I'm sure of ;)11:58
tsdgeosok11:58
tsdgeosi'll have a look later11:58
tsdgeoslunch ready11:58
* greyback agrees, goes for lunch11:59
=== greyback is now known as greyback|lunch
smspillazslangasek: should I reject the proposal then? Or did you want to take bits of it and propose them ?12:00
mhr3Saviq, does shell support the annotated icons already?12:16
Saviqmhr3, if you mean those with prices on them - no12:16
mhr3ie the ones shopping uses - an icon with a text+category icon overlay12:16
mhr3Saviq, and what's the plan there? we used gicon for those12:17
Saviqmhr3, we can do gicon12:17
Saviqmhr3, s/can do/are doing/12:17
mhr3Saviq, well but the annotated icon is our custom thing that just implements gicon interface12:18
mhr3i'm just wondering how does that into the qml-only world12:18
mhr3fit into*12:18
Saviqmhr3, I expect two icon uris (or names) - one for the actual icon, one for the overlay12:19
Saviqmhr3, and we overlay them in the shell12:19
mhr3yep, that's how it works :)12:19
Saviqmhr3, so if you pass as those two uris, we're fine - we just need to handle it over here12:20
Saviqs/as/us/12:20
mhr3ok, so you don't care about the actual serialization format, which makes it our problem12:21
Saviqmhr3, I'd expect it to be one of the cases of "this kind of renderer needs an overlay icon, hey scope, you need to provide that!"12:22
mhr3hmm, we didn't really do it based on the renderer, might think about that12:24
Saviqmhr3, yeah, so for me that's a different renderer type12:24
Saviqmhr3, but12:24
Saviqmhr3, it might be a generic thing, too12:25
Saviqmhr3, i.e. "if there's a price and an icon, overlay a price ribbon"12:25
Saviqif we deem it common enough12:25
mhr3yea, that's what we have now, and therefore i'm not liking the less generic approach12:27
Saviqmhr3, it just depends - if we're to support that in all of the renderers, then we should keep it generic12:29
Saviqmhr3, but if it's only there in 30% of them, then requesting a "*WithRibbon" renderer might make more sense12:29
Saviqmhr3, I'm generally of the opinion that there should be as little "generic" things as possible12:30
Saviqalready we have image-only renderers (video / music carousels)12:30
Saviqmhr3, and looking at places scope we might have some text-only ones12:31
Saviqso that really suggests to me the only really generic thing is the uri for the item12:31
Saviqas the identifier12:31
mhr3but that also suggests that the results scope gives you should be more tied to the category renderer and i'm not sure i like that12:32
Saviqthere's a compromise to be had, that's for sure12:33
Saviqbut we need to define a list of fields per-category renderer anyway12:33
Saviqobviously there's a worry "what if the scope does not support that data?"12:34
mhr3indeed12:34
Saviqso what can we do...12:35
Saviqrequired and optional fields?12:35
Saviqso if a scope requests a certain renderer for a category that requires field A, B and C, but the scope only supports A and B12:35
Saviqwill we just leave the category out?12:36
Saviqwe can't for the life of us come up with all the possible fields12:36
mhr3are the fields really required? can't we have a reasonable default?12:36
Saviqdepends on the renderer12:36
Saviqbut what would be the default name for a contact?12:37
SaviqI dunno, I'm just sure we'll end up with a "I wish we had that field in the list from the get go"12:38
Saviqwhen we want to support something new, but because none of the scopes know about it, they won't support it12:39
Saviqtruth is it's like that either way12:39
mhr3yea, i see your point12:39
Saviqso if we define a list of supported fields that we don't use initially12:39
Saviqscope authors might implement it just because they can12:40
Saviqnot necessarily looking at the current renderer implementation12:40
Saviqbut how do we come up with that list12:40
mhr3i don't think that will ever be the case, you can't forsee the future12:40
Saviqsure, we might add to the list12:40
mhr3but clearly the schema needs to be as dynamic as possible12:40
=== greyback|lunch is now known as greyback
Saviqyeah, that's for sure12:41
mhr3but that means that renderers should implement the "oh this field is missing, let's ignore this result"12:41
Saviqyou're thinking per-result... that could potentially work12:42
Saviqand the master scope could be smart when aggregating12:43
Saviqeven if the first result didn't fill all the required fields12:43
Saviqthere might be another one that will provide it12:43
Saviqbut then... we might end up with a required-per-scope (like the price)12:43
Saviqand required-once (like the contact name)12:44
Saviqand optional (like the avatar)12:44
Saviqthat gets complicated...12:44
mhr3indeed12:44
Saviqtell me again, can scopes define categories or is it just the master scope?12:45
mhr3they can12:45
Saviqand if the child scopes can, who decides on the renderer?12:45
mhr3scope that's on top12:46
Saviqso the one that's currently rendered, basically12:46
mhr3yep12:46
kgunnmornin' guys12:46
Saviqmost usually that's going to be the master scope12:46
Saviqbut when you dig in12:46
mhr3it might change... yep12:46
Saviqk12:46
Saviqthen it has to be dynamic12:47
Saviqbecause if a scope author says he wants renderer A for a category12:47
Saviqbut a master scope says they want to use C now12:47
Saviqeven though initially they used B12:47
Saviqyikes12:47
Saviqhey kgunn12:47
mhr3or simply the binding can try to give it to you in a more specialized way, yet the scopes will have to be more generic12:47
Saviqyeah the scopes can't really assume what data they give up12:48
Saviqbtw shouldn't default values be per-scope...12:49
Saviqmaybe not12:49
Saviqor it probably depends on the field12:49
Saviqsome of them might be shell-side (default avatar)12:49
Saviqother might be scope-side12:50
Saviqso what we have now12:50
kgunngreyback: got it all running on an arm device now :) ?12:55
greybackkgunn: not yet. I want to improve the desktop experience a bit more first. But hope to attack it today12:56
kgunngreyback: voss shared a video of it w cursor...pretty sweet12:57
kgunngreyback: just hoping the snappy-ness stays on arm (vs intel desktop)12:57
greybackkgunn: and much easier to use when you know where the cursor is :)12:57
greybackkgunn: yep, me too.12:57
=== cyphermox_ is now known as cyphermox
dandradertsdgeos, can you review this one? https://code.launchpad.net/~dandrader/unity/phablet_fixUtilsPluginTests/+merge/16278913:03
tsdgeossure13:03
tsdgeosi'll have a look13:03
tsdgeosSaviq: are you sure lens in that function is the lens* ?13:05
tsdgeosSaviq: i reverted all the change and added a console.log(lens.viewType); before setting it13:06
tsdgeosand it says undefined13:06
Saviqtsdgeos, add a qDebug() in Lens::setViewType13:06
Saviqtsdgeos, and see if it's ever set13:06
Saviqand I'll look at my branch in the mean time13:06
tsdgeosSaviq: not called here13:07
Saviqtsdgeos, maybe that's why it doesn't crash and my version does13:08
tsdgeosmaybe :-)13:08
tsdgeosSaviq: so you prefer me to remove the qml function anyway?13:08
Saviqtsdgeos, I dunno what I prefer in that case...13:09
Saviqbut it's going away anyway13:09
Saviqand doesn't do nothing for us at the moment13:09
Saviqtsdgeos, so yeah, makes sense to get rid of it altogether13:09
tsdgeosoka13:10
dandraderSaviq, ui tests do not go into the "test" make target (through add_test()), right?13:12
Saviqdandrader, no13:12
dandraderthey only go to "alltests"13:12
Saviqdandrader, yup13:12
dandraderok13:12
Saviqdandrader, qmltest_DEFAULT_NO_ADD_TEST is there to make sure of that13:13
dandraderSaviq, is alltests being run by Jenkins at the moment?13:13
Saviqdandrader, not directly13:13
Saviqdandrader, make test is done during package build, qmltests are run in qmluitests, autopilot is run in autopilot13:13
Saviqdandrader, so all of them should run13:14
dandraderSaviq, because of this:  https://code.launchpad.net/~dandrader/unity/phablet_edgeDragGesture/+merge/16288313:15
dandraderIt's a test that requires UI stuff but it's not in qmluitests13:15
dandraderit's part of alltests13:15
Saviqdandrader, why isn't in qmluitests?13:15
dandraderSaviq, because it's in tests/plugins13:16
Saviqyeah I see now13:16
dandraderinstead of tests/qmltests13:16
Saviqdandrader, so we can move the qmltests target up13:16
Saviqdandrader, so that you can add the test from tests/plugins to qmltests as well13:16
Saviqthere's going to be more of that13:17
dandraderok13:17
tsdgeosdandrader: it seems that alltests in your branch is not running QLimitProxyModelTest?13:19
tsdgeoscan you verify that?13:20
tsdgeosi mean the current one doesn't either13:20
tsdgeosbut if we're fixing it13:20
tsdgeoswe may as well fix it "more fixed"13:20
dandradertsdgeos, will check13:20
tsdgeos:D13:20
sil2100fginther: ping!13:21
dandraderSaviq, so "alltests" is never run by CI?13:21
Saviqdandrader, no13:21
Saviqdandrader, not directly13:21
fginthersil2100, pong13:21
Saviqdandrader, since we need to differentiate which tests run where13:21
sil2100fginther: who's responsible for the jenkins generic AP jobs?13:22
sil2100Since I think something is BADLY broken with those currently13:22
fginthersil2100, veebers and I maintain it13:22
sil2100fginther: ok, do you have a moment?13:23
fgintheryes13:23
sil2100fginther: since here's what's going on:13:23
sil2100fginther: they say they're adding the given PPA, but they don't - all generic tests are being run on unity from the archives13:23
sil2100fginther: not even once is unity used (in the unity case) from the given PPA13:23
sil2100fginther: let me paste you some things in priv13:24
dandradertsdgeos, QLimitProxyModelTest does get executed. but it happens to be the very last one13:25
tsdgeosreally?13:25
* tsdgeos can't grep13:25
tsdgeoslet me run it again :D13:25
dandradertsdgeos, at least that's what happened when I issued "make alltests"13:25
sil2100fginther: anyway, could you take a look? Since I'm not sure what has changed recently that could have broken this - maybe the lack of the dist-upgrade we disabled?13:26
sil2100But on the other hand, it was dist-upgrading before adding the PPA's13:26
sil2100So no, scratch that13:26
fginthersil2100, I'll begin investigating, might have some questions for you soon13:28
sil2100fginther: big thanks!13:28
tsdgeoswow13:28
tsdgeosqml-phone-shell: ../../src/xcb_conn.c:180: write_vec: L’asserció «!c->out.queue_len» ha fallat.13:28
tsdgeosAborted13:28
tsdgeosasserting in xcb_conn.c is bad :D13:30
Saviqgreyback, standup?13:31
greybackSaviq: coming13:32
greybackSaviq: cannot hear me?13:36
greybackSaviq: let me fix it13:37
tsdgeosSaviq: https://code.launchpad.net/~aacid/unity/remove_qsortfilterproxymodelqml_get/+merge/162955 updated13:53
Saviqtsdgeos, cheers13:53
fginthersil2100, ping14:10
sil2100fginther: pong! How's it going?14:16
fginthersil2100, it looks like veebers was trying to avoid installing from the ppa during the preseed. Do you know any reason why this shouldn't work during the preseed phase?14:19
sil2100fginther: installing? Not sure, I just remember that we didn't want the dist-upgrade back then, but nothing else14:20
fginthersil2100, right. the flow should be: add the ppa(s) then either install the packages if they are explicitly provided or do a dist-upgrade, correct?14:21
sil2100fginther: that would be my understanding, yes, but there might be some edge cases I don't know about, but only Didier would be able to tell ;)14:23
fginthersil2100, I'll ask him about it when he comes online, for now, I'll try a 'quickish' fix14:24
sil2100fginther: thanks a lot!14:36
sil2100:)14:36
slangaseksmspillaz: I think it's a reject...  I don't think there's a subset worth proposing14:37
Saviqhmm we've lost some 18 tests14:40
Saviqautopilot disabled still?14:40
tsdgeosyes14:51
tsdgeosmzanetti still on holiday, no?14:51
Saviqtsdgeos, yeah, back Monday14:51
tsdgeosguess we'll need to wait for him14:52
tsdgeosyuhu 5.0.214:56
tsdgeosMirv: does it have the xcb thing or didn't have time for that?14:56
fginthersil2100, is it safe to restart those autopilot tests?14:58
Mirvtsdgeos: xkb? not yet that, didn't do new builds today, just testing. invididual 5.0.2 rebuilds can be easily copied later on, but this was the "Big Copy"14:58
tsdgeosokidoki14:59
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandraderSaviq, it seems there's something wrong with armhf build environment15:20
dandraderhttps://jenkins.qa.ubuntu.com/job/unity-phablet-raring-armhf-ci/749/console15:20
dandrader"/tmp/buildd/qml-phone-shell-1.74/main.cpp:25:42: fatal error: qpa/qplatformnativeinterface.h: No such file or directory"15:20
dandraderthat comest from qtbase5-dev, which is listed in the build depends15:21
dandraderwell, I will trigger a rebuild just in case15:22
kgunnmterry: ping15:30
tsdgeosdandrader: you sure it's not private?15:34
tsdgeosnope15:34
tsdgeos:D15:34
tsdgeosdandrader: wait that is using 5.0.2 already maybe Mirv moved it around15:34
* tsdgeos installs 5.0.2 in the desktop15:35
smspillazslangasek: thanks, done15:35
dandradertsdgeos, would a micro version update cause such change? (missing header)15:36
tsdgeosyep15:36
tsdgeosaccording to Mirv's blog they've been working on shuffling things around15:36
tsdgeosor that0s what i understood15:36
tsdgeosdandrader: yep it moved15:40
tsdgeostsdgeos_work@xps:~/foo$ dpkg -S qplatformnativeinterface.h15:40
tsdgeosqtbase5-private-dev: /usr/include/qt5/QtGui/5.0.2/QtGui/qpa/qplatformnativeinterface.h15:40
tsdgeoswhich makes sense15:40
tsdgeossince qpa is private15:41
tsdgeosit was a bug15:41
dandradertsdgeos, great. thanks for finding that out15:42
tsdgeosno worries15:45
=== jhodapp is now known as jhodapp|lunch
kgunngreyback: ping15:54
greybackkgunn: pong15:54
fginthersil2100, I think I found the problem, testing a fix now16:01
tsdgeosSaviq: https://codereview.qt-project.org/#change,5575116:08
dandradertsdgeos, what the heck.. https://jenkins.qa.ubuntu.com/job/unity-phablet-raring-i386-ci/755/console16:17
dandradersergiusens, can you help out with a jenkins issue?16:19
sergiusensdandrader: what about?16:21
dandraderpreviously the armhf build was complaining that it didn't find qplatformnativeinterface.h16:21
dandraderit was moved between qt 5.0.1 and 5.0.2 from qtbase5-dev to qtbase5-private-dev16:22
dandraderso i added qtbase5-private-dev to the build dependencies16:22
dandraderbut now it got this: https://jenkins.qa.ubuntu.com/job/unity-phablet-raring-i386-ci/755/console16:22
dandradersergiusens, ^16:22
sergiusensdandrader: without looking much I guess you are missing a comma ',' in the Build depends in debian/control16:24
dandrader:)16:24
dandraderright. as usual the weirdest errors are due to the most dumb mistakes16:25
dandradersergiusens, sorry for the noise :)16:25
sergiusensdandrader: np, glad it was that and we didn't have to go into debug mode :-)16:26
fginthersil2100, the right packages from the ppa are getting installed now. I've restarted to attempt to get a clean run16:33
greybackkgunn: just to warn you, tomorrow is a national holiday in Germany, so I'll be off for that16:52
kgunngreyback: dang...wish i was in germany. enjoy16:53
kgunnmterry: ping16:55
dandradersergiusens, this time it doesn't seem to be my fault: http://s-jenkins:8080/job/unity-phablet-qmluitests/805/console17:03
sergiusensdandrader: going for lunch, will check soon17:06
dandradersergiusens, me too (going for lunch)17:07
=== dandrader is now known as dandrader|afk
=== jhodapp|lunch is now known as jhodapp
mterrykgunn, pong17:50
mterrykgunn, sorry, had a midday thing to deal with.  what's up?17:51
mterrykgunn, I'll be popping on and off IRC, as I'm doing some lightdm testing.  but poke me if you need something18:10
kgunnmterry: i'm back now18:11
kgunnwas curious, launcher hint...is that actually on the greeter?18:11
mterrykgunn, not yet.  mzanetti is supposed to be working on that this month18:12
kgunnmterry: thanks...couldn't recall if we resolved to have it reside w/ launcher or greeter18:13
kgunnmterry: and i signed us up for it to land by end of month18:13
kgunnshould be do'able tho18:13
mterrykgunn, I think so; right, mzanetti?18:14
kgunnmterry: i think he's off18:15
kgunnlike the whole week actually...german holiday + swap days + something else :)18:15
=== dandrader|afk is now known as dandrader
=== salem_ is now known as _salem

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