/srv/irclogs.ubuntu.com/2013/09/23/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
AskUbuntuHow to Compile Uploading File Code in Ubuntu One | http://askubuntu.com/q/34893404:23
mihir_Good Morning06:41
dholbachgood morning06:58
=== _5m0k3 is now known as wellsb
guschoSoMoN: can you review? https://code.launchpad.net/~schwann/gallery-app/gallery-new-album-edit/+merge/18655907:45
oSoMoNgusch: sure07:46
=== chriadam is now known as chriadam|away
cffHow can I install GDB 7.6.1 in Ubuntu 13.04 ?08:21
cffThe repos don't have it : https://launchpad.net/~ubuntu-toolchain-r/+archive/test?field.series_filter=raring08:21
cffI have GCC 4.8.108:21
cffthe package in the repos says it 7.6 but gdb --version shows: 7.5.91.20130417-cvs-ubuntu08:22
oSoMoNgusch: approved (and added a comment to the MR, please advise on whether it’s a known issue)09:09
guschoSoMoN: thx - no known issue, but I'm not able to reproduce (need to check on the device)09:13
oSoMoNgusch: I’m seeing that on galaxy nexus09:15
oSoMoNgusch: I can file a bug if you want09:15
guschoSoMoN: yes please file a bug - I top approve the MR09:17
guschoSoMoN: ups you did that already :)09:17
oSoMoNgusch: I top-approved already09:17
oSoMoNgusch: I filed bug #122909609:22
guschoSoMoN: thx09:23
=== davmor2_ is now known as davmor2
Chocantozsombi: Ping11:52
=== greyback is now known as greyback|food
zsombiChocanto: pong11:53
Chocantozsombi: Hey ! :) I'm happy to see that your are connected. I'm working on the docviewer app and we need to add a plugin to the sdk, the file-qml plugin. Is that possible ?11:54
zsombiChocanto: what is this file-qml plugin?11:55
Chocantozsombi: https://launchpad.net/file-qml-plugin It's a plugin used to open and write files. It's used by docviewer-app and clock-app11:56
Chocantozsombi: popey advised me to see with you11:57
zsombiChocanto: we had plans to include content picker types to UITK, not sure how would this fit there. The thing is that there are lots of security issues with what can be opened/picked from where...11:59
* zsombi checking file-qml plugin branch12:00
Chocantozsombi: Yes we thought about it... The lake of a way to open files is a real problem for some core-apps12:00
zsombikalikiana: could you also check the up-mentioned branch?12:01
Chocantozsombi: And for the case of docviewer, I can't really finish it before the release if I don't have a way to use it12:01
Chocantozsombi: The current branch don't have the "write" functionnalities because we don't need it for the moment, we done what was most important12:02
zsombiChocanto: got it... this would take weeks to get it productized...12:04
Chocantozsombi: Oh... Yes i can imagine...12:04
Chocantozsombi: I can always use it as a separate package waiting the moment when it will be productized12:05
Chocantozsombi: Are you sure it would take so many time ?12:06
zsombiChocanto: so I'd suggest to use the component as it is right now, till we all get some time to get it in productized... as said we  also have some plans to get a content picker, which properly gets the files requested12:07
Chocantozsombi: Ok nice :) Thank you for your answers !12:08
zsombiChocanto: look, there's no reason to add something to the SDK then remove it later just because it does not fulfill some security criteria, etc. I'd rather think of that component 10 times more, and once we have a common agreement on how it should look like, it can go in. And that takes time :) :(12:08
zsombiChocanto: on the other hand we most probably would need also some "low level" file API in QML, but let's not forget that QML is made mostly for UI, so heavier logic should be C++ or JS12:10
Chocantozsombi: I totally agree with you ! I wanted to talk about it before to the sdk team but I have never managed to have someone.12:10
zsombiChocanto: btw, what clock is needing this?12:10
nik90|Officezsombi: true, but JS does not support file reading either. So it has to be SDK12:10
nik90|Officezsombi: clock needs it to read the /etc/timezone file to detect system timezone changes12:11
zsombinik90|Office: so, what are you using this for?12:11
Chocantozsombi: YOu can see with nik90|Office here12:11
nik90|Officezsombi: well atm the user can click on a city and set it as his current location (and current timezone). However if the timezone is changed by the system, the clock needs a way to detect this change.12:12
zsombinik90|Office: ehm.. that timezone thing should come through an API not necessarily by treading the /etc/timezone file...12:12
zsombinik90|Office: ok, but how about writing some C++ code which watches that file?12:13
Chocantozsombi: That what we done with the file-qml plugin12:13
nik90|Officezsombi: the file-plugin only reads the /etc/timezone. It does not write into it. So in a way it is a watcher12:13
zsombiChocanto: I cannot see anything that watches file changes of a file...12:14
zsombinik90|Office: well, half way :)12:14
nik90|Officezsombi: but anyways, I have postponed this to post 1.0 release, so for the clock app it is okay for now12:14
zsombiit reads the file content, but doesn't check whether the file got changed12:14
nik90|Officezsombi: either way, if I create a c++ plugin, it is hard to get it into the release image now12:14
zsombinik90|Office agree12:15
beunopopey, yes, finding apps for reviewers is in the pipeline12:33
popeybeuno: thanks12:34
=== greyback|food is now known as greyback
=== _salem is now known as salem_
=== mzanetti is now known as mzanetti|food
kalikianazsombi: Chocanto: one thing is paramount to be aware of: apps cannot share files or read from each other (if it looks to work that's only because confinement is still under-going changes)13:15
kalikianaso if you need an API to read files, that is one thing13:15
zsombi+113:15
Chocantokalikiana: But where go files you downloaded ?13:15
kalikianaChocanto: ~/.local/share/name-of-the-app13:16
kalikianathis is where you are expected to place stuff13:16
Chocantokalikiana: And so, can I read files there ?13:16
kalikianaChocanto: no13:16
kalikianawell13:16
kalikianafrom your app yes13:17
kalikianaI don't know much about the Documents app, what it needs13:17
Chocantokalikiana: Because imagine I want to read a pdf i just downloaded with the internet browser, how can I do that ,13:17
Chocanto*?13:17
kalikianathe best to answer might be oSoMoN I think he's working on the download service13:18
guschom26er: any idea whats wrong with tab switching? https://code.launchpad.net/~schwann/gallery-app/gallery-new-album-edit/+merge/18655913:21
ChocantoOk, thank you kalikiana ! :)13:21
kalikianagusch: might be related to https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1229110 it looks a bit different but similar13:23
iBelieveWhen will the Ubuntu App Showdown winners be announced? The rules page says today, but Google+ posts and the dev blog seems to imply that judging won't even start until today.13:25
popeyiBelieve: not for a while, judging hasn't started yet13:25
iBelievepopey, okay, thanks.13:26
guschkalikiana: thx for that hint13:26
om26ergusch, ugh, I'll have a look at this one, tab switching code probably tries to do things really quick13:26
om26er(I saw that in the past)13:27
popeyzsombi or nik90|Office: do you know which branch fixes the upstream SDK issue you mentioned yesterday which causes clock crash when alarm saving?13:28
=== mzanetti|food is now known as mzanetti
zsombipopey: this one https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/alarm-status/+merge/18628513:30
Chocantonik90|Office: Just proposed a merge for packaging the file-qml plugin. If you have some time to review it... :)13:31
nik90|Officepopey: I think it is https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/statesaver/+merge/18654513:31
popeythanks13:31
zsombinik90|office: no, not that13:31
nik90|Officezsombi: just saw ur reply13:31
zsombinik90|Office the MR you linked is a completely different story13:32
zsombinik90|Office: btw, you could also check your app against that MR...13:32
nik90|Officezsombi: okay. It was regarding saving states, so I assumed that was it13:33
nik90|Officezsombi: I have had issues before compiling unmerged toolkit branches to test stuff out13:33
zsombinik90|Office we never spoke about saving alarm states :) we spoke about expanding state information, we shouldn't save operation states :)13:33
nik90|Officezsombi: no worries, it was a confusion on my end13:34
zsombinik90|Office: right... youneed lots of dependencies to dl...13:34
nik90|Officezsombi: yup, kaleo tried showing me how, but at the end, I was left with a broken system :P due to package dependencies errors13:35
nik90|OfficeChocanto: will try. I say try because I am not the go to guy for debian related commits :P13:36
nik90|OfficeChocanto: I will compare it with the clock-app to see if the format is correct. But I cannot confirm if it will work.13:36
Chocantonik90|Office: I used the exactly same model as my other packages so it should be ok13:37
Chocantonik90|Office: But I can do some mistakes ^^13:37
nik90|OfficeChocanto: I will review it in about 3 hours (when I get home)13:39
Chocantonik90|Office: Ok !13:39
nik90|Officepopey: were you able to talk to bzoltan about the gps thing we were discussing yesterday?13:42
popeynik90|Office: I did, and he's had some success. I believe he's updating a branch in an app and will provide a link when done13:43
popeybzoltan: that's right?13:43
nik90|Officepopey: awesome13:48
om26erboiko, to highlight the number by "press and hold" in the phone number input field does not work.14:41
om26erboiko, is that working as designed ?14:41
boikoom26er: not sure, the press-n-hold code wasn't changed for quite some time now I think, might not be working as the latest designs14:42
om26erboiko, it does highlight the text for the time while I am "holding" my thumb over the number14:43
om26ergusch, can you point me to the change that fixed the gallery => camera interaction please ?14:59
om26erI think something similar needs to be done in camera-app as well15:00
guschom26er: there is such fix already?15:00
om26ergusch, well seems gallery to camera switch works now15:01
om26erI am not sure what fixed that but it was definitely not working a few days ago15:01
guschom26er: I did touch that ...15:01
om26eroSoMoN, can you point me at any of your MR that was failing to land ?15:14
snizzois it possible to have ProgressBar without % written?15:14
oSoMoNom26er: for example https://code.launchpad.net/~osomon/webbrowser-app/permission-hide-chrome/+merge/18612615:15
oSoMoNom26er: note that I’ve just discovered an issue in the autopilot tests, I’ve submitted a MR to fix it, hopefully it will improve the situation a lot15:16
oSoMoNom26er: the MR is https://code.launchpad.net/~osomon/webbrowser-app/fix-ap-activity-view/+merge/187038, I’d appreciate if you could review it15:17
oSoMoNom26er: and btw CI just failed on it for maguro, see https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-maguro/1156/?15:17
oSoMoNom26er: it’s always failing on opening the panel apparently15:17
om26eroSoMoN, that looks like an internet problem on the device :/15:18
guschom26er: I did _not_ touch that (I meant)15:18
oSoMoNom26er: an internet problem? why?15:18
om26eroSoMoN, The mobile phone in the lab was not able to download stuff because it could not get a stable connection to the wireless network15:19
om26erproblem with our infrastructure, I know :)15:19
om26ergusch, right, probably greybac_k fixed it, I see some of his changes in the gallery related to the appmanager15:20
bfillergusch, kenvandine : is there an api in content-hub to pass paramaters to picker app? for example, to request a certain resolution image or thumbnail from the gallery15:30
bfillerpmcgowan was asking about this15:31
kenvandinebfiller, there isn't15:32
pmcgowankenvandine, I was pretty sure this was in the design, right now we dont need to expose in the UI, but let the requester choose somehow, even if its image vs thumbnail15:34
kenvandinebfiller, the requesting app could handle resizing/cropping/etc when it receives it15:34
pmcgowanuse case is the contacts app wants to get a thumbnail size from gallery15:34
kenvandineyeah15:34
kenvandineprobably is bundling metadata like that into the request isn't very general, so can get pretty complicated quickly15:35
kenvandineeasy solution is to expect the contacts-app to do the resize to a thumbnail15:35
kenvandinebut it makes sense to off load those functions to apps that specialize in it15:36
pmcgowankenvandine, right exactly15:36
pmcgowanI dont want contacts now getting image manipulation15:36
kenvandineright15:36
pmcgowanespecially sinc eits already been done15:36
pmcgowanwe should check the design again as I know this was anticipated15:37
kenvandinei know there was stuff in the design for cropping, etc15:37
kenvandinebut i don't think it really designated which side that would happen in15:37
pmcgowanI dont actually get the need for cropping15:37
kenvandineand it wasn't included in the API that was designed15:37
pmcgowanthe provider of content needs to offer the options15:37
pmcgowanas it knows the content15:37
kenvandineyeah15:37
kenvandineagreed15:37
kenvandinecropping is needed for things like sharing or even backgrounds15:38
pmcgowanmaybe short term we hack it but I hate that15:38
pmcgowannot sure I agree on cropping, but more important is image res15:38
kenvandinethe API can get pretty nasty quickly15:38
kenvandinesure15:39
pmcgowanI know we talked about htis like a year ago ;)15:39
bfillerkenvandine: couldn't api be a generic name/value pair arg list that gets passed to the app?15:39
kenvandinethat isn't very discoverable15:40
kenvandinelike gallery-app should expose what it is capable of15:40
kenvandineand apps can utilize that15:40
bfillerkenvandine: you're right15:40
kenvandinewe need to discuss it with tvoss too15:40
kenvandinenone of this is in the API he spec'd15:40
pmcgowankenvandine, agreed, maybe there are two types, pictures and thumbnails, and gallery is provider for both15:42
pmcgowankenvandine, can yous et up a quick discussion on it?15:42
kenvandineyeah, although jason was going to setup a meeting for today to discuss what's left to do15:43
kenvandinebut seems he didn't yet...15:43
kenvandinepmcgowan, looking at the design spec, there is quite a bit of app work left to do15:44
kenvandinethe hub itself is nearly "done" based on what i was given to do last month, but clearly things like this need to be addressed15:44
=== gatox is now known as gatox_lunch
kenvandineso probably not done :)15:44
kenvandinepmcgowan, bfiller: what are the plans for tackling the app work on those use cases?15:45
kenvandineis that how passing this metadata came up?15:45
pmcgowankenvandine, yes planning use case 2, pick photo for contact15:45
pmcgowankenvandine, as opposed to pick photo for background15:45
bfillerkenvandine: yup, address-book will have to do the appropriate image manipulation itself for now15:47
bfillerkenvandine: renato/tiagosh will be looking at that this week15:47
kenvandinegreat15:48
bfillerkenvandine: regarding other app work, we are defering the UI for picking the destination application. Will simply launch gallery for now15:49
bfillerkenvandine: and gusch working on the chrome that gallery will display in picker mode15:49
kenvandineyeah, that is working now15:49
kenvandineanother use case that is going to be hard is 1315:50
kenvandinethe design of the content-hub doesn't really account for gallery-app initiating an export15:50
pmcgowanbfiller, I am concerned it may be easier and better to fix this in the gallery rather than doing image manipulation in addressbook15:50
kenvandinelike take this photo and share it15:50
pmcgowanbfiller, seems adding a thumbnail type could solve it but will defer to you guys15:50
kenvandinethe assumption right now is an app that wants the data will initiate it15:50
kenvandinebut the sharing use case is more take this photo and show provides that can share it15:51
kenvandines/provides/providers15:51
bfillerpmcgowan: I hear you, will have to figure it out15:52
bfillerkenvandine: yup, for 13.10 we're using the existing share a photo to facebook/twitter using friends-service that we have today15:52
bfillerno other export scenarios will be supported15:52
kenvandinebfiller, ok, so we can defer that use case for content-hub for later?15:53
bfillerkenvandine: yes I think so15:53
kenvandinecool, i think we need to put some thought into that15:54
kenvandinelike a different handler type15:54
kenvandinewe can have Import, Export, Share15:54
kenvandinemaybe15:54
kenvandineand we can have a share handler exposed15:54
guschkenvandine bfiller pmcgowan one thing that is missing in content hub, is support for the app lifecycle (the import is broken if the app was killed meanwhile)16:10
guschkenvandine bfiller pmcgowan and if gallery crops the photo, where should it save the result?16:12
kenvandinegusch, in the store set in the transfer16:12
kenvandineoh, that is a little interesting16:13
kenvandineit might not have access to the store16:13
pmcgowanlets not do cropping right now?16:13
bfillergusch: no one proposing doing cropping16:13
pmcgowanwhat is minimal needed to support the contact getting a photo?16:13
pmcgowanwhich is usable16:13
kenvandinegusch, for confined apps, we set a default store on the transfer request to a tmp location, the hub copies the files to that location after the source charges it16:16
kenvandineand purges that when it's done16:16
kenvandinethe destination can set a store itself, in which case the hub doesn't purge it16:16
kenvandinebut does copy it there on charge16:17
guschkenvandine: so I could write my local copy in gallery, charge, the hubg would copy it, and then when collected, gallery can delete it's local copy (or even do it right after calling charge?)16:19
kenvandineyeah, in fact it could do it when the state changes to charged16:20
kenvandineif copies the files and changes the paths in the items list before changing the state16:20
iBelievenik90_, ping16:27
davmor2mhall119: out of curiosity if a dev wanted to create an application that used an installed phone backend (example telepathy) but need a plugin installing into that how would you go about that or do you need to just reinvent the wheel?16:28
=== bfiller is now known as bfiller_afk
snizzoI can't find a way to bind ProgressBar.value to a c++ exposed model value in a ListView16:38
mhall119davmor2: there's been conversation about doing that (specifically installing codecs to gstreamer) but not current solution16:41
mhall119jdstrand and cjwatson could probably tell you more about what likely plans are16:42
=== gatox_lunch is now known as gatox
mrqtrosApp Showdown results were announced?16:45
narekbwho won that sweet nexus 4?16:46
* narekb licks lips16:46
mrqtrosnakerb 3 sweet nexus )))16:48
om26ernerochiaro, hey16:51
nerochiaroom26er: hi16:51
om26ernerochiaro, can you please look into this one: bug 122929116:51
om26ernerochiaro, https://bugs.launchpad.net/camera-app/+bug/122929116:51
om26er"gallery button does not work in camera app"16:52
om26erits a regression and probably not something we want to ship in the release16:52
nik90_iBelieve: pong16:54
iBelievenik90_, I noticed something funny about the clock app's clock face colors when the face isn't centered. Let me get a screenshot16:54
mrqtrosDid someone look at bugs in Slider? :) I filled three after first usage :)16:55
iBelievenik90_, here: http://i.imgur.com/Opk6X0I.png16:55
iBelievenik90_, it looks like the colors aren't based on the background16:55
iBelievenik90_, so they look too pink or too purple when the clock face is dragged16:56
nik90_iBelieve: yeah I noticed that too...at first I thought my screen showed a differnt color when it was dragged up but apparently not :P16:56
nik90_iBelieve: I will have a look at it16:56
nik90_mrqtros, narekb: Judging of the apps haven't started yet. The past week was spent getting the applicatioons into the store.17:03
nerochiaroom26er: do other buttons to switch between apps work fine ?17:03
nik90_mrqtros, narekb: I think it will happen this week.17:03
nerochiaroom26er: i will have time to look at it tomorrow, I think17:03
om26ernerochiaro, I can come from gallery to camera17:03
om26ernerochiaro, camera to gallery does not work17:04
narekbnik90_, ok, we'll see, thanks17:04
nerochiaroom26er: ok, i'll look into it tomorrow after i finish with the metrics17:04
nerochiaroom26er: asac also wanted me or someone else to check why the notes tests were failing at random times (like one time every 20 or so, in random ways)17:04
nerochiaroom26er: but a test run on my maguro didn't uncover any failures after a lot of iterations17:05
om26ernerochiaro, I can look closer at the notes-app tests but they really fail at random.17:05
mihirhow can we change page color in QML ??any idea?17:09
mihirdpm:  ?17:09
dpmmihir, have a look at how other core apps do it, you need to change the header, body and footer color as MainView properties, IIRC17:10
mihirHmm i looked it's available only in MainView i did try to look for page properties...17:11
mrqtrosnik90_ sad :(17:14
nik90_mrqtros: you do realise that for an app store still in beta, there have been challenges faced by app developers to get their apps in. And that takes time.17:15
mrqtrosnik90_ I have big troubles too - my app uses C++ plugin17:16
mrqtrosnik90_ had* :)17:16
nik90_mrqtros: then you can understand the dealy17:16
nik90_delay*17:16
mrqtrosnik90_ Can someone publish list of participants? :)17:17
mrqtrosnik90_ I want to know, how many people are participating with ported apps :)17:17
narekbmrqtros, why so curious :D seriously though, /r/ubuntuappshowdown?17:18
snizzocan someone explain me why this progressbar isn't working? http://paste.ubuntu.com/6146385/ this item is a delegate of a Listmodel and progress is an item role17:18
nerochiaroom26er: if they do fail at random and you can reproduce, then can you please have a look into fixing what's not reliable in them ? I really can't do that since I can't reproduce the problem and i have other priorities assigned to me.17:19
nerochiaroom26er: but asac really wanted to have someone assigned to doing that17:19
om26ernerochiaro, can you link me to the failures ?17:20
mrqtrosnakerb do you mean something like that? :) http://www.reddit.com/r/ubuntuappshowdown/search?q=port&restrict_sr=on&sort=relevance&t=all17:20
=== alecu is now known as alecu_errands
=== salem_ is now known as _salem
Chocantonik90_: The package work nice on pbuilder, so it would have no problems prima facie :)17:44
om26ertimp, ping17:47
om26ertimp, do you mind if I change the .desktop files of examples in the UbuntuUIToolkit to NoShow=True ?17:47
=== bfiller_afk is now known as bfiller
om26erthey show up on Ubuntu phone and clutter the dash as hollow icons17:48
snizzohave someone ever used the progress bar with a model delegate? :(17:48
cwaynecan i have my app set it's own theme?  i.e. use SuruDark, or does it have to honor whatever's in ~/.config/ubuntu-ui-toolkit/theme.ini?17:50
snizzook i got it17:52
mrqtrossnizzo do you have any problems? :)18:11
nik90_Chocanto: nice. I reviewed it18:16
boikotmoenicke: hey, I just hit one behavior here: if you lock the screen while the keyboard is visible (when one input field has focus), when you unlock the screen, the keyboard is gone18:44
boikotmoenicke: is this a known bug or should I report it?18:44
tmoenickeboiko: does it still have focus?18:45
boikotmoenicke: yep18:47
cwaynegah, my app isn't working when using custom themes, but all the other apps seem to18:47
cwaynei wonder what i did wrong..18:47
boikocwayne: is the code somewhere I can take a look?18:47
=== _salem is now known as salem_
cwayneboiko, lp:uwoot18:48
tmoenickeboiko: i looked at this some weeks ago, iirc it still has focus but Qt does not report inputMethodAccepted true on the item anymore, so the inputmethod plugin cannot decide to show or not to show the osk18:50
boikotmoenicke: ok, so known issue?18:51
tmoenickeboiko: we should have a closer look, maybe we open a bug for osk to investigate this18:52
boikotmoenicke: ok, let me report that then18:52
tmoenickeboiko: great, thanks!18:55
=== alecu_errands is now known as alecu
boikotmoenicke: which project/package should I report this?19:10
tmoenickeboiko: sec ..19:12
tmoenickeboiko: ubuntu-keyboard19:14
boikotmoenicke: thanks19:14
=== mterry__ is now known as mterry
AskUbuntuhow to execute ubuntu terminal commands using java and get back response from terminal | http://askubuntu.com/q/34921519:55
cwaynetimp, ping22:02
=== salem_ is now known as _salem

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