=== hggdh_ is now known as hggdh | ||
=== broder_ is now known as broder | ||
Saviq | mzanetti, around? | 06:58 |
---|---|---|
tsdgeos | morning folks | 07:00 |
Saviq | hey tsdgeos, slept well? ;) | 07:02 |
* Saviq got up around 6am again... | 07:02 | |
Saviq | tsdgeos, I need a second pair of eyes lp:~unity-team/+junk/shell-interfaces | 07:02 |
Saviq | tsdgeos, I'm bootstrapping the "separate project for shell-facing interface definitions" | 07:03 |
tsdgeos | Saviq: yeah no stupid hours wake up here | 07:03 |
* tsdgeos branches | 07:03 | |
Saviq | tsdgeos, my current issue is "Unable to handle unregistered datatype 'Source*' for property 'MockModel::source'" | 07:03 |
Saviq | even though the plugin registers the type :/ | 07:04 |
* Saviq back in 15 | 07:05 | |
tsdgeos | Saviq: seems you're hitting the "moc doesn't know C++" case | 07:26 |
tsdgeos | Saviq: http://paste.kde.org/~tsdgeos/739586/ gets me past that registration error | 07:27 |
tsdgeos | want a MR push for that? | 07:28 |
tsdgeos | want a MR/push for that? | 07:28 |
Saviq | tsdgeos, nah, that's fine | 07:29 |
Saviq | tsdgeos, thanks | 07:29 |
tsdgeos | Saviq: still fails with | 07:30 |
tsdgeos | FAIL! : qmltestrunner::test_singletons(Model.source) Model.source should be writable | 07:30 |
tsdgeos | Loc: [/home/tsdgeos_work/phablet/shell-interfaces/build/modules/TestUtil/Verifier.qml(74)] | 07:30 |
tsdgeos | but i guess that's another thing | 07:30 |
Saviq | tsdgeos, that's fine, yeah | 07:30 |
Saviq | tsdgeos, any other comments on that? | 07:31 |
tsdgeos | got confused with too many things named the same :D | 07:31 |
Saviq | mhm | 07:31 |
tsdgeos | still haven't look at it in depth | 07:31 |
tsdgeos | give me 10 min more | 07:31 |
Saviq | sure | 07:31 |
tsdgeos | Saviq: btw i "improved" the isInstanceOf thing, did you see it? | 07:45 |
Saviq | tsdgeos, no | 07:45 |
tsdgeos | Saviq: have a look, it works for "qmltypes" now too | 07:45 |
Saviq | tsdgeos, same branch? | 07:46 |
tsdgeos | Saviq: it's in master :D | 07:46 |
Saviq | right ;) | 07:46 |
Saviq | and it should go away from there | 07:46 |
tsdgeos | well not master | 07:46 |
tsdgeos | unity/phablet | 07:46 |
tsdgeos | or whatever | 07:46 |
Saviq | yeah | 07:46 |
tsdgeos | Saviq: want me to have a look at that Verifier.qml too? | 07:47 |
Saviq | tsdgeos, sure | 07:47 |
Saviq | tsdgeos, and how does "Hud: Support having toolbar items enabled/disabled." describe the changes to the test utils? :P | 07:50 |
tsdgeos | obvious, ain't it? | 07:50 |
tsdgeos | i know, complain to the approver | 07:51 |
Saviq | I will | 07:51 |
Saviq | when he decides to show up | 07:51 |
tsdgeos | it basically grew up organically as part of needs for that feature | 07:51 |
tsdgeos | and we all know it's not the right thing to do | 07:52 |
tsdgeos | but most of the times it's a pain to split stuff into more MRs | 07:52 |
tsdgeos | and Mr Judge, that's all i have to say in my defense :D | 07:54 |
tsdgeos | Saviq: where the "if (writable) {" in the writable func come from? | 07:59 |
Saviq | tsdgeos, it shouldn't be there probably | 08:00 |
tsdgeos | ok, everything makes kind of sense, the few comments are | 08:01 |
tsdgeos | you should probably assign values 1 and 2 to HintEnum enums to make clear it's bitwise enums and next should be 4 and not 3 | 08:01 |
tsdgeos | in modules/TestUtil/Verifier.qml " obj is the object on" -> " object is the object on" | 08:02 |
tsdgeos | as previously said got a bit confused we have to "Source" QML types (even if with different URIs) | 08:03 |
tsdgeos | and I'm not a fan of long nested namespaces, but that's personal i guess :D | 08:03 |
Saviq | ok MockSource it's going to be | 08:04 |
Saviq | as for namespaces... I could do either, but this seems to be a preference in the Unity APIs team, so let's go with that | 08:05 |
Saviq | thanks for the other comments | 08:05 |
tsdgeos | :) | 08:06 |
Saviq | tsdgeos, any way to convince QFlags to work with strongly-typed enums? | 08:13 |
Saviq | i.e. "enum class { ... }" | 08:13 |
tsdgeos | that's c+11 enums, right? | 08:14 |
Saviq | yeah | 08:14 |
Saviq | it works for Q_ENUMS | 08:14 |
Saviq | but flags die | 08:14 |
tsdgeos | haven't played much with those | 08:14 |
tsdgeos | but does it make sense for flags? | 08:15 |
tsdgeos | i mean if it's strongly typed | 08:15 |
tsdgeos | what do you assign the result to? | 08:15 |
Saviq | here he is | 08:16 |
Saviq | greyback, you get a slap on the wrist for r650 | 08:16 |
* tsdgeos plays a bit with enum class | 08:17 | |
greyback | Saviq: why? What did I miss? | 08:17 |
Saviq | greyback, there's no mention of changes to TestUtil in the commit msg | 08:17 |
Saviq | tsdgeos, that's a good question, but well, you can use any enum as flags, it's mostly about comparison and passing them around | 08:18 |
Saviq | so that if your argument is of type SomeFlag, you can only use SomeFlags to provide that argument | 08:18 |
Saviq | not any int | 08:18 |
tsdgeos | Saviq: i mean http://paste.kde.org/~tsdgeos/739664/ doesn't work | 08:19 |
greyback | Saviq: okay. My bad | 08:19 |
tsdgeos | since there's no strongly typed enum for the or of the two strongly typed enums | 08:19 |
Saviq | tsdgeos, right | 08:19 |
tsdgeos | i guess you could store it into an int if you define the | operator? | 08:20 |
Saviq | tsdgeos, and/or explicitly provide all combinations ;) | 08:21 |
Saviq | which kind of beats the purpose | 08:21 |
tsdgeos | yep | 08:21 |
Saviq | tsdgeos, the failure you got is "Cannot assign QObject* to unity::notifications::Source*" | 08:22 |
Saviq | when trying to assing MockSource to MockModel.source :/ | 08:22 |
tsdgeos | ? | 08:22 |
tsdgeos | no, never got that | 08:22 |
Saviq | you did - the failed test | 08:22 |
tsdgeos | ah | 08:22 |
Saviq | I wonder if I need to expose the Source in the Mocks, too... | 08:23 |
tsdgeos | which kind of makes sens | 08:23 |
tsdgeos | you can't assign a QObject* to a Source* | 08:23 |
tsdgeos | though you are not | 08:23 |
tsdgeos | so yeah some more exporting missing around i guess | 08:23 |
Saviq | yup | 08:23 |
Saviq | yup | 08:25 |
Saviq | works | 08:25 |
Saviq | I should probably name the virtual classes something special | 08:25 |
Saviq | so that you can register them without polluting the scope | 08:25 |
Saviq | i.e. ModelInterface etc. | 08:25 |
Saviq | and then I can have an abstract base plugin that registers them | 08:27 |
tsdgeos | yep | 08:29 |
tsdgeos | btw after using the BB10 phone as my main phone for a few days, i like how they implemented the vertical toolbar | 08:32 |
tsdgeos | this way they can provide tooltips on icons | 08:32 |
tsdgeos | looks weird at first | 08:32 |
tsdgeos | but then makes sense | 08:32 |
Saviq | tsdgeos, so instead of the toolbar at the bottom you get them vertically at the left? | 08:33 |
Saviq | or? | 08:33 |
tsdgeos | you have the "regular" toolbar at the bottom | 08:34 |
tsdgeos | with 3 icons + text | 08:34 |
tsdgeos | and then you have the "extra actions" toolbar vertically (that appears i.e. after long pressing in an email) vertically | 08:34 |
tsdgeos | and then it first only shows icons | 08:34 |
tsdgeos | but if you hover over it shows text | 08:34 |
tsdgeos | let me show a few screenshots | 08:34 |
Saviq | sounds complicated ;) | 08:35 |
Saviq | I wonder how would that go with user testing :D | 08:35 |
tsdgeos | so | 08:37 |
tsdgeos | default mail view https://www.box.com/s/n0rmsfzx6yplrajasux8 | 08:37 |
tsdgeos | after long pressing an email https://www.box.com/s/6wdyy9o065okcmh03w59 | 08:38 |
greyback | how do you "hover" with a touchscreen? | 08:38 |
tsdgeos | greyback: put the finger on top of the icon :D | 08:38 |
tsdgeos | after putting my finger on top on an icon because i have no clue what it means https://www.box.com/s/meonqun0x1d03gkygg4f | 08:38 |
greyback | tsdgeos: so long press | 08:38 |
greyback | no | 08:38 |
greyback | ? | 08:38 |
tsdgeos | greyback: no, press without release | 08:38 |
tsdgeos | can you guys see those urls? | 08:39 |
greyback | yep, tho why it needs flash to show a png is beyond me | 08:39 |
tsdgeos | lol | 08:39 |
greyback | so all that time you keep your finger on the screen (no release) | 08:40 |
tsdgeos | ah no | 08:40 |
tsdgeos | you do long press on the email | 08:41 |
tsdgeos | and then the side bar appears | 08:41 |
tsdgeos | at that stage you can release the finger | 08:41 |
tsdgeos | and the side bar stays | 08:41 |
tsdgeos | you can either dismiss it by pressing on the "empty" area | 08:41 |
tsdgeos | or use the longpress to scrub amongst the icons for tooltips | 08:41 |
greyback | ok, and if you press on the sidebar icon, it shows the "tooltip", and it only fires on release? | 08:41 |
tsdgeos | or directly click an icon if you know what it does | 08:41 |
tsdgeos | yep | 08:42 |
tsdgeos | if you are fast enough (i.e regular press) you don't get the tooltip | 08:42 |
tsdgeos | i think it's smart enough | 08:42 |
tsdgeos | not saying we should get inspiration in it | 08:42 |
greyback | ok. That's not too dissimilar to what we're trying with the launcher | 08:43 |
tsdgeos | good stuff then :-) | 08:43 |
Saviq | although I must say it's relatively ugly | 08:49 |
Saviq | it tries to be clean | 08:49 |
Saviq | but then there's things that make me squint | 08:49 |
Saviq | like the envelope icon, which if I didn't know it was an envelope I'd have a hard time understanding what it is | 08:50 |
Saviq | the fadeout elide... I think /me no like | 08:50 |
tsdgeos | Saviq: well, you're reading email :D | 08:51 |
tsdgeos | what you expect it to be :D | 08:51 |
Saviq | that's not to say I like our apps, our phone app is just as ugly at the moment | 08:51 |
tsdgeos | fade instead of ... makes sense in the sense it's much more space friendly | 08:52 |
tsdgeos | adding ... kills lots of space | 08:52 |
tsdgeos | while fade kills less | 08:52 |
Saviq | sure, but is ugly, IMO ;) | 09:03 |
Saviq | but what do I know | 09:03 |
tsdgeos | won't comment regarding uglyness :D | 09:04 |
sil2100 | pstolowski: 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 |
sil2100 | pstolowski: the one you mentioned to me during the sprint | 09:20 |
pstolowski | sil2100: hey! mhr3 told me there is a workaround commited but not yet released in the ppa | 09:22 |
sil2100 | pstolowski: excellent - it's on unity's side or somewhere else, do you know? | 09:22 |
pstolowski | sil2100: unity | 09:22 |
sil2100 | Since I've been asked to get things merged in and auto-releasing this week | 09:23 |
sil2100 | pstolowski: thanks! | 09:23 |
sil2100 | brb | 09:23 |
mhr3 | sil2100, pstolowski, it's not committed yet, andyrock started to work on a branch, but it's not done yet | 09:24 |
pstolowski | mhr3: thanks for clarification | 09:25 |
tsdgeos | Saviq: i see why we have the get() thing in the proxymodel | 09:26 |
tsdgeos | to mimic the QML ListModel element | 09:26 |
Saviq | tsdgeos, is that a good reason? | 09:27 |
tsdgeos | well there is the big problem in that the QML ListModel and QAbstractListModel stuff doesn't have the same API | 09:28 |
tsdgeos | even both are valid "model" things | 09:28 |
tsdgeos | like pete-woods was complaining in #ubuntu-touch one has count and the other has not | 09:28 |
Saviq | yeah, and we do mimic that as well in the proxy | 09:29 |
tsdgeos | so i guess the intention was to make the proxy have an api closer to QML ListModel | 09:29 |
Saviq | yeah, but then that causes issues when other QALMs don't do that | 09:29 |
tsdgeos | right | 09:29 |
Saviq | when you expected count to be there | 09:29 |
Saviq | but there is not | 09:29 |
tsdgeos | it's a bit of a mess tbh | 09:29 |
Saviq | indeed | 09:29 |
tsdgeos | anyway i'll see who is using that get() | 09:30 |
Saviq | ListModel should have the exact same api QALM has | 09:30 |
tsdgeos | i guess is too late for that | 09:33 |
tsdgeos | hmmm | 09:35 |
tsdgeos | Saviq: can you look at updateLensesViewType in Dash.qml | 09:35 |
tsdgeos | i am wondering how that works | 09:35 |
Saviq | tsdgeos, it doesn't | 09:35 |
tsdgeos | ok that makes more sense :D | 09:36 |
Saviq | tsdgeos, I have a branch that makes it work | 09:36 |
Saviq | but then it crashes somewhere in glib | 09:36 |
tsdgeos | i was wondering how doing anything to a local var made any change globally | 09:36 |
Saviq | tsdgeos, it's supposed to tell lenses "you're visible / you're hidden / home is visible" | 09:36 |
Saviq | for them to react accordingly (i.e. update their models) | 09:37 |
tsdgeos | ook | 09:38 |
Saviq | tsdgeos, I can give you my branch if you want ;) | 09:38 |
tsdgeos | Saviq: well, i only got there because i was having a look at the get() users | 09:39 |
tsdgeos | and that uses it | 09:39 |
Saviq | yeah I know | 09:39 |
mhr3 | that call is ignored in smart scopes, so i'd say forget about it | 09:39 |
mhr3 | Saviq, tsdgeos ^ | 09:39 |
Saviq | mhr3, yeah I know, didn't want to spend time on it | 09:39 |
Saviq | mhr3, is there a new way to tell scopes "you're displayed"? | 09:40 |
Saviq | mhr3, so that they can update their models if needed? | 09:40 |
mhr3 | Saviq, send them a search() request | 09:40 |
Saviq | mhr3, right ;d | 09:40 |
Saviq | simples :D | 09:40 |
* Saviq likes simples | 09:40 | |
mhr3 | Saviq, btw who will work on the shell part of the update? | 09:41 |
Saviq | mhr3, probable me & greyback | 09:42 |
Saviq | mhr3, but it's you guys that will take over the QML bindings and update them - we need to talk about the APIs at some point | 09:43 |
mhr3 | Saviq, cool, just asking cause we're pretty much ready for it to happen, don't expect any more changes to unitycore | 09:43 |
mhr3 | Saviq, that was my understanding, you surprised when you said you'll do it this time :) | 09:44 |
Saviq | grr | 09:44 |
mhr3 | Saviq, that was my understanding, you surprised when you said you'll do it this time :) | 09:44 |
Saviq | mhr3, that's not the "shell part" though, is it ;) | 09:45 |
mhr3 | oh, so that's the "but" | 09:45 |
Saviq | mhr3, we'll need a primer on the new Unity APIs | 09:45 |
Saviq | s/Unity/Scopes/ | 09:45 |
Saviq | and as I understand it pstolowski already has a working example | 09:46 |
Saviq | so that will probably be a base for the new QML bindings | 09:46 |
Saviq | stuff from the previous implementation (unity-2d / lp:unity/phablet) should only be carried over carefully | 09:46 |
mhr3 | Saviq, 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 unitycore | 09:47 |
Saviq | mhr3, k | 09:48 |
Saviq | if there's not so much changes | 09:48 |
tsdgeos | Saviq: https://code.launchpad.net/~aacid/unity/fix_spacing/+merge/162947 | 09:49 |
mhr3 | pstolowski, or do you think it'll be simpler to go without unitycore right away ^? | 09:49 |
tsdgeos | Saviq: and dee-qt has a get(row) too | 09:51 |
tsdgeos | may want to have a look at that too later | 09:52 |
tsdgeos | or not | 09:52 |
pstolowski | Saviq: 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 model | 09:53 |
Saviq | tsdgeos, right back at you https://code.launchpad.net/~saviq/unity/phablet.newlines-at-end-check/+merge/162948 | 09:54 |
Saviq | pstolowski, got it | 09:54 |
pstolowski | mhr3, Saviq: +1 for keeping unitycore for now | 09:56 |
Saviq | http://pastebin.ubuntu.com/5644194/ oO | 09:59 |
tsdgeos | lol | 09:59 |
tsdgeos | -0 != +0 | 10:00 |
tsdgeos | :D | 10:00 |
* tsdgeos sees how the PhD in Math appropiately leaves the room | 10:00 | |
Saviq | stupd JS | 10:01 |
Saviq | tsdgeos, lol | 10:02 |
Saviq | tsdgeos, "0" != 0 | 10:02 |
tsdgeos | true that | 10:02 |
mhr3 | Saviq, 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 |
greyback | Playing with Mir is fun, occasionally you screw up and lock yourself out of your whole machine :) | 10:03 |
Saviq | mhr3, we've had some issues, but current trunk should work | 10:03 |
Saviq | greyback, ;) | 10:03 |
mhr3 | Saviq, hm, it annoyed me too much and i created a jhbuild moduleset to build it all :) | 10:04 |
Saviq | mhr3, yeah, we'll be rid of the ./build_unity script soon | 10:04 |
greyback | Saviq: 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 |
Saviq | tbh now that People lens is out for now... maybe we should just ignore it | 10:05 |
mhr3 | Saviq, yey! it's a mess :P | 10:05 |
Saviq | greyback, yeah, for sure | 10:05 |
greyback | Saviq: ok good. Proceeding.. | 10:05 |
Saviq | greyback, maybe two separate executables? | 10:05 |
greyback | Saviq: let me see. I'm uncertain yet how big the if{} blocks will end up being. | 10:06 |
Saviq | greyback, k | 10:07 |
Saviq | greyback, would be useful to be able to run shell-in-mir from your desktop, should that work? | 10:07 |
Saviq | greyback, or do you need to be on a VT to run it? | 10:07 |
greyback | Saviq: I think VT is needed, but I agree that would be nice. I'll look into it | 10:08 |
Saviq | greyback, should be a case of telling Mir which VT to use, no | 10:08 |
Saviq | ? | 10:08 |
greyback | Saviq: probably yes. But I need to learn how | 10:09 |
tvoss | greyback, you want to talk to alf or raof for those questions | 10:17 |
greyback | tvoss: will do | 10:18 |
tsdgeos | did we lose the fake music player? | 10:20 |
Saviq | tsdgeos, looks like it | 10:21 |
Saviq | ;( you can't pass JS objects from QML to C++ | 10:23 |
Saviq | as in {name: "value"} | 10:23 |
tsdgeos | not as a variantmap? | 10:26 |
Saviq | tsdgeos, nope, it comes back as QObject(0x0) | 10:40 |
Saviq | tsdgeos, it probably only lives in the JSEngine | 10:40 |
tsdgeos | Saviq: but a variantmap is not a QObject | 10:40 |
Saviq | tsdgeos, hmm, checking | 10:40 |
tsdgeos | i mean if the function in c++ accepts a QVariantMap | 10:40 |
Saviq | yeah, checking | 10:40 |
Saviq | tsdgeos, "Unknown method parameter type: QVariantMap*" | 10:42 |
Saviq | yeah | 10:43 |
Saviq | tsdgeos, works | 10:43 |
Saviq | not via pointer | 10:43 |
tsdgeos | nice :-) | 10:44 |
tsdgeos | Saviq: 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 |
Saviq | nice | 10:45 |
tsdgeos | the place is in passing down the selected video when clicking the video | 10:45 |
tsdgeos | i guess we can just make the "clicked" signal pass up the needed info and be done? | 10:45 |
Saviq | probably | 10:46 |
* Saviq bbl | 10:46 | |
Mirv | Trevinho: could you define the regression potentials for the raring bamf SRU bug fixes? | 11:03 |
=== _salem is now known as salem_ | ||
tsdgeos | Saviq: so https://code.launchpad.net/~aacid/unity/remove_qsortfilterproxymodelqml_get/+merge/162955 is what i got | 11:40 |
tsdgeos | opinions? | 11:40 |
=== salem_ is now known as _salem | ||
=== _salem is now known as salem_ | ||
Saviq | tsdgeos, just so we're clear, that function did not do nothing | 11:57 |
Saviq | tsdgeos, lens was a pointer to the actual lens object | 11:57 |
Saviq | tsdgeos, and so setting viewType on it would set it there | 11:57 |
tsdgeos | Saviq: you sure? | 11:58 |
Saviq | tsdgeos, yes | 11:58 |
tsdgeos | filteredLenses is a SortFilterProxyModel | 11:58 |
tsdgeos | so the get() there is the QVariantMap one | 11:58 |
tsdgeos | lens can't be a Lens* | 11:58 |
Saviq | tsdgeos, it was working, that I'm sure of ;) | 11:58 |
tsdgeos | ok | 11:58 |
tsdgeos | i'll have a look later | 11:58 |
tsdgeos | lunch ready | 11:58 |
* greyback agrees, goes for lunch | 11:59 | |
=== greyback is now known as greyback|lunch | ||
smspillaz | slangasek: should I reject the proposal then? Or did you want to take bits of it and propose them ? | 12:00 |
mhr3 | Saviq, does shell support the annotated icons already? | 12:16 |
Saviq | mhr3, if you mean those with prices on them - no | 12:16 |
mhr3 | ie the ones shopping uses - an icon with a text+category icon overlay | 12:16 |
mhr3 | Saviq, and what's the plan there? we used gicon for those | 12:17 |
Saviq | mhr3, we can do gicon | 12:17 |
Saviq | mhr3, s/can do/are doing/ | 12:17 |
mhr3 | Saviq, well but the annotated icon is our custom thing that just implements gicon interface | 12:18 |
mhr3 | i'm just wondering how does that into the qml-only world | 12:18 |
mhr3 | fit into* | 12:18 |
Saviq | mhr3, I expect two icon uris (or names) - one for the actual icon, one for the overlay | 12:19 |
Saviq | mhr3, and we overlay them in the shell | 12:19 |
mhr3 | yep, that's how it works :) | 12:19 |
Saviq | mhr3, so if you pass as those two uris, we're fine - we just need to handle it over here | 12:20 |
Saviq | s/as/us/ | 12:20 |
mhr3 | ok, so you don't care about the actual serialization format, which makes it our problem | 12:21 |
Saviq | mhr3, 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 |
mhr3 | hmm, we didn't really do it based on the renderer, might think about that | 12:24 |
Saviq | mhr3, yeah, so for me that's a different renderer type | 12:24 |
Saviq | mhr3, but | 12:24 |
Saviq | mhr3, it might be a generic thing, too | 12:25 |
Saviq | mhr3, i.e. "if there's a price and an icon, overlay a price ribbon" | 12:25 |
Saviq | if we deem it common enough | 12:25 |
mhr3 | yea, that's what we have now, and therefore i'm not liking the less generic approach | 12:27 |
Saviq | mhr3, it just depends - if we're to support that in all of the renderers, then we should keep it generic | 12:29 |
Saviq | mhr3, but if it's only there in 30% of them, then requesting a "*WithRibbon" renderer might make more sense | 12:29 |
Saviq | mhr3, I'm generally of the opinion that there should be as little "generic" things as possible | 12:30 |
Saviq | already we have image-only renderers (video / music carousels) | 12:30 |
Saviq | mhr3, and looking at places scope we might have some text-only ones | 12:31 |
Saviq | so that really suggests to me the only really generic thing is the uri for the item | 12:31 |
Saviq | as the identifier | 12:31 |
mhr3 | but that also suggests that the results scope gives you should be more tied to the category renderer and i'm not sure i like that | 12:32 |
Saviq | there's a compromise to be had, that's for sure | 12:33 |
Saviq | but we need to define a list of fields per-category renderer anyway | 12:33 |
Saviq | obviously there's a worry "what if the scope does not support that data?" | 12:34 |
mhr3 | indeed | 12:34 |
Saviq | so what can we do... | 12:35 |
Saviq | required and optional fields? | 12:35 |
Saviq | so if a scope requests a certain renderer for a category that requires field A, B and C, but the scope only supports A and B | 12:35 |
Saviq | will we just leave the category out? | 12:36 |
Saviq | we can't for the life of us come up with all the possible fields | 12:36 |
mhr3 | are the fields really required? can't we have a reasonable default? | 12:36 |
Saviq | depends on the renderer | 12:36 |
Saviq | but what would be the default name for a contact? | 12:37 |
Saviq | I 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 |
Saviq | when we want to support something new, but because none of the scopes know about it, they won't support it | 12:39 |
Saviq | truth is it's like that either way | 12:39 |
mhr3 | yea, i see your point | 12:39 |
Saviq | so if we define a list of supported fields that we don't use initially | 12:39 |
Saviq | scope authors might implement it just because they can | 12:40 |
Saviq | not necessarily looking at the current renderer implementation | 12:40 |
Saviq | but how do we come up with that list | 12:40 |
mhr3 | i don't think that will ever be the case, you can't forsee the future | 12:40 |
Saviq | sure, we might add to the list | 12:40 |
mhr3 | but clearly the schema needs to be as dynamic as possible | 12:40 |
=== greyback|lunch is now known as greyback | ||
Saviq | yeah, that's for sure | 12:41 |
mhr3 | but that means that renderers should implement the "oh this field is missing, let's ignore this result" | 12:41 |
Saviq | you're thinking per-result... that could potentially work | 12:42 |
Saviq | and the master scope could be smart when aggregating | 12:43 |
Saviq | even if the first result didn't fill all the required fields | 12:43 |
Saviq | there might be another one that will provide it | 12:43 |
Saviq | but then... we might end up with a required-per-scope (like the price) | 12:43 |
Saviq | and required-once (like the contact name) | 12:44 |
Saviq | and optional (like the avatar) | 12:44 |
Saviq | that gets complicated... | 12:44 |
mhr3 | indeed | 12:44 |
Saviq | tell me again, can scopes define categories or is it just the master scope? | 12:45 |
mhr3 | they can | 12:45 |
Saviq | and if the child scopes can, who decides on the renderer? | 12:45 |
mhr3 | scope that's on top | 12:46 |
Saviq | so the one that's currently rendered, basically | 12:46 |
mhr3 | yep | 12:46 |
kgunn | mornin' guys | 12:46 |
Saviq | most usually that's going to be the master scope | 12:46 |
Saviq | but when you dig in | 12:46 |
mhr3 | it might change... yep | 12:46 |
Saviq | k | 12:46 |
Saviq | then it has to be dynamic | 12:47 |
Saviq | because if a scope author says he wants renderer A for a category | 12:47 |
Saviq | but a master scope says they want to use C now | 12:47 |
Saviq | even though initially they used B | 12:47 |
Saviq | yikes | 12:47 |
Saviq | hey kgunn | 12:47 |
mhr3 | or simply the binding can try to give it to you in a more specialized way, yet the scopes will have to be more generic | 12:47 |
Saviq | yeah the scopes can't really assume what data they give up | 12:48 |
Saviq | btw shouldn't default values be per-scope... | 12:49 |
Saviq | maybe not | 12:49 |
Saviq | or it probably depends on the field | 12:49 |
Saviq | some of them might be shell-side (default avatar) | 12:49 |
Saviq | other might be scope-side | 12:50 |
Saviq | so what we have now | 12:50 |
kgunn | greyback: got it all running on an arm device now :) ? | 12:55 |
greyback | kgunn: not yet. I want to improve the desktop experience a bit more first. But hope to attack it today | 12:56 |
kgunn | greyback: voss shared a video of it w cursor...pretty sweet | 12:57 |
kgunn | greyback: just hoping the snappy-ness stays on arm (vs intel desktop) | 12:57 |
greyback | kgunn: and much easier to use when you know where the cursor is :) | 12:57 |
greyback | kgunn: yep, me too. | 12:57 |
=== cyphermox_ is now known as cyphermox | ||
dandrader | tsdgeos, can you review this one? https://code.launchpad.net/~dandrader/unity/phablet_fixUtilsPluginTests/+merge/162789 | 13:03 |
tsdgeos | sure | 13:03 |
tsdgeos | i'll have a look | 13:03 |
tsdgeos | Saviq: are you sure lens in that function is the lens* ? | 13:05 |
tsdgeos | Saviq: i reverted all the change and added a console.log(lens.viewType); before setting it | 13:06 |
tsdgeos | and it says undefined | 13:06 |
Saviq | tsdgeos, add a qDebug() in Lens::setViewType | 13:06 |
Saviq | tsdgeos, and see if it's ever set | 13:06 |
Saviq | and I'll look at my branch in the mean time | 13:06 |
tsdgeos | Saviq: not called here | 13:07 |
Saviq | tsdgeos, maybe that's why it doesn't crash and my version does | 13:08 |
tsdgeos | maybe :-) | 13:08 |
tsdgeos | Saviq: so you prefer me to remove the qml function anyway? | 13:08 |
Saviq | tsdgeos, I dunno what I prefer in that case... | 13:09 |
Saviq | but it's going away anyway | 13:09 |
Saviq | and doesn't do nothing for us at the moment | 13:09 |
Saviq | tsdgeos, so yeah, makes sense to get rid of it altogether | 13:09 |
tsdgeos | oka | 13:10 |
dandrader | Saviq, ui tests do not go into the "test" make target (through add_test()), right? | 13:12 |
Saviq | dandrader, no | 13:12 |
dandrader | they only go to "alltests" | 13:12 |
Saviq | dandrader, yup | 13:12 |
dandrader | ok | 13:12 |
Saviq | dandrader, qmltest_DEFAULT_NO_ADD_TEST is there to make sure of that | 13:13 |
dandrader | Saviq, is alltests being run by Jenkins at the moment? | 13:13 |
Saviq | dandrader, not directly | 13:13 |
Saviq | dandrader, make test is done during package build, qmltests are run in qmluitests, autopilot is run in autopilot | 13:13 |
Saviq | dandrader, so all of them should run | 13:14 |
dandrader | Saviq, because of this: https://code.launchpad.net/~dandrader/unity/phablet_edgeDragGesture/+merge/162883 | 13:15 |
dandrader | It's a test that requires UI stuff but it's not in qmluitests | 13:15 |
dandrader | it's part of alltests | 13:15 |
Saviq | dandrader, why isn't in qmluitests? | 13:15 |
dandrader | Saviq, because it's in tests/plugins | 13:16 |
Saviq | yeah I see now | 13:16 |
dandrader | instead of tests/qmltests | 13:16 |
Saviq | dandrader, so we can move the qmltests target up | 13:16 |
Saviq | dandrader, so that you can add the test from tests/plugins to qmltests as well | 13:16 |
Saviq | there's going to be more of that | 13:17 |
dandrader | ok | 13:17 |
tsdgeos | dandrader: it seems that alltests in your branch is not running QLimitProxyModelTest? | 13:19 |
tsdgeos | can you verify that? | 13:20 |
tsdgeos | i mean the current one doesn't either | 13:20 |
tsdgeos | but if we're fixing it | 13:20 |
tsdgeos | we may as well fix it "more fixed" | 13:20 |
dandrader | tsdgeos, will check | 13:20 |
tsdgeos | :D | 13:20 |
sil2100 | fginther: ping! | 13:21 |
dandrader | Saviq, so "alltests" is never run by CI? | 13:21 |
Saviq | dandrader, no | 13:21 |
Saviq | dandrader, not directly | 13:21 |
fginther | sil2100, pong | 13:21 |
Saviq | dandrader, since we need to differentiate which tests run where | 13:21 |
sil2100 | fginther: who's responsible for the jenkins generic AP jobs? | 13:22 |
sil2100 | Since I think something is BADLY broken with those currently | 13:22 |
fginther | sil2100, veebers and I maintain it | 13:22 |
sil2100 | fginther: ok, do you have a moment? | 13:23 |
fginther | yes | 13:23 |
sil2100 | fginther: since here's what's going on: | 13:23 |
sil2100 | fginther: they say they're adding the given PPA, but they don't - all generic tests are being run on unity from the archives | 13:23 |
sil2100 | fginther: not even once is unity used (in the unity case) from the given PPA | 13:23 |
sil2100 | fginther: let me paste you some things in priv | 13:24 |
dandrader | tsdgeos, QLimitProxyModelTest does get executed. but it happens to be the very last one | 13:25 |
tsdgeos | really? | 13:25 |
* tsdgeos can't grep | 13:25 | |
tsdgeos | let me run it again :D | 13:25 |
dandrader | tsdgeos, at least that's what happened when I issued "make alltests" | 13:25 |
sil2100 | fginther: 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 |
sil2100 | But on the other hand, it was dist-upgrading before adding the PPA's | 13:26 |
sil2100 | So no, scratch that | 13:26 |
fginther | sil2100, I'll begin investigating, might have some questions for you soon | 13:28 |
sil2100 | fginther: big thanks! | 13:28 |
tsdgeos | wow | 13:28 |
tsdgeos | qml-phone-shell: ../../src/xcb_conn.c:180: write_vec: L’asserció «!c->out.queue_len» ha fallat. | 13:28 |
tsdgeos | Aborted | 13:28 |
tsdgeos | asserting in xcb_conn.c is bad :D | 13:30 |
Saviq | greyback, standup? | 13:31 |
greyback | Saviq: coming | 13:32 |
greyback | Saviq: cannot hear me? | 13:36 |
greyback | Saviq: let me fix it | 13:37 |
tsdgeos | Saviq: https://code.launchpad.net/~aacid/unity/remove_qsortfilterproxymodelqml_get/+merge/162955 updated | 13:53 |
Saviq | tsdgeos, cheers | 13:53 |
fginther | sil2100, ping | 14:10 |
sil2100 | fginther: pong! How's it going? | 14:16 |
fginther | sil2100, 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 |
sil2100 | fginther: installing? Not sure, I just remember that we didn't want the dist-upgrade back then, but nothing else | 14:20 |
fginther | sil2100, 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 |
sil2100 | fginther: 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 |
fginther | sil2100, I'll ask him about it when he comes online, for now, I'll try a 'quickish' fix | 14:24 |
sil2100 | fginther: thanks a lot! | 14:36 |
sil2100 | :) | 14:36 |
slangasek | smspillaz: I think it's a reject... I don't think there's a subset worth proposing | 14:37 |
Saviq | hmm we've lost some 18 tests | 14:40 |
Saviq | autopilot disabled still? | 14:40 |
tsdgeos | yes | 14:51 |
tsdgeos | mzanetti still on holiday, no? | 14:51 |
Saviq | tsdgeos, yeah, back Monday | 14:51 |
tsdgeos | guess we'll need to wait for him | 14:52 |
tsdgeos | yuhu 5.0.2 | 14:56 |
tsdgeos | Mirv: does it have the xcb thing or didn't have time for that? | 14:56 |
fginther | sil2100, is it safe to restart those autopilot tests? | 14:58 |
Mirv | tsdgeos: 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 |
tsdgeos | okidoki | 14:59 |
=== dandrader is now known as dandrader|afk | ||
=== dandrader|afk is now known as dandrader | ||
dandrader | Saviq, it seems there's something wrong with armhf build environment | 15:20 |
dandrader | https://jenkins.qa.ubuntu.com/job/unity-phablet-raring-armhf-ci/749/console | 15: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 |
dandrader | that comest from qtbase5-dev, which is listed in the build depends | 15:21 |
dandrader | well, I will trigger a rebuild just in case | 15:22 |
kgunn | mterry: ping | 15:30 |
tsdgeos | dandrader: you sure it's not private? | 15:34 |
tsdgeos | nope | 15:34 |
tsdgeos | :D | 15:34 |
tsdgeos | dandrader: wait that is using 5.0.2 already maybe Mirv moved it around | 15:34 |
* tsdgeos installs 5.0.2 in the desktop | 15:35 | |
smspillaz | slangasek: thanks, done | 15:35 |
dandrader | tsdgeos, would a micro version update cause such change? (missing header) | 15:36 |
tsdgeos | yep | 15:36 |
tsdgeos | according to Mirv's blog they've been working on shuffling things around | 15:36 |
tsdgeos | or that0s what i understood | 15:36 |
tsdgeos | dandrader: yep it moved | 15:40 |
tsdgeos | tsdgeos_work@xps:~/foo$ dpkg -S qplatformnativeinterface.h | 15:40 |
tsdgeos | qtbase5-private-dev: /usr/include/qt5/QtGui/5.0.2/QtGui/qpa/qplatformnativeinterface.h | 15:40 |
tsdgeos | which makes sense | 15:40 |
tsdgeos | since qpa is private | 15:41 |
tsdgeos | it was a bug | 15:41 |
dandrader | tsdgeos, great. thanks for finding that out | 15:42 |
tsdgeos | no worries | 15:45 |
=== jhodapp is now known as jhodapp|lunch | ||
kgunn | greyback: ping | 15:54 |
greyback | kgunn: pong | 15:54 |
fginther | sil2100, I think I found the problem, testing a fix now | 16:01 |
tsdgeos | Saviq: https://codereview.qt-project.org/#change,55751 | 16:08 |
dandrader | tsdgeos, what the heck.. https://jenkins.qa.ubuntu.com/job/unity-phablet-raring-i386-ci/755/console | 16:17 |
dandrader | sergiusens, can you help out with a jenkins issue? | 16:19 |
sergiusens | dandrader: what about? | 16:21 |
dandrader | previously the armhf build was complaining that it didn't find qplatformnativeinterface.h | 16:21 |
dandrader | it was moved between qt 5.0.1 and 5.0.2 from qtbase5-dev to qtbase5-private-dev | 16:22 |
dandrader | so i added qtbase5-private-dev to the build dependencies | 16:22 |
dandrader | but now it got this: https://jenkins.qa.ubuntu.com/job/unity-phablet-raring-i386-ci/755/console | 16:22 |
dandrader | sergiusens, ^ | 16:22 |
sergiusens | dandrader: without looking much I guess you are missing a comma ',' in the Build depends in debian/control | 16:24 |
dandrader | :) | 16:24 |
dandrader | right. as usual the weirdest errors are due to the most dumb mistakes | 16:25 |
dandrader | sergiusens, sorry for the noise :) | 16:25 |
sergiusens | dandrader: np, glad it was that and we didn't have to go into debug mode :-) | 16:26 |
fginther | sil2100, the right packages from the ppa are getting installed now. I've restarted to attempt to get a clean run | 16:33 |
greyback | kgunn: just to warn you, tomorrow is a national holiday in Germany, so I'll be off for that | 16:52 |
kgunn | greyback: dang...wish i was in germany. enjoy | 16:53 |
kgunn | mterry: ping | 16:55 |
dandrader | sergiusens, this time it doesn't seem to be my fault: http://s-jenkins:8080/job/unity-phablet-qmluitests/805/console | 17:03 |
sergiusens | dandrader: going for lunch, will check soon | 17:06 |
dandrader | sergiusens, me too (going for lunch) | 17:07 |
=== dandrader is now known as dandrader|afk | ||
=== jhodapp|lunch is now known as jhodapp | ||
mterry | kgunn, pong | 17:50 |
mterry | kgunn, sorry, had a midday thing to deal with. what's up? | 17:51 |
mterry | kgunn, I'll be popping on and off IRC, as I'm doing some lightdm testing. but poke me if you need something | 18:10 |
kgunn | mterry: i'm back now | 18:11 |
kgunn | was curious, launcher hint...is that actually on the greeter? | 18:11 |
mterry | kgunn, not yet. mzanetti is supposed to be working on that this month | 18:12 |
kgunn | mterry: thanks...couldn't recall if we resolved to have it reside w/ launcher or greeter | 18:13 |
kgunn | mterry: and i signed us up for it to land by end of month | 18:13 |
kgunn | should be do'able tho | 18:13 |
mterry | kgunn, I think so; right, mzanetti? | 18:14 |
kgunn | mterry: i think he's off | 18:15 |
kgunn | like 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!