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

=== chriadam|away is now known as chriadam
dpmgood morning all05:23
dpmgood morning gusch, thanks a lot for the Weather app reviews yesterday. Just a quick heads up that we're going to start the Weather app hackfest in about ~1h 30 today, so there might be other branches to review or things to discuss on the channel - http://developer.ubuntu.com/2013/07/announcing-the-ubuntu-core-apps-hack-days/06:27
guschdpm: ok - I'm here ;)06:28
dpmexcellent, thanks! :-)06:29
dpmbzoltan, bzoltan1, timp, good morning! A number of core apps have been hit by bug 1201094 due to recent changes in the SDK. Do you think you could add a comment with some guidelines on how to fix it?06:32
ubot2`Launchpad bug 1201094 in Ubuntu Weather App "App content visible behind tab header" [High,In progress] https://launchpad.net/bugs/120109406:32
bzoltan1dpm: let me see06:32
bzoltan1dpm: but it feels like the desk of timp06:32
=== bzoltan1 is now known as bzoltan
dpmok, will check with him when he's online06:33
dholbachgood morning07:17
oSoMoNgusch: hey, https://code.launchpad.net/~osomon/webbrowser-app/transparent-header/+merge/174716 can now be tested (CI succeeded)07:48
guschoSoMoN: ok, thx07:48
guschoSoMoN: approved07:57
oSoMoNgusch: thanks07:58
dpmhi timp, around?08:31
timpdpm: yes08:33
dpmtimp, morning! Zoltan suggested you'd be the best person to answer this: a number of core apps have been hit by bug 1201094 due to recent changes in the SDK. Do you think you could add a comment with some guidelines on how to fix it?08:34
ubot2`Launchpad bug 1201094 in Ubuntu Weather App "App content visible behind tab header" [High,In progress] https://launchpad.net/bugs/120109408:34
timpdpm: ok, I added a comment. I am now working on bug 120145208:41
ubot2`Launchpad bug 1201452 in Ubuntu UI Toolkit "[pageStack] PageStack does not save page state" [Critical,In progress] https://launchpad.net/bugs/120145208:41
timpdpm: when I finish I'll check your bug, or perhaps Kaleo is around then and he'll check it first08:41
dpmack, thanks timp08:42
=== chriadam is now known as chriadam|away
JamesTaitGood morning all, happy Corn Fritter Day! :-D08:45
timpKaleo: ^perhaps you can have a look at bug 1201094? Otherwise I will, later today08:46
ubot2`Launchpad bug 1201094 in Ubuntu Weather App "App content visible behind tab header" [High,In progress] https://launchpad.net/bugs/120109408:46
m-b-otimp: Kaleo: oh yes, please :)08:47
WebbyITthere is someone of weather app?09:00
timpWebbyIT: you have lousy weather and you need someone to blame? ;)09:01
WebbyITtimp: yes, something like this :P09:02
m-b-oWebbyIT: here is sunshine09:06
WebbyITm-b-o: here it rains, at least there is a little 'fresh09:06
timpWebbyIT: ah. if the IT in your name means what I think it does, then in general you shouldn't have too much to complain about the weather :)09:06
WebbyITtimp: yeah, there is the game of the double meaning I.T. / Italy :D09:07
timpWebbyIT: your ircname gave it away :)09:08
m-b-oWebbyIT: approved :)09:15
=== popey changed the topic of #ubuntu-app-devel to: http://developer.ubuntu.com | App development on Ubuntu: how to do it & how to make it better | HackDays! http://bit.ly/12Ux0vM | Tue 17th July is Weather App HackDay! http://bit.ly/13p8AWY | Weather App Bugs: http://bit.ly/12CFYya | Weather App Blueprint: http://bit.ly/18itJYx
timppopey: your weekdays and dates are not in sync09:44
dpmhi m-b-o, thanks for joining the hackfest! :-)09:48
popeyoof09:48
m-b-ohi dpm :)09:48
=== popey changed the topic of #ubuntu-app-devel to: http://developer.ubuntu.com | App development on Ubuntu: how to do it & how to make it better | HackDays! http://bit.ly/12Ux0vM | Tue 16th July is Weather App HackDay! http://bit.ly/13p8AWY | Weather App Bugs: http://bit.ly/12CFYya | Weather App Blueprint: http://bit.ly/18itJYx
popeythanks timp ☻09:48
timppopey: np. I'm impressed by your smiley ;)09:49
timperr.. emoticon is the correct term09:49
timpah. those are the \u-codes I some times see when I run my irc client on a freebsd machine. when it runs in ubuntu I see what it actually means09:51
* timp slowly transitioning to the 21st century09:51
popey09:53
m-b-oWebbyIT: are you around?09:57
WebbyITm-b-o: yap09:59
m-b-oWebbyIT: https://bugs.launchpad.net/ubuntu-weather-app/+bug/1198541 I would not try to solve this (if you have intended to do so)10:00
ubot2`Ubuntu bug 1198541 in Ubuntu Weather App "Location results should also show state names for better clarity" [Undecided,Confirmed]10:00
m-b-oit can't be solved with openweathermap api, and it's possible that the weather data provider will change10:01
WebbyITm-b-o: ups, wrong correlation between branch and bug10:01
m-b-oah, ok :)10:02
WebbyITm-b-o: thanks for letting me know :)10:03
timpwho does the design for the calendar-app?10:04
JamesTaitdholbach, just a heads-up, it seems I got my wires crossed wrt app categories - what we have in SCA (and thus Click Index) is freedesktop.org categorisation, rather than Debian control file sections.10:11
dholbachaha10:11
dholbachand is that what was used before? does that come from .desktop files?10:11
JamesTaitdholbach, so what we have is http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html#category-registry as opposed to http://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections10:12
dholbachI don't know who all needs to be informed about this - do we get the data from .desktop files? click manifest? entered in myapps registration form?10:13
JamesTaitdholbach, yes, that's in the .desktop files.  I'm not sure where the data in SCA comes from - whether it's entered manually or extracted from the .desktop file10:13
JamesTaitdholbach, but when Argentina comes online I'll probably be able to get an answer pretty quickly.10:14
dholbachgreat - it'd be good to bring it up on the mailing list as well, so everybody's aware10:14
dholbachand we can get the categories use-case sorted out end-to-end :)10:15
JamesTaitdholbach, I suspect they'll be entered manually, at least at this stage - I don't *think* we're doing any automatic extraction of anything yet, but it may be existing infrastructure from Software Centre.10:15
JamesTaitdholbach, I'll drop a mail to the list anyway, yes. :)10:16
* dholbach hugs JamesTait10:19
JamesTaitdholbach, the Department and Categories fields are selected from drop-downs by the dev when they're uploading their app, in the "Finding your app" step of the upload.10:24
dholbachok and the list is put together by using the stuff from the menu spec?10:25
JamesTaitdholbach, for now, at least - later on we can extract a lot of the data that's currently in those forms from the uploaded file itself.10:25
dholbachok10:25
JamesTaitdholbach, I'm not sure who put the list together, but it does look that way.10:26
dholbachok cool10:26
JamesTaitdholbach, as regards Debian sections, I'm not sure if they're relevant to Click Packages - I suspect not, because Click Packages aren't (AIUI) part of the apt archive, which is why we have the Click Package Index and all that. ;)10:28
dholbachsure, I just wasn't sure how things worked10:28
JamesTaitdholbach, I get that a lot too. :)  I'm not *at all* familiar with a lot of the desktop stuff.10:29
JamesTaitBut it's all starting to click together now.10:29
dholbach:)10:29
JamesTaitSee what I did there? ;)10:29
* JamesTait needs tea.10:29
dpmlol10:30
dholbach:)10:30
=== greyback is now known as greyback|food
=== MacSlow is now known as MacSlow|lunch
dpmpopey, I seem to remember you wrote some instructions to install and test core apps from bzr in the wiki, but I don't seem to find them. Do you happen to have the link handy?12:15
popeyhmm, i did.12:16
=== greyback|food is now known as greyback
popeyi think the document I created was pasted into this, used by the design team, and maintained by callum.. https://docs.google.com/a/canonical.com/document/d/1P0rHOk8muyI3GHHE_CBj0whetzUcoa_7gUhxpxjJG6A/edit12:17
=== MacSlow|lunch is now known as MacSlow
dpmpopey, yeah, looks like it. So the public wiki page was removed? :/12:21
=== _salem is now known as salem_
dpmah, it wasn't removed: https://wiki.ubuntu.com/Touch/CoreApps/InstallingTesting12:32
Kaleotimp: I'll leave it to you12:53
mhall119fginther: ping13:39
fginthermhall119, pong13:39
mhall119fginther: would it be possible to make and upload core apps packages to precise without having to run autopilot on them, if autopilot runs and passes for other releases?13:40
fginthermhall119, yes, that's what were currently doing. We only run autopilot tests on raring, but we upload all 4 series if everything passes13:42
mhall119fginther: ah, didn't realize we had that going now13:44
fginthermhall119, we do a package build test on all four series13:44
mhall119thanks13:44
fginthermhall119, autopilot has only been enabled for 2 packages which started with 100% passing tests13:45
fginthermhall119, other packages have tests, but they didn't initially all pass. These are being re-evaluated as fixes are mede.13:45
dpmmhall119, yeah, I just noticed that after the conversation with Francis: we've already got daily packages for core apps for 12.04 in the PPA13:47
timpKaleo: okay13:54
mhall119dpm: just published http://mhall119.com/2013/07/ubuntu-weather-app-hackfest/13:59
dpmnice, thanks mhall119!13:59
* dpm promotes13:59
krinyeHello14:12
krinyeI don't know if I am in the right place14:12
krinyemy name is Kris, I am from the University of Toronto, I was looking for more information about the ubuntu app hackathons14:12
mhall119krinye: you are indeed in the right place :)14:13
krinyeI believe the weather one is the one people are working on this next14:13
mhall119krinye: yup, there are some bugs that need fixing and tests that need writing, but overall the weather app is pretty far along14:13
mhall119krinye: how would you like to get involved?14:14
mhall119krinye: we have a development guide for the Core Apps, which covers how to get the code and how to submit your changes back: https://wiki.ubuntu.com/Touch/CoreApps/DevelopmentGuide14:19
mhall119you'll also need the Ubuntu SDK packages installed, instructions for that are here: http://developer.ubuntu.com/get-started/14:19
mhall119a good way to start is to get the code, look through it and run the app to get a feel for things14:20
mhall119then pick an Autopilot test that needs writing, or a bug that needs fixing, and give it a shot14:20
mhall119you can always ask for additional help or guidance in here14:20
krinyeAwesome sauce!!!14:23
krinyelet me start on that I will pop by the next couple of days to ask more questions14:24
krinyethanks again for the info!14:24
jonathashi folks, to test Wather app, i need an image of Ubuntu Phone OS or just my ubuntu 13.04?15:26
jo-erlendjonathas, you mean the weather indicator? It should be the same.15:28
PaoloRotolojonathas, Hi, just your ubuntu 13.04 :) You can download sources from bzr and run it in Qt15:28
popeyjo-erlend: i think jonathas is talking about the weather app, given the /topic15:28
popeyjonathas: you can run it on an ubuntu 13.04 desktop, sure15:28
jo-erlendah. :)15:28
jonathasjo-erlend, yeah, weather app15:29
jonathasPaoloRotolo, popey, PaoloRotolo thanks!15:29
PaoloRotolojonathas, you're welcome :)15:29
jo-erlendIt seems it'll take me some time to get fully informed again. I've been away for some time. :)15:30
om26ersalem_, boiko hey! if you guys need CI jobs setup for the splitted apps (or any for that matter), you can ask me as well.15:30
jonomhall119, all set?15:30
mhall119yup15:30
salem_om26er, ah cool! thanks. Not sure if boiko already asked sergio, but we need ci jobs for messaging-app and dialer-app.15:31
renato_Kaleo, timp, the Popover is not following the mainwindow theme15:37
timprenato_: what doe you mean with that?15:37
renato_I am using the "SuruGradient" but the popover is created in the withe color15:37
renato_white15:38
timprenato_: I don't see a PopoverForegroundStyle.qml in the SuruGradient theme, so expect it to be the same as the default theme15:39
timprenato_: the theme currently only has a different style for MainView, and a different color palette15:40
timprenato_: are there visual designs for a popover with the SuruGradient theme?15:40
guschboiko: can you do a quick MR? https://code.launchpad.net/~schwann/gallery-app/gallery-visual-copyright/+merge/17501815:44
renato_timp, the problem is that I am using a popover with a ListItem inside, the listitem has withe font which make impossible to read since the popover is white too15:46
renato_*white15:46
renato_the list item is following the dark theme but the popover not15:46
renato_which make impossible to read15:46
timprenato_: sounds like a bug in the color palette15:48
renato_Kaleo, timp, and the toolbar still white with dark theme which looks ugly15:48
renato_timp ok I will report a bug15:49
timprenato_: yes the color ("overlay") for both toolbar and popover is very light grey in SuruDark and SuruGradient.15:50
timprenato_: add it to the Ubuntu UX project also so a designer can have a look at it15:50
timpthanks :)15:51
renato_timp, Kaleo https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/120186416:02
ubot2`Ubuntu bug 1201864 in Ubuntu UI Toolkit "[popover] Impossible to read ListItems inside a popover when using SuruDark theme" [Undecided,New]16:02
renato_Kaleo, do you know if I should use "SuruDark" or SuruGradient for core apps?16:03
Kaleorenato_: usually SuruGradient, but check with the designer16:13
guschrenato_: can you do a quick MR? https://code.launchpad.net/~schwann/gallery-app/gallery-visual-copyright/+merge/17501816:21
renato_gusch, looking16:21
guschrenato_: thx16:21
renato_gusch, I notice that some projects contains the COPYING.CC file, do you think that we should add this to all projects?16:22
renato_Kaleo, timp, when do you intent to fix the suru theme?16:25
Kaleorenato_: for the popover there is a MR that should fix it already16:26
Kaleorenato_: https://code.launchpad.net/~fboucault/ubuntu-ui-toolkit/popover_efficient_rendering/+merge/17452716:26
renato_Kaleo, ok nice, my MR is blocked because of that16:26
Kaleorenato_: ok, we just need to get timp to review the prereq MR: https://code.launchpad.net/~fboucault/ubuntu-ui-toolkit/popover_simpler_layouting/+merge/17452216:27
Kaleo:)16:27
Kaleotimp: ^16:27
boikogusch: just back from lunch, I think renato already took care of your MR, right?16:32
dpmseb128, which was the gstreamer 1.0 plugin you mentioned yesterday I should install for playing mp3 with the music app instead of the 0.10 version?16:32
dpmas in which package?16:32
seb128dpm, I gave you the url to the package yesterday...16:32
timpKaleo: approving16:32
* seb128 looks for it again16:32
timpKaleo: I got caught up in another bug16:33
dpmseb128, I know, I can't find it in my irc logs for some reason :/16:33
seb128dpm, https://launchpad.net/ubuntu/+source/gstreamer-fluendo-plugins-partner/1:0.10.21-116:33
seb128dpm, gstreamer1.0-fluendo-plugins-mp3-partner16:33
* dpm hugs seb12816:33
* seb128 hugs dpm back16:33
dpmthanks!16:33
seb128dpm, but make sure your code actually use gstreamer1.016:33
seb128dpm, yw!16:33
dpmyeah, I'll check. Qt Multimedia is supposed to make it totally transparent, and I guess this is the best opportunity to see if it's actually true :)16:33
Kaleorenato_: approved https://code.launchpad.net/~renatofilho/ubuntu-ui-toolkit/fix-keyboard-visibility/+merge/17450316:36
Kaleorenato_: thank you very muchj16:36
Kaleotimp: thanks!16:38
AskUbuntuHow to get an application when download an application? | http://askubuntu.com/q/32072116:46
renato_Kaleo, great, thanks16:50
Kaleorenato_: so actually I was wrong the color of text in list items in popover (#1201864) won't be fixed by that MR16:51
Kaleorenato_: I'm going to think quite a bit more about it16:51
Kaleorenato_: sorry16:52
nik90Kaleo: ping16:53
Kaleonik90: pong16:55
nik90Kaleo: I had a question regarding the Theme.palette usage when using the suru themes.16:55
Kaleonik90: shoot16:56
nik90here in this mockup http://ubuntuone.com/6DGNnsKGtQtF5e58pG42f716:56
nik90which theme.palette color should I use for the swipe delete element?16:56
nik90(the dark purple one showing the delete text)16:56
nik90I tried base, field etc. but they do not seem to work. Should I be defining my own color here?16:57
=== dholbach_ is now known as dholbach
Kaleonik90: let me see17:00
Kaleonik90: in the toolkit's gallery we are using Theme.palette.normal.base17:01
Kaleonik90: yeah, that should be the right one17:01
Kaleonik90: do you have code I can try?.17:02
nik90Kaleo: yes. https://code.launchpad.net/~nik90/ubuntu-clock-app/apply-visual-design-colors17:02
nik90Kaleo: another question: Do we have to specify the color of the text explicitly by Theme.palette.normal.baseText? Or is it okay to let it take the default text color?17:04
Kaleonik90: where?17:06
Kaleonik90: you are writing your own widget here essentially therefore you need to specify the colors yourself (Label does nothing smart)17:06
nik90Kaleo: ah ok.17:06
nik90Kaleo: for the delete widget color, I already tried Theme.palette.normal.base. But it doesnt show a darker shade purple17:07
Kaleonik90: well, it should be the right color17:09
Kaleonik90: essentially it's the same color we use as a background for the switch for example17:09
Kaleonik90: or the slider17:09
Kaleonik90: who's the designer?17:09
nik90Kaleo: lina and mehow17:10
Kaleonik90: ok, check with them I would say17:10
nik90Kaleo: will do17:11
Kaleonik90: that color right now is #1900000017:11
Kaleonik90: ie black with 19 opacity in hexadecimal17:11
Kaleonik90: ie. 10% opacity17:11
nik90Kaleo: my background gradient branch is almost complete then. Lets hope the new ubuntushape widget lands soon17:11
Kaleonik90: nice :)17:12
Kaleonik90: why the new shape?17:12
Kaleonik90: so, the new shape won't be good for the clock actually; we will need something custom made for that; the shape is not meant to make circles17:12
nik90Kaleo: really? I thought loicm told me that he was making the ubuntushape useable as a circle as well17:13
Kaleonik90: (in the light theme Theme.palette.normal.base  is slightly more opaque: #1A000000)17:13
Kaleonik90: yeah but it's not going to be 1) efficient 2) enough for all your needs17:13
Kaleonik90: we'll have to discuss it once the new shape is there :)17:14
nik90Kaleo: I really do not know to implement that 3d shape with the cool shadows etc.17:14
nik90Kaleo: yes17:14
Kaleonik90: we'll help :)17:18
nik90Kaleo: :)17:19
Kaleonik90: so about the color17:20
Kaleonik90: ask them if it should be the same as the background color of the slider & switch17:20
Kaleonik90: if yes, then something's wrong in their designs17:21
nik90Kaleo: okay.17:21
Kaleonik90: if not, then it may be something you have to set manually for now17:21
nik90Kaleo: I think you mean if not, then something's wrong in their designs17:21
Kaleonik90: color from the mockup seems to be black with 30% opacity17:21
nik90Kaleo: so the issue is that this widget color (from design) is different the default slider background color. I will ask them on thursday17:22
Kaleonik90: right17:22
Kaleonik90: Rosie chose the colors for the toolkit widgets (slider&switch)17:23
Kaleonik90: and it's black 10% opacity17:23
Kaleonik90: in this mockup, for this other widget, they picked black 30% opacity17:23
nik90Kaleo: ok. And the clock app design is 30% opacity17:23
Kaleonik90: either it's meant to be different17:23
nik90got it17:23
Kaleonik90: which is fine17:23
Kaleonik90: or there is something to resolve :)17:23
Kaleonik90: hope that helps17:24
renato_Kaleo, do you know if is possible to use the TextInput without borders?17:24
renato_TextField17:24
nik90Kaleo: yup thnx for your help17:24
Kaleonik90: everything else worked to your linking?17:24
nik90Kaleo: Also is there a standard search widget in the plans?17:25
Kaleorenato_: hmm, the way we do it right now in some apps is to set a custom style17:25
nik90Kaleo: yeah everything else regarding the background gradient works fine.17:25
Kaleorenato_:                 style: TextFieldStyle {17:25
Kaleo                    background: Item {}17:25
Kaleo                }17:25
Kaleonik90: yes, kalikiana is working on the search widget17:26
nik90Kaleo: perfect :)17:26
Kaleorenato_: see calculator app ubuntu-calculator-app/Simple/CalcLabel.qml17:26
Kaleorenato_: you'll need to import Ubuntu.Components.Themes.Ambiance 0.117:26
Kaleorenato_: does that work?17:29
Kaleorenato_: (wondering also, what's the design that requires it?)17:29
renato_Kaleo, works, but the input field has a left margin and I do not know how to remove it17:32
=== coolstar- is now known as coolstar
Kaleorenato_: right, the notes app does it17:36
Kaleorenato_: Components/TextDelegate.qml17:36
Kaleorenato_: frameSpacing: 017:36
Kaleorenato_: http://pastebin.ubuntu.com/5881592/17:36
=== d_kessel is now known as dkessel
Kaleorenato_: it will look a bit more natural than import Ubuntu.Components.Themes.Ambiance 0.1 later17:39
Kaleorenato_: probably will change to import Ubuntu.Components.Styles 0.117:39
Kaleorenato_: and it will be documented17:40
Kaleorenato_: anyhow17:40
Kaleorenato_: it should work17:40
renato_Kaleo, does not work17:41
Kaleorenato_: wha'ts wrong?17:41
renato_the margin stills17:42
renato_if I use a simple TextInput works17:42
renato_but using the TextField does not work even if I change the style17:43
Kaleorenato_: maybe it's overlaySpacing then17:43
Kaleorenato_: apparently frameSpacing is for TextArea17:43
Kaleorenato_: and overlaySpacing for TextField17:43
Kaleorenato_: go figure why17:43
renato_Kaleo, yes works17:43
renato_thanks17:43
Kaleorenato_: DONE17:44
renato_Kaleo, btw I am using the suru theme17:44
Kaleois it nice?17:44
Kaleorenato_: oh, you mean about the import17:45
Kaleorenato_: yeah better to import SuruGradient then17:45
Kaleo(or whichever you use)17:46
guschboiko: ping17:46
boikogusch: pong17:46
Kaleorenato_: oh, no hang on17:46
Kaleorenato_: you can't do that17:46
Kaleorenato_: only importing Ambiance will work17:46
Kaleorenato_: interesting..17:46
Kaleorenato_: there is a failure in the system then17:46
guschboiko: can you do a quick review? https://code.launchpad.net/~schwann/gallery-app/gallery-fatser-dtae-compare/+merge/17508917:47
Kaleorenato_: but that should not block you17:47
renato_Kaleo, yeah I will keep the import ambience for now17:47
Kaleorok17:48
boikogusch: is the branch name meant to be named like that or is that a typo? :)17:48
Kaleorenato_: ok17:48
boikogusch: approved@17:48
guschboiko: not only one ;)17:48
guschboiko: thx17:48
guschboiko: mybe this one as well? https://code.launchpad.net/~schwann/gallery-app/gallery-visual-copyright/+merge/17501817:49
boikogusch: which reminds me I need to do the same for phone-app, but now I will wait and to that in the splitted apps17:50
guschboiko: I waited for long enought ;) - thx17:51
boikogusch: approved.17:52
=== coolstar is now known as iFail777
=== iFail777 is now known as coolstar
jo-erlendI find it a little strange that people are focusing on a weather app as a core-app for Ubuntu Phone rather than focusing on something like good Anyremote support. Because if you can use your Ubuntu phone as a remote control for your presentations, desktop, music and video – out of the box, then that makes both Ubuntu Desktop and Ubuntu Phone much more attractive. Weather, on the other hand, is something you can easily find on the18:33
jo-erlend web. Sure, it's nice, but I don't think anyone will choose Ubuntu because of it.18:33
nik90jo-erlend: My best possible is that the core apps was initially started out with apps which are essential for basic phone usage18:34
jo-erlendexactly. Weather isn't.18:34
nik90jo-erlend: and then slowly they started adding apps which were mature and also usefuly18:35
nik90jo-erlend: I like to think weather is more useful than a presentation app which might only apply to a smaller subset of people18:35
jo-erlendnik90, I'm not talking about a presentation app. I'm talking about a remote control that can be used with almost any Ubuntu application.18:35
zeokilajo-erlend: I've got to disagree with you, a weather app will hit a much larger audience then a presentation control thingy18:36
jo-erlendAnyremote does a very good job at that, but it's not at all polished and can be rather confusing to configure. However, when it works, it's very nice.18:36
zeokilaThe time it takes for you to launch the web browser, put in your query or open your favorites > time to open a weather app18:36
jo-erlendsure. I'm not saying the weather app is bad. Quite the contrary. It looks very nice. But I don't see it as a core app.18:37
nik90jo-erlend: do you mean an app which allows you to control your music player or <insert app here> running on your phone from your desktop and vice versa?18:37
zeokilaYour control thingy could be good, but as something people whom specifically need it should download it on the to be 'app store thingy', it will just be an annoying icon for most people18:38
popeyjo-erlend: feel free to develop an app.18:38
jo-erlendhowever, being able to control all your Ubuntu applications, including Totem, Rhythmbox, Firefox, Evince, LibreOffice, etc using your handheld device, is very nice. I currently do that in Android.18:38
jonojo-erlend, we are focusing on weather as many phones ship with a weather app and it isnt a huge amount of work to focus on18:39
timpjo-erlend: you can work on a remote control app while others work on a weather app :)18:39
timpah, as popey said :)18:39
jonoindeed :-)18:39
nik90jo-erlend: if the app is mature and found useful, I am positive it can be made a core app.18:39
nik90I have found other apps like sudoku, dropping-letters being added to the core apps program18:40
timpwhat is dropping-letters? I saw it on the wiki but without information18:40
nik90It is a matter of finding people to help develop them18:40
popeyits a game18:40
nik90timp: its a nice game18:40
popeytype words with the falling letters18:40
timpnik90, popey sounds nice... you have to type the words away? how do you do that without a keyboard?18:41
popeyyes, you tap the latters18:41
timpwithout a *physical8 keyboard18:41
popey*letters18:41
popeyits fun18:42
timpI guess I have to try it out to understand18:42
popeywas the first ever game on ubuntu touch18:42
popeyyeah18:42
popey18:42
timppopey: there was another first18:42
timpunity ;)18:42
popeyhah18:42
nik90:)18:42
MihirHello18:43
Kaleokenvandine: you around?18:45
kenvandinehey Kaleo18:50
Kaleokenvandine: I introduced a bug in the friends app18:54
kenvandinenice :)18:54
Kaleokenvandine: actually, I just made it a lot more visible18:54
kenvandineKaleo, what's that?18:54
Kaleokenvandine: the header was never hiding before18:54
Kaleokenvandine: but now on top of that the list of posts goes over it18:55
Kaleokenvandine: (it's not clipped by it)18:55
Kaleomhall119: you know martin boro?18:56
nik90Kaleo: This is actually a bug in the weather app as well.18:56
nik90Kaleo: this is most likely a bug in the sdk18:57
Kaleomhall119: dev of the weather app18:57
kenvandineKaleo, is that only while scrolling?18:57
Kaleonik90: it looks like the same but it's different18:57
Kaleonik90: and neither of these issues are bugs in the toolkit actually18:57
Kaleokenvandine: yes18:57
kenvandinewhat do i need to do to fix it18:57
Kaleokenvandine: you need to have the first child of each Page to be the ListView itself18:58
mhall119Kaleo: yeah, m-b-o on IRC18:58
Kaleomhall119: he is not here is he18:58
kenvandineso it's really just the order?18:58
nik90Kaleo: oh. I assumed it was due to the sdk, since it started happening only recently18:58
mhall119Kaleo: not now, but he was earlier today18:58
Kaleonik90: a change in the toolkit just made the wrong code more wrong18:58
nik90Kaleo: :)18:58
Kaleomhall119: ok, we just need to have https://code.launchpad.net/~martin-borho/ubuntu-weather-app/Bug1201094 landed18:59
Kaleokenvandine: well, yes18:59
Kaleokenvandine: we only look if any of the children is a Flickable to do the smart hiding of the header18:59
Kaleokenvandine: not any of the *descendants*18:59
Kaleokenvandine: (and while you are at it you probably want to remove that ugly white background :))19:00
kenvandineso should i make the child flickable?19:00
Kaleokenvandine: no, just move up the ListView19:00
Kaleo(ListView inherits from Flickable)19:00
Kaleokenvandine: alternatively there is a 'flickable' property on the page19:01
Kaleokenvandine: that you can set19:01
Kaleo(on Page)19:01
kenvandinethat is what i was just doing :)19:01
Kaleokenvandine: :)19:01
jo-erlendjono, but convergence is important to Ubuntu. So far, it seems to be about making one device able to act as different things. But enabling one device to control another should also be part of the convergence story, I think.19:04
jonojo-erlend, right, but that is not really a core app19:04
jonoit is a cool app19:04
jo-erlendwow.19:05
jonoand you are certainly free to write that app19:05
jo-erlendWeather should be a core app, but Ubuntu should not? :)19:05
jonojo-erlend, I never said that19:06
jonoI don't think a unified remote control is an app, it is a system function19:06
jonobut we nominated weather as a core app many folks will want19:06
jonojo-erlend, in any case, who cares, we are already working on weather, and we are not stopping others from writing a remote :-)19:06
jo-erlendoh, I see. Yes, I can understand that point.19:06
jo-erlendright :)19:07
jo-erlendI'd _really_ like to see a port of PokerTH as a core-app. I'd like to see it preinstalled in Ubuntu Desktop as well. Has to be one of the best open source games around.19:09
popey*boggle*19:09
popeythe definition of "core app" isn't "whatever app jo-erlend uses most on his phone" you know? ☻19:10
jo-erlendhehe19:10
jonojo-erlend, can you help write these apps you want?19:10
Kaleolol19:10
jo-erlendjono, I've been thinking about writing an anyremote frontend, yes.19:10
KaleoI want my egg timer app19:10
Kaleojust to measure egg boiling time19:10
kenvandinelp:~ken-vandine/friends-app/page_for_flickable19:10
kenvandineKaleo, can you look at that?19:11
timpKaleo: http://e.ggtimer.com/2min :)19:11
kenvandinethe header mostly stays hidden now19:11
popeyi use the oven timer for that19:11
Kaleokenvandine: wowo19:11
Kaleokenvandine: not what I expect19:11
Kaleotimp: thanks19:11
kenvandineKaleo, yeah, doesn't seem right :)19:11
timpI use e.ggtimer.com for everything. So if I don't have internet, my food becomes a mess19:11
kenvandinetimp, lol19:12
jo-erlendhehe19:15
Kaleokenvandine: ok, some parameters set on ListView trigger that19:16
kenvandineah19:16
kenvandinenot surprising... i tweaked the hell out of that :)19:17
Kaleokenvandine: comment out currentIndex: 019:17
Kaleokenvandine: or better highlightRangeMode: ListView.StrictlyEnforceRange19:17
kenvandinecommenting out the highlightRangeMode fixed the header19:18
Kaleokenvandine: yeah19:19
Kaleokenvandine: not sure why you have it there19:19
kenvandinefor keyboard nav19:19
Kaleokenvandine: ok19:19
Kaleokenvandine: it sure is a bug in the toolkit anyways19:19
kenvandinewhich i just realized isn't working19:19
Kaleokenvandine: not a new one too19:19
Kaleokenvandine: lol19:19
kenvandineprobably related to the page change19:19
Kaleokenvandine: so, now19:20
Kaleokenvandine: it looks like it could take a bit more time to fix all this19:20
seb128Kaleo, " kenvandine: but now on top of that the list of posts goes over it"19:20
seb128Kaleo, oh, that's you to blame!!! (seeing that as well in system settings)19:21
Kaleokenvandine: if you want to fix the build quickly, what you can do is simply "clip: true" at the right spot19:21
Kaleoseb128: where?19:21
seb128Kaleo, the storage subpanel in about19:21
kenvandineseb128, is the flickable set?19:22
Kaleoseb128: not broken here19:22
Kaleoseb128: (in today's build)19:22
seb128Kaleo, no, in fact I'm lying, it was in "licenses" and Laney fixed it today by replacing the height value by a anchors.fill19:22
kenvandineah19:22
seb128Kaleo, the storage one is acting weird in another way, when you scroll down the header doesn't hide19:22
Kaleoseb128: cool; it does not sound like the right fix though19:23
Kaleoseb128: is the header hiding when scrolling down with that fix?19:23
seb128Kaleo, what fix? I'm still reading scrollback ;-)19:23
kenvandinenow i'm wondering if this just broke keyboard nav or if it was already broken19:23
Kaleoseb128: the storage header is hiding for me19:23
Kaleoseb128: Laney's fix19:23
Kaleoseb128: in the licenses the header does not hide for me19:23
kenvandinecrap... not a new bug19:24
Kaleoseb128: I think you are mixing them up :)19:24
Kaleokenvandine: :D19:24
kenvandineKaleo, wtf broke that!19:24
dkesseldanielholm, are you there? I am trying to write an autopilot test for the music app and i'm searching for something in the app's code to verify an assumption I have...19:24
Kaleokenvandine: ok, I'll leave it up to you now :)19:24
Kaleokenvandine: you hjave all the info you need19:24
seb128Kaleo, yeah, they are different bugs ... about->storage has the "not hiding" bug19:24
kenvandineKaleo, what should i do about the highlightRangeMode?  do you have a bug to track that?19:24
Kaleoseb128: no19:25
Kaleoseb128: it's hiding for me "storage"19:25
kenvandineseb128, it is hiding for me19:25
seb128Kaleo, about->licenses has the "scroll over the header" + "no hidding" for me19:25
Kaleoseb128: me too19:25
Kaleoseb128: and the proper fix for that cannot be just a anchors.fill19:25
seb128Kaleo, kenvandine: weird, in storage it hides and when the scrolling stop I get the header displayed back over the top19:25
Kaleoseb128: is that fix in trunk?19:25
Kaleoseb128: are you testing trunk or the latest image?19:26
seb128Kaleo, trunk, I've been hacking on it just before dinner and built trunk+local changes19:26
seb128Kaleo, http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/revision/14619:26
seb128Kaleo, that was Laney's fix, but seems like it doesn't really fix the header issue indeed...19:27
Kaleoseb128: (unrelated your commit 140 is incorrect: it should 1) not duplicate that code 2) have a FIXME)19:27
seb128that will teach me to trust the "easy looking fixes" :p19:27
Kaleo"Small tweaks to the license page: make scrolling work correctly so it doesn't hide the header & go a bit faster so the large list can be navigated.19:28
Kaleodoes not hide the header...19:28
kenvandineyeah19:28
kenvandinethat needs flickable19:28
Kaleothat looks wrong19:28
seb128Kaleo, 1) right, I was just unsure how to share the code between panels19:28
kenvandinein Software.qml19:28
Kaleoseb128: create a new class19:28
kenvandineflickable: softwareList19:28
kenvandinewill probably fix that19:28
Kaleoseb128: inheriting from Flickable19:29
seb128kenvandine, let me try that19:29
seb128Kaleo, where? in system settings? and where do I install it?.19:29
Kaleoseb128: in system settings19:29
Kaleoseb128: you don't have common code between the plugins?19:29
Kaleoseb128: (and you should not compare the contentHeight with root.height but simply with height)19:30
kenvandinewe do19:30
seb128kenvandine, where? ;-)19:30
Kaleoyou must have :)19:30
kenvandinewe have ItemPage which inherits from Page19:30
KaleoI can't imagine that the toolkit is THAT good :)19:30
seb128well in libSystemSettings19:30
Kaleothat it provides all you need :)19:30
kenvandineyou need to set flickable on ItemPage19:30
seb128Kaleo, system settings are mostly lists, we don't need that much custom code...19:31
Kaleoseb128: sweet19:31
Kaleoseb128: for the issue at hand (sorry for the side talk), kenvandine is right19:31
kenvandinehttp://paste.ubuntu.com/5881921/19:31
kenvandineseb128, ^^19:31
kenvandinethat works19:31
seb128kenvandine, if you mp it I can approve it ;-)19:32
kenvandinewill do :)19:32
Kaleook, my job is done; I gotta run19:32
seb128I'm not sure to understand why that's needed though19:32
Kaleokenvandine: you good?19:32
Kaleoseb128: we need to know what's scrolling19:32
Kaleoseb128: so that we sync the header with it19:32
seb128but I guess that's one of those things I don't understand why qml is not doing the obvious19:32
kenvandineKaleo, do you need a bug filed for my highlight thing breaking the header?19:32
Kaleoseb128: what would be the obvious?19:32
Kaleokenvandine: yes please19:33
seb128like putting columns width to the container width19:33
kenvandineok19:33
Kaleoseb128: that's very different :)19:33
seb128Kaleo, because when you have one item in a page there is not a lot of choices of what to scroll on :p19:33
Kaleoseb128: you don't have one item :)19:33
seb128we have a page with a ListView in it19:33
Kaleoseb128: you have an Item that contains another Item that contains a ListView19:33
seb128nothing else19:34
seb128ok, the header screws me there :p19:34
Kaleoseb128: hang on19:34
Kaleoseb128: looking more closely you are right I think19:35
kenvandineso in this case the toolkit doesn't know what to use to determine if it's scrolling19:35
seb128Kaleo, http://paste.ubuntu.com/5881930/ is my code19:35
kenvandinewe have an ItemPage with a ListView19:35
timpsoftwareList is a direct child of the Page, so page.flickable should be automatically set19:35
Kaleoseb128: ok, I know the bug19:35
Kaleoseb128: I don't know the bug19:35
Kaleotimp: you are right19:35
timpunless UbuntuStorageAboutPanel  is also flickable, then that will be the value of page.flickable19:35
Kaleotimp: it should just work19:35
Kaleoplease everybody ignore me and listen to timp19:36
seb128lol19:36
KaleoI'm gone19:36
kenvandinehttps://code.launchpad.net/~ken-vandine/ubuntu-system-settings/flickable/+merge/17511019:36
kenvandineseb128, ^^19:36
seb128Kaleo, have fun, ttyl!19:36
* timp eod a while ago. But I'm always tempted to eavesdrop ;)19:37
seb128yeah, same here ;-)19:37
seb128kenvandine, looking19:37
timpI don't have system settings running here, probably I have to configure and install stuff for that for a few hours first ;)19:38
timpbut the Page seems good. If it doesn't work, then maybe it is the way the page is added to the MainView19:38
timpor to a PageStack or Tabs inside a MainView19:38
seb128ItemPage is simple code19:39
seb128it does19:39
seb128Page {19:39
seb128    id: root19:39
seb128    property variant plugin19:39
seb128    title: i18n.dtr(plugin.translations, plugin.displayName)19:39
seb128}19:39
seb128then the code is what I pastebined before19:40
timpI have the source tree, but nothing compiled19:41
timpwhere is your main window?19:41
Laneyerm, what?19:41
LaneyIt certainly does make the header hide when you scroll19:41
timpah, found it.19:42
Kaleotimp:19:43
Kaleo                        if (child.anchors.top === page.top || child.anchors.fill === page) {19:43
ahayzendkessel, the default media files are in the package example-content19:44
timpKaleo: yes, a flickable that is not aligned to the top shouldn't push the header out when you scroll down19:44
dkesselahayzen, spooky - had a look at my branch? :) thanks for the info19:45
Kaleotimp: but by default all Item's are alighen to the top19:45
Kaleotimp: so the condition is a bit too strict19:45
ahayzendkessel, yep :)19:45
Kaleoaligned*19:45
ahayzenwas just scanning through19:45
kenvandineKaleo, https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/120193619:45
Kaleotimp: ie. by default y == 019:45
ubot2`Ubuntu bug 1201936 in Ubuntu UI Toolkit "highlightRangeMode in a ListView hides the page header" [Undecided,New]19:45
Kaleotimp: on all Items19:45
Kaleokenvandine: thanks19:45
Kaleotimp: I think we really need something more explicit19:46
Kaleotimp: maybe even something like "ScrollablePage"19:46
Kaleotimp: that you use if you want the header to hide19:46
Kaleotimp: and for which you have to set the flickable19:46
timpKaleo: ah I didn't think of that. I assumed if you don't set anchors or y, the position is not defined19:46
Kaleotimp: right19:46
mhall119Kaleo: do you happen to have screenshots showing the different available themes?19:47
Kaleotimp: I find lots of apps that either don't have a direct child being the flickable19:47
Kaleotimp: or don't set anchors19:47
timpKaleo: we have the flickable property. If you want it explicit, we could remove the automatic detection of that19:47
Kaleotimp: maybe yeah19:47
Kaleotimp: we need to market it somehow19:47
timpKaleo: it would save us some hassle, and remove some code19:47
Kaleotimp: so that everybody knows you need to set it19:48
Kaleotimp: I'm thinking that's not enough though19:48
Kaleotimp: I'm thinking if you have to use a ScrollablePage to make it work it's better19:48
mhall119Kaleo: timp: add it to askubuntu.com as a question and subsequent answer, then we can add it to the developer.u.c cookbook19:49
Kaleotimp: that way people make a conscious choice of it19:49
Kaleomhall119: yeah, but we need an API trick first :)19:49
Kaleotimp: and first line of the documentation of Page we talk about ScrollablePage19:50
Kaleotimp: or something19:50
timpKaleo: so remove all this flicking-stuff from page, and add a subclass of Page called ScrollablePage where you set the flickable property?19:50
Kaleotimp: and ScrollablePage raises an exception if no flickable is set19:50
Kaleotimp: yeah19:50
Kaleotimp: it's an idea19:50
Kaleotimp: maybe there is better19:50
timpthe other option is to talk about the flickable property in the first line of Page, and not try to detect a flickable automatically19:50
Kaleotimp: htmmm yeah19:50
Kaleotimp: the other option is to provide ready made Pages19:51
Kaleotimp: one with a ListView for example19:51
timpI've thought of putting a Flickable by default in a Page as a default property, but then you get problems if you have a custom Flickable (such as a LisView)19:51
Kaleotimp: right19:52
Kaleotimp: how about we don't have Page19:52
Kaleono, that's crazy19:52
Kaleotimp: I'm out of ideaas19:52
timpFlickablePage and ListViewPage would be an option, but I'm not sure if that is enough19:52
mhall119Kaleo: do you happen to have screenshots showing the different available themes?19:52
timpKaleo: we used to have no Page.19:52
Kaleomhall119: not at hand, ask Rosie19:52
timpKaleo: but you need to set the tools and title(or header contents) somewhere19:52
timpif custom subclasses of Flickable and ListView are rarely used, FlickablePage and ListViewPage might be an option19:54
kenvandineKaleo, i hate to keep you around longer than needed... but would you mind giving a quick review to https://code.launchpad.net/~ken-vandine/friends-app/page_for_flickable/+merge/17511419:55
timpwe can set parameters such as the topMargin for the flickable then inside the page, instead of setting it for the flickable property when that is updated19:55
kenvandineKaleo, you've basically seen it already :)19:55
timpKaleo: I also thought about incorporating the functionality of PageStack in the MainView19:56
timpthen you always have something like a stack available (for example if a search is triggered from outside the app, and the search view should have a back button)19:57
timpbut that's a different topic19:57
timpkenvandine: your MR looks good but I didn't build/run it because I don't have the dependencies now20:06
timpkenvandine: I would remove the anchors from the Timeline in friends-app.qml20:06
timpkenvandine: also the PageStack in that file doesn't need anchors. it is automatic.20:07
Kaleokenvandine: approved sir20:07
kenvandineKaleo, thanks20:08
kenvandinetimp, i probably have way too many anchors :)20:08
kenvandinei'll remove those20:08
kenvandinetimp, i would love to have an expert take a look at the delegate in that listview to see how it can be optimized20:09
* Kaleo is gone now.20:09
timpciao20:09
timpme too20:09
kenvandinegood night!20:09
Kaleokenvandine: don't( use DropShadow20:09
Kaleokenvandine: that's the bigggest drag20:09
kenvandinei'll try disabling that and compare20:10
Kaleokenvandine: use QML_RENDER_TIMING=120:10
kenvandinebut i think there is some sizing issues20:10
Kaleokenvandine: and look at render time20:10
kenvandinewhich also makes the transitions chunky20:10
Kaleokenvandine: if on your laptop it's above 5ms you can be sure that's it's too much20:11
Kaleokenvandine: and going to be laggy on the phone20:11
kenvandineit's actually smoother on the phone20:11
kenvandinewhich is weird!20:11
Kaleokenvandine: ah ah20:11
Kaleokenvandine: that I know why20:11
Kaleokenvandine: it's using a different QtQuick renderer20:11
Kaleokenvandine: (it's using multiple threads on the phone, not on the desktop20:12
kenvandineah... so nothing i'm doing wrong )20:12
Kaleo)20:12
kenvandine:)20:12
Kaleokenvandine: which will change20:12
kenvandineawesome20:12
Kaleokenvandine: try QML_FORCE_THREADED_RENDERER=1 on your desktop20:12
Kaleokenvandine: that will give you what the phone uses by default20:12
Kaleoanyway most improtantly: profile with QML_RENDER_TIMING=120:12
Kaleoand profile with the profiler in QtCreator20:13
Kaleo:)20:13
Kaleoon that note, byyyyyyyyyyyyyyyyye20:13
=== salem_ is now known as _salem
=== _salem is now known as salem_

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