/srv/irclogs.ubuntu.com/2013/10/22/#ubuntu-app-devel.txt

a_muvaevery time I login, my phone display is at min. brightness. I have to go to settings->battery to change it. How to fix it? Or  should I file a bug?  Where?00:16
popeya_muva: https://bugs.launchpad.net/indicator-power/+filebug00:18
popeyIMO00:18
Elleodoes the ubuntu-sdk actually support cross-compiling for arm at the moment?00:35
Elleoall I can see is ways to build things natively00:37
Elleoit's possible my qtcreator setup is a bit iffy though (had to clear my user's config to get the ubuntu stuff working, due to left over nokia things)00:37
Elleooh, I see, it expects to build on the device00:39
Elleoguess I'll have to flash my phone before I can go further00:40
=== chriadam|away is now known as chriadam
MirvClick 0.4.11 released for 12.04/12.10/13.04 via the PPA06:18
nik90popey: can we already start testing out trusty phone images?09:09
nik90I am running r101 atm09:10
popeynik90: yes, trusty-proposed has an image which i have on my device09:13
nik90popey: who is sil2100 in the landing spreadsheet?09:19
popeyƁukasz Zemczak09:19
nik90popey: I see landing task 267 which is about EDS. Wanted to discuss with sil2100 about the landing comment09:19
nik90irc nick09:19
nik90?09:19
popeythat is his irc nick09:19
popeysil210009:20
nik90ah okay09:20
nik90thnx09:20
=== hunger_ is now known as hunger
nerochiarozsombi: tmoenicke: is it a known issue that wen the OSK becomes visible (or the screen rotates while the OSK is visible) the TextArea that has focus will receive several onTextChanged events ?11:20
zsombinerochiaro: wow... not heard of that till now11:21
zsombinerochiaro: tmoenicke: seems that OSK gives 'em all then...11:21
nerochiarozsombi: tmoenicke: i'm sending in a bug + test case, reported both against OSK and ubuntu-ui-toolkit. it's quite bad for notepad.11:22
nerochiarozsombi: tmoenicke: https://bugs.launchpad.net/ubuntu-keyboard/+bug/1243164 please confirm11:31
ubot2Launchpad bug 1243164 in Ubuntu UI Toolkit "TextArea generates onTextChanged events when OSK is displayed or screen is rotated" [Undecided,New]11:31
=== MacSlow is now known as MacSlow|lunch
=== _salem is now known as salem_
=== greyback is now known as greyback|food
tmoenickenerochiaro: no, didnt know about this12:01
tmoenickenerochiaro: thanks12:01
nerochiarotmoenicke: any chance you could test and confirm ?12:02
tmoenickenerochiaro: i will check it12:11
nerochiarozsombi: is there any way to know what height inside of a TextArea the cursor is ?12:27
=== MacSlow|lunch is now known as MacSlow
nerochiarozsombi: i'm trying to figure out a way to make sure that if we have a TextArea in a ListView item, when they cursor moves out of the screen we can scroll the list to keep it in view12:28
zsombinerochiaro: huhh? scroll the list?12:29
nerochiarozsombi: yeah. say for example in notepad when i type too much text into a note, it expands out of the screen. i want to be able to have the list scroll so that the user can keep typing without having to scroll the list manually12:31
zsombiI see... the cursor height is font.pixelSize + 3DP12:32
nerochiarozsombi: yeah but i don't know where it is12:32
nerochiarozsombi: how can i find out ?12:32
zsombiyou mean where the cursor is?12:33
nerochiarozsombi: how far away from the top of the TextArea it is12:33
nerochiarozsombi: or whatever other way i can know if the user is typing into something he can no longer see, really12:33
zsombinerochiaro cursorPosition gives you the position of the cursor within the text, but that's not good for you. positionToRectangle() gives you the QRect the cursor is in. you can use that12:36
nerochiarozsombi: ok, let me have a look at that12:36
nerochiarozsombi: also, is there a way to tell to a ListView to scroll to an item so that the bottom of the item is in view ? I know you can use ListView.Contain to say that you want as much as possible of the item into view, but it counts from the top12:37
zsombinerochiaro: no, they don't have anything for that12:38
nerochiarozsombi: so i should basically ask it to scroll with Contain and then add to the contentY the difference in height12:38
zsombinerochiaro: yep, but be careful with the contentY (don't forget to use originY too!)12:39
nerochiarozsombi: always su originY to whatver value i want to set contentY to ?12:40
zsombiyep12:40
nerochiarook12:40
=== greyback|food is now known as greyback
Elleois there no way to make a Click package depend on an ubuntu package?12:50
ElleoUbuntu Touch seems to have PyQt5 packaged and in its repositories but it's not installed by default :/12:51
Elleoit'd seem silly to have to bundle all of PyQt5 into a click package when it's already available as a shared module12:52
=== chriadam is now known as chriadam|away
nerochiaroElleo: i think a main point of click packages is that they don't have dependencies12:53
Elleothat's really annoying :/12:53
Elleoto have the packages [4~so near, yet so far12:54
ElleoI'm guessing the permissions system around click packages would stop my application from calling apt-get itself?12:58
nerochiaroElleo: i don't know but I have a feeling you're right12:58
Elleoor calling some dbus request to the package manager12:58
ElleoI guess I'll just have to make some hideous monster of a package that has all the PyQt5 libs bundled into :/12:59
WebbyITElleo, https://wiki.ubuntu.com/SecurityTeam/Specifications/ApplicationConfinement12:59
ElleoI noticed the Ubuntu QtCreator plugin's packaging page says that packaging is only available for QML applications; I assume that's just a limitation of the plugin at this point, not a fundemental problem creating more general click packages?13:00
ElleoWebbyIT: ah thanks, was having trouble googling for click permissions13:00
Elleoclick isn't the most google friendly name ;)13:01
WebbyITlol13:02
Elleo"An application install helper will be developed that provides a D-Bus API so that AppArmor can mediate access to it. The URI must specify a URL into the app store. When the user clicks on a link to install an app, the browser will give the application install helper the URI and it will launch the app installer so the user can install the app like normal. In this manner, the user then has a contextual prompt (the app installer). The applicatio13:02
Elleoalternatively who do I lobby to get PyQt5 installed as part of the base image? :P13:04
popeyElleo: I'd bring it up on the ubuntu-phone mailing list13:10
Elleopopey: okay, well do, thanks13:10
Elleowill*13:10
WebbyIThei popey, I met at university puskin, he wants to start to collaborate. I gave him some instructions, can you address him? :)13:15
WebbyITdpm, mhall119 ^ :)13:17
mhall119hi WebbyIT, hi Elleo13:20
WebbyIThi mhall119 :) puskin is new here, shall you address him please?13:22
puskinhi :)13:22
Elleomhall119: heya13:23
mhall119what can I do for you Elleo ?13:23
Elleoerr, nothing? I think WebbyIT was trying to get your attention for puskin rather than me ;)13:24
WebbyITright :)13:25
mhall119oh, sorry, hello puskin13:25
* mhall119 hasn't had enough coffee this morning13:25
puskinahah hello ;)13:25
puskinWebbyIT this morning told me about develop ubuntu touch & co.13:26
mhall119cool, are you interested in being a part of it?13:26
puskinsure! but i havn't enouch knowledge of javascript? i can learn it ;)13:28
puskinenough*13:28
mhall119yeah, javascript is easy to learn13:43
ceruleancitysup guys13:43
mhall119hi ceruleancity13:43
ceruleancityI came here to see if anyone had any info on ubuntu 13.10 and pangox libs13:43
ceruleancityI can't find anything in the release notes about it13:44
ceruleancityanybody still use pango in any of their apps?13:44
puskinok so? for starting could i learn javascript?13:45
ceruleancitywhat are you trying to do puskin ?13:52
puskini'm trying to help the develop of appclications in ubuntu touch ;)13:57
mhall119puskin: nice, have you tried following the online tutorial?14:03
mhall119puskin: http://developer.ubuntu.com/apps/qml/overview/ has high-level information about QML and how it's used to make Ubuntu apps14:05
mhall119there are links on the left to a tutorial, API documentation, and some "How to" recipes in the cookbook14:05
puskinperfect ;) i'll look soon ;)14:07
Elleogot libspotify working on my nexus, now to see if I can port all of meespot :)14:51
=== salem_ is now known as _salem
hero_bizhi guys15:37
hero_bizi have a funny and strange problem.15:38
hero_bizi have initialized a pthread_mutex_t with this command:15:38
hero_bizpthread_mutex_init(&(ctx->time_mutex), NULL);15:38
hero_bizbut all my application thread are locked at:15:39
hero_bizpthread_mutex_lock(&(manager->time_mutex)); // (manager==ctx)15:39
hero_bizwithout allowing any thread to enter...15:39
hero_bizany idea what is happeneing?15:39
cesar_boHello devs, I have successfully implement OAuth Authorization with Ubuntu One to use it with a web application, it works great! I can create volumes, get info, upload, etc15:48
cesar_boBut I can't share a folder using the web api. Anyone have an idea how to do this using OAuth?15:48
cesar_boUntil now I have no clues, I read about SyncDaemonTool, but it will need that I have a syncdaemon running for every authorization token I have. I post this question in askubuntu  http://askubuntu.com/questions/363841/how-to-share-a-folder-using-the-ubuntu-one-web-api15:49
cesar_boI will really appreciate any solution for this, I'm really close to finish this15:50
AskUbuntuHow to share a folder using the Ubuntu One Web API | http://askubuntu.com/q/36384115:52
=== _salem is now known as salem_
aquariusIf I run an app from the Ubuntu SDK IDE on my phone, can I see its console output or similar somehow?18:14
popeybeuno: saucybacon no longer runs on device. i am seeing apport error in dmesg..18:22
popey[31092.501932] type=1400 audit(1382465912.130:154): apparmor="STATUS" operation="profile_replace" parent=26284 profile="unconfined" name="com.ubuntu.developer.gcollura.saucybacon_saucybacon_1.0.8" pid=26285 comm="apparmor_parser"18:23
popeybeuno: i see some feedback from you to the developer, but it's not clear to me why it's broken.18:23
sbeattiepopey: all that apparmor message is stating that the saucybacon apparmor profile has been loaded/replaced18:25
popeyoh18:25
popeyi dunno why it's not starting then18:25
popeyi get a white screen and no useful logging18:25
popeyshame, it's an awesome app18:25
aquariuspopey, yeah, I mean, it won the competition. And I *like* recipes. I was hoping it'd be available :)18:26
popeyyeah18:26
popeyphablet@ubuntu-phablet:~$ cat .xsession-errors18:27
popeyinit: application-click (com.ubuntu.developer.gcollura.saucybacon_saucybacon_1.0.8) main process (2512) terminated with status 25518:27
popeywat!18:27
popey/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: invalid option -- 'I'18:28
popeythat doesn't look good18:28
* popey leaves a comment for the developer18:32
* popey makes food18:34
AskUbuntuPorting a Unity Lens to Ubuntu 13.10 | http://askubuntu.com/q/36396319:12
rickspencer3o/19:21
rickspencer3is there a widget in Ubuntu Components that does that swipe to deliver motion?19:21
rickspencer3mhall119, seems liek the kind of thing you would know ;)19:21
rickspencer3is there a widget in Ubuntu Components that does that swipe to *delete* motion?19:24
popeyrickspencer3: we do swipe delete in calculator, but I don't think there's a component for it19:32
rickspencer3dang19:32
t1mprickspencer3: what are you looking for? something like this? http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components.ListItems.Empty/#removable-prop19:36
AskUbuntuwrite once. Run everywhere? | http://askubuntu.com/q/36397019:36
t1mprickspencer3: most, if not all, list items have a removable property that make it deletable by swiping it left/right19:37
rickspencer3t1mp, could be19:37
rickspencer3ah, so it's a property of the list!19:37
t1mprickspencer3: no, of the individual list items19:37
rickspencer3oh19:37
rickspencer3me tries19:37
rickspencer3holy crap!19:38
rickspencer3that's awesome19:38
t1mpthe example here seems to make sense :) http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components.ListItems.Empty/#details19:39
* mhall119 is glad to see the new API website links being used :)19:47
t1mpmhall119: :)20:00
t1mpmhall119: I think I see a bug here http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components.ListItems.Empty/#swipingState-prop - no space after "read-only"20:01
mhall119t1mp: thanks, I can fix that with css20:11
=== salem_ is now known as _salem
t1mpmhall119: cool, thanks20:38
danielbeckhello. I would like to build a HTML5 application for ubuntu touch. QtCreator offers two project types: "HTML5 Touch UI" and "Cordova Ubuntu HTML5 Touch UI". Will both work on Ubuntu touch?21:09
mhall119ok, I'll ping him tomorrow then, thanks22:03
mhall119danielbeck: both will work, but if you want to access device sensors/camera/etc you want the Cordova template22:04
danielbeckah, ok. Thanks mhall119.22:06

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