/srv/irclogs.ubuntu.com/2013/07/24/#ubuntu-app-devel.txt

sam113101hi guys00:06
ScottDyo00:06
sam113101I found a bug in the dash, I would like to fix it, am I in the right channel?00:06
ScottDBeats me.  I just wandered in here the other day.00:07
sam113101there are so many channels, ubuntu-devel, ubuntu-app-devel, ubuntu-desktop, etc.00:07
=== chriadam|away is now known as chriadam
Nimblemarlinc, what does that python script do exactly?01:05
=== sam113101 is now known as sam113101_afk
=== sam113101_afk is now known as sam113101
rigvedsam113101: which version of ubuntu did you find the bug in?04:45
=== wgrant_ is now known as wgrant
AulinHi07:27
marlincWell Nimble (was I was a sleep) that Python script talks to Unity to add a syncmenu entry07:27
Nimbleis syncmenu the menu with the cloud icon?07:27
Aulin*feeling ignored*07:27
marlincYep07:28
marlincHello Aulin :p07:28
AulinHi07:28
Nimbleis the API at all similar to the messaging menu?07:28
marlincI've got idea. I just ripped some of the code of Ubuntu One because I coudn't find any nice documentation07:29
marlincI've got no idea. I just ripped some of the code of Ubuntu One because I coudn't find any nice documentation07:29
Nimbleah07:30
Nimbleyeah, I was trying to figure out how to use the messaging menu07:31
Nimblethe code in the docs doesn't show anything07:31
NimbleI guess I should go over the code in pidgin-indicate or something07:31
marlincWell I guess. Because I don't really know how the syncmenu implementation works I also don't know if I implemented it in the right way07:32
marlincSo I'm looking for some input from people who do know how works because it appears that are not many people07:33
AulinIm a real programming n00b and scryptkiddie :-) i have some experiens with java & svg , is it easy to programm apps for ubuntu (touch)?07:35
Nimblevery07:36
Nimbleif you know javascript, QML is easy to learn07:36
Nimblethere's a guide on the ubuntu site for getting started, it's easy to follow07:37
AulinI programed with eclipse no idea what type of java07:37
Nimblewell, java and javascript are two different things07:37
AulinWhere is see the differnet?07:38
AulinBetween java and javascrypt07:38
marlincThey are two entirely different languages07:38
AulinHow i can se3 the different07:40
AulinAnd i programmed a little with light wite game engine on eclipse,07:41
marlinchttp://stackoverflow.com/a/24506807:41
Aulin@marlinc thaks, google is my friend, i know :-)07:42
marlincBut okay developing applications for Ubuntu is possible in all kinds of languages07:43
marlincYou make applications in C, C++, Java, Python, C#, JavaScript well almost any language07:44
marlincPersonally I would recommend a language you're familiar with. For me that would be Java07:44
Nimbleyeah, but Aulin was interested in ubuntu touch07:44
marlincAh well then it would JavaScript07:45
NimbleI know you can also do it in C++07:45
marlincYea I hope it will be possible to run Java on Ubuntu Touch07:45
dholbachgood morning07:45
marlincMorning!07:46
Nimblewell, if openjdk is built for arm07:46
Nimbleyou can just install it using apt-get07:46
marlincYea I hope its possible to set it as a dependency07:47
marlincThen I can try to make th Ubuntu version available for Ubuntu Touch07:47
Nimblethe current build of ubuntu touch puts my phone into a bootloop so I can't tell you if it's there07:47
NimbleL)07:47
Nimble:) *07:47
marlincThe're not many applications that use the syncmenu right? Its disappointing because I think that syncmenu is a strength of Ubuntu07:48
marlincAs far as I know there's no single distribution that has something like thay07:48
marlincThat*07:48
NimbleI really like the entire menu system in the top right07:50
=== Noskcaj10 is now known as Noskcaj
Nimbleit's a big part of the reason I use unity07:50
marlincIndeed07:50
NimbleI just wish the documentation was up to date07:50
AulinByeblook on ubuntu website07:50
marlincYep07:50
guschnerochiaro: can you review this? https://code.launchpad.net/~schwann/camera-app/camera-no-zoom-no-bar/+merge/17660207:58
marlinchttps://plus.google.com/102031545913933941769/posts/7rE4eq5GBiW08:15
Nimblehope you find your answer08:19
marlincWhen I click on XChat in the messaging it opens a new XChat instance08:30
=== dholbach_ is now known as dholbach
marlincAh there's an issue for that :)08:30
Nimbleyeah08:30
Nimbleoh, ok08:30
seb128_marlinc, that's because xchat is not a single instance program,it should be fixed08:30
marlinchttps://bugs.launchpad.net/xchat-indicator/+bug/112285308:30
ubot2`Ubuntu bug 1122853 in xchat-indicator (Ubuntu) "Clicking the xchat indicator starts a new instance" [Medium,Confirmed]08:30
marlincAh mm08:31
seb128_it works fine with other programs08:31
Nimbleisn't xchat no longer maintained, anyway?08:31
seb128_e.g if you call piding a second time it focus the running one, doesn't start a new instance08:31
guschoSoMoN: can you review this? https://code.launchpad.net/~schwann/camera-app/camera-no-zoom-no-bar/+merge/17660208:31
NimbleI know hexchat is in the repos but it doesn't have an indicator plugin08:32
=== seb128_ is now known as seb128
oSoMoNgusch: sure08:34
guschoSoMoN: thx08:35
oSoMoNgusch: approved08:49
guschoSoMoN: thx08:49
nik90renato: Can you help me convert animationContainer to a Flickable? I am getting stuck using a Flickable.09:05
nerochiarogusch: sorry, missed that09:11
guschnerochiaro: no worries - oSoMoN approved :)09:12
nerochiarogusch: yeah, saw that09:12
oSoMoNnerochiaro: speaking of which, there are 3 pendings MRs of mine at https://code.launchpad.net/notes-app/+activereviews, for your reviewing pleasure09:13
nerochiarooSoMoN: i was meaning to take care of them today09:13
oSoMoNcool09:15
JamesTaitGood morning all, happy Kitchen Debate Day! :-D09:20
PaoloRotoloGood morning!09:23
nik90PaoloRotolo: hi09:26
PaoloRotoloHi nik90 :)09:26
mezenok_denHello09:42
mezenok_dencan anyone help with adding new service to the online-accounts ?09:42
=== chriadam is now known as chriadam|away
AskUbuntuExample tab in ubuntu sdk opens blank windows | http://askubuntu.com/q/32378909:52
nerochiarooSoMoN: looking at your MRs, is there any test for this one ? https://code.launchpad.net/~osomon/notes-app/focus-fixes/+merge/17474510:23
nerochiarooSoMoN: also is omer out today ?10:23
oSoMoNnerochiaro: no there’s no test, it’s only fixing a plain programming mistake10:24
zeokilaHey guys, how can I install a C++ plugin to an app? When I try to start it it tell me file:///directory/reader.qml:3 module "reader.plugin" is not installed10:26
nerochiarooSoMoN: but does it make things work that weren't working before ?10:26
oSoMoNnerochiaro: I don’t know, but it fixes the code path as it was originally intended; whether that code path is used at all is beyond my investigation10:30
mezenok_dennerochiaro: hi, can you help to find information on how to make my own libaccount-plugin ?10:34
mezenok_denfor new service10:34
mezenok_dennerochiaro: I just can not find any docs about this question.10:35
mezenok_denPeople, help me to find some docs about making my onw libaccount-plugin.10:36
nerochiaromezenok_den: i think the right person to ask is kenvandine, but i haven't seem him around today10:44
nerochiaromezenok_den: also maybe take the source of an existing plugin and start from there ?10:45
mezenok_dennerochiaro: thank you for help :) I think I will dig into the source codes of the other's plugins and I'll try to do my stuff :)10:45
mezenok_dennerochiaro: really thx :)10:45
nerochiaromezenok_den: you're welcome10:46
=== MacSlow is now known as MacSlow|lunch
nerochiarooSoMoN: if I download the packages build by jenkins and install them on the phone for this MR; https://code.launchpad.net/~osomon/notes-app/provider-cleanup/+merge/174143 then run the tests with phablet-test-run notes-app, 2 of them fail. if i repeat with the packages installed by  phablet-test-run -p notes-app-autopilot notes-app then everything works11:09
oSoMoNnerochiaro: how do they fail? can you paste the output of the failures?11:10
nerochiarooSoMoN: it's the slide to delete that seem to be failing (trying twice just to be sure): http://pastebin.ubuntu.com/5907228/11:12
oSoMoNnerochiaro: so nothing to do with the image provider11:12
oSoMoNnerochiaro: note that once you have installed notes-app-autopilot once on the device, passing "-p notes-app-autopilot" to phablet-test-run won’t do anything11:13
oSoMoNnerochiaro: so what you’re seeing is a random failure11:13
nerochiarooSoMoN: beautiful11:13
oSoMoN(which of course needs to be investigated)11:13
nerochiarooSoMoN: how would you go about doing that '11:15
oSoMoNnerochiaro: well first you’d need to try and reproduce the issue when running the test suite, and observe what’s really happening on the device, as the failure logs don’t give many clues11:17
nerochiarooSoMoN: can that tool run one single test ?11:20
nerochiarooSoMoN: nevermind, it can11:21
nerochiarooSoMoN: also your previous statement that passing -p after you have notes-app-autopilot alreadt installed won't do anything doesn't seem to be true. in my case it downgrades the package to the current archive version11:25
oSoMoNnerochiaro: ok11:26
nerochiarooSoMoN: in any case, the cause of the random failure seems to be that the note gets expanded when i install the pacakges from jenkins and doesn't get expanded (and thus can be deleted) with the normal packages. which is strange as that code shouldn't have been touched11:27
oSoMoNnerochiaro: then you need to compare packages built from the current trunk and those built by jenkins11:27
nerochiarooSoMoN: i also need to update the phone, i'm on yesterday's stuff, in case it makes a difference11:27
oSoMoNnerochiaro: it might11:27
nerochiarooSoMoN: i don't think so though11:27
renatonik90, ping12:08
nik90renato: pong12:09
renatonik90, did you get the flickable working?12:09
nik90renato: I wanted to replace AnimationContainer with a flickable for several reasons. First being it recommended by florian and the second it is causing some issues with qml loader12:09
nik90renato: no and the problem is because I have no experience using a flickable12:10
=== MacSlow|lunch is now known as MacSlow
renatonik90, I will take a look12:13
nik90renato: I keep getting errors such as "binding loop with contentHeight". I did contentHeight: childrenRect.height, but some of the children elements have no height specified12:13
nik90because I cannot be precise about their height now12:13
renatonik90, can I see your code?12:21
nik90renato: let me upload. It is a mess since I was experimenting different stuff to get it working12:21
nik90renato: https://code.launchpad.net/~nik90/ubuntu-clock-app/flickable-stopwatch-implementation12:25
m-b-onik90: I have a solution, interested?12:31
nik90m-b-o: Hi. I read your g+ post.12:35
nik90m-b-o: I tried doing it, however was unsure about one part. How to snap to a specific position?12:35
nik90Right now, it snaps to the listView header. However If I insert all the elements inside a rectangle, then the flickable will have to snap to some point in the rectangle rather than some qml element12:36
m-b-ohttp://bazaar.launchpad.net/~martin-borho/ubuntu-clock-app/stopwatch-flickable/revision/15612:36
m-b-onik90: which point exactly?12:37
nik90In the stopwatch page, it should snap midway to the analog stopwatch face.12:37
nik90so it will look like the analog stopwatch face is half hidden and half visible12:38
m-b-onik90: when srollling to the rounds for example?12:43
nik90m-b-o: yeah12:44
nik90m-b-o: if you look at the current behavior of the clock tab, you will know what i mean12:46
=== lisettt`` is now known as lisettte
m-b-onik90: I see12:48
renatonik90, the height of the background page rectangle should be a value that when scrolling to the end of it, the stopwatch face is positioned in the correct position12:51
renatothen you do not need to take care of which position you need to scroll12:51
renatojust scroll to the end12:51
nik90renato: okay12:54
nik90renato: both m-b-o and kaziwaseef use a rectangle12:55
nik90kaziwaseef's branch can be found at https://code.launchpad.net/~kaziwaseef/ubuntu-clock-app/flickable-added12:55
nik90where he also uses a item to store the flickable in it12:56
renatonik90, I would say keep the AnimationContainer in the pages and change it to be a flickable component12:58
nik90renato: yes that would be the best case since all pages use animationcontainer12:59
renatomake sure that all pages have the correct height in that way when moving to the bottom it will be positioned in the correct position13:00
nik90renato: Since kaziwaseef is working as an external contributor, let me just fix the stopwatch page alone, I can then implement his code logic into the animation container13:00
nik90renato: all the pages have the same qml element sizes. So that should be easy to achieve13:01
renatonik90, ok,13:02
renatonik90, about the kaziwaseef my only concern is that I think that we do not need the Item element outside the flickable component13:03
nik90renato: I tried modifying kaziwaseef's branch and removed the item. However when I anchors the flickable to fill the parent, the tab header started to hide when scrolling up. Any way to prevent that?13:06
Mihiranybody to review this bug ?https://bugs.launchpad.net/ubuntu-calculator-app/+bug/120345513:25
ubot2`Ubuntu bug 1203455 in Ubuntu Calculator App "Result is not able to use with new operands " [Undecided,New]13:25
netcurliMihir: isn't this a duplicate of https://bugs.launchpad.net/ubuntu-calculator-app/+bug/117942213:31
ubot2`Ubuntu bug 1179422 in Ubuntu Calculator App "[Calculator app] Can't add to existing equation once equals is entered" [Undecided,In progress]13:31
netcurli?13:31
kaziwaseefHi. The item containing the flickable was there to stop the tab header from hiding...13:36
renatokaziwaseef, nik90, set the page property "flickable" to null13:38
kaziwaseefI think the best thing to do is change the code of AnimationContainer. Please wait. Let me try.13:40
nik90kaziwaseef: yeah best to adapt AnimationContainer into a Flickable.13:41
nik90renato: thnx that worked.13:41
guschoSoMoN: just an idea: in HistoryDomainListModel you only emit dataChanged() but not for example rowsMoved()13:46
oSoMoNgusch: because HistoryDomainListModel is always kept sorted alphabetically, so rows are never moved, some may be inserted, and some removed13:47
guschoSoMoN: I would have guessed, that sort() is called when a new row is added - but even calling it manually afterwards does not sort it13:50
guschoSoMoN: I see no obvious bug13:50
oSoMoNme neither, and that’s the problem :/13:51
guschoSoMoN: I would really need to dig really deep to see what's going on13:51
oSoMoNgusch: yeah, if you get a chance at some point to dig deeper, that would be much appreciated, but I understand that you have other priorities13:51
guschoSoMoN: for the second data, I don't get the rowsInserted() signal in HistoryDomainListChronologicalModel13:59
nerochiaroom26er: hi, after the meeting can we have a quick talk about some autopilot tests on the device that are failing and i'm not sure why. also discuss a merge that you did some time ago that has some chnges to tests that i don't exactly understand14:08
oSoMoNnerochiaro: will you get a chance to review https://code.launchpad.net/~osomon/webbrowser-app/cleanup-public-plugin/+merge/175855 some time today?14:21
nerochiarooSoMoN: yes, but cross your fingers for the autopilot tests, i seem to have a terrible luck with them today14:24
guschoSoMoN: I wonder, why calling sort() does not sort the model, but calling invalidate() does14:24
nerochiaroom26er: ping14:24
oSoMoNgusch: where exactly are you calling it?14:25
om26ernerochiaro, sorry, hey!14:25
guschoSoMoN: in the test, where you have the model->invalidate();14:25
nerochiaroom26er: hi, can you confirm that running the autopilot tests on the device from the packages generated by jenkins on this MR, you get 2 failures ? https://code.launchpad.net/~osomon/webbrowser-app/cleanup-public-plugin/+merge/17585514:26
guschoSoMoN: invalidate accesses the data() function (there is logging), but sort() does not14:26
nerochiaroom26er: sorry, wrong branch14:26
om26er:p14:26
nerochiaroom26er: i meant https://code.launchpad.net/~osomon/notes-app/provider-cleanup/+merge/17414314:26
oSoMoNgusch: yeah, the internals of the QSortFilterProxyModel are still a bit of a mistery to me14:26
om26ernerochiaro, on it14:28
nerochiaroom26er: thanks14:28
=== boiko_ is now known as boiko
boikooSoMoN: gusch: so, from what I understood it looks like the rows moving in the original model is not being propagated to all levels of proxies14:35
oSoMoNboiko: yeah, something like that, until invalidate() is called on the sort model14:36
boikooSoMoN: gusch: wait, no, there is no row moving going on here, sorry14:36
boikooSoMoN: gusch: I'll go for lunch and continue after I'm back14:37
oSoMoNboiko: sure, but don’t let my problem take all your time, you probably have other priorities to tend to14:37
om26ernerochiaro, I merged trunk and had 1 failure with that branch14:38
om26ernerochiaro, notes_app.tests.test_images.TestImageSmallHigh.test_no_crash14:38
om26ernow when I run it individually it passes as well14:38
guschoSoMoN: why the hell is sort() doing like nothing?!?14:39
om26erhttp://paste.ubuntu.com/5907792/14:39
nerochiaroom26er: so, different results than me, i had 2 tests failing and they were different ones. and they fail even if run separately. any idea what might be going on ?14:40
nerochiaroom26er: do you know what's going on from line 23 onwards ?14:40
om26ernerochiaro, merge trunk first14:41
om26ercan you show me the logs14:41
nerochiaroom26er: i used the packages from jenkins, didn't build them myself14:41
nerochiaroom26er: http://pastebin.ubuntu.com/5907228/14:41
om26ernerochiaro, which device ?14:41
nerochiaroom26er: phone14:42
om26ernerochiaro, I fixed those tests recently for touch. so I think you really need my package, should I email you ?14:42
nerochiaroom26er: ok. but also oSoMoN should merge trunk into these branches I think. right oSoMoN ?14:43
om26ersent14:44
guschoSoMoN: I found this one http://qt-project.org/wiki/Model_Test - maybe you want to tes the model implementation(s)14:45
oSoMoNnerochiaro: merge trunk where?14:47
nerochiarooSoMoN: in the branch14:47
oSoMoNnerochiaro: duh, what branch man?14:48
nerochiarooSoMoN: sorry, we were talking about the ones you submitted on notes-app for review14:48
mezenok_dennerochiaro: you said I can ask kenvandine about my thoughts... is he usually anwering fast?14:48
mezenok_denI have asked him and waiting... :)14:49
nerochiaromezenok_den: not always14:49
oSoMoNnerochiaro: ok, will do in a moment14:49
oSoMoNnerochiaro: done, for all three branches14:53
guschoSoMoN: ok - sort() does not work, as it is aborted when dynamicSortFilter is true (setting it to false, fixes the issue)15:04
oSoMoNgusch: ok, good to know15:05
nerochiaroom26er: also do you have any idea why tests fail on this MR ? https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/inverse-mouse-area-move-allowed-on-clicks/+merge/17636215:10
=== netcurli_ is now known as netcurli
guschoSoMoN: https://pastebin.canonical.com/94971/ the entry for the first "getting data for domain" is wrong15:19
guschoSoMoN: it shows the data for the ubtuntu domain, but it should be the example domain15:20
guschoSoMoN: so for whatever reason, HistoryDomainListModel::data() uses the wrong data (I guess for the sorting)15:21
oSoMoNgusch: yeah, I had arrived at this conclusion too, but I have no clue whatsoever why the data returned is wrong15:23
Laneyhmmmmmmm15:35
Laneyseb128: how have you solved "stuff scrolls over other stuff" when using Flickables?15:35
seb128Laney, clip: true15:35
Laneyaha15:36
Laneyyes, that works. great!15:37
seb128;-)15:37
Laneyquite happy with this bit of UI15:37
* Laney makes the list sorted15:37
seb128Laney, what bit is that? style datetime?15:39
seb128Laney, btw I reviewed your mp, I've some nitpick (just added one)15:39
Laneynah the listmodel stuff15:39
Laneyyes15:39
LaneyI'm fixing some of those15:39
Laneyand making it sorted15:39
seb128style->still15:40
Laneyhow can I focus something on entry?15:41
seb128Laney, focus: true is supposed to work if you only have one widget doing it15:42
Laneylet me try that15:43
seb128Laney, I'm just fighting with that for another panel, don't spend time on it ... I will let you know when I figure it out15:43
kenvandineLaney, if that doesn't work, you might need to set someid.focus = true in a Component.onCompleted15:43
seb128kenvandine, do you know what's needed?15:43
kenvandinenot really15:43
kenvandinei had to do that to focus my listview for keyboard nav15:44
kenvandinefocus: true on the ListView didn't do it15:44
Laneyno, neither work15:44
kenvandinei had to do it onCompleted15:44
kenvandine:/15:44
Laneythis is on a TextField15:44
seb128Laney, doing what Ken said makes it "looking focussed", but it doesn't take keyboard input :/15:45
Laneyyes15:45
Laneycould be a TextField bug I guess15:45
Laneytimp: any idea? :-)15:47
seb128Laney,         Component.onCompleted: id.forceActiveFocus()15:47
seb128works for me15:47
Laneyah15:47
LaneyThat's marked as \internal though15:47
seb128Laney, ?15:48
LaneyI'm looking at the source of TextField15:48
seb128Laney, it's a method of the base Item() object: http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-item.html#forceActiveFocus-method15:48
Laneyhmm15:49
Laneydoes indeed work though ;-)15:50
seb128yeah, it feels hackish15:52
seb128but it works...15:52
kenvandinenice!15:53
* kenvandine thinks focus: true should work though15:53
kenvandineannoying15:53
sam113101rigved: the last one (13.04)15:56
guschoSoMoN: I have no idea why it grabs the wrong data there - sorry16:01
oSoMoNgusch: no worries, thanks for looking into it anyway16:03
om26ernerochiaro, seem it was not able click the list item even if the mouse went there16:09
om26ernerochiaro, could be the click was not registered due to the slow environment16:09
om26ernerochiaro, see this video https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-saucy/1254/artifact/UbuntuUiToolkit.tests.gallery.test_gallery.GenericTests.test_toggles%20(with%20mouse).ogv16:09
nerochiaroom26er: can you try triggering a rebuild ?16:09
om26erand wow the autopilot tests for the UIToolkit are really written in a different way from the source I am looking at16:10
* om26er would do thing much differently16:10
nerochiaroom26er: i noticed them being quite different16:10
om26ertriggered the rebuild16:11
nerochiaroom26er: i also have a question about notes-app trunk, there's a revision 154 where you fixed a couple of tests. one of them uses the sleep function. why is that needed ? what's the problem that you are solving there ?16:21
seb128hum16:21
seb128onAccepted in a TextField doesn't seem to work, wth?16:21
om26ernerochiaro, bug 120408416:22
ubot2`Launchpad bug 1204084 in notes-app "The input focus gets lost when the OSK appears during autopilot test run" [High,New] https://launchpad.net/bugs/120408416:22
om26ernerochiaro, should I fix that you want to :)16:25
om26er...or you want to16:25
nerochiaroom26er: as bill commented on the bug, we shouldn't use sleep if possible. can't we just use wait_for on the OSK visible property ?16:26
om26ernerochiaro, Yeah, we are going to use what webbrowser did16:27
nerochiaroom26er: also, are unit tests also still failing under qemu ?16:30
om26ernerochiaro, not sure about that, never knew about that16:31
nerochiaroom26er: how do you build packages for the phone then ?16:31
=== om26er is now known as om26er_afk
=== om26er_afk is now known as om26er
Laneydo we have an example somewhere of getting the current position?17:09
kaziwaseefIm done with the Flickable thing perfectly. I pushed it to lp:~kaziwaseef/ubuntu-clock-app/flickable-added-218:28
mmcc` Hi folks, I'm trying to debug a click package created by qtcreator, as installed using 'sudo click install foo.click' on the device (a nexus 7) - it doesn't appear to put a .desktop file anywhere, so I just linked to the one in the installed dir. However, it's still not running correctly (clicking on the icon displays a plain white screen). Is there a log somewhere I can look at to debug?18:39
fugue88bzoltan: ^ Is that one you could answer?  Or do we need cjwatson?18:46
bzoltanmmcc`: The .desktop hooking mechanism is not done yet and so not integrated to the SDK. What you see there is more like a tech preview of the click packages... obviously the lp:click project is progressing and cjwtason puts a lot brain and hand into that project.18:48
bzoltanso to say short... in the present status the QtC click packaging is not meant to create packaged app what you can launch from the shell... you can package, you can install and you can see what is going on18:50
mmcc`bzoltan: ok. definitely understood that it's a work in progress. is creating click packages from outside QtC more complete? I was hoping to use it to package an app for a demo next week18:51
bzoltanmmcc`:  Nothing can stop the devs to bzr branch lp:click and make a new local release .. the QtC interface to the Click will not change in the following days18:53
bzoltanmmcc`:  We are focusing on QA work... creating autopilot coverage on the QtCreator and on our plugins ... we suffered a lot18:53
fugue88bzoltan: beuno had an app that he demo'd installing and launching.  Do you know how that one was built?18:54
* fugue88 tries to get the name18:54
bzoltanmmcc`:  and running after a really quickly (respect to cjwatson) developing Click project would have been eating our time too much... so I draw a line :) and that is released today with the Beta SDK18:54
bzoltanfugue88:  with Click?18:55
fugue88bzoltan: A calculator app, apparently packaged as .click because he goes through the same install process from the dash.18:55
fugue88"Fake Calculator"18:55
bzoltanfugue88:  You can create .deb packages from any  project in QtCreator and you can even install and deploy the app packaged in .deb ... but with click it is only packaging and installing ... no launching18:55
AskUbuntuHow can I get user/system information in a QML mobile app? | http://askubuntu.com/q/32403818:56
bzoltanfugue88:  that is gonna be a fake :)18:56
fugue88Well, I assume it doesn't calculate.18:56
fugue88beuno: That Fake Calculator, is it an actual .click package?18:56
beunofugue88, yes18:59
fugue88And that actually launched.18:59
beunoright18:59
fugue88So, at least with whatever versions of code beuno's using, it's possible.18:59
beunoI can't launch apps created from qtcreator either19:00
beunorunning into that atm19:00
bzoltanbeuno:  so how the .desktop is hooked up to the Shell?19:00
beunobzoltan, that's more of a cjwatson or ted question19:01
beunosergio may know as well19:02
bzoltanbeuno:  as far as I knew it is not done yet ... the .desktop must be under the /usr/share/applications or under /home/phablet/.local/share/applications/19:02
fugue88bzoltan: Your knowledge is ancient.  At *least* a day old!  ;)19:02
* fugue88 doesn't know anything about .desktop locations19:03
=== mterry_ is now known as mterry
bzoltanfugue88:  LOL :)19:03
beunowell19:03
beunowh does fake calculator open?19:03
beuno*why19:03
bzoltanfugue88:  I wish to be better informed19:03
fugue88Don't we all.19:03
beunowell, this is what the demo is for19:04
beunoalign us all as quickly as possible  :)19:04
fugue88Yep.19:04
beunoso that's the only piece failing in the whole demo19:04
beunoopening an app created from qtcreator19:04
beunoeverything else works19:04
bzoltanbeuno, fugue88:  I just feel awfully stupid :) I can not be on top of all moving parts...19:05
beunobzoltan, oh, don't worry, we all feel stupid!19:05
fugue88bzoltan: Nobody can.  I certainly am not following technical details, just overall status.19:05
fugue88It's actually quite amazing, given how many teams and moving parts there are for this, how well it's come together so far.19:06
beunoone small piece missing!19:06
fugue88Nuance.19:06
fugue88;)19:06
bzoltanbeuno, fugue88: I will jump on it straight tomorrow morning... it is 10pm :) and I am up since 5am19:06
beunobzoltan, btw, here's the demo: http://www.youtube.com/watch?v=62dgYISBgIQ19:06
fugue88:O19:06
fugue88gn, bzoltan.19:07
bzoltanbeuno: I have more than one question related to that demo ... #1 how on earth you start the phablet shell on your desktop?19:14
beunobzoltan, bzr branch lp:unity819:14
beunofollow the instructions19:14
beuno./run19:14
beunodone19:14
bzoltanbeuno: Geez.. Why I did not know about it??? It should be one of the top features of the SDK!19:15
bzoltan:)19:15
beunobzoltan, indeed!  Happy to help you tomorrow to get up and running19:15
bzoltanbeuno:  sweet :) ?19:15
bzoltan_GOOOOD_NITE_19:15
nik90renato: https://code.launchpad.net/~kaziwaseef/ubuntu-clock-app/flickable-added-2 does the trick20:29
nik90renato: he modified the animationcontainer into a flickable. It needs some small tweaks. But otherwise it works as intended.20:29
renato  nick instead of call flick function try to set the : contentY20:35
renatoand uese a NumberAnimation for this property20:35
nik90renato: but by using flick, arent we leaving the sdk flickable defaults instead of using our own numberAnimation?20:43
renatoyou can use Ubutntu animation20:43
nik90so instead of flick(0, -1000), I would do contentY: something20:44
nik90and then add behavior on ContentY20:44
renatoyes20:44
renatomore specific contentY: contents.height - flickable.height20:45
nik90renato: http://pastebin.ubuntu.com/5908923/20:50
nik90renato: although what would be the statement for the else if cae?20:51
nik90case?20:51
renatocontentY = 020:55
renatonik90, instead of momentEnded try to use flickableDirection20:56
renatosorry wrong20:56
nik90renato: http://paste.ubuntu.com/5908939/20:57
renatonik90, works?20:57
nik90renato: yup :)20:58
AskUbuntuHow to create multiple pages in HTML5 app and link them together | http://askubuntu.com/q/32408520:58
renatonik90, why do you need the clip: true?20:58
nik90renato: wow this ended up much simpler than what we created before. Glad to do some code refactorings20:58
nik90renato: otherwise you can see the clock face behind the header when you swipe up20:59
renatonik90, ok20:59
renatogreat work guys20:59
nik90renato: well this is all the work of kazi :D20:59
renatonik90, why this magical number (10, -10)20:59
renatowhy not >0 <020:59
nik90renato: that is the swipe tolerance21:00
renatook21:00
nik90but thinking about it now, it could be 021:00
renatomake this a property21:00
nik90ok21:00
nik90but should i make it 0 or leave it as 10?21:01
renatonik90, is up to you and the designers21:03
nik90renato: the only think I am not happy about is the contentHeight: units.gu(87)21:04
renatonick98 this should be tha page height21:05
renatoeach page should set it to the correct size21:06
nik90oh21:06
renatoand make sure that you set: flickableDirection to only flick on vertical direction21:07
renatoor this can be set by : childrenRect.height21:07
nik90renato: I will set the flickableDirection to only vertical.21:08
nik90childrenRect.height does not work21:09
=== sam113101 is now known as sam113101_afk
=== sam113101_afk is now known as sam113101

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