[03:53] <Ivanx507> hello :P
[03:54] <Ivanx507> Anyone here tested ubuntu-sdk in kubuntu?
[03:54] <Ivanx507> i like more plasma 5 but i wanna make a great scope
[07:09] <mrqtros> Hi all
[07:09] <mrqtros> alecu ping
[08:02] <mrqtros> alecu ping
[11:15] <alecu> mrqtros: pong
[11:33] <mrqtros> alecu hi there! Seems that my scope causes dash crash (sounds funny)
[11:34] <mrqtros> alecu I want to discuss it with someone from dash's team dunno anyone from it
[11:36] <popey> mrqtros: well done!  😃
[11:38] <alecu> mrqtros: saw your email, it's about the Academy scope, right?
[11:38] <mrqtros> alecu yes
[11:38] <mrqtros> popey thanks :D
[11:39] <alecu> mrqtros: I think pawel is the right person to handle that
[11:39] <alecu> mrqtros: saw he responded to your email
[11:39] <alecu> mrqtros: let me ping him
[11:40] <mrqtros> alecu thanks!)
[11:40] <mrqtros> alecu I am worrying about this because of participation in contest (Scope Showdown)
[11:44] <alecu> mrqtros: here's pstolowski
[11:44] <alecu> pstolowski: thanks for your help
[11:45] <mrqtros> pstolowski hello :)
[11:45] <pstolowski> mrqtros, hi!
[11:46] <mrqtros> pstolowski first of all - thanks for your reply in email
[11:47] <mrqtros> pstolowski does anyone else have such issue? When a fix will be released?
[11:48] <mrqtros> pstolowski is there any workaround? I am worrying because of participation in scope showdown
[11:48] <pstolowski> i have just received a couple of reports this morning and still investigating
[11:49] <pstolowski> mrqtros, ^
[11:50] <pstolowski> mrqtros, i've a test cases with a dozen of stress tests and cannot make it crash. still unsure about root cause.
[11:50] <mrqtros> Can you simply run my scope?
[11:51] <pstolowski> mrqtros, good idea. do you have a click package for the phone by any chance?
[11:52] <mrqtros> pstolowski yes, w8 a little
[11:52] <mrqtros> pstolowski https://yadi.sk/d/p4bmL_Bgos74C
[11:53] <pstolowski> mrqtros, thanks, trying
[11:53] <mrqtros> pstolowski scenario is - open it, w8 for full download of 4 sources, then find something (for example "Haskell", 2 results), then hit back (or clear search query)
[11:54] <mrqtros> In most cases this causes dash crash on phone
[11:56] <pstolowski> mrqtros, right. reproduced.
[11:56] <mrqtros> pstolowski do you have logs or something like that?
[11:57] <mrqtros> pstolowski is it bug in scope or in Dash itself?
[12:04] <pstolowski> mrqtros, question - do you call register_category for all the categories always, even if they will have no results (such as with Haskell example)?
[12:04] <mrqtros> pstolowski I think yes
[12:13] <mrqtros> pstolowski I shouldn't?
[12:13] <pstolowski> mrqtros, no, that's absolutely fine, just trying to recreate the scenario
[12:14] <mrqtros> pstolowski source code is open, feel free to use it: https://github.com/QtRoS/courseexplorer/
[13:04] <mrqtros> pstolowski any news? :)
[13:11] <pstolowski> mrqtros, no, sorry, still investigating
[13:12] <pstolowski> mrqtros, your scope is almost certainly innocent
[13:17] <mrqtros> pstolowski nice to hear that)
[15:03] <mrqtros> pstolowski how is it going? Can I help?
[15:06] <pstolowski> mrqtros, had a lunch break, so not much new. my stress tests https://code.launchpad.net/~stolowski/unity-scopes-shell/model-update-crashfix/+merge/286069 don't trigger the problem
[15:07] <pstolowski> mrqtros, would it be much work for you to modify your scope to push all results into a single category all the time, and see if this still reproduces it?
[15:09] <mrqtros> pstolowski not so much, but I can build click in evening only
[15:10] <pstolowski> mrqtros, i see. i don't need this click, just let me know if single category makes a difference
[15:10] <mrqtros> Ah, ok, can test it in evening, ~ 19:00 utc, is it ok?
[15:11] <mrqtros> pstolowski what kind of error do you get?
[15:11] <mrqtros> pstolowski segfault?
[15:14] <pstolowski> mrqtros, yes
[15:15] <mrqtros> Seems that bug suggested by you (https://code.launchpad.net/~chihchun/unity-scopes-shell/lp1535377/+merge/285123) is really affects
[15:15] <mrqtros> pstolowski, ^
[15:15] <pstolowski> mrqtros, yes, i see same stacktrace
[15:15] <mrqtros> pstolowski so what are you trying to find out?
[15:15] <pstolowski> mrqtros, but i don't understand the root cause  and don't agree with proposed fix
[15:16] <mrqtros> I also do not like this fix (to be honest)
[15:16] <pstolowski> mrqtros, i'm trying to find a way for reproducing it programatically in my tests
[15:16] <mrqtros> pstolowski no much clear
[15:19] <mrqtros> pstolowski these methods beginInsertRows, beginMoveRows and so on are quite hard to understand
[15:20] <mrqtros> pstolowski let me look myself at model
[15:25] <pstolowski> mrqtros, ok. btw, your category renderers have 'subtitle' mappings, but there is no subtitle attribute in results (shouldn't do any harm, except for some warnings from the shell i guess)
[15:27] <mrqtros> pstolowski yes, got it, will fix
[15:35] <faenil> ahayzen: yo
[15:35] <ahayzen> faenil, hey what's up
[15:35] <faenil> ahayzen: any news about music app?
[15:36] <ahayzen> faenil, define news :-) .. i've nearly got the convergence stuff working
[15:36] <ahayzen> at Uni at the moment, should hopefully be able to get it in a state tonight to push
[15:36] <faenil> ahayzen: great to hear, keep me updated :)
[15:36] <ahayzen> faenil, will do :-)
[15:37] <ahayzen> faenil, managed to find a way of making the tabs not go fullwidth :-)
[15:37] <faenil> cool :)
[15:39] <mrqtros> pstolowski seems that you should add test where some item is changing his position
[15:39] <mrqtros> pstolowski its*
[15:39] <mrqtros> pstolowski just shuffle input
[15:42] <pstolowski> mrqtros, i've plenty of such tests
[15:44] <mrqtros> pstolowski what is the point of moving results? Why not just add new instead of old?
[15:45] <pstolowski> mrqtros, should be slightly more effective from qml point of view; less flickering
[15:50] <mrqtros> pstolowski what about efficiency and CPU cycles? I think that such optimization has a lot of bad effects
[15:51] <mrqtros> pstolowski I never seen such things before, but I am working with Qt 6-7 years
[15:52] <mrqtros> What is the idea of this line of code: m_results.move(oldPos, row); ?
[15:53] <mrqtros> What if m_results do not have such amount of items?
[15:56] <mrqtros> Sry, last question is wrong
[15:57] <mrqtros> pstolowski got it! This line is harmful anyway: m_results.move(oldPos, row);
[15:57] <mrqtros> pstolowski what if 'row' is bigger than previous m_result.count()
[15:58] <pstolowski> mrqtros, that's the point, it shouldn't be bigger. if it is bigger, then the problem is somewhere else i think
[15:59] <mrqtros> pstolowski in my case it is bigger - empty search returns ~400 results, while search with query can return a little, for example 2
[15:59] <pstolowski> mrqtros, of course. please read my comment to the MP
[16:00] <pstolowski> mrqtros, that's totally fine. the outer loop shouldn't let it go out of bounds as it's processing the rows
[16:01] <pstolowski> mrqtros, plus i've tests that start with 2000 results and go down to 10 results on next search etc.
[16:01] <mrqtros> pstolowski try from 10 to 2000
[16:01] <mrqtros> pstolowski with matching items in different positions
[16:02] <pstolowski> mrqtros, i've 10, then 200
[16:02] <mrqtros> pstolowski you can try my results as example, check indexes of "Haskell" course in result sets
[16:05] <mrqtros> pstolowski my input files are available in cache directory
[16:05] <mrqtros> pstolowski you can reproduce it easily
[16:05] <mrqtros> pstolowski I will be online in evening
[16:05] <mrqtros> pstolowski thanks a lot!
[20:42] <josharenson> When I write a simple hello world app in the SDK, it deploys just fine on my device, but when I use, almost, the same cmake file for my own app, I get this error http://pastebin.ubuntu.com/15084110/
[20:57] <ahayzen> faenil, how much do you know about the headers ? or is that Tim's area?
[20:57] <faenil> ahayzen: yep, timp's
[20:57] <ahayzen> ok :-)
[20:57] <faenil> :)
[20:58]  * faenil should really get some experience as "user" of the sdk 
[20:58] <popey> yes
[20:58]  * faenil is however working at 9PM atm...
[20:59] <ahayzen> timp, I've used PageHeader in my Pages which are inside Tabs .. which works nicely. However when i rotate my device and the tabs resize... i get the original header from the Tabs appear with like a transparent background
[20:59] <ahayzen> timp, is there a way for force this to be hidden?
[21:11]  * faenil is not in the SDK team, fwiw :D
[21:13] <ahayzen> faenil, you are a QML/Qt prototyper ?
[21:13] <faenil> ahayzen: yes, that is my role, although nowadays I help the SDK team develop the convergent components
[21:13] <ahayzen> faenil, awesome :-)
[21:14] <faenil> nowadays == last 8months :D
[21:15] <faenil> but I'm in the Design team, one of the few developers who act as the bridge between designers and the engineering teams, basically :)
[21:15] <faenil> (spoiler: we need more bridges :P)
[21:17] <ahayzen> faenil, hah :-)
[21:17] <faenil> :)
[22:09] <timp> ahayzen: ohh, I haven't been testing the PageHeader combined with Tabs a lot, because for the Tabs we'll have a new pattern
[22:09] <timp> ahayzen: what do you mean with the tabs resize?
[22:09] <ahayzen> timp, i'm workong on the convergence stuff
[22:09] <timp> the idea is that whenever you have a Page with a PageHeader in it, it automatically hides the old header. Even in landscape.
[22:10] <ahayzen> timp, so what i've managed todo is make the tabs take up say 2/3 width, by giving the page a PageHeader
[22:10] <timp> so maybe you ran into a UITK bug
[22:10] <ahayzen> timp, but when i rotate and then go back the header appears with no bg
[22:10] <ahayzen> then if i push anything to the stack and go back it is fine again
[22:10] <timp> I don't understand it. Do you have a screenshot?
[22:10] <ahayzen> timp, yeah give me a minute
[22:11] <timp> ok
[22:11] <ahayzen> timp, also i've been mapping the PageHeader stuff to things like page.head.backAction (to support legacy things) as i'm migrating things over to the new PageHeader
[22:11] <ahayzen> timp, where is the action for the tab drawer? should it be in .backAction ? i cannot see it
[22:12] <timp> ahayzen: in PageHeader? For that, you can configure the whole PageHeader.leadingActionBar
[22:13] <ahayzen> timp, i've managed to get them working on the PageHeader, what i mean is, how can i hijack the action from the tabs ?
[22:13] <timp> ahayzen: so set PageHeader.leadingActionBar.actions: [your, tab, actions]
[22:13] <ahayzen> (as in the navigation drawer thing)
[22:15] <ahayzen> timp, this is the bit of the 'old' header that can reappear after rotations https://drive.google.com/file/d/0B3XynHVKfrvMMWNMUmI0TFhxWVk/view?usp=sharing
[22:15] <timp> ahayzen: maybe I'm a bit slow today because I was sick last week ;) can you explicitly say what you want to accomplish?
[22:15] <timp> you want to trigger an action when the selected tab is changeD?
[22:16] <ahayzen> timp, i'm using the PageHeader thing, because i need the tabs not to be full width
[22:18] <ahayzen> timp, i have all the actions from the pages mapped correctly. Just have two issues. 1) I need to either make the navigation-menu action and overlay thing to switch tabs, or somehow extract the one from the tabs component ... 2) when i rotate i can get it to the state where the old header appears
[22:18] <timp> ahayzen: the old header appearing after going to landscape and back to portrait looks like a bug to me. Can you report it? If there is a test program to reproduce it, that would be great.
[22:18] <ahayzen> timp, yup i can do that
[22:18] <timp> thanks
[22:19] <ahayzen> timp, and the tab navigation thing (in the leading actions position on the old header) can i access that through the Tabs {} component? or should it be the Page.head.backAction ?
[22:19] <timp> so the bug will be for 2).
[22:19] <ahayzen> yup
[22:20] <timp> you cannot access the actions in the old header navigation overflow
[22:20] <ahayzen> but you can see it is there when the bug occurs :-) hehe
[22:21] <ahayzen> timp, where is the component that does that in the SDK ? I've found bits of it in the TabBarStyle, maybe i could just emulate it for now
[22:22] <ahayzen> or just make my own
[22:22] <timp> I still don't understand the problem
[22:22] <timp> ahayzen: it is in Themes/Ambiance/1.3/PageHeadStyle.qml
[22:22] <timp> ahayzen: basically it is this code http://pastebin.ubuntu.com/15086428/
[22:22] <ahayzen> i need the tabs navigation button to switch tabs, to be visible when using the PageHeader
[22:23] <ahayzen> ah cool!
[22:23] <timp> ahayzen: that OverflowPanel is the same as is used in ActionBar for the overflow button
[22:23] <ahayzen> hmm
[22:23] <timp> ahayzen: so if you give a list of actions to switch tabs to leadingActionBar.actions, that should give the same result
[22:23] <ahayzen> timp, sweet! i'll try that thanks :-)
[22:25] <timp> ahayzen: just set the Actions to set the selectedTabIndex
[22:25] <timp> if that is possible
[22:25] <ahayzen> i'll have a play about
[22:25] <ahayzen> timp, thanks for the pointers :-)
[22:26] <timp> no problem :)
[22:26]  * timp off