=== DanChapman_ is now known as DanChapman | ||
=== alecu__ is now known as alecu_ | ||
=== tsimpson_ is now known as tsimpson | ||
=== me4oslav_ is now known as me4oslav | ||
mihir | Good Morning guys :) | 06:38 |
---|---|---|
dholbach | good morning | 07:15 |
chrisp | I'm working on a qml app for Ubuntu Touch with a C++ backend relying on gcrypt. It works well on the desktop but won't compile using the device kits due to the missing gcrypt.h header file (a shared object gcrypt library is available in the device kits but the header file is missing). Is there a way to add the header files needed for compilation to the kits on my machine or is the preferred way shipping my own version of gcrypt | 07:17 |
JamesTait | Good morning all; happy Monday, and happy Emma M Nutt Day! :-D | 09:07 |
justCarakas | good morning JamesTait | 09:50 |
JamesTait | justCarakas, o/ | 09:52 |
=== Guest35996 is now known as karni | ||
dholbach | popey, is stock ticker still being updated? | 10:18 |
dholbach | popey, it needs to use a newer framework to be accepted | 10:18 |
popey | dholbach: no, its not in the image any longer. | 10:19 |
dholbach | ah ok | 10:19 |
=== MacSlow is now known as MacSlow|lunch | ||
=== t1mp_ is now known as t1mp | ||
=== chihchun is now known as chihchun_afk | ||
=== dholbach_ is now known as dholbach | ||
nik90_ | popey: ===== Needs testing ====> https://code.launchpad.net/~nik90/ubuntu-clock-app/onetime-alarms/+merge/232519 (test suite updated) | 12:32 |
popey | kk | 12:33 |
=== ara is now known as Guest71689 | ||
=== MacSlow|lunch is now known as MacSlow | ||
=== _salem is now known as salem_ | ||
=== justCarakas1 is now known as justcarakas | ||
popey | nik90_: left a comment | 13:00 |
* nik90_ looks | 13:01 | |
=== chihchun_afk is now known as chihchun | ||
nik90_ | rpadovani: if you have time, can you review https://code.launchpad.net/~nik90/ubuntu-clock-app/onetime-alarms/+merge/232519 | 13:05 |
* nik90_ goes for lunch, brb | 13:05 | |
popey | zbenjamin: dunno if you're aware but when installing clicks to device the log gets spammed by the animations done in pkcon... http://paste.ubuntu.com/8206179/ | 13:19 |
popey | any way we can make pkcon be a bit less animated? | 13:19 |
popey | zbenjamin: looks like you already do -p, but it's still a bit shouty | 13:19 |
zbenjamin | popey: yeah we can do that | 13:22 |
rpadovani | nik90_, until dinner I'll do :-( | 13:25 |
rpadovani | *:-) | 13:25 |
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
dholbach | davidcalle, salut mon ami - comment ça va? | 13:50 |
davidcalle | dholbach, bien et toi? | 13:51 |
dholbach | très bien - merci! | 13:51 |
dholbach | qu'est-ce qui se passe en France? :) | 13:51 |
davidcalle | dholbach, emulators are being launched and destroyed :) | 13:53 |
dholbach | haha, great :) | 13:53 |
nik90_ | rpadovani: cool | 14:00 |
ogra_ | DanChapman, hmm, not sure if you actually wnated to send two mails ? (i got a private reply with onyl my original mail as quote in it) | 14:16 |
DanChapman | ogra_, yeah I've just seen that :-/ Sorry about that. Hmmm that shouldn't have happened | 14:18 |
ogra_ | DanChapman, no worries, happy to be a guineapig ... go on if you need to :) | 14:19 |
DanChapman | ogra_, :-) thanks | 14:19 |
dholbach | beuno, thanks for the review - did you check the prerequisite branch too? (mostly just wrapping all the functions into a class) | 14:19 |
beuno | dholbach, have it open, didn't quite get that they were linked | 14:20 |
beuno | will get to it soon | 14:20 |
* dholbach hugs beuno | 14:20 | |
t1mp | nik90_: wow, the startup animation for the clock-app is very cool :) | 14:21 |
dholbach | zbenjamin, or https://code.launchpad.net/~dholbach/click-reviewers-tools/1363857/+merge/232864 I requested a review from you too, just so you can check if the output format generally makes sense to you | 14:21 |
nik90_ | t1mp: thnx, it is a bit laggy atm when the alarm model is loaded, but I have a fix for it in a branch waiting to land. | 14:22 |
dholbach | zbenjamin, sorry, meant to say "for https://code...... I requested..." | 14:23 |
=== chihchun is now known as chihchun_afk | ||
nik90_ | renatu: hey, I need your help with bug 1362081 | 14:30 |
ubot5 | bug 1362081 in Ubuntu Clock App "[Clock] Transition to alarms is jarring" [High,Confirmed] https://launchpad.net/bugs/1362081 | 14:31 |
nik90_ | renatu: Looking through the bottom edge component, you basically load the page in a sequential animation once the bottomEdge.y has reached its target value. | 14:31 |
nik90_ | renatu: would I able to do this when it reach 0.75% of the page height instead? | 14:31 |
renatu | nik90_, yes you can change the code | 14:32 |
zbenjamin | dholbach: sure | 14:32 |
nik90_ | renatu: so would calling page._pushPage() at 0.75 % of the page height suffice? Or would it appear out of nowhere? | 14:33 |
zbenjamin | dholbach: can i run the script without installing the package? | 14:33 |
t1mp | artmello__: I like the updates to gallery-app. I only get a lot of these warnings: file:///home/tim/dev/gallery-app/gallery-app-new_header/rc/qml/MediaViewer/GalleryPhotoComponent.qml:111:21: Unable to assign double to QSize | 14:33 |
dholbach | zbenjamin, yes, just branch it, run ./bin/click-review <.click file> | 14:33 |
renatu | nik90_, I do not known what this will cause, the SDK Page stack is very sensible , you will need to try | 14:34 |
renatu | nik90_, we have several problems on bottom edge due the way that pagestack works | 14:34 |
nik90_ | renatu: ah :/ | 14:34 |
zbenjamin | dholbach: is there some sort of seperator between the objects? | 14:35 |
zbenjamin | dholbach: or do i need to write a incremental parser for that , i guess i will just receive a stream of text | 14:36 |
renatu | nik90_, the only way to test is trying :D | 14:36 |
dholbach | zbenjamin, the output doesn't need to be json if that doesn't suit you - I can use something else as well | 14:36 |
dholbach | zbenjamin, we can make the output format whatever you like it to be | 14:36 |
renatu | nik90_, I think this will cause a very strange visual | 14:36 |
nik90_ | renatu: yeah since the page will be pushed on top of the bottom edge rectangle | 14:36 |
nik90_ | renatu: so it will have a rather abrupt transition | 14:37 |
renatu | yes | 14:37 |
renatu | the header will appear without any animation | 14:37 |
renatu | we can not control that | 14:37 |
renatu | this is how pagestack works | 14:37 |
t1mp | renatu, nik90_ that page._pushPage() function is not in the UITK PageStack. To the pagestack you either push a page or you don't | 14:37 |
nik90_ | renatu: well that we can control atm by changing the page title from " " to "somevalue" | 14:37 |
renatu | nik90_, yes but this will make the header to appear | 14:38 |
zbenjamin | dholbach: ok, well we could reuse the old format where this would show the start of a new section: = click-check-scope = | 14:38 |
zbenjamin | dholbach: i will use the text between = = as the heading for the test element | 14:38 |
renatu | t1mp, this function only does some preparation to call the pageStack.push | 14:38 |
dholbach | zbenjamin, sure, let me add that | 14:38 |
renatu | nik90_, you need to set the title at the same time that you push the page | 14:39 |
renatu | nik90_, the problem is that they are different pages, and contains different headers | 14:39 |
nik90_ | renatu: welll for me the clock page doesn't have a header which is the root cause of the bug | 14:40 |
dholbach | zbenjamin, if you pull again, let me know if that works | 14:40 |
renatu | nik90_, yes but at the moment you call the pagestack.push(new_page) the new header should appears | 14:41 |
nik90_ | renatu: so I was thinking when bottom edge is at 75% page height -> push page with title which will cause the header to slide down and meet the bottom edge | 14:41 |
renatu | yes | 14:41 |
renatu | does htat | 14:41 |
renatu | does that | 14:41 |
renatu | but the header will not slide down | 14:41 |
renatu | it will appear | 14:41 |
nik90_ | true | 14:42 |
nik90_ | no animations | 14:42 |
renatu | nik90_, and I do not know how this will look like you need to try to see | 14:43 |
renatu | I think this will be very ugly | 14:43 |
nik90_ | yeah I am trying although I am not optimistic | 14:43 |
zbenjamin | dholbach: looks good, only question i have is if it makes sense to have the header 2 times in the output, for example functional is in the header and in the object | 14:43 |
nik90_ | I think the bug will be post-rtm in that case | 14:43 |
artmello__ | t1mp: yep, those warning were there before but seems to be more frequent with the new header | 14:43 |
dholbach | zbenjamin, ah ok, let me see | 14:43 |
zbenjamin | dholbach: or could a top level object have mutliple atrributes | 14:43 |
dholbach | sure sure | 14:44 |
dholbach | zbenjamin, try again? | 14:46 |
zbenjamin | dholbach: perfect, looks like we basically have the same output now | 14:47 |
dholbach | it doesn't show stuff like "click-show-files", etc | 14:48 |
zbenjamin | exactly we just need the tests | 14:48 |
dholbach | so just actual test results of the individual modules of clickreviews | 14:48 |
dholbach | ok | 14:48 |
dholbach | so I guess you're all set? :) | 14:48 |
dholbach | zbenjamin, not sure if you checked the return codes before? | 14:48 |
dholbach | in any case you should have 0 (pass) and 1 (FAIL) as ret codes now | 14:49 |
zbenjamin | let me see | 14:49 |
zbenjamin | dholbach: doesn't look like it | 14:52 |
dholbach | ok | 14:52 |
zbenjamin | dholbach: are you exiting with != 0 when there was a error? | 14:52 |
dholbach | yes | 14:52 |
zbenjamin | dholbach: that should be enough | 14:52 |
dholbach | ok | 14:52 |
zbenjamin | dholbach: approved | 14:53 |
dholbach | zbenjamin, awesome | 14:53 |
dholbach | now I just need somebody to review the prerequisite branch: https://code.launchpad.net/~dholbach/click-reviewers-tools/click-review-refactor/+merge/232861 :) | 14:54 |
nik90_ | t1mp: Do you know where I find the header divider that you implemented? I am going to create a fake header. | 15:00 |
nik90_ | t1mp: the fake header will slide in from the top with the bottom edge component. Once the bottom edge component is fully expanded, I will hide the fake header and show the normal page header | 15:00 |
t1mp | nik90_: the code for that is part of PageHeadStyle.qml (there are two files named that, check them both) in lp:ubuntu-ui-toolkit | 15:01 |
nik90_ | t1mp: ack. thnx | 15:01 |
t1mp | nik90_: I have an item at the bottom of my TODO list, that says to replace the current divider visuals by a 5% opacity black rectangle | 15:03 |
t1mp | nik90_: I won't get to that todo item very soon, but eventually the divider code may be simplified a bit | 15:03 |
nik90_ | t1mp: before or post rtm? | 15:03 |
t1mp | just fyi :) | 15:03 |
nik90_ | t1mp: if it is post rtm, I will use the current implementation | 15:04 |
t1mp | nik90_: post. But what I tried to say is that maybe with some simple code it is possible to create something better-looking than what we have right now | 15:04 |
t1mp | nik90_: sure | 15:04 |
nik90_ | ah ok :) | 15:04 |
t1mp | nik90_: actually.. unity8 uses the PageHeadStyle to get the UITK header contents inside a custom header of which they control the show/hide | 15:04 |
t1mp | nik90_: I don't know any details, but it is somewhere in the unity8 project | 15:05 |
t1mp | nik90_: you can use a StyledItem with style: Theme.createStyleComponent("PageHeadStyle.qml", header) | 15:05 |
t1mp | mzanetti ^ knows more about that | 15:05 |
t1mp | nik90_: when you have an app with custom header, let me know and I can review the code and double-check that I don't break the app when changing the header style :) | 15:06 |
* mzanetti looks into the blue^Cgrey sky | 15:06 | |
nik90_ | t1mp: it is for the clock app :/ will do so | 15:07 |
t1mp | mzanetti: I just pointed nik90_ to unity8 for custom header with UITK styling | 15:07 |
mzanetti | t1mp: hah. speaking of which, using a Page with it's header, how can I make it slide in/out? | 15:09 |
mzanetti | wanted to do that yesterday and failed | 15:09 |
nik90_ | mzanetti: you can't. that's the issue I am facing due to which i need to create a fake header | 15:10 |
nik90_ | mzanetti: you need to set title to "" to hide it. But it appears without any slide in animation | 15:10 |
mzanetti | ah... ok | 15:12 |
mzanetti | wah! why is the terminal all pink? | 15:12 |
davmor2 | mzanetti: so you like it more | 15:12 |
mzanetti | :D | 15:13 |
davmor2 | mzanetti: settings and flick of the retro terminal option and then it is back to black iirc | 15:13 |
mzanetti | seems to be caused by the "Enable effects:" setting | 15:14 |
mzanetti | what's that supposed to do? | 15:14 |
davmor2 | mzanetti: blame popey (tm) | 15:14 |
ogra_ | "did you blame your popey today ?" | 15:14 |
* mzanetti blames popey | 15:15 | |
popey | mzanetti: https://bugs.launchpad.net/ubuntu-terminal-app/+bug/1363414 | 15:15 |
ubot5 | Ubuntu bug 1363414 in Ubuntu Terminal App "New effects don't work on krillin" [High,Confirmed] | 15:15 |
mzanetti | aha! | 15:15 |
mzanetti | thanks popey :) | 15:15 |
popey | np | 15:15 |
popey | its being worked on | 15:15 |
t1mp | mzanetti, nik90_ can you report a bug for the sliding in/out of the header? | 15:15 |
popey | difficult because the developer doesn't have that device | 15:15 |
popey | </record type=broken> | 15:15 |
ogra_ | and the approver didnt either when it landed ;) | 15:16 |
popey | indeed | 15:16 |
popey | fixed that bug | 15:16 |
popey | in fact the devloper has no device at all, is using the emulator | 15:16 |
mzanetti | lol | 15:16 |
* mzanetti sees the effects for the first time | 15:17 | |
popey | that one is in progress | 15:17 |
ogra_ | they look shiny on first sight but i find them annoying after a while | 15:17 |
mzanetti | ogra_: I guess I agree | 15:18 |
popey | yeah, its a bit of fun | 15:19 |
popey | might default off in the future | 15:19 |
mzanetti | popey: the settings page is borked too | 15:20 |
popey | how so? | 15:20 |
popey | it doesn't save between sessions? | 15:21 |
mzanetti | popey: when the color schema option is collapsed, there's empty space at the end of the list | 15:21 |
mzanetti | when its expanded the page doesn't fit | 15:21 |
popey | mzanetti: https://bugs.launchpad.net/ubuntu-terminal-app/+filebug ☻ | 15:21 |
* mzanetti is busy flying his AR.Drone using the Ubuntu phone | 15:22 | |
popey | "busy" | 15:22 |
mzanetti | :D | 15:22 |
mzanetti | popey: will file the bug :) | 15:22 |
davmor2 | wow did mzanetti just create a popey bug bot when I wasn't looking? | 15:23 |
mzanetti | I wish | 15:24 |
dholbach | beuno, zbenjamin: thanks for the reviews - changes pushed to bzr | 15:25 |
zbenjamin | dholbach: awesome :) | 15:25 |
nik90_ | t1mp: fake header -> https://imgur.com/GjjQxNd | 15:29 |
nik90_ | t1mp: just cant get the color and icon size correct | 15:29 |
zeta | hi all!! | 15:32 |
zeta | can i create chat app for android? | 15:33 |
zeta | with qt creator, of corse... | 15:34 |
=== Wellark is now known as Wellark|holiday | ||
nik90_ | zbenjamin: when you fix the console output logs being cut of in qtcreator when running on emulator or phone, please do give me a heads up. | 15:46 |
nik90_ | zbenjamin: it makes debugging on emulators pretty much impossible since it doesn't return all the errors in the code (if any) | 15:46 |
zbenjamin | nik90_: next big release should be much better, but i'm blocked from releasing it atm | 15:46 |
zbenjamin | nik90_: adb shell into the phone and tail the log file for your app | 15:47 |
nik90_ | zbenjamin: hmm yes I could do that... | 15:47 |
=== Wellark|holiday is now known as Wellark | ||
* nik90_ tries | 15:47 | |
zbenjamin | nik90_: /home/phablet/.cache/upstart | 15:47 |
nik90_ | yup got it | 15:48 |
nik90_ | :) | 15:48 |
davmor2 | nik90_: 11 minutes for the 10 minutes alarm you are off by 1 | 15:51 |
nik90_ | davmor2: where? :D | 15:52 |
nik90_ | davmor2: you mean it rings after 11 minutes instead of 10? | 15:52 |
davmor2 | nik90_: Yeap | 15:52 |
davmor2 | nik90_: no it rings for 11 minutes instead of 10 | 15:52 |
nik90_ | davmor2: platform bug I am afraid :/ since it is indicator-datetime that rings the alarm and not clock app. | 15:52 |
nik90_ | davmor2: clock app only allows you to create alarms and list them. Actual ringing is done by a platform service | 15:53 |
davmor2 | nik90_: I'm still blaming you, it's your app that lets me set stop alarm automatically after 10 minutes :P | 15:53 |
nik90_ | davmor2: lol | 15:54 |
davmor2 | nik90_: this is the auto shut of it rang on time it just didn't stop in time | 15:54 |
=== boiko_ is now known as boiko | ||
davmor2 | shut off even | 15:54 |
davmor2 | nik90_: so who owns the setting for that is that in the clock app or the platform? | 15:55 |
nik90_ | davmor2: not sure I follow the autoshut of part | 15:55 |
davmor2 | nik90_: ie in clock settings change the auto shut off for alarms to 10 minutes, Let the alarm ring until it stops, It stops after 11 minutes not 10 | 15:56 |
nik90_ | davmor2: that would be indicator-datetime | 15:57 |
nik90_ | davmor2: please ping me the bug number when you report it. I am tracking a huge list of alarm bugs in a blueprint at https://blueprints.launchpad.net/ubuntu-clock-app/+spec/alarms-rtm | 15:57 |
davmor2 | nik90_: will do | 15:58 |
nik90_ | renatu: you got a few minutes? I fixed the issue with the slide in header (by creating a fake header) at lp:~nik90/ubuntu-clock-app/fix-jarring-alarm-header | 16:44 |
nik90_ | renatu: however there is one last tiny issue when you drag the bottom edge all the way to the top which I am unable to fix | 16:45 |
nik90_ | renatu: can you help me fix it pls | 16:45 |
davmor2 | nik90_: https://bugs.launchpad.net/indicator-datetime/+bug/1364088 | 16:53 |
ubot5 | Ubuntu bug 1364088 in Indicator Date and Time "When the alarm ringing length is set to 10 minutes in clock app, it rings for 11 minutes." [Undecided,New] | 16:53 |
nik90_ | davmor2: thnx | 16:57 |
ahayzen | nik90_, were there really no docs for the usermetrics? | 16:58 |
davmor2 | nik90_: you know I'm going to keep blaming you till it's fixed though right ;) | 16:58 |
nik90_ | davmor2: ofc | 16:58 |
nik90_ | ahayzen: yup no docs | 16:58 |
ahayzen | nik90_, i thought i saw something somewhere....but maybe i'm thinking ur blog post was the doc aha | 16:59 |
nik90_ | lol | 16:59 |
ahayzen | nik90_, but as i stated probably the bigger issue is that usermetrics don't work since #200 | 17:00 |
nik90_ | ahayzen: yup | 17:00 |
ahayzen | :( | 17:00 |
nik90_ | ahayzen: but tbh we still don't know if 3rd party app devs can even use that api in the first place | 17:00 |
nik90_ | ahayzen: need to track the usermetric info dev for both these issues | 17:00 |
ahayzen | nik90_, i think they can? just put the apparmor group in? | 17:00 |
nik90_ | ahayzen: well the decision for restricting/opening the apparmor group | 17:01 |
ahayzen | popey, any progress on bug 1363314 ? | 17:01 |
ubot5 | bug 1363314 in Ubuntu Clock App "App fails to launch on up-to-date utopic desktop" [Critical,Confirmed] https://launchpad.net/bugs/1363314 | 17:01 |
nik90_ | ahayzen: atm yes any body can use it though it may not be intended | 17:01 |
popey | sadly not ahayzen. I poked the landing team this morning but it seems everyone who can do anything on it is on vacation today (US Holiday) | 17:02 |
popey | will poke again tomorrow | 17:02 |
ahayzen | popey, :( my mps are stacking up! lol | 17:03 |
ahayzen | nik90_, yeah i guess we need clarification | 17:04 |
nik90_ | ahayzen: music app is unconfined! How? | 17:08 |
ahayzen | nik90_, magic :) | 17:09 |
ahayzen | nik90_, and it has a lifecycle exception \o/ | 17:09 |
nik90_ | ahayzen: not fair :P | 17:09 |
* nik90_ wants one | 17:09 | |
ahayzen | nik90_, basically we rule the device | 17:09 |
nik90_ | lol | 17:09 |
ahayzen | nik90_, we did get really close to being confined and having no lifecycle exception at one point...but yeah we had to revert... | 17:14 |
t1mp | nik90_: font (weight) and colors are all in PageHeadStyle | 17:22 |
t1mp | nik90_: PageHeadStyle that is in uitk staging has some animations already when switching Page (but the icon colors broke, so I need to fix that) | 17:23 |
nik90_ | t1mp: I fixed all of it. It is not indistinguishable from the real header :P | 17:24 |
nik90_ | t1mp: although I am now worries if the uitk staging animations might break it | 17:24 |
t1mp | nik90_: -in I guess :) | 17:24 |
t1mp | or -not | 17:24 |
nik90_ | s/worries/worried | 17:24 |
nik90_ | t1mp: you cannot tell the fake header from the real one..they are very similar :D | 17:24 |
t1mp | nik90_: bzr branch lp:ubuntu-ui-toolkit/staging && cd staging && qmake && make && source export_modules_dir.sh && test your app :) | 17:25 |
nik90_ | t1mp: yup will try now | 17:25 |
t1mp | ^to see if staging breaks it | 17:25 |
t1mp | :) | 17:25 |
* t1mp will cook a chicken now, bbl | 17:25 | |
ahayzen | nik90_, surely bug 1359022 should be on the blocker list? | 17:28 |
ubot5 | bug 1359022 in libusermetrics "Welcome screen on image #200 always states that there are no data sources available" [Undecided,Confirmed] https://launchpad.net/bugs/1359022 | 17:28 |
nik90_ | ahayzen: well as a low priority bug I suppose | 17:29 |
ahayzen | nik90_, yep who do we ping to do that? | 17:29 |
nik90_ | ahayzen: I suppose sil2100 in ubuntu-ci-eng | 17:29 |
ahayzen | nik90_, cool i'll try | 17:29 |
nik90_ | t1mp: it breaks the continuity :/ | 17:31 |
popey | pretty sure i filed a bug for that already | 17:32 |
nik90_ | t1mp: in the current UITK, my fake header slides in and when the page is pushed, the page header nicely appears over the top but the user won't notice anything. | 17:32 |
nik90_ | t1mp: but now, after my fake header is in place, when the real page header loads it blinks and then the header contents slides in from the sides | 17:33 |
popey | ahayzen: to confuse things further, usermetrics are broken on mako, working on krillin | 17:39 |
ahayzen | popey, wtf lol | 17:39 |
popey | commented on bug | 17:39 |
ahayzen | popey, thanks | 17:39 |
popey | -> lasagne | 17:39 |
ahayzen | nom | 17:40 |
t1mp | nik90_: ohh :( | 18:08 |
t1mp | nik90_: I didn't have many apps to test it with. Can you report a bug with sample code? | 18:08 |
t1mp | nik90_: assign it to me | 18:10 |
nik90_ | t1mp: well its a corner case since it only happens with the bottom edge component | 18:14 |
nik90_ | t1mp: so not the sdk's fault | 18:14 |
nik90_ | t1mp: checkout lp:~nik90/ubuntu-clock-app/fix-jarring-alarm-header to see what I mean with & without the sdk staging | 18:14 |
t1mp | nik90_: how do I run it on desktop? | 18:17 |
nik90_ | t1mp: trusty or utopic? | 18:17 |
t1mp | ah, tim@trusty:~/dev/fix-jarring-alarm-header/app$ qmlscene -I ../backend/ ubuntu-clock-app.qml | 18:17 |
t1mp | uh.. on utopic, although my hostname suggests otherwise | 18:18 |
nik90_ | t1mp: http://paste.ubuntu.com/8208418/ | 18:18 |
t1mp | nik90_: works. looks cool :) | 18:18 |
* t1mp eating now. I'll try later with the uitk header animations branch. | 18:18 | |
nik90_ | t1mp: oh .. enjoy your dinner :) | 18:19 |
renatu | nik90_, hi, sorry I only saw your messages now | 18:41 |
renatu | nik90_, do you still need help? | 18:41 |
nik90_ | renatu: yes | 18:46 |
nik90_ | renatu: it is all working except for that one issue | 18:46 |
renatu | nik90_, can you explain the problem? | 18:47 |
renatu | Do you want block the user for drag the page until the top? | 18:47 |
nik90_ | yes | 18:47 |
nik90_ | I already set the StartY property to the fake header height | 18:47 |
nik90_ | however it stops like 1 gu units before when dragging the bottom edge | 18:48 |
renatu | nik90_, well there is a BIG WORKAROUND in the end of the file related with problems with page and headers | 18:50 |
renatu | this is very trick to change | 18:50 |
renatu | can cause a lot of stuff to stop to work | 18:50 |
renatu | but you can play with that | 18:50 |
renatu | maybe this soulve your problem | 18:51 |
renatu | look for that | 18:51 |
renatu | //WORKAROUND: The SDK move the page contents down to allocate space for the header we need to avoid that during the page dragging | 18:51 |
renatu | Binding { | 18:51 |
renatu | target: edgeLoader.status === Loader.Ready ? edgeLoader : null | 18:51 |
renatu | property: "anchors.topMargin" | 18:51 |
renatu | value: edgeLoader.item && edgeLoader.item.flickable ? edgeLoader.item.flickable.contentY : 0 | 18:51 |
renatu | when: !page.isReady | 18:51 |
renatu | } | 18:51 |
nik90_ | ok | 18:51 |
renatu | and since you have already change the startY value | 18:52 |
renatu | this should works fine | 18:52 |
renatu | minimumY: bottomEdge.pageStartY | 18:52 |
renatu | but yeah in fact the hole pageStack stuff was not done to work this way | 18:52 |
renatu | we have to do a lot of workarounds to get this working | 18:52 |
renatu | and still a lot of problem is happening | 18:53 |
nik90_ | did you try out my branch, may be that might explain the issue better to you? | 18:53 |
renatu | maybe in the future we should not handle the edge page as a "Page" | 18:53 |
t1mp | nik90_: I see the problem. After opening the new page the new header animates again after it already appeared | 18:53 |
nik90_ | renatu: the issue i face happens before the page is pushed | 18:53 |
nik90_ | t1mp: yup | 18:53 |
renatu | nik90_, humm we do not have control over the header | 18:53 |
nik90_ | renatu: I created a fake header | 18:54 |
nik90_ | renatu: https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-jarring-alarm-header/+merge/232913 | 18:54 |
nik90_ | renatu: fakeHeader.qml | 18:54 |
nik90_ | t1mp: I was able to workaround the issue by removing the contents defined in my fake header | 18:54 |
nik90_ | t1mp: so it shows the empty fake header slide and then once the page is loaded, your page header animates in the from the side | 18:54 |
nik90_ | t1mp: so I think that is acceptable for now | 18:55 |
renatu | nik90_, maybe you should not use pagestack then. If you are not using the header | 18:56 |
renatu | this will make your life easy | 18:56 |
nik90_ | t1mp: http://paste.ubuntu.com/8208750/ | 18:56 |
renatu | the header is the only reason to use pagestack | 18:56 |
nik90_ | renatu: what do you mean? | 18:56 |
nik90_ | If I remove pageStack how do I show the alarms page? | 18:56 |
t1mp | nik90_: ok | 18:57 |
renatu | you can use stackView | 18:57 |
renatu | viewStack | 18:57 |
renatu | http://qt-project.org/doc/qt-5/qml-qtquick-controls-stackview.html | 18:57 |
nik90_ | renatu: I do use the header. When the bottom edge animation is complete, the real page loader just appears over the top of the fake header. The user doesnt really notice it. | 18:57 |
renatu | humm | 18:57 |
renatu | ok I will take a look later | 18:58 |
t1mp | renatu: the header shows the back button, and actions of the Page | 18:58 |
renatu | I need to run to a meeting right now | 18:58 |
t1mp | renatu: that won't work with viewStack (from QtQuick.Controls I guess?) | 18:58 |
nik90_ | renatu: ok, no worries | 18:58 |
renatu | yeah if you are using headers you can not use the ViewStack | 18:58 |
renatu | you should use the PageStack | 18:59 |
nik90_ | t1mp: btw was the header content animation requested by design? | 19:04 |
t1mp | nik90_: yes | 19:05 |
t1mp | nik90_: I implemented it a few weeks ago when I was in London with the designers | 19:05 |
nik90_ | ok | 19:05 |
t1mp | nik90_: but it took until last week to get all the tests updated to pass with the animations | 19:05 |
t1mp | nik90_: more types of animations and more control over the animations are planned, but only after a while since there are more important things to finish first | 19:06 |
nik90_ | t1mp: ok I think my workaround results in something better than what we have now. So I think for now I am just going to accept what I have implemented. | 19:06 |
=== salem_ is now known as _salem | ||
Akiva-Thinkpad | hey all | 19:54 |
popey | yo | 19:56 |
Akiva-Thinkpad | popey is there a global variable for the current time in the calender app? | 20:30 |
Akiva-Thinkpad | I need to grab the hour to do an if statement | 20:30 |
Akiva-Thinkpad | better question; is there a way in the sdk to view all the currently defined globals | 20:31 |
ahayzen | Akiva-Thinkpad, if in qtcreator you can press Ctrl+Space and that usually shows you which vars are in scope | 20:36 |
ahayzen | Akiva-Thinkpad, although there are issues when your a cmake project and a few random places it doesn't quite work perfectly | 20:37 |
Akiva-Thinkpad | ahayzen, yah ; usually globals have some underscors in fron tof it? | 20:37 |
ahayzen | Akiva-Thinkpad, depends who has been writing the app :) and which style they have used | 20:38 |
Akiva-Thinkpad | hummdinger | 20:38 |
* Akiva-Thinkpad starts scrolling through the list | 20:38 | |
ahayzen | haha | 20:39 |
ahayzen | Akiva-Thinkpad, it then depends where they've been put, eg in music app we have alot of things under mainView.abc or player.abc or tabs.abc | 20:39 |
ahayzen | i see calendar has tabs.currentDay | 20:40 |
Akiva-Thinkpad | hmmm | 20:40 |
ahayzen | Akiva-Thinkpad, but if u just want the current time can u not get that straight from Date ? | 20:40 |
Akiva-Thinkpad | wwhat is the syntax for defining a global in qml? | 20:40 |
Akiva-Thinkpad | okay I'll check | 20:41 |
Akiva-Thinkpad | for some reason I thought they stored it in a global | 20:41 |
ahayzen | there is a DateExt ? | 20:41 |
* ahayzen is just scanning over the calendar code | 20:41 | |
Akiva-Thinkpad | Yah I just need a conditional, "if (index == Date.getHour){do magic} | 20:44 |
ahayzen | \o/ | 20:45 |
Akiva-Thinkpad | looks like I will have to write it in dateExt... | 20:47 |
Akiva-Thinkpad | hmmm. there is Date.now, but that is a raw number | 20:55 |
Akiva-Thinkpad | okay | 21:01 |
Akiva-Thinkpad | new Date().getHours() | 21:01 |
Akiva-Thinkpad | thats how you do it. not sure if I need new | 21:01 |
Akiva-Thinkpad | ahayzen, popey I notice a lot of the imports in these projects are ubuntu.components 0.1; should I report this as a bug to make sure they are current? | 21:10 |
Akiva-Thinkpad | would updating the .components maybe have any speed improvements ? (I am not sure how the library devs are making tweaks like this) | 21:10 |
ahayzen | Akiva-Thinkpad, probably...i just bumped music-app to be all 1.1 but it depends if the app really needs the later stuff as well | 21:11 |
Akiva-Thinkpad | ahayzen, it would take longer to import I gather. | 21:11 |
ahayzen | Akiva-Thinkpad, i'm not sure if there is any requirement to move onto later versions, eg the old being removed? | 21:11 |
Akiva-Thinkpad | ahayzen, is there a library freeze on it at the moment? | 21:12 |
Akiva-Thinkpad | or are they working on new versions | 21:12 |
ahayzen | Akiva-Thinkpad, idk probably best to ask one of the SDK guys | 21:12 |
Akiva-Thinkpad | sure | 21:16 |
Akiva-Thinkpad | http://askubuntu.com/questions/518912/should-we-be-upgrading-away-from-ubuntu-components-0-1 | 21:19 |
Akiva-Thinkpad | Guess its time to play the waiting game | 21:19 |
Akiva-Thinkpad | :) | 21:20 |
ahayzen | Akiva-Thinkpad, hehe :) and now we wait... | 21:23 |
Akiva-Thinkpad | brb | 21:37 |
=== Pici` is now known as Pici | ||
nik90_ | Akiva-Thinkpad: the SDK API has been frozen for RTM. So what we have for 1.1 is final | 23:45 |
Akiva-Thinkpad | nik90_, oh great | 23:45 |
nik90_ | Akiva-Thinkpad: It is supposed to maintain backwards compatibility with 0.1. | 23:45 |
Akiva-Thinkpad | nik90_, any performance tweaks? | 23:46 |
nik90_ | Akiva-Thinkpad: If it is a core app, it is highly recommended to upgrade to 1.1 since core apps are supposed to be pioneers of using the latest SDK. | 23:46 |
Akiva-Thinkpad | okay | 23:46 |
nik90_ | Akiva-Thinkpad: I believe there were performance tweaks to ubuntu shape. | 23:46 |
nik90_ | Akiva-Thinkpad: not sure if that benefited 0.1 as well | 23:46 |
Akiva-Thinkpad | nik90_, if you want to answer the question then, i'll accept it as the answer | 23:46 |
nik90_ | Akiva-Thinkpad: sure, give me a min | 23:47 |
Akiva-Thinkpad | Ubuntu.Components.Popups" version 1.1 not installed | 23:54 |
Akiva-Thinkpad | nik90_, | 23:54 |
Akiva-Thinkpad | for those; what do we do? | 23:55 |
nik90_ | Akiva-Thinkpad: for those import 1.0 | 23:55 |
nik90_ | Akiva-Thinkpad: same applies for ListItems as well | 23:55 |
Akiva-Thinkpad | cool | 23:57 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!