/srv/irclogs.ubuntu.com/2013/05/16/#ubuntu-uds-appdev-1.txt

=== schwuk_away is now known as schwuk
=== udsbotu changed the topic of #ubuntu-uds-appdev-1 to: Track: App Development | SDK UI Toolkit Responsive Layouting | Url: http://summit.ubuntu.com/uds-1305/meeting/21769/appdev-1305-ui-toolkit-responsive-layouting/
=== dpm_ is now known as dpm-uds
mhall119will be starting momentarily, problems with the new Google+ hangouts14:01
ckpringleI can't see any video?14:05
t1mp_ckpringle: me neither. 16:01:39 < mhall119> will be starting momentarily, problems with the new Google+ hangouts14:05
mhall119ckpringle: google hangout changes are causing problems14:05
mhall119https://plus.google.com/hangouts/_/d90216735cd879f59d9e8f946686ba5825835887?authuser=1&hl=en for anybody who wants to join14:06
ckpringlemhall119: :(14:06
mhall119going live14:07
ckpringlemhall119: \o/14:07
ckpringlePlease stand by.14:07
aquarius_udswoo responsive layout!14:08
aquarius_udsmake it so.14:08
alecuno "lower third" today?14:09
mhall119alecu: working on that14:09
alecuawesome!14:10
fugue88mhall119: Yes, but takes a while to repaint.14:11
aquarius_udscan you talk about how you propose to do this, from code? What does an app developer do to take advantage of it?14:12
t1mp_QUESTION: ^14:12
dobeyextending on aquarius_uds's question, sill there be a signal to tell the app what form factor the app is running on, when switching between form factors for the converged device plan?14:13
t1mp_aquarius_uds: here you can see how you would use it http://bazaar.launchpad.net/~gerboland/+junk/googleio-layout/view/head:/googleio.qml14:13
fugue88dobey: I suppose that would be sufficient to handle screen rotation as well.  But maybe not?14:14
aquarius_udsI have now seen the demo code, which I had not seen when I asked the question14:14
dobeyfugue88: i think qt already has a way to signal screen rotation?14:14
* fugue88 doesn't know14:14
YototaQUESTION : What you show is made with "item".I think we should allow the "pagestack" to easily display more than one page at the same time for tablets. On smartphone we'd have one page after the other, on tablet we could display two pages or more at the same time.14:15
aquarius_udsI don't think we need rotation for this. What's the difference between "this window got rotated" and "this window got resized from 480x800 to 800x480"?14:15
dobeyso it will just be automatic, and the app provides N different layouts for N different device/layout types?14:15
t1mp_zsombor turned into a giant tennis ball14:16
dobeyaquarius_uds: viewing angle14:16
alecuaquarius_uds: the only difference is subpixel antialiasing, but I guess qml should handle that automatically14:16
netcurlidat tennis ball14:16
pmcgowanmhall119 zsombi we are not seeing the code14:17
pmcgowanok now we are14:17
Yotota+1 aquarius_uds we don't need rotation, the window size is sufficient.14:17
dobeyi disagree14:17
fugue88QUESTION: What happens when no layout's constraints match the current screen?  Or is that situation prevented statically?14:17
aquarius_udsdobey: that's how I think it should work, yes: the app provides as many different layouts as it thinks are reasonable. (The same as responsive web design. You make breakpoints.)14:17
pmcgowansorry we can now14:18
fugue88We can barely read the code window on youtube.14:18
aquarius_udsfugue88: if no layouts match this screen, then nothing would display, right? The same as if I don't put any layouts at all :)14:18
alex-abreuzsombi, that's fine it works now14:18
dobeyaquarius_uds: a signal is still useful though, in the event that apps want to do other things that aren't displayed, for different layouts14:18
fugue88aquarius_uds: I'd consider that a bad thing.14:18
fugue88I could see some devs not considering that something might run on, for example, a larger screen than the dev himself has.14:19
dobeyaquarius_uds: if you don't add any layouts, then you have 1 layout (or you haven't written an app)14:19
fugue88Hmm.14:19
aquarius_udsfugue88: what should happen if I do this: import QtQuick 2.0; Rectangle { color: "red"; Rectangle { color: "blue" } } ? I have given no indication where those rectangles should be, so they don't show anywhere.14:19
aquarius_udsthat's the way QML works.14:20
aquarius_udsdobey: agreed that you should get a signal if your screen size changes, totally.14:20
fugue88Well, that'd be good.  I don't know QML.14:20
aquarius_udsbut I agree with Kaleo_ and mhall119 -- people should not be saying "is this a tablet?", they should be saying "is this an 800px screen? does the list of inputs include touch?"14:21
dobeyKaleo_: form factor is important for input device types, and such. it's a corner case, but still a valid requirement for apps to know about :)14:21
madjrhmm14:22
aquarius_udsyes. Apologies. "am I an 800px window?", not "is this an 800px screen" :-)14:23
madjrI think on phablet mode, no desktop mode apps should be available14:23
dobeyit shouldn't matter if the screen (or window) is 800px or 1600px14:23
Kaleo_Yotota: the PageStack will do that automatically in time14:24
alecuaquarius_uds: "am I a 40 grid units window?"14:24
dobeyalso not useful14:24
aquarius_udsalecu: yes. One day I will remember abotu grid units. ;)14:24
alecudobey: I don't understand. why not?14:24
dobeyalecu: because of differences in DPI. 300dpi tablet will have more grid units than a 100dpi 23" monitor :)14:25
fugue88Doesn't that defeat the purpose of grid-units?14:26
fugue88dobey: ^14:26
aquarius_udsdobey: that's what grid units are meant to cater for.14:26
LimurxIs it planned to provide a phablet and desktop UI for every application or will one application for the one and one for the other?14:26
dobeywhat's the url for that wiki page about the grid units?14:26
Kaleo_Limurx: prefix with QUESTION14:26
Kaleo_Limurx: we'll take your question next14:26
Limurxk thanks14:27
Yotota+1 for user-made template library14:27
t1mp_dobey: not wiki, but I guess you want this https://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/resolution-independence.html14:27
dobeytimright, that14:27
Kaleo_Yotota: generally speaking we want to have a staging/extras repository containing experimental components that people want to share but that are not ready for inclusion in the toolkit14:28
aquarius_udsQUESTION: can't LayoutManager just examine all the Layouts and confirm that they are mutually exclusive, and if not, display a warning or something? That would cater for "no layouts apply to the current window" *and* "two layouts apply to the current window"14:28
dobeyanyway, a gu is just an arbitrary number of px. so it will vary across screens. using "am I X gu?" is equally not as useful as "am I X px?"14:29
YototaKaleo: That's a good idea :)14:29
aquarius_udsdobey: but your 300dpi screen device will have a different definition of a gu than your 100dpi device does14:29
aquarius_udsdobey:that's the point. :)14:29
dobeyaquarius_uds: yes, but it doesn't mean that X gu is the full width of the screen (assuming full screen everywhere).14:30
Kaleo_dobey: gu is compatible with something like metres14:30
dobeyaquarius_uds: thus it's not a useful measurement for determining layout changes :)14:30
Kaleo_dobey: which means it is useful for determining layout changes14:31
YototaQUESTION: Is it plan to have a simulator to simulate different screen densities ?14:31
madjr@Limurx I think all windowed apps should be tied to desktop (desktop mode = true)14:31
aquarius_udsKaleo_, mhall119, zsombi: yes. That is why I think the LayoutManager should be smart. Detect whether more than one could be true or if none could be true, and *tell the developer*.14:31
dobeyKaleo_: comaptible and a constant portion of, are not the same thing :)14:31
Kaleo_dobey: ok14:32
fugue88I think first-match is good enough.14:32
Kaleo_dobey: I'll be more precise then14:32
dobeyKaleo_: the best solution is to not rely on gu or px at all, for determining layout change. so a layout change signal would obviously be best14:32
aquarius_udsKaleo_, mhall119, zsombi: so I start up my app and it says "WARNING: there is no layout available for screens wider than 80gu. WARNING: there are two layouts available when screen width is less than 15gu."14:32
christofferanyone got the link for the hangout or is it full?14:33
alecuKaleo_: on a tv, I probably want two columns instead of the three columns I get on a laptop. So I guess dobey's critique stands.14:33
dobeyfor instance, "am i 10 gu?" doesn't tell me if my app is in the sidebar, or if i'm just on a low dpi device14:33
zsombichristoffer: https://plus.google.com/hangouts/_/d90216735cd879f59d9e8f946686ba5825835887?authuser=1&hl=en14:33
dobeymhall119: gu will have to change on fly if convergence is going to work14:33
Kaleo_dobey: 1 GU always has the same visual perceived size14:33
Kaleo_dobey: regardless of the device14:34
fugue88dobey: Oh, now there's a good example.  I agree that "modality" would be necessary to know, but I still think gu dimensions are as well.14:34
dobeyKaleo_: i have hardware that breaks that assumption :)14:34
Kaleo_dobey: which?14:34
mhall119https://plus.google.com/hangouts/_/d90216735cd879f59d9e8f946686ba5825835887?authuser=1&hl=en14:35
dobeymy fujitsu laptop14:35
fugue88dobey: And how does your fujitsu laptop violate it?14:36
t1mp_whois fugue8814:36
t1mp_+/14:36
t1mp_:)14:36
fugue88:)14:36
fugue88David Owen14:36
dobeyfugue88: there's no clarification of what a "retina laptop" is14:36
Kaleo_dobey: join the hangout14:36
aquarius_udsQUESTION: why can't I name an item to be placed in a layout by id rather than Layout.name? (When the answer is "because QML won't recognise the ID if it's in another qml file", have we thought about changing that, upstream?)14:37
madjrQUESTION: you think is best not to allow traditional "windowed" desktop apps in phablet mode?14:37
fugue88dobey: What's that have to do with anything?  Does your laptop have a higher DPI in one part of the screen than the other?14:37
mhall119aquarius_uds: join the hangout14:37
aquarius_udsmhall119: I'd rather dobey's objection was sorted out than mine :)14:38
fugue88dobey: Join the hangout!  :)14:38
dobeyfugue88: it's only 1280x800, but it's only 5.6" screen14:38
dobeyi'm trying14:38
mhall119aquarius_uds: which objection was that/14:38
Yototamadjir  : If someone whant to use windowed apps I'd would just switch to desktop mode, but this mode should be default only when docked.14:38
Kaleo_ckpringle: you can answer madjr's question :)14:39
Yotota*want14:39
ckpringleaquarius_uds: oh hai14:40
fugue88dobey: So this is less of "I have hardware" where "1 GU always has the same visual perceived size", and more of "I have hardware that I classify as 'retina' but doesn't fit the *general* guidlines on the linked doc."14:40
=== francisco is now known as Guest4406
fugue88s/always/doesn't always/14:40
ckpringlemadjr: was that what you meant?14:41
YototaThere are loader to load external qml file and signal to communicate between them so it's ok14:41
madjrYes like gimp or mouse oriented apps14:41
fugue88(And that is exactly why I think X should go back to reporting real DPI, not the "96 dpi" lie.)   ;)14:41
madjragree they should be kept to desktop mode only14:42
ckpringlemadjr: right.14:42
ckpringle:)14:42
fugue88aquarius_uds: Another level of indirection will solve all our problems.  :P14:43
* aquarius_uds drops off again14:44
fugue88dobey: That depends on how the size of a gu is determined.14:46
fugue88Kaleo_: So, how is the gu size in pixels determined for a specific device?  Is hardware queried (like X querying EDID info), or by someone saying "I know this is a TV, so..."14:47
fugue88Or by the user...14:48
aquarius_udsfugue88: it should be done as part of the release of Ubuntu for that device.14:48
fugue88aquarius_uds: Ouch.  So every new handheld or pluggable monitor will need custom info in a database, and some off-brand that nobody else has falls by the wayside?14:49
madjr5" laptop ? I wonder what can you do with that ?14:50
aquarius_udsfugue88: a new handheld device will need to have a specific build anyway. I am not sure what the plan is on a converged device with monitors.14:50
fugue88Because I can go buy a 7" device with a DPI of 100, and I can buy another right next to it on the shelf with a DPI of 250.14:50
fugue88And they're basically the same platform.14:50
Yototafugue88 :yes and grid layout are here to make same the same layout14:51
Yotota*grid unit sorry14:51
Yototathey will both have the same amount of grid unit14:51
madjrwhat apps do you usually run on an 5" laptop? to work on it i would usually plug it to a monitor14:52
fugue88Well, right now we're getting different stories on this.  Mostly, I think the confusion is how "pixels per gu" is determined by device.14:52
fugue88If we follow strictly the doc at https://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/resolution-independence.html (which I don't think the intention is), dobey's complaint stands.14:52
fugue88If we query displays for DPI and calculate gu size based on that, it goes away, modulu concerns about viewing distance.14:53
dobeyfugue88: and broken displays14:53
fugue88dobey: Yes, definitely.14:53
fugue88Which might include every TV.14:53
dobeythere's a good reason that most every PS3 game asks me to resize/adjust screen settings when i put it in :-/14:54
fugue88I wouldn't mind going through that process for a display.14:54
michelRQUESTION : an Ubuntu touch app started on desktop will be full screen ? in a window ?14:57
dobeymichelR: up to app author but should probably be a window in most cases14:57
=== udsbotu changed the topic of #ubuntu-uds-appdev-1 to: Track: App Development | Core Apps plans for 13.10 | Url: http://summit.ubuntu.com/uds-1305/meeting/21817/appdev-s-coreapps-plans/
alex-abreugreat session15:00
alecubye!15:00
dobeybye15:00
mhall119If anybody wants to join ghe Core Apps Plans hangout: https://plus.google.com/hangouts/_/9d84b48b6e659cdab7ffd5f0caa3dc2ada095f4e?authuser=0&hl=en15:04
* balloons waves15:07
CheeseBurgmhall119: Is there a session this UDS to talk about the future of the software center or is there a person I can talk to outside UDS about it.15:07
CheeseBurgJono: I have, a couple of times lol15:09
CheeseBurgOk, makes sense15:12
CheeseBurgI think one or two games in the core apps would be good to have.15:19
CheeseBurgSimple games like sedoku15:19
thomiUgh - I missed the start, but I see autopilot has been mentioned - I'd suggest we push to have apps tested before we include them - is that the plan already?15:20
balloonsthomi, indeed15:21
balloonsautopilot is intended to be part of the gateway to including them in the image15:21
thomiit is? awesome15:21
CheeseBurgAlso having similar to the newstand and bookshelf like iOS has would be very nice. An app the hold all our books/PDFs and can update with the latest issues of things15:22
thomiis there anything we can do on the autopilot side to help app devs write autopilot tests?15:25
ppisatijust installed latest phablet img on a nexus7 but, for example, the weather app is a still image, am i missing something or what?15:26
mhall119ppisati: what version of the image did you use?15:29
balloonsatm, we're working with the select applications that are ready to go15:30
fginthermhall119, thomi getting autopilot tests to run automatically for each MP or on a package will take some infrastructure work15:30
mhall119balloons: https://plus.google.com/hangouts/_/9d84b48b6e659cdab7ffd5f0caa3dc2ada095f4e?authuser=0&hl=en15:30
fgintherbut it's a problem that can be solved15:30
thomifginther: what about dfaily runs?15:30
balloonssadly I can't join both hangouts at once..15:30
balloonsstuck hosting15:30
thomifginther: right - phones are cheap15:30
ppisatimhall119: http://paste.ubuntu.com/5671125/15:30
ppisatiuhm15:31
ppisatiway does it say 21 feb?15:31
ppisati*why15:31
balloonsfginther, thomi I haven't spoken with sergio, but the goal is to get a jenkins setup for the autopilot tests15:31
thomisurely we already have a jenkins machine set up, we just need more hardware?15:32
balloonsfor the core apps that is.. martin was helping him with that, and I'll be checking on it after uds15:32
thomicool15:32
thomiwell, it sounds like people are on our side of things anyway :)15:32
balloonshehe ;-)15:32
fgintherthomi, I think it's mostly tooling work to get it working. Our current tools for testing autopilot from our jenkins use libvirt, which we don't have for the core apps jenkins15:33
balloonsin theory the test authors will supply the ap tests, and the community will help supply the manual tests and testing15:33
thomifginther: oh, I assumed we'd run tests on real hardware15:33
balloonsso you want a blueprint just for these apps.. heh.. I'll revive the blueprint we had on this15:34
balloonswe can create a topic that includes the blueprint if you wish15:34
balloonsI already have a quality community topic15:34
fgintherthomi, hmm. There may be a reason why we don't want to use real hw, but I can't think of one at the moment.15:35
fgintherthomi, there is a bp workitem to solve this the autopilot testing gap15:35
thomiI'm imagining a reasonably large library of hardware covering the devices we want to test against.15:36
thomifginther: got the link? or maybe you could subscribe me?15:36
fgintherthomi, http://pad.ubuntu.com/uds-1305-appdev-1305-touch-image-coreapps15:37
fgintherthomi, I guess it's not in a bp yet15:37
thomifginther: ok, thanks15:38
balloonsjonobacon, sure.. let's keep it on one or two blueprints if we can.. and the burndown will happen by lumping it as a topic15:38
balloonsi'll add a work item here on the blueprint for it15:39
balloonsthere's about a minute or so delay15:39
balloonssadly15:39
balloonsand don't worry thomi, I'll make sure there's some work items on there for the autopilot stuff.. making sure jenkins gets setup, docs are good and created, etc :-)15:40
nik90mhall119: hi..just got home15:41
balloonsnik90, hello :-)15:41
nik90balloons: hi15:41
balloonsfginther, ohh is there already some work items to track setting up a jenkins for this?15:41
balloonsgot a link to the bp?15:42
fgintherballoons, just the etherpad for now: http://pad.ubuntu.com/uds-1305-appdev-1305-touch-image-coreapps15:42
balloonsfginther, ahh ok.. So I might just lump that existing bp for any autopilot stuff that's identified15:43
balloonsthanks15:43
YototaI think we should define how to access theme color asap before every dev hardcode color & backgrounds and make unthemable apps.15:47
balloonsohh, could we have a big testing event for the 1.0 - final apps?15:48
balloonsmhall119, ^^15:48
balloonsok, so build out all the tests needed, then have a big test-a-thon in sept?15:50
CheeseBurgSo after 13.10 will we start making the core apps have the ability to transform into desktop apps, you know the convergence idea.15:50
CheeseBurgBut all these phone to desktop work will be done ADTER 13.10 releases, right?15:53
CheeseBurgAFTER*15:53
mhall119_udsyes15:54
=== udsbotu changed the topic of #ubuntu-uds-appdev-1 to: Track: App Development | LoCo Team Coding Challenge | Url: http://summit.ubuntu.com/uds-1305/meeting/21708/appdev-1305-loco-code/
mhall119If anybody wants to join the hangout, here's the link: https://plus.google.com/hangouts/_/869a0280f6d9a238644ab4d51ddadd3d7cd5a554?authuser=0&hl=en16:05
bioevolgenecmember of Greek loco team here16:12
=== gatox is now known as gatox_lunch
bioevolgenecThere are a few developers in our team, but we haven't started anything about the Ubuntu phone yet.16:13
bobweavermost the time at my loco events I end up helping user just set up there ubuntu/whatever flash ect. no one is dev but me. also we get people that yell about how bad unity is16:15
bioevolgenecMostly Python, a bit of Java and C++.16:16
bioevolgenecWell, we have some very excited people and I believe classes over the summer will be helpful.16:17
bioevolgenecYes, exactly. Workshops on the new technologies, scope-writing, QML etc16:21
bobweaverUpstate NY16:21
bobweavermhall119,  ^^16:21
Chris_gagnon-udsI was hoping for a contest :P16:22
bobweaverno deals around these parts mhall11916:22
bioevolgenecAt some point, members of our loco team had discussed on the possibility of a contest on Ubuntu contribution. Something that could be done via Launchpad, such as finding and fixing bugs, translating, writing code...16:23
bobweavermhall119,  say marco16:27
bioevolgenecJust for Ubuntu-gr. I believe we would be overwhelmed with anything bigger.16:27
mhall119_udsjust said it16:28
bobweavermhall119,  polo16:29
bobweaverthat is delay16:29
bobweaverpay me to write some lol16:30
bobweaverhackfest at local collage's16:30
bobweaverflyers at xerox and RIT MIT ect16:31
bobweaverbarcamp would be a good place to start16:31
bobweaverhackers for hacks ect16:32
bobweavermost people use apple though that thouse things16:32
bobweaverjust being honest16:32
bobweaveryeah here they do but not in the wild16:32
bobweavertruth they all use things like mac and windows '16:33
mhall119bobweaver: https://plus.google.com/hangouts/_/9d84b48b6e659cdab7ffd5f0caa3dc2ada095f4e?authuser=0&hl=en16:33
bobweavermhall119,  that party is over16:33
bobweaveryeah I will16:34
bobweaverlet me get dressed16:34
mhall119good idea ;)16:35
bobweavermhall119,  http://imagebin.org/25785316:37
mhall119bobweaver: try https://plus.google.com/hangouts/_/869a0280f6d9a238644ab4d51ddadd3d7cd5a554?authuser=0&hl=en16:37
=== udsbotu changed the topic of #ubuntu-uds-appdev-1 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1305/appdev-1/ - http://ubottu.com/udslog/%23ubuntu-uds-appdev-1
=== schwuk is now known as schwuk_away
mhall119dpm-uds: are you running this one?18:02
dpmmhall119, yeah, setting up the hangout now18:02
dpmmhall119, https://plus.google.com/hangouts/_/a2144a6defbf8b6db6189cd0daa0c87de1c54b7218:04

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