/srv/irclogs.ubuntu.com/2013/01/11/#ubuntu-phone.txt

mesqukaHi06:08
=== chriadam is now known as chriadam|away
mesqukawhen can we expect ROM's for this?07:54
popeymesquka: you know the answer to that question already08:03
mesquka???08:10
mesqukanot disclosed?08:11
Walthermesquka: see the topic08:15
mesqukaok08:15
mesqukaThanks08:16
mesqukaHi10:57
aquariusdpm, if I'm creating a phone app, how do I know how big to make the window?13:31
aquariusdpm, that is: imagine I want to have, for example, 6 Rectangles in a Row which is the width of the screen. I can use units.gu, but I don't know how big a screen is in gu13:32
aquariusso I'm a bit confused by how the units stuff helps13:33
dpmaquarius, it seems you're not the only one: https://bugs.launchpad.net/qml-toolkit/+bug/1096341. You can get the conversion from gu to pixels from http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/resolution-independence.html - if that does not help, I'd suggest pinging bzoltan, as he's way more knowledgeable than me on this subject13:38
ubot5Launchpad bug 1096341 in Ubuntu UI Toolkit "GU image size advice is wrong" [Undecided,New]13:38
aquariusdpm, heh. I read the stuff about resolution independence, indeed. I'll talk to zoltan :)13:39
dpmok, cool. I'll see if I can get someone from the SDK team to be on the public channel13:40
aquariuswise13:42
aquariushey bzoltan1 :)13:42
bzoltan1aquarius:  hello there13:42
aquariusso, units.gu. i don't get it :)13:42
* popey listens also13:43
* popey pokes AlanBell 13:43
AlanBellhi aquarius14:10
aquariusheya AlanBell14:10
AlanBellunits.gu needs more of a justification for it's existence doesn't it14:11
AlanBell"The grid unit defines a visual rhythm in Ubuntu" I think that visual rhythm is what it is about14:13
AlanBellrather than any kind of resolution independence (which it doesn't achieve)14:14
user82maybe this had been asked a thousand times: but are there any official announcements which phone the images will work on? or rumors esecially for nexus 4?14:30
Takit has, and the only phone that's been used for demos has been the galaxy nexus14:34
user82thanks Tak14:35
user82i kinda need a new phone now..but do not want to end up with one that does not support ubuntu later. i think nexus 4 is a "save" choice?14:35
* Tak shrug14:35
popeyuser82: don't make a buying decision based on anything you see here ☺14:46
popeyuser82: anything could happen in the next half hour14:46
popeys/half hour/few months/14:46
user82yep popey i know.14:47
aquariusAlanBell, agreed that it is abotu visual rhythm, not really resolution independence.14:55
aquariusanyway, what happens is this: the phone will override any width/height set on the root element.14:55
aquariusso, if you want your app to be sized right, then explicitly set width/height on the root element, and then calculate other sizes based on that, and it'll just owrk on the phone.14:56
aquariusideally for most apps we won't need explicit sizing anyway; should use anchors for as much as possble, because they're brilliant and this is what they're for :)14:56
AlanBellaquarius: there is also rotation, and my understanding from zoltan's reply is that bit is not fully baked yet15:02
aquariusright, but rotation isn't actually a thing. It's just a different size screen. :)15:03
AlanBellnope, it is an event15:03
AlanBellit could be more than the screen size dynamically changing15:03
aquariusright, if you want your app to work differently when rotated, indeed15:05
aquariusI personally never, ever, ever, ever want that, but I understand that some people do :)15:05
aquariusand I can't really think of why you'd want rotation to do something to your app's layout that you wouldn't *also* do if your app finds itself in a wider-than-tall window anyway15:07
aquariuswhich is why I don't think rotation is a thing15:08
AlanBellit might not be a thing15:08
aquarius(note: that's different from "reading the accelerometer settings" for things like driving games where you tilt the phone to steer round corners)15:08
aquariusin my opinion, if your app creates itself a desktop window which is, say, 320x480, and I resize that window to 480x320, then it should do the very same identical thing as it would if it were on a phone and you rotated the phone to landscape rather than portrait15:09
AlanBellpossibly, yes15:09
aquariusthe point is not "it rotated", the point is "the screen size changed" :)15:09
mhall119good morning folks15:36
popeymorning mhall11915:46
netcurliwill Ubuntu for Phones use pulseaudio and will I be able to use that directly from a qml/c++ app?16:33
atitiaquarius, I think the screen ratio is more important then the screen size change16:54
atitiso going from 320x480 => 480x320 you change the aspect ratio and that you could assume is due to rotation16:55
mhall119netcurli: too early to tell, I think16:55
aquariusatiti, perhaps, yeah, but I think the important point from my perspective is: what does your app do if I run it on the desktop and change its window size? If it makes sense to change the layout if the window is landscape-ish, then cool, do that. So I agree that what you generally care about is the aspect ratio of the screen rather than its actual pixel size16:56
atitihehe well for a desktop its a bit different16:57
atitii dont think i would want my say gnome-terminal to rotate when i resize it to a "tall" aspect ratio :p16:57
aquariusheh :)17:27
aquariusmhall119, if I've written a QML app using the Ubuntu sdk, what should I do with it? that is: are people just saying "here is a bzr branch" for the moment? or are people making debs and ppas and stuff?17:28
mhall119aquarius: just branches or tarball atm, I think17:35
aquariuscool. First app done, then :)17:35
mhall119aquarius: and posting about it on the Ubuntu App Developers community on G+17:35
mhall119\o/17:35
mhall119aquarius: is it your U1DB-backed notes app?17:36
aquariusmhall119, nope; I won't release that until we've got proper u1db bindings rather than my hacky Python prototype17:36
mhall119aquarius: oh, QML data components backed by U1DB would be cool17:37
aquariusagreed :)17:38
aquariusbut we need the base QML bindings in first17:38
aquariusand then my notes app should Just Work :)17:38
mhall119QML bindings or Qt bindings?17:38
donttrustemAnyone have any info on the power consumption17:38
aquariusI suspect we'll get both17:38
mhall119donttrustem: nope17:38
aquariusthat is: I imagine the sdk team will make qt bindings and then make the qml ones on top17:38
aquariusbut that's not up to me, that's up to bzoltan ;)17:39
mhall119aquarius: yeah, I think that's how it works17:39
donttrustemHmm! So it could die after an hour :)17:39
mhall119donttrustem: or it could last for months without a recharge17:39
donttrustemPlease17:39
mhall119sorry, I thought we were all exaggerating17:40
mhall119donttrustem: It's safe to say that when it's available from an OEM, it'll have battery life that is comparable to other phones on the market17:40
bzoltanaquarius:  Yes, in a way it is up to me :)17:40
donttrustemK17:41
bzoltanaquarius:  It will happen, sooner or later. It is on our backlogs and I just hope that we will have time to do it soon.17:41
mhall119aquarius: are there C++ bindings for U1DB?17:41
aquariusnot yet. There are C bindings, though.17:41
aquariusI suspect bzoltan's team will make c++qt bindings, but I don't know :)17:42
bzoltandonttrustem:  I have been involved in the nokia N900-N950-N9 and I can tell you that reliable power consumption figures comes out at the very end of the development.17:42
donttrustemOk17:43
bzoltandonttrustem:  and the reason is very simple. Either there are way too many R&D tools, processes, loggers, tracers on the development release that all measurement is pointless or the set of services and pre-started processes are  not frozen because of the negotiations with OEMs. But I can tell you that there is no such technology used in the Ubuntu Phone what would make the final product power consumption less efficient than any ot17:47
aquariusmhall119, should I post this little app on G+ in the app dev community as "discussion" or "app showcase"? I don't know if "app showcase" is just to show off random apps or whether it's designed for the actual app dev competitions17:49
mhall119aquarius: app showcase17:51
mhall119it's just for showing off17:51
aquariusposted.17:52
mhall119aquarius: dude, that's an awesome game17:56
mhall119need controls for slowing it down though...I wasn't able to keep up17:57
mhall119but maybe that's just me17:57
aquariusnah. It could *be* a bit more awesome, given time. My distinct lack of design skills do not help :)17:57
aquariusha! change "interval: 1500" to "interval: 2000" or something in the qml ;) I had it at 2000 and set it down a bit.17:57
* mhall119 goes to read the source17:57
* aquarius pushes a change to set the interval back to 2000 again17:59
mhall119aquarius: that's seriously only 500 lines of code?18:01
aquariusI love qml. :)18:01
aquarius21k of code; 300K of music; 900K of word list ;-)18:02
GuidoPallemanswhat g+ app dev community?18:03
mhall119GuidoPallemans: https://plus.google.com/u/0/communities/11135078027092554054918:03
GuidoPallemansthanks!18:03
mhall119np18:03
aquariussomething I would like in the Ubuntu Components (a thing for bzoltan, this): a way for a QML app to get at /usr/share/dict/words or some similar thing :) Otherwise every pure QML app that cares about words needs to ship its own 1MB word dictionary.18:04
aquariusa Dictionary{ language: "en" } component would be very nice.18:04
bzoltanaquarius:  QML kind of dislikes file system IO stuff18:05
aquariusbzoltan, indeed, which is why I'd like a component around which will do it and be a standard part of the toolkit. I packed an entire dictionary into JavaScript so I had access to a word list ;)18:06
bzoltanat least not directly .. but yes, we can figure out some smart binding to access data like this18:06
aquariusWordList rather than Dictionary, perhaps18:06
bzoltanaquarius: good idea18:06
aquariusbut that'd be cool -- it makes things like Scrabble games much easier18:07
bzoltanaquarius: Keep them coming :)18:07
mclane-hi18:33
mhall119aquarius: file a wishlist bug18:36
mhall119so we can keep track of these things18:36
popeyi hope by sharing a room with aquarius some of his coding skill rubs off on me18:41
popeythat is not a euphamism18:41
AlanBellbzoltan: does it run orca for accessibility or something else?19:12
mhall119AlanBell: does orca run?19:19
AlanBellwell it might do in theory, there is a Qt accessibility bridge it should be inspectable19:21
AlanBelland if this is really running Ubuntu then it should have speech dispatcher and espeak19:22
AlanBellmight need a QML user interface for orca, or it could just run without a UI19:22
mhall119AlanBell: I've still never been able to get orca running decently, even on desktops19:22
AlanBellwhut19:23
AlanBellnormally just turn it on and it starts talking19:23
AlanBellunity is a steaming pile of silence most of the time, but anything that is more gnomeish should work19:24
AlanBellgtkish I mean19:24
AlanBellthe dash occasionally speaks categories, rarely speaks icons and never speaks the lens list. launcher and quicklists are OK.19:24
AlanBellmost of the testing and bug reporting I have done has been around ubiquity, getting the thing installed19:32
=== rsalveti_ is now known as rsalveti
donttrustemI have just been looking the ubuntu phone video and noticed that the phone being demonstrated has an edge connector on the side of it.  I have a nexus s  will this work21:06
popeydonttrustem: which demo?21:07
popeythe phone used in the Ubuntu for Phones demo is a Galaxy Nexus21:07
donttrustemhttp://www.ubuntu.com/devices/phone21:07
donttrustemI have a Samsung google nexus s21:08
donttrustemWill ubuntu run on this21:08
mclane-i dont think so21:11
mclane-the minimum system requirements is cortex-A9 as I know21:11
mclane-nexus S has an A821:12
donttrustemReally ..... Let me check21:12
mclane-sorry, it says entry level21:13
donttrustemIt is an A821:13
donttrustemSo it will not run ubuntu?21:14
donttrustemStrange they look exactly the same21:17
donttrustemOnly difference is the CPU21:17
k1l_donttrustem: the newest nexus4 looks the same, too. that is the point of the newer nexus devices. but the actual dev phone is a galaxy nexus21:22
donttrustemI understand .... Going to see if I can get one off eBay21:23
mesqukahaha21:24
HackinBlackSo when are the phones suppose to come out21:24
HackinBlackEarth to anyone21:25
mesqukahi21:27
k1l_HackinBlack: no phnes announced yet. dont know if there will be devices to ship ubuntu-phone in 201321:27
mesqukaa developement image will come out but about late February, but it won't really start shipping until 201421:28
ScrivenerUbuntu Phone got a hardcore i-Fan friend of mine giggling with excitement. :)21:33
donttrustemI am sure someone will get it to run on the google nexus s21:33
ScrivenerJust at the concept of unifying computing.21:33
ScrivenerPeople at the Ubuntu booths have said we should see handsets later this year...21:34
ScrivenerI guess that at least means announcements of them.21:34
ScrivenerThey say they can't talk about what OEM conversations might be like atm.21:34
disharmonicI'm really curious about what display server it uses tbh21:34
AlanBellaquarius: one rotation related thing an app might do is say "I don't make sense in landscape, never rotate me"23:06
AlanBellor vice versa23:07
aquariusAlanBell, indeed. But that's a whole-app setting.23:07
aquariusindeed, I saw something somewhere suggesting that Ubuntu Phone would by default be portrait, not rotate. But I may have misinterpreted it, and I can't remember where I saw it :023:07
AlanBellmailing list in reply to my question :)23:08
ubuntubhoywould that be just the launcher though ?23:08
ubuntubhoygames etc need landscape23:08
ubuntubhoyas well as camera apps23:08
AlanBellwell aquarius's letter drop thing needs portrait23:08
aquariusnot sure I agree on the camera app.23:08
ubuntubhoywhy ?23:09
aquariusagreed on games -- some games make much more sense landscape.23:09
AlanBellvideos must be shot vertical at all times \o/23:09
AlanBellvvs23:09
aquariusthe camera just shows what it's pointed at. I mean, an actual physical camera can be turned through 90 degrees and take a picture, but its "UI" doesn't change when you do that.23:10
AlanBellso you might have an "I am always landscape" app and an "I am always portrait" app in the switcher at the same time23:10
ubuntubhoyI see no issue with that AlanBell23:10
popeyexif should indicate the rotation23:10
popeyso viewers can orientate it correctly later23:10
ubuntubhoyaquarius: but you use a phone camera in a dif manner than a physical camera23:10
aquariuspopey, of course -- that's "an app reads the accelerometer", which is obviously something we want.23:10
AlanBellI see no issue with it either ubuntubhoy, except you have two apps with a different coordinate system23:11
ubuntubhoyand on switch it changes23:11
aquariusit is not at all clear to me what happens if the phone is rotated because you're running a landscape app and you want to summon the launcher. *Presumably* you'll still pull from the long edge of the screen, even if that long edge is actually at the "bottom" now because you've rotated the phone.23:11
aquariusthe N9 was inconsistent and very, very annnoying on this particular point.23:11
ubuntubhoyif the icons rotate, but the edge stays the same, that would probably be ok23:12
ubuntubhoynot take too much getting used to23:12
aquariusdunno. I shall be interested to see what's supposed to happen in that case :)23:12
AlanBellthis is stuff that needs to be designed in *early*23:13
ubuntubhoythat I agree with23:13
aquariusI'd be surprised if no-one's thought about it; I just don't know what the thoughts *are* :)23:13
ubuntubhoyset the standard and stick with it23:13
AlanBellwhether or not rotation is transparent to apps (they just see a window resize) or they  get a rotation event and have to transform themselves but 0,0 in the coordinate space stays in the same place on the physical device23:14
AlanBellit is fine if "no, we don't do landscape, at all, ever, it is a design thing" is the answer23:15
ubuntubhoythen when designing a landscape app, you compensate for where on device 0,0 is23:15
aquariusyeah. That'll be a problem for fullscreen immersive games, though, so I don't think that'll be the thing.23:16
AlanBelldunno, it could be that games are not really what it is for23:16
aquariusah, I see waht you mean; device coords are always portrait, so if you want to make a landscape game you rotate your internal coordinate system23:16
AlanBellindeed23:16
ubuntubhoywas surprised to see firefox get a hardware partner23:17
AlanBelloh?23:18
ubuntubhoyZTE23:18
aquariusinteresting idea from a bloke on g+, that the letters in my game should fall faster as time goes on, so it gets harder23:18
aquariusalso, I'd add accomplishments if the accomplishments people made a QML thing :)23:18
* aquarius mentions it23:19
cielakdoes anyone know if Python is expected to run on PhoneOS?23:47
aquariusit's a good question. It probably will, although I suspect the core apps will not be written in it. :)23:49

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