AskUbuntu | Unable to install touch-coreapps on ubuntu 12.10 | http://askubuntu.com/q/340287 | 04:37 |
---|---|---|
AskUbuntu | How to get the intial value from the volumebutton? | http://askubuntu.com/q/340300 | 05:57 |
dpm | good morning all | 06:02 |
jGleitz | morning! | 06:07 |
=== smartboyhw_ is now known as smartboyhw | ||
dholbach | good morning | 07:02 |
_5m0k3 | Question. I have the audio security policy enabled, but my app still does not play audio under AppArmor. Works fine if I qmlscene directly | 08:15 |
WebbyIT | Hack days \o/ | 08:40 |
dpm | hi WebbyIT :) | 08:43 |
WebbyIT | hi dpm :) | 08:43 |
popey | hey | 08:44 |
dpm | popey, do you think we can mark bug 1207301 as Fix Released? | 08:52 |
ubot2` | Launchpad bug 1207301 in Ubuntu Calculator App "Calculator app autopilot tests fail on device" [Medium,Incomplete] https://launchpad.net/bugs/1207301 | 08:52 |
=== chriadam is now known as chriadam|away | ||
popey | dpm: will test and see | 08:53 |
dpm | ok, cool | 08:53 |
WebbyIT | christina, hi :) Shall you say to Michal to give us input about bug 1214394 and bug 1214395 please? | 08:59 |
ubot2` | WebbyIT: Error: Could not gather data from Launchpad for bug #1214394 (https://launchpad.net/bugs/1214394). The error has been logged | 08:59 |
ubot2` | Launchpad bug 1214395 in Ubuntu Calculator App "[Calculator app] Label areas take up too much screen space" [Low,Incomplete] https://launchpad.net/bugs/1214395 | 08:59 |
WebbyIT | thanks :) | 08:59 |
WebbyIT | *first bug is bug 1214393 | 09:00 |
ubot2` | Launchpad bug 1214393 in Ubuntu Calculator App "[Calculator app] Calculation heading label icon should differ from the rest" [Low,Incomplete] https://launchpad.net/bugs/1214393 | 09:00 |
nerochiaro | does anyone know if there's a way to completely mute the phone ? | 09:10 |
PaoloRotolo | Hi everybody! | 09:10 |
dpm | hi PaoloRotolo! | 09:10 |
PaoloRotolo | Hi dpm :) | 09:10 |
PaoloRotolo | dpm, ehm, did you tested the new .svg icons in the clock app? | 09:10 |
PaoloRotolo | https://bugs.launchpad.net/ubuntu-clock-app/+bug/1218751 | 09:10 |
ubot2` | Launchpad bug 1218751 in Ubuntu Clock App "Reset and lap icons appear pixelated on a phone" [Low,In progress] | 09:10 |
Laney | Do we have anything choosing date / time currently? | 09:23 |
Laney | I'm looking for precedent in the absence of a proper picker in the uitk | 09:23 |
dpm | Laney, I don't think so. In the Calendar app we're also waiting for the date picker, so I think in the meantime we are just using text entries. mzanetti I think had created a picker a while ago? | 09:24 |
Laney | dpm: last I heard it wasn't scheduled :-/ | 09:25 |
Laney | let me see what you do in calendar | 09:25 |
timp | zsombi: ^ perhaps you know more about the current plan for time/date picker? | 09:26 |
seb128 | dpm, Laney: pat discussed it with the sdk guys on friday and got it raised in their priority list I think, but that's still non started work and other things might still be higher on the list | 09:26 |
zsombi | timp: I'm on it | 09:26 |
Laney | ah that looks alright | 09:26 |
dpm | Laney, you'll see it in the New Event view, but as I say, it's pretty raw | 09:26 |
timp | zsombi: awesome :D | 09:26 |
Laney | it's better than text entries | 09:26 |
Laney | some kind of spinner thing | 09:26 |
Laney | seb128: seen that? | 09:26 |
dpm | Laney, actually, yes, it looks much better than the last time I looked at it :) | 09:27 |
mzanetti | dpm: I've found my datepicker in the current calendar app | 09:27 |
seb128 | Laney, "that"? | 09:27 |
zsombi | Laney: seb128: it's about 6 components to make to happen... and some issurs are still not clear: should it be an OSK layout? should it be in a popover? | 09:27 |
Laney | seb128: the way calendar does it | 09:28 |
Laney | for 'new event' | 09:28 |
mzanetti | dpm: altough slightly modified to what imho makes it a bit workse | 09:28 |
seb128 | no, let me look | 09:28 |
dpm | mzanetti, nice :) | 09:28 |
zsombi | mzanetti: does it follow this design? https://wiki.ubuntu.com/TimeAndDatePickers#Specification | 09:28 |
mzanetti | zsombi: pretty sure it doesn't | 09:28 |
mzanetti | lemme check | 09:28 |
dpm | PaoloRotolo, not yet, but I'll test the new icons today as part of the hack fest | 09:28 |
PaoloRotolo | dpm, nice, thanks! | 09:28 |
Laney | zsombi: I hadn't expected OSK really | 09:29 |
Laney | would it work on desktop if it used that? | 09:29 |
mzanetti | zsombi: no it doesn't... there was no design back then when I created it | 09:29 |
mzanetti | zsombi: mine looks more like the N9's one | 09:29 |
mzanetti | seb128: http://notyetthere.org/data/fahrplan2.ogv go to 1:20 | 09:30 |
mzanetti | err... zsombi ^ | 09:30 |
mzanetti | sorry seb128 | 09:30 |
zsombi | Laney: it sais it should be exactly the size of the OSK, and most likely will be invoked from a text input i.e. TextField, so I was wondering whether should it be then a layout of the OSK | 09:30 |
seb128 | mzanetti, no worry ;-) | 09:30 |
nerochiaro | Wellark: hi, any news on what's going on with the hud ? in the latest image it is still not showing up actions unless a search is made | 09:31 |
Laney | Not sure if it will usually be a TextField | 09:31 |
Laney | The design I am working on now isn't: https://wiki.ubuntu.com/TimeAndDate#Phone (scroll down a bit) | 09:32 |
seb128 | Laney, nice (the new event dialog in calendar) | 09:32 |
Laney | yeah | 09:32 |
zsombi | mzanetti: right... well, I'll grab the design to agree on details anyway... I also saw that the non-selected elements must be dimmed a bit... | 09:32 |
Laney | shall I steal that for time & date for now? | 09:32 |
seb128 | +1 | 09:32 |
Laney | ok | 09:32 |
Laney | working on that backend now | 09:32 |
Laney | & thent he ui | 09:32 |
seb128 | excellent | 09:32 |
mzanetti | zsombi: feel free to reuse any code if you might can use. https://github.com/mzanetti/fahrplan/tree/master/src/gui/ubuntu/components | 09:33 |
Laney | nobody answered me about GPS so I will JFDI that too | 09:33 |
zsombi | mzanetti: +1 | 09:33 |
seb128 | Laney, what about GPS? | 09:33 |
Laney | sorry, NTP | 09:33 |
seb128 | oh, right | 09:33 |
zsombi | Laney: right, in there it would not be a text input... but then, the other spec says it should (quote) "take up exactly the same screen space as the on-screen keyboard" | 09:34 |
Laney | Don't know what that means when you don't have one of those | 09:35 |
zsombi | Laney: right... in your link the date/time pickers (crossed though) look like are in a dialog | 09:36 |
Laney | yeah | 09:36 |
Laney | It seems there's still some incoherence | 09:36 |
christina | WebbyIT, yes, I will. He's away today | 09:37 |
zsombi | Laney: yep... | 09:37 |
WebbyIT | thanks christina :) | 09:37 |
Wellark | nerochiaro: right.. | 09:45 |
Wellark | nerochiaro: when you make the initial search is it at least then updating the list of actions properly without additional searches when you change an app? | 09:45 |
smartboyhw | popey, ping | 10:07 |
popey | smartboyhw: yo | 10:07 |
smartboyhw | popey, is the Hackfest today? | 10:07 |
nerochiaro | Wellark: if i start a new app i need to search in that app to be able to see the actions in the hud for that app | 10:08 |
nerochiaro | Wellark: and when i close and re-open an app, i need to do a search to see the hud actions | 10:09 |
WebbyIT | smartboyhw, today Calc and Clock :) | 10:09 |
smartboyhw | OK | 10:10 |
=== 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! https://wiki.ubuntu.com/Touch/CoreApps/HackDays | ||
smartboyhw | popey, well, if you can find me something to play with:P | 10:19 |
nerochiaro | gusch: i'm trying to build the camera on desktop and it complains that it can't find libusermetricsinput, do you know what package should I install to get it ? | 10:20 |
gusch | nerochiaro: saucy | 10:20 |
WebbyIT | dpm, popey, is boiko on holiday? | 10:21 |
nerochiaro | gusch: i guess i should bit the bullet and just waste a few hours updating | 10:21 |
gusch | nerochiaro: I upgraded because of that reason | 10:21 |
popey | WebbyIT: no, i dont think so | 10:21 |
=== mpt_ is now known as mpt | ||
popey | smartboyhw: we have some bugs... https://bugs.launchpad.net/ubuntu-clock-app & https://bugs.launchpad.net/ubuntu-calculator-app | 10:22 |
dpm | WebbyIT, it's still quite early in Brazil :) | 10:22 |
WebbyIT | dpm, is he brasilian? Ahhh... I think he's from Portogual :) | 10:22 |
dpm | smartboyhw, here are some bitesize bugs to get started: https://bugs.launchpad.net/ubuntu-phone-coreapps/+bugs?field.tag=bitesize | 10:23 |
popey | can someone replicate / confirm https://bugs.launchpad.net/ubuntu-clock-app/+bug/1219768 | 10:24 |
ubot2` | Launchpad bug 1219768 in Ubuntu Clock App "Scrolling list of cities overlaps labels" [Undecided,New] | 10:24 |
dpm | popey, done, I was actually about to report that :) | 10:25 |
popey | heh | 10:25 |
popey | sweet! | 10:25 |
smartboyhw | dpm, poping Bug 1219718 to me | 10:26 |
ubot2` | Launchpad bug 1219718 in Ubuntu Calculator App "[Calculator app] Top label underline is too long" [Low,In progress] https://launchpad.net/bugs/1219718 | 10:26 |
dpm | \o/ | 10:26 |
popey | dpm: another for you https://bugs.launchpad.net/ubuntu-clock-app/+bug/1219770 | 10:29 |
ubot2` | Launchpad bug 1219770 in Ubuntu Clock App "In Timer, clock face is off screen when selecting preset" [Undecided,New] | 10:29 |
nerochiaro | gusch: did you upgrade to saucy using the update-manager ? | 10:32 |
gusch | nerochiaro: yes - about 2 month ago (after that X didn't start anymore ...) | 10:33 |
dpm | popey, confirmed, triaged, milestoned -> https://bugs.launchpad.net/ubuntu-clock-app/+milestone/hack-days-1309 | 10:34 |
nerochiaro | gusch: in my case it fails to do the upgrade, complains about broken pacakges | 10:38 |
popey | dpm: in the calculator, would you expect to add a label to a calculation and then press "Enter" to finish? | 10:40 |
WebbyIT | popey, IMO yes | 10:40 |
_5m0k3 | I have the audio security policy enabled, but my app still does not play audio under AppArmor. Works fine if I qmlscene directly. What's the secret? | 10:40 |
popey | _5m0k3: Jamie is probably the person to ask, but I suspect he's on holiday today | 10:41 |
gusch | nerochiaro: maybe remove all optional apt-get sources, and downgrade the broken packages? | 10:42 |
nerochiaro | gusch: sounds like a good advice | 10:43 |
smartboyhw | dpm, can you branch https://code.launchpad.net/~smartboyhw/ubuntu-calculator-app/fix-lp-1219718/ and launch the application? I can't run it here since I have my own version of qt5:P | 10:43 |
dpm | smartboyhw, sure, but can you send the merge proposal to see the diff and so that I can add any comments after testing it? | 10:45 |
smartboyhw | dpm, doing | 10:46 |
smartboyhw | dpm, https://code.launchpad.net/~smartboyhw/ubuntu-calculator-app/fix-lp-1219718/+merge/183419 | 10:47 |
dpm | thanks smartboyhw testing it now | 10:47 |
popey | nice one! | 10:47 |
smartboyhw | That *should* work, as in *should* terms;P | 10:48 |
smartboyhw | I hope the Jenkins bot will be happier this time | 10:48 |
smartboyhw | It's good, I'm contributing to Ubuntu Touch by bug-fixing Core Apps | 10:49 |
smartboyhw | :P | 10:49 |
dpm | yeah :) | 10:49 |
smartboyhw | dpm, heh, too short;P | 10:51 |
dpm | smartboyhw, unfortunately, that did not quite fix it, see the comments on the MP. I'd suggest installing the SDK and testing the app to see the effect | 10:51 |
* smartboyhw has his own branched qt5, so he can't do it | 10:51 | |
smartboyhw | dpm, ah, so I patched the wrong stuff right? | 10:52 |
dpm | can't you install it in a VM? | 10:52 |
* smartboyhw has no time to set up a VM | 10:52 | |
smartboyhw | dpm, what is the size you want? EXACTLY an oprand size, right? | 10:53 |
nerochiaro | gusch: turns out there was an x11 package that for some reason the update didn't like, i had to apt-get remove it before it would continue | 10:54 |
popey | smartboyhw: might be better to have the right tools otherwise you'll waste your own time (and others) going over patches repeatedly to get them working. | 10:55 |
smartboyhw | popey, it's not that I can't have the right tools, but I'll be dumping KDE Frameworks 5.. | 10:55 |
smartboyhw | Which, no. | 10:55 |
popey | That's exactly what it is. | 10:56 |
popey | It's not efficient to provide patches which haven't been tested at all. | 10:56 |
smartboyhw | popey, I'm now getting errors when launching the app | 10:57 |
popey | do you have the SDK installed? | 10:57 |
smartboyhw | popey, yes | 10:58 |
smartboyhw | (Actually using the SDK here) | 10:58 |
dpm | smartboyhw, it's got nothing to do with operands' width, it just needs to have the same right margin as the operands | 10:58 |
smartboyhw | Ah, can launch it now | 10:59 |
dpm | but I agree with popey | 10:59 |
* smartboyhw continues to fix with now the app launch | 11:00 | |
popey | dpm: I'm going out to lunch (need to buy a birthday present) so will be afk for a little bit | 11:00 |
dpm | popey, go and find a nice one :) - I'll be afk for a bit this afternoon as well, I need to sort out some things at the bank | 11:02 |
popey | cool | 11:02 |
gusch | nerochiaro: well - good luck then ;) | 11:04 |
nerochiaro | gusch: yeah, if i disappear you know I'm busy fixing x after the upgrade finish. it's downloading stuff for now | 11:04 |
smartboyhw | dpm, what is the type of value for rightMargin? | 11:14 |
smartboyhw | sigh, let me search myself | 11:15 |
dpm | oSoMoN, when you've got a minute, could you help us with the 2 latest merge proposals for Calendar? They are going to make quite a difference, as they implement the final designs for some views, so if we could get them landed, that'd not only be awesome, but also really inspiring for the core apps contributors. I realize you're super busy, so the more I appreciate it, thanks! | 11:22 |
smartboyhw | dpm, can't work it out:( | 11:23 |
oSoMoN | dpm: sure, they’re already high on my list, will get to them today | 11:23 |
dpm | thanks oSoMoN! | 11:24 |
dpm | smartboyhw, WebbyIT is one of the calculator developers, he can probably help you, although I think he's away for lunch now. mihir can also help you when he's online | 11:25 |
smartboyhw | dpm, OK | 11:25 |
=== oSoMoN_ is now known as oSoMoN | ||
nerochiaro | gusch: i upgraded to saucy but that package libusermetricsinput-1 still isn't there | 12:04 |
gusch | nerochiaro: weired - should be in main saucy - let me check ... | 12:06 |
gusch | nerochiaro: mine is installed from saucy/universe but called "libusermetricsinput1" | 12:08 |
nerochiaro | gusch: it was the -dev package i was missing. whoops | 12:09 |
gusch | nerochiaro: but I'm glad the upgrade went smooth | 12:09 |
nerochiaro | gusch: well, unity doesn't work but i like gnome2 anyway. and there's an error regarding friends dispatcher when logging in but it seems harmless and already reported | 12:12 |
nerochiaro | gusch: so, it was smooth enough :) | 12:12 |
WebbyIT | hi smartboyhw , do you need something? :) | 12:15 |
wellsb | What is Jamie Strandboge's IRC handle? Or how do you suggest I get up with him after the holiday? | 12:19 |
=== jo-erlend__ is now known as jo-erlend | ||
fugue88 | wellsb: He has some contact info at https://launchpad.net/~jdstrand (including irc nick and e-mail). | 12:51 |
wellsb | Ahh yes. I should have thought to look there. Much appreciated, sir | 12:52 |
netcurli | Is there a standard way how the icon path for a click app should be specified in the .desktop file? | 13:27 |
clepto | netcurli, I think just the name of the icon | 13:28 |
clepto | randomcpp, ping | 13:29 |
randomcpp | clepto, pong | 13:29 |
netcurli | that's what I thought too, however for my akari app the unity8.log says: "Fail to load themed icon for: "akari_logo_128.png"" and there is no icon displayed | 13:29 |
clepto | randomcpp, do you have time to spare? | 13:30 |
netcurli | "QML QQuickImage: Failed to get image from provider: image://gicon/akari_logo_128.png" | 13:30 |
randomcpp | clepto, I think so :) | 13:30 |
clepto | netcurli, ask mhall119 , he might know | 13:30 |
clepto | randomcpp, how can i get all the entries in a U1db.Document? | 13:31 |
randomcpp | just set the db as model | 13:31 |
bababooey | Am I able to dev from mint? | 13:31 |
randomcpp | then in the delegate you can have a 'docId' and 'contents' | 13:32 |
popey | bababooey: not tried, but you could add the ppa and let us know if it works? | 13:32 |
clepto | randomcpp, you talking about a listview? | 13:32 |
popey | bababooey: http://developer.ubuntu.com/get-started/ | 13:32 |
randomcpp | clepto, yeah and should work with Repeater too | 13:33 |
clepto | randomcpp, I can't get get the entries? or the number of entries... its just for debugging purpose | 13:35 |
randomcpp | clepto, try with model.length | 13:36 |
randomcpp | clepto, to get all the docId there's a method wait a second | 13:37 |
randomcpp | http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/u1db-qt5/database.html#listDocs | 13:37 |
randomcpp | db.listDocs() | 13:37 |
clepto | randomcpp, and what about document's entries? notesDocument.contents.length return error | 13:38 |
mhall119 | clepto: what question do you have? | 13:39 |
mhall119 | sorry, netcurli what question? | 13:39 |
netcurli | Is there a standard way how the icon path for a click app should be specified in the .desktop file? | 13:39 |
mhall119 | netcurli: ah, I saw this on others too | 13:39 |
randomcpp | clepto, because contents is normally a object | 13:39 |
randomcpp | not an array | 13:39 |
mhall119 | netcurli: I *thought* it would use the added Path= field for doing icon lookup like it does for the Exec=, but it doesn't | 13:40 |
mhall119 | dholbach: do you know if relative Icon= paths should use the Path= field ? | 13:41 |
mhall119 | netcurli: FWIW, the only time I've seen the icon load is when the full /opt/click.ubuntu.com/etc path was used | 13:41 |
camron | is this current? "sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get install ubuntu-sdk" | 13:47 |
camron | I'm supposed to see a "Ubuntu" section in "New Project" right? | 13:48 |
popey | camron: are you following http://developer.ubuntu.com/get-started/ ? | 13:49 |
camron | ya | 13:49 |
camron | I'm on mint though | 13:49 |
camron | Trying to test with this http://developer.ubuntu.com/resources/tutorials/getting-started/currency-converter-phone-app/ | 13:49 |
camron | Don't see this though "Select the Projects > Ubuntu > Simple Touch UI template and click Choose…" | 13:49 |
popey | camron: http://popey.com/~alan/qtc.png | 13:50 |
netcurli | do you have a .desktop file for "Ubuntu SDK"? or are you just opening qtcreator | 13:50 |
popey | thats what you should see | 13:50 |
camron | thanks popey | 13:50 |
camron | netcurli: It made the shortcut. launches "qtcreator %F" | 13:51 |
netcurli | ok | 13:51 |
mhall119 | netcurli: it seems that it's a bug in click. It is supposed to set the absolute path to the final installed location of your icon file but it wasn't, there's a fix being made now | 13:52 |
netcurli | mhall119: ok | 13:52 |
popey | camron: strange, you're not using unity then? | 13:52 |
camron | No. | 13:53 |
popey | is there a /usr/share/applications/ubuntusdk.desktop ? | 13:53 |
camron | There's one that launches "qtcreator %F" | 13:54 |
camron | As I mentioned before, I'm on Mint | 13:54 |
popey | oh of course. | 13:55 |
popey | sorry, your nick change fooled me ☻ | 13:55 |
camron | Need unity? | 13:55 |
popey | shouldn't do, no | 13:55 |
camron | Don't need "ppa:canonical-qt5-edgers/qt5-proper" right? | 13:56 |
popey | correct | 13:56 |
* popey wonders if %F means some parameter needs passing | 13:56 | |
camron | what does ur shortcut say? | 13:56 |
popey | Exec=qtcreator %F | 13:57 |
popey | but if I just run qtcreator I get the ubuntu stuff too | 13:57 |
camron | Maybe there's a platform setting somewhere. | 13:57 |
popey | I suspect you're missing a package | 13:57 |
netcurli | camron: did you have qtcreator installed before? | 13:58 |
camron | no | 13:58 |
camron | Just ran "sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get install ubuntu-sdk" | 13:58 |
popey | what version of ubuntu is mint based on? | 13:58 |
popey | we don't test on mint, so you're blazing a trail here | 13:58 |
camron | 13.04 | 13:59 |
popey | qtdeclarative5-ubuntu-ui-toolkit-plugin | 14:00 |
popey | is that package installed? | 14:00 |
camron | ya | 14:00 |
popey | hmm. sorry, not sure what's up there | 14:00 |
camron | Where are most of the Qt settings saved? | 14:02 |
camron | or plugins. | 14:02 |
popey | .config/QtProject | 14:02 |
popey | if that directory exists, then close qtc and delete it then restart qtc | 14:03 |
camron | I have a "Touch" button on the left menu though | 14:05 |
popey | perhaps Mirv can assist, he did the packaging for this. | 14:06 |
popey | Mirv: camron is trying to run our sdk on ubuntu 13.04 based mint | 14:06 |
dholbach | mhall119, I have no idea, sorry | 14:07 |
matzipan | hey guys | 14:08 |
popey | hi matzipan | 14:08 |
matzipan | how's the hack day going/ | 14:08 |
popey | super, i love finding bugs and then discovering nik90_ has already fixed them ☻ | 14:09 |
matzipan | can I ask for a how to bzr and how to launchpad tutorial recomandation? | 14:09 |
popey | sure thing! | 14:09 |
matzipan | coming from a github overly simplistic environment, i get really confused with it | 14:09 |
popey | http://doc.bazaar.canonical.com/latest/en/mini-tutorial/ | 14:09 |
popey | hmm, is that site dead .. | 14:09 |
popey | nope, just slow ☻ | 14:09 |
matzipan | popey: works for me | 14:09 |
popey | that page also has links to launchpad related stuff | 14:10 |
popey | if you get stuck, just ask | 14:10 |
popey | http://doc.bazaar.canonical.com/migration/en/survival/bzr-for-git-users.html also may be useful ☻ | 14:10 |
randomcpp | does db.putDoc("", docId) work for anyone for deleting u1db entries? | 14:10 |
matzipan | popey: lovely, thanks | 14:11 |
popey | np | 14:11 |
popey | kalikiana: ^^ is that one for you, question from randomcpp | 14:11 |
matzipan | popey: so, do the coreapps on an intel desktop have te same features as the ones on the phone/ or am i missing out on stuff because i can't test on a n4? | 14:12 |
popey | the only thing missing at the moment is OSK | 14:12 |
popey | I _think_ | 14:12 |
matzipan | popey: osk being... ? | 14:13 |
popey | On Screen Keyboard, sorry. | 14:13 |
kalikiana | randomcpp: what version do you have? | 14:13 |
matzipan | oh, okay... sounds reasonable | 14:13 |
randomcpp | sudo apt-cache showpkg qtdeclarative5-u1db1.0 | 14:14 |
randomcpp | Package: qtdeclarative5-u1db1.0 | 14:14 |
randomcpp | Versions: | 14:14 |
randomcpp | 0.1.5+13.10.20130827bzr105raring0 | 14:14 |
randomcpp | kalikiana, ^ | 14:14 |
camron | Is there supposed to be a wizard.xml in "usr/share/qtcreator/templates/wizards/ubuntu"? | 14:15 |
mhall119 | dholbach: sergiusens identified it as a bug and submitted a fix | 14:16 |
kalikiana | randomcpp: hmm should be good. do you have code I could try here? | 14:16 |
randomcpp | kalikiana, the "deleted" document is still displayed as empty entry in the listview | 14:16 |
dholbach | mhall119, do you have a link? | 14:17 |
randomcpp | kalikiana, https://github.com/random-cpp/saucybacon | 14:17 |
kalikiana | thx | 14:18 |
mhall119 | dholbach: https://code.launchpad.net/~sergiusens/click/older/+merge/183466 is the MP | 14:18 |
dholbach | thanks mh | 14:18 |
dholbach | mhall119, | 14:18 |
dholbach | gar, autocomplete disagrees with me today :) | 14:18 |
dholbach | nice one | 14:18 |
popey | alan@deep-thought:~$ ls /usr/share/qtcreator/templates/wizards/ubuntu | 14:20 |
popey | backend cordovaubuntu hybrid scope tabs | 14:20 |
randomcpp | kalikiana, also, should I use Index to filter entries by category? | 14:20 |
popey | backendplustabs html5 projectypes.json simple | 14:20 |
popey | camron: ^^ | 14:20 |
camron | Thanks popey.It all matches. The other wizards have that file so I'd thought I'd ask | 14:20 |
dholbach | mhall119, and 0.4.1 is already uploaded - great | 14:21 |
* mhall119 still sees 0.4.4 | 14:24 | |
mhall119 | 0.4.0 that is | 14:24 |
camron | "Ubuntu" shows up in "Help > About Plugins" | 14:26 |
kalikiana | randomcpp: I think I see what the issue is. You're using the database as the model. I only tested my fix with a Query :-/ | 14:27 |
matzipan | how many guys around here are employees and how many volunteers? | 14:27 |
popey | camron: what version of mint are you using. I'll spark it up in a VM and have a go at mirroring what you have | 14:29 |
popey | matzipan: some | 14:29 |
popey | ☻ | 14:29 |
kalikiana | randomcpp: wrt categories yes definitely | 14:29 |
kalikiana | I'll file a bug for the Database still showing deleted stuff… | 14:29 |
popey | matzipan: I can see at least 25 canonical people on the channel list here | 14:30 |
camron | 15 Cinnamon 64. But I'd rather you didn't. | 14:30 |
popey | heh | 14:30 |
popey | ok | 14:30 |
mhall119 | matzipan: the two aren't mutually exclusive either | 14:31 |
matzipan | popey: surely the rest are not all working on the apps, rather lurking around... I'm asking because I can barely find time between 2 jobs to help out :( | 14:32 |
popey | some lurk, some develop | 14:32 |
popey | irc is like that everywhere | 14:32 |
matzipan | and i wanted to know how others manage it :P | 14:32 |
popey | matzipan: ignore your children/wife/bank manager | 14:33 |
kalikiana | randomcpp: https://bugs.launchpad.net/u1db-qt/+bug/1219862 | 14:33 |
ubot2` | Launchpad bug 1219862 in U1DB Qt/ QML "Deleted documents show up in Database as a model" [High,Confirmed] | 14:33 |
matzipan | popey: i'm a student :P | 14:33 |
popey | even better! :D | 14:33 |
matzipan | so it should be easier in theory | 14:33 |
randomcpp | kalikiana, thanks :) | 14:33 |
popey | stop drinking ㋛ | 14:33 |
kalikiana | matzipan: students are those people with a lot of free time, right? I envy you :-D | 14:33 |
matzipan | popey: is that what you did while you were a student? | 14:34 |
randomcpp | kalikiana, but until this https://bugs.launchpad.net/u1db-qt/+bug/1214538 is fixed I can implement category filters :/ | 14:34 |
ubot2` | Launchpad bug 1214538 in U1DB Qt/ QML "Not indexing documents unless all fields are in the index expression clause" [Critical,Confirmed] | 14:34 |
popey | ya | 14:34 |
matzipan | kalikiana: it depends. I'm not that tipe of student :( i'm currently a ui development intern and a aspiring games developer at a small firm :P | 14:35 |
matzipan | *type. can't believe i typed "tipe" | 14:35 |
clepto | matzipan, to me its sounds like you are having a good time :D | 14:36 |
matzipan | clepto: except it's keeping me from doing stuff i would enjoy much more :P | 14:36 |
matzipan | like ubuntu touch, raspberry pi and electronics :P | 14:37 |
mhall119 | I wrote Perl code the whole time I was a student | 14:37 |
mhall119 | which was unfortunate, because all of my classes were about Java | 14:38 |
matzipan | the last fun thing i did was this http://www.youtube.com/user/UniCPUTeam | 14:38 |
matzipan | mhall119: i hate universities teaching java... | 14:38 |
clepto | mhall119, the first time I coded was bash and I wanted to make a prank on my friend :P | 14:38 |
nerochiaro | oSoMoN: kalikiana is working on the settings API, a work in progress is here: https://code.launchpad.net/~kalikiana/ubuntu-ui-toolkit/appsettings/+merge/181304 and the blueprint is here: https://blueprints.launchpad.net/ubuntu/+spec/sdk-app-settings | 14:39 |
matzipan | my first time was php :-s *runs* | 14:39 |
popey | I first programmed on a Pr1me running Pr1meOS via a dumb terminal. Yes. This makes me old. | 14:39 |
camron | matzipan: You shouldn't hate that. It really is a great language for teaching software development | 14:40 |
clepto | matzipan, I'm starting university in two weeks and we have java in the second semester :P | 14:40 |
popey | First PC I had was an Epson PC with an 8086 CPU at 8MHz! Happy days. | 14:40 |
kalikiana | randomcpp: I started investigating and wrote a test case for it. apparently the problem is related to the order of fields. but I need to dig deeper | 14:40 |
matzipan | camron: it's for teaching programmers, not engineers | 14:40 |
oSoMoN | nerochiaro: ok, thanks for the update | 14:40 |
mhall119 | matzipan: Java is a fine language for teaching | 14:40 |
mhall119 | though it does feel weird implementing a hashtable using multiple heavy objects | 14:41 |
netcurli | I learned Ada in my first 2 semesters at university | 14:41 |
matzipan | i did c++ in high-school. was the best programming course I had to date. in university I did python with a Java option. chose pyhton, like 90% of the students | 14:41 |
randomcpp | clepto, java in the second semester I won't see object oriented languages until the third year or so | 14:41 |
randomcpp | :p | 14:41 |
matzipan | popey: wow... that's a cool computer... do you still have it? | 14:42 |
clepto | randomcpp, we have C in the first and I was like.. wait what? :P | 14:42 |
mhall119 | randomcpp: they use Java to teach non-object programming concepts, mostly because it's a relatively simple and unsurprising language | 14:42 |
popey | matzipan: nah, sold it to get an IBM PS/2 Model 50Z ☻ | 14:42 |
matzipan | popey: still have this one? | 14:43 |
matzipan | i think python is a god teaching language. java has too much boilerplate, too strict ... | 14:43 |
matzipan | *good | 14:43 |
clepto | matzipan, python +1 | 14:43 |
mhall119 | matzipan: that's what makes Java a good teaching language | 14:43 |
matzipan | but still my high-school c++ algorithmics was better | 14:44 |
randomcpp | mhall119, I did stupid program with C the first year, then next month I'll start doing C more seriously | 14:44 |
randomcpp | only in the first semester | 14:44 |
mhall119 | python is a great language to work in, but I don't think it's so good for teaching | 14:44 |
matzipan | to work in ? | 14:45 |
matzipan | why would you work in it | 14:45 |
matzipan | unless you're doing something websy | 14:45 |
popey | matzipan: i wish ☻ | 14:45 |
mhall119 | because it's great for getting things done | 14:45 |
popey | I do have a DEC VT101 though ☻ | 14:45 |
randomcpp | kalikiana, will it be fixed or partially solved by the end of the contest? :/ | 14:45 |
randomcpp | kalikiana, just to know if I have to remove that feature or not from my todo list | 14:46 |
mhall119 | python is as much fun to write as perl, without the hassle of having to hold down the shift key all the time :) | 14:46 |
matzipan | here comes the bomb: I like javascript as a work language | 14:46 |
mhall119 | it's growing on me | 14:47 |
mhall119 | I find that I like Javascript so much more when it's not running in a browser | 14:47 |
camron | Check out Google Dart | 14:48 |
kalikiana | randomcpp: I'm keen to fix it asap. I will continue looking into it tomorrow | 14:48 |
matzipan | mhall119: it's because the DOM is crap | 14:48 |
mhall119 | I can agree with that | 14:48 |
randomcpp | kalikiana, great :D if you need help or testing ping me | 14:48 |
matzipan | mhall119: if you abstract away the pain and use something like backbone and some solid apis... it's quite pleasant | 14:49 |
cwayne_ | hey popey, you gonna test out my fitbit app when it gets more ready? :D | 14:50 |
matzipan | oh that reminds me of the appshowdown | 14:50 |
matzipan | is it 2 weeks till the deadline? | 14:50 |
clepto | ok qml related question :P why does this http://pastebin.ubuntu.com/6055428/ prints undefined? | 14:51 |
netcurli | clepto: did you mean: console.debug(values['idCount']) | 14:52 |
netcurli | with quotes | 14:52 |
popey | cwayne_: you bet! | 14:53 |
popey | cwayne_: I already use your fitbit indicator | 14:53 |
matzipan | camron: last time I looked at it I didn't like it, but I also don't wanna like dart because of this constant push from google | 14:54 |
clepto | netcurli, ok it worked but I don't remember using it that way.. i though that because idCount was a variable it will be ok | 14:54 |
cwayne_ | popey, :D I use it too, i need to fix that up though.. it keeps getting ignored due to my ADD | 14:54 |
popey | heh | 14:54 |
matzipan | like I didn't like coffeescript and whatever that es6 shim is called | 14:54 |
cwayne_ | speaking of unrelated QML questions, anyone know why the color of my rectangle isn't being applied? http://pastebin.ubuntu.com/6055448/ | 14:55 |
netcurli | clepto: http://stackoverflow.com/questions/4199126/how-to-assign-variable-value-as-variable-name-in-a-hash | 14:56 |
clepto | netcurli, man thanks! i couldn't figure out.... | 14:58 |
matzipan | we've become too dependant on stackoverflow... | 14:59 |
clepto | kalikiana, how can i get all the contents of a U1db.Document in a list/variant? | 14:59 |
camron | Is anything missing? "qtchooser -list-versions" "[qt4 | 15:03 |
camron | qt5-x86_64-linux-gnu | 15:03 |
camron | default | 15:03 |
camron | qt5 | 15:03 |
camron | ]" | 15:03 |
matzipan | popey: is a proper ubuntu guideline coming? like the one elementary os has | 15:05 |
matzipan | popey: aka this http://elementaryos.org/docs/human-interface-guidelines | 15:05 |
popey | matzipan: guideline for what? | 15:05 |
popey | yeah, documentation is in progress ☻ | 15:06 |
matzipan | oh | 15:06 |
kalikiana | clepto: document.contents is a variant if you define it as U1db.Document in qml | 15:22 |
kalikiana | otherwise you can do database.getDoc(docId) to get the same variant | 15:22 |
cwayne_ | aaaaaand rate-limited. seems i need to take a break :) | 15:33 |
aquarius | My installation of Ubuntu SDK, on 13.04, does not let me create Ubuntu applications -- clearly *some* of it is installed correctly (I get the nice "Create a project" Ubuntu-specific screen) but actually clicking create-a-project gives me a list which doesn't include the Ubuntu project types. (It does include stuff I installed historically, though, such as Meego Harmattan project templates.) I do not know how | 15:40 |
aquarius | to rectify this; I have tried purging and reinstalling ubuntu-sdk and it didn't help. How might I go about fixing this? | 15:40 |
popey | aquarius: you're not the first to report this today | 15:41 |
popey | a linux mint user had the same problem, mint being based off 13.04 | 15:42 |
* popey pokes Mirv | 15:42 | |
* popey boots a raring vm | 15:42 | |
dpm | aquarius, have you tried http://askubuntu.com/q/259719/9781 - perhaps the old problem came back? | 15:43 |
aquarius | popey, what I don't know is... I have no idea whatsoever how to fix it. I am assuming that there's an exchange possible in which $QTHACKER says to me "what's in file $SOMEFILE?" and I say "$CONTENTS" and they say "aha, it should be "$UBUNTUCONTENTS", purge package ubuntu-something-or-other and reinstall it and you'll be fine. But I don't know how to proceed without that conversation, hence asking :) | 15:43 |
aquarius | dpm, aha, I have not tried that | 15:43 |
dpm | aquarius, it might be a shot in the dark, but that's what I can think of for the moment | 15:44 |
beuno | aquarius, btw, you could use qtcreator from the PPA as well: https://launchpad.net/~ubuntu-sdk-team/+archive/staging/ | 15:44 |
aquarius | wooo! | 15:45 |
aquarius | that fixed it! | 15:45 |
aquarius | nice one dpm :) | 15:45 |
dpm | \o/ | 15:45 |
* popey wonders if beuno is trolling aquarius knowing how much aquarius hates PPAs | 15:45 | |
dpm | nice | 15:45 |
* aquarius upvotes the answer | 15:45 | |
* popey updates his raring vm to see if that breaks it | 15:45 | |
aquarius | beuno, I think I actually *am* running it from the PPA ;) | 15:45 |
aquarius | despite how much I hate PPAs, as popey correctly notes :P | 15:45 |
beuno | aquarius, saucy? | 15:45 |
aquarius | hell no. 13.04. | 15:45 |
popey | 16:40:11 < aquarius> My installation of Ubuntu SDK, on 13.04, | 15:45 |
popey | aquarius: you're dead to us ㋛ | 15:46 |
beuno | +1 | 15:46 |
* aquarius grins | 15:46 | |
=== lordsame is now known as SergioMeneses | ||
aquarius | if it is actually the case that you have to be running a development version of Ubuntu in order to write apps for it, I think that you're OK to declare that, but you have to actually declare it ;) | 15:47 |
aquarius | it also means that I don't write any apps, but that's not a huge loss :) | 15:47 |
popey | we do declare that on fine white bond paper, in a locked filing cabinet etc | 15:47 |
PaoloRotolo | Good afternoon :) | 15:47 |
popey | hello PaoloRotolo | 15:47 |
PaoloRotolo | Hi popey! | 15:48 |
PaoloRotolo | nik90, nik90_, ping | 15:48 |
aquarius | How do I add a new file to a project, if that new file already exists somewhere? I can see how to add a new *empty* file to a project (right-click, Add New), but not how to copy in a file which already exists. | 15:50 |
dpm | aquarius, I *think* there is an option somewhere, let me see if I can find it. Otherwise, you can add the file directly to the .qmlproject file, the syntax is pretty straightforward. | 15:52 |
aquarius | also... how do I actually run this newly-created HTML5 project? "Run" is disabled in the Build menu. | 15:52 |
aquarius | (apparently "the project WordBits has no active kit", whatever that means.) | 15:53 |
gusch | om26er: ping | 15:56 |
dpm | aquarius, so to the first question: there is an option to "Add existing files...", but it's grayed out. Not that useful. To the second, I think you'll have to go to the Projects tab, then click on Manage Kits to set up a default kit | 15:57 |
aquarius | dpm, OK, I have Manage Kits, and I can Add one, but I don't know what to add :) | 15:58 |
dpm | aquarius, I'm not an expert, either, but that's what my kits in Qt Creator look like: http://ubuntuone.com/0yfBeOazthg77RAZHXcPfS | 15:59 |
beuno | mhall119, approving | 15:59 |
aquarius | I have that "desktop" one, but mine is pointing at qt4. Should I edit the desktop one, or create a new one for Qt 5.0.2/ | 15:59 |
aquarius | ? | 15:59 |
aquarius | also: we sure surely not expecting everyone to do this? Shouldn't it be set up for people, this kit thing? | 16:00 |
aquarius | (I am worried that everyone working on this has already set one up and so now isn't troubled by it) | 16:00 |
dpm | aquarius, it should be set for you, but it seems there are a few cases where it isn't. Mirv is the expert on how this works, but he's past his EOD now | 16:01 |
mhall119 | aquarius: you should have qtchooser stuff installed with the sdk, which would point /usr/bin/qmake to the qt5 path | 16:01 |
mhall119 | aquarius: probably whatever problems you had previously with the SDK not finding templates and such is related to why you don't have qt5 path's in your kits | 16:02 |
aquarius | qtchooser is already installed, I am old. | 16:02 |
aquarius | told. | 16:02 |
mhall119 | heh | 16:02 |
* mhall119 bites his tongue | 16:02 | |
beuno | :) | 16:03 |
aquarius | ignoring that I am not old, you whippersnappers, qtchooser is not the problem; it was already installed. | 16:04 |
aquarius | (whatever it is, it might not be doing its job right, but it's installed :)) | 16:04 |
aquarius | so, how do I set up one of these Kits? | 16:04 |
aquarius | to be honest I would much rather purge stuff and reinstall such that it all gets set up right, if everyone is convinced that my problem is that I have a bunch of old bad configuration | 16:05 |
aquarius | that way when I write this stuff up I'll be able to actually give instructions that are correct for people | 16:05 |
aquarius | rather than "I had this problem but you might not" stuff. :) | 16:05 |
mhall119 | bzoltan: ^^ can you help aquarius | 16:05 |
Laney | how can I display text in a Dialog? | 16:09 |
Laney | Text {} is ignored | 16:09 |
aquarius | Laney, set a text: property. (http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components-popups0-dialog.html suggests that, anyway) | 16:10 |
Laney | aquarius: Wasn't clear enough | 16:10 |
Laney | I need to have it multiple times | 16:10 |
Laney | There's a few TextFields and I need to say what they are for | 16:11 |
aquarius | that's not a Dialog, then, I don't think, at least according to the design guidelines | 16:11 |
aquarius | I might be wrong | 16:11 |
aquarius | but I believe a Dialog is meant to be a one-shot decision-maker ("The Dialog caters for cases in which the application requires the user to determine between optional actions.") You may want a DefaultSheet or similar? | 16:12 |
camron | I just installed the SDK in a VM and I'm getting the same problem I had on Mint... | 16:18 |
aquarius | camron, is the problem that when you try to create a new project you don't get the Ubuntu project types listed? | 16:19 |
camron | yes | 16:19 |
aquarius | camron, dpm suggested http://askubuntu.com/questions/259719/qt-quick-ui-templates-missing-from-qt-creators-new-file-or-project-dialog which fixed it for me. | 16:20 |
aquarius | camron, it is not clear *why* it's not being automatically set up, but that may get you going. | 16:20 |
rschroll | A QML Question: Is it possible to catch and recover from import errors? I'd like to use UbuntuWebView if available, but fall back to the standard WebView if not. | 16:25 |
aquarius | rschroll, it's doable, but awkward; you have to dynamically try and create the component with a Loader ot Qt.createQmlComponent or similar. You can't do the Pythonic thing of "try: import WhatEver; except ImportError: import Fallback" | 16:27 |
rschroll | aquarius: Thanks. Didn't think of that approach. | 16:28 |
camron | aquarius: That appears to have worked. Thanks a lot. That link should really be added to the "getting started" page in a "troubleshooting" section. I'm gonna boot to mint now to see if it works there too | 16:29 |
aquarius | rschroll, no worries. I'd like to get some hacking done on Beru when I get a chance; thanks for closing out the issues I filed :) | 16:29 |
aquarius | camron, it's supposed to happen for you -- the link is evidence that something's going wrong in the setup. I'd like to see the setup fixed (or given better abilities to autodiagnose failures) rather than documenting workarounds, myself, but that sort of thing is an mhall119 decision ;) | 16:30 |
camron | Is there a bug filed? | 16:31 |
aquarius | I don't know; filing another one would be a good idea (the worst that can happen is that it's closed as a dup :)) | 16:31 |
mhall119 | +1 for filing bugs | 16:32 |
rschroll | aquarius: Didn't realize you were you. Hi! | 16:32 |
aquarius | rschroll, yeah, I have too many names :) | 16:32 |
camron | I had to make it point to qmake in "/usr/lib/x86_64-linux-gnu/qt5/bin", so maybe it only affects some 64-bit systems | 16:32 |
om26er | gusch, pong | 16:34 |
gusch | om26er: ok - I hope I finally get it working https://code.launchpad.net/~schwann/gallery-app/gallery-atest-toolbar-opened/+merge/183195 | 16:36 |
om26er | gusch, looks good, I'll approve on jenkins +1 | 16:37 |
om26er | gusch, btw, why don't we actaully rely on toolbar.state ? | 16:37 |
clepto | netcurli, ping | 16:37 |
netcurli | pong | 16:37 |
PaoloRotolo | dpm, sorry, how can I increase the size of a font in Qt? Right now it's setted at "x-large". | 16:39 |
netcurli | clepto: | 16:39 |
camron | QTTOOLDIR was set to the right place though, so that bug is really confusing now | 16:39 |
clepto | netcurli, about that thing earlier with variable in maps, http://pastebin.ubuntu.com/6055789/ , doesn't work.. | 16:39 |
PaoloRotolo | "xx-large" doesn't work... | 16:40 |
netcurli | clepto: can't you do something like this? http://pastebin.ubuntu.com/6055798/ | 16:42 |
clepto | netcurli, wait to test | 16:43 |
dpm | PaoloRotolo, the largest size that can be set in a resolution-independent way is "x-large". Are you trying to set the size for a core app or for another app? -> http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/ui-toolkit/resolution-independence.html#fonts | 16:44 |
dpm | thanks oSoMoN_ for doing those Calendar reviews! | 16:44 |
oSoMoN_ | dpm: yw | 16:45 |
Laney | does tabbing through components usually work? | 16:46 |
Laney | not sure if it never does or if I just broke it somehow | 16:46 |
gusch | om26er: I don't think it's big difference (I'd rather prever the easier to read .opened) | 16:46 |
Laney | if not, can I define a tab order somehow to make it work? | 16:46 |
PaoloRotolo | dpm, ty, it's relative to this bug: https://bugs.launchpad.net/ubuntu-clock-app/+bug/1215334 | 16:46 |
ubot2` | Launchpad bug 1215334 in Ubuntu Clock App "[Clock app] Digital clock font size is smaller than design spec" [Low,Triaged] | 16:46 |
vjdhama | Hello all! | 16:47 |
dpm | PaoloRotolo, and the font is already set to "x-large"? | 16:47 |
PaoloRotolo | dpm, yes... | 16:47 |
netcurli | clepto: I am afk now for dinner, will be back later | 16:48 |
dpm | PaoloRotolo, I've updated the bug requesting info from design | 16:49 |
aquarius | dpm, irritatingly, "Add Existing Files..." is only implemented for .pro-based projects, it seems. So one has to add the files to the appropriate folder by hand, annoyingly | 16:49 |
PaoloRotolo | dpm, thanks! | 16:49 |
dpm | aquarius, ah, yeah, bummer :/ | 16:50 |
aquarius | how big are we expecting the phone screen to be in gu? | 16:50 |
aquarius | (roughly) | 16:50 |
aquarius | qml projects default to showing a desktop window at 100x75gu, which is not the aspect ratio of a phone. I'd like to have it look a bit more accurate... | 16:51 |
dpm | not sure, perhaps one of the SDK guys can help on this one | 16:51 |
clepto | netcurli, it seems ok, thanks again! | 16:51 |
mhall119 | aquarius: depends on the phone | 16:55 |
aquarius | mhall119, I know it does :) | 16:55 |
aquarius | mhall119, I can just make up some rough numbers; aspect ratios on a phone tend to be roughly 1.7:1. But it'd be nice to have something that actually corresponds to something real. | 16:56 |
mhall119 | I think 50gu is roughly phone side width | 16:56 |
aquarius | HTML5 project successfully run. Where does the click packager get its information from? It thinks I'm stuart.langridge@canonical.com, which I clearly configured somewhere, but I don't know where ;) | 16:57 |
mhall119 | that's what I use when running in a desktop window anyway | 16:57 |
mhall119 | aquarius: I think that's QtCreator getting the info, not click | 16:57 |
mhall119 | not sure where it gets it from though | 16:57 |
aquarius | mhall119, yeah, I'm not sure either. I looked through Tools > Options and couldn't see anything like that | 16:58 |
dpm | from bzr, perhaps? | 16:58 |
mhall119 | perhaps, the bzr configs match what it's putting in my click manifest anyway | 16:59 |
popey | design use 40gu for width | 17:00 |
popey | (i counted them) | 17:00 |
popey | aquarius: did it get it from your DEBEMAIL ? | 17:02 |
popey | alan@deep-thought:~$ echo $DEBEMAIL | 17:02 |
popey | popey@ubuntu.com | 17:02 |
aquarius | popey, don't know wha that means | 17:02 |
aquarius | popey, nope, I don't appear to have that set | 17:03 |
popey | hm | 17:03 |
popey | also, see above, 40gu | 17:03 |
aquarius | yep, have set the window to be 40x68. | 17:03 |
aquarius | which looks phoneish | 17:03 |
aquarius | annoyingly, the webview needs to reflow | 17:03 |
mrqtros | bzoltan, hi! | 17:06 |
bzoltan | mrqtros: hello | 17:06 |
mrqtros | bzoltan, do you remember our dialog about click packages and C++ plugins? :) | 17:06 |
mrqtros | bzoltan, any news? :) | 17:06 |
bzoltan | mrqtros: yes, no :) | 17:07 |
mrqtros | bzoltan, :D Ok, I expected it :) | 17:07 |
mrqtros | bzoltan, so what about pushing my plugin to Extras? :) | 17:07 |
bzoltan | mrqtros: right now the only thing I can suggest is to do it manually .. so get the armhf binary of the extension and the qmldir file and add it to the qml app's source tree before packing with click | 17:08 |
bzoltan | mrqtros: I would not put to extras... | 17:08 |
bzoltan | mrqtros: let's try to the main toolkit | 17:08 |
mrqtros | bzoltan, o_O why main toolkit in priority? :) | 17:09 |
bzoltan | mrqtros: just simple the extras is not a good place imo | 17:09 |
mrqtros | bzoltan, hmm ... I think that Extras is good place for third party | 17:10 |
bzoltan | mrqtros: I do not, but let's not argue about it :) | 17:10 |
bzoltan | mrqtros: basically if an API is crap than it will not land on the image anyway, regardless of its location... but if it is good then why not to add to the sdk | 17:11 |
mrqtros | bzoltan, Ok, it's little late today, can we discuss it tomorrow? :) | 17:12 |
bzoltan | mrqtros: sure | 17:13 |
bzoltan | it is late | 17:13 |
aquarius | bzoltan, when the click packager builds the manifest, where does it get the information in there from? In particular, my email address that goes in "maintainer"? | 17:13 |
bzoltan | and yes | 17:13 |
bzoltan | aquarius: that is easy ...we have quick link from NSA, we know everything about you, just did not want to add your phone number and shoe size | 17:14 |
aquarius | the NSA still think I work at Canonical, is the problem ;) | 17:14 |
bzoltan | aquarius: ok... kidding .. it comes from the 'bzr whoami' | 17:14 |
aquarius | aha, winn0r | 17:14 |
aquarius | I'll fix that then :) | 17:14 |
bzoltan | aquarius: good idea... or call the HR to send the paycheck :) | 17:15 |
aquarius | yeahhhh, fixed. | 17:17 |
aquarius | thanks bzoltan :) | 17:17 |
bzoltan | aquarius: no probs, mate :) keep the apps rolling :) | 17:18 |
aquarius | beuno, does my developer namespace *have* to begin com.ubuntu.developer ? | 17:19 |
aquarius | mhall119, dpm, are you expecting people entering the competition to upload a click package early and then keep overwriting it with new versions as they improve the app, or would you expect someone to just publish bzr branches or similar and then upload a package once they're confident it's finished? (Obviously once all this stuff is properly up and running, I shouldn't release a package until I want to | 17:22 |
aquarius | actually release to users, but the competition is different because we're still so early days) | 17:22 |
mhall119 | aquarius: I expect people to use bzr branches to share their code until it's pretty close to completion, and only then start uploading click packages to the store | 17:22 |
aquarius | mhall119, right, OK. bzr branch it is, then ;) | 17:22 |
aquarius | mhall119, perhaps you know the answer to the question I directed to beuno above? does my developer namespace *have* to begin com.ubuntu.developer ? | 17:23 |
dpm | aquarius, but I'd personally like you to upload the package already, since you provide such good feedback | 17:23 |
aquarius | ooh, dissenting advice from the community team ;) | 17:23 |
dpm | and if things break you know who to talk to and then we get things fixed for everyone | 17:24 |
mhall119 | aquarius: no, it doesn't | 17:24 |
aquarius | I shall happily upload a package. | 17:24 |
dpm | hahaha | 17:24 |
aquarius | mhall119, right, so I can make it be org.kryogenix and that's all good? | 17:24 |
mhall119 | yes | 17:24 |
mhall119 | aquarius: as long as it's unique, that's all that matters | 17:24 |
mhall119 | aquarius: it's not conflicting advice, btw, since there's a difference between what we want *you* to do and what we want *others* to do :) | 17:26 |
* aquarius grins | 17:26 | |
dpm | yeah, and when we really dissent we go for fist fights | 17:27 |
aquarius | I am filling out the form for my app. Does the "description" (a paragraph) get displayed alongside the "summary" (one line), or should I repeat the one-line summary in the description? | 17:27 |
dpm | bzoltan, so back to my question from this morning, checking if there is a way to do it, or if it requires work on the tools: I've got a compiled binary for a C++ QML extension and a QML frontend. I know how to put them together in a click package, but how to I get the QML code at runtime to know where the C++ binary is? (i.e. it's on the same folder as the QML, not in the system locations) | 17:28 |
wellsb | I'm having more problems with click and apparmor than deb packaging | 17:29 |
aquarius | dpm, Qt.resolvedUrl(".") returns a file URL for the folder that the qml file is in, I believe. | 17:31 |
aquarius | Qt.resolvedUrl("mybinary") should return file:///path/to/wherever/the/app/is/mybinary | 17:31 |
dpm | but can I use this info to do the import? | 17:32 |
bzoltan | dpm: check what the QML extension + Tabbed UI template does, that is the simplest example what shows exactly what you need | 17:32 |
aquarius | dpm, oh, you don't want to reference the binary, you want Qt to add the folder that the binary is in to the QML import path? NFI how to do that, that's a bzoltan thing to ask ;) | 17:32 |
* dpm checks the QML extension + Tabbed UI template | 17:33 | |
* bzoltan has to call it a day if he does not want to sleep on the couch :) | 17:35 | |
beuno | aquarius, right, you can pick whatever namespace you own | 17:38 |
aquarius | org.kryogenix it is :) | 17:38 |
wellsb | I'm afraid I may have added an extra dot to my namespace. Hopefully my apps don't turn out com.wellsb..appname | 17:39 |
beuno | wellsb, I can check for you. Under what name is it submitted | 17:39 |
beuno | aquarius, we should probably make that clearer in the UI, huh? | 17:40 |
wellsb | One sec, beuno. Let me check | 17:40 |
aquarius | beuno, yes, I think so. At the moment it's not clear -- and I don't own com.ubuntu.developer.sil, so it does rather suggest that I can either make up what I want, or that I have to be under c.u.d.* | 17:40 |
wellsb | beuno: account name is bradwellsbcom I guess? | 17:41 |
dpm | hm, either I don't understand it or the QML extension + Tabbed UI template does not really do what I was looking for | 17:41 |
dpm | It still loads the plugin from the system location :/ | 17:42 |
beuno | wellsb, fixed | 17:42 |
dpm | aha, found it | 17:42 |
wellsb | I appreciate it | 17:43 |
dpm | qmlscene needs to be run with the -I ../modulepath argument | 17:43 |
gusch | om26er: somehow ther seems to be a new issue now - can you have a look? https://code.launchpad.net/~schwann/gallery-app/gallery-atest-toolbar-opened/+merge/183195 | 17:45 |
om26er | gusch, sure | 17:47 |
om26er | gusch, the failure is rather different | 17:47 |
om26er | https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-saucy/2455/testReport/junit/gallery_app.tests.test_album_editor/TestAlbumEditor/test_add_photo_with_mouse_/ | 17:47 |
gusch | om26er: yes, but why did swicthing the tab stop to work? | 17:50 |
om26er | gusch, probably a race | 17:51 |
om26er | lets retry first | 17:51 |
aquarius | do I need to make my icon the Ubuntu Shape myself? Or does the package stuff automatically crop it to being an Ubuntu shape if I provide a square icon with colour right up to the edges? | 17:51 |
wellsb | I've added networking and accounts security policy groups, but under apparmor the account model is still not being populated. It works if I just run the qml in /opt with qmlscene directly. Is there another policy I should add? | 17:52 |
gusch | om26er: started a rebuild | 17:52 |
netcurli | aquarius: you can just provide a square icon | 17:59 |
aquarius | thanks netcurli | 18:06 |
aquarius | (although I have now done a nice rounded one, using Lucas's template :)) | 18:06 |
aquarius | mhall119, what do I choose as "licence", if my app contains things under different licences? Can I just choose "Other Open Source"? | 18:06 |
mhall119 | aquarius: on myapps? | 18:07 |
aquarius | mhall119, yes, sorry, in the new beta myapps create-your-app-and-upload-it process | 18:07 |
mhall119 | aquarius: I don't think it strictly matters, do you have a primary license for your code? | 18:08 |
aquarius | my code's public domain; some of the sounds are CC-BY; the wordlist is from WordNet, which has its own (open-source-compatible) licence | 18:09 |
aquarius | I've put Other Open Source for now (there's a detailed list of the licenced stuff in the app's About page in the app itself) | 18:09 |
aquarius | mhall119, also, do I need to ask for "audio" permissions just to play any sounds at all from a WebView, or is that for apps that want to play *background* audio? | 18:09 |
mhall119 | aquarius: good question, and I don't know the answer, you'd have to ask the security team | 18:11 |
* aquarius asks jdstrand ;) | 18:12 | |
clepto | kalikiana, will this work? http://pastebin.ubuntu.com/6056097/ (my actual code is more complicated) | 18:15 |
wellsb | Is there an issue with N4 audio today? I'm not getting anything | 18:17 |
aquarius | mhall119 or popey, are you in the mood for testing a package? I'd like to know if I've built it right before I upload it. | 18:17 |
popey | sure | 18:17 |
beuno | aquarius, if you also send it my way, I can run it through our lint checker | 18:18 |
popey | wellsb: audio works here | 18:18 |
aquarius | beuno, popey, http://ubuntuone.com/1hVGw1kJiNCaBef0uyfjEi | 18:18 |
wellsb | Thanks | 18:18 |
popey | Ubuntu Saucy Salamander (development branch) - armhf (20130831) | 18:18 |
popey | thats the image tho | 18:18 |
aquarius | I think it's quite possible that I haven't correctly built the package or something, hence checking :) | 18:19 |
popey | aquarius: what do I do with that? | 18:19 |
aquarius | popey, I have no idea. It's a click package. :) | 18:19 |
popey | \o/ | 18:19 |
aquarius | popey, you tell me what to do with it | 18:19 |
beuno | aquarius, package names need to be lowecase | 18:19 |
aquarius | popey, as far as I understand it, I can't install them on the desktop yet :) | 18:19 |
popey | well, I'll start by doing adb push to get it on the phone | 18:19 |
beuno | lowercase, even | 18:19 |
randomcpp | clepto, | 18:19 |
aquarius | beuno, what?? | 18:19 |
aquarius | beuno, it didn't say that. Anywhere. Nor did anything anywhere complain. | 18:20 |
popey | they also need to have ~1 on the end | 18:20 |
popey | I kid of course | 18:20 |
wellsb | popey: push it, then do pkcon -p install-local <file> | 18:20 |
mhall119 | aquarius: yes, there are bugs to make things complain about that | 18:20 |
beuno | aquarius, right, the SDK has a bug filed against it and we're updating the web | 18:20 |
clepto | randomcpp, ? | 18:20 |
popey | thanks wellsb | 18:20 |
randomcpp | clepto, you should use db as model, | 18:20 |
randomcpp | not a document | 18:20 |
aquarius | but I can't fix that in the web, can I? It was pretty clear about how I can't change the name of a package once it's built. | 18:20 |
beuno | aquarius, right, once you upload it. If you already did, I can change it for you | 18:21 |
aquarius | do I have to delete my currently-set-up-and-waiting-for-an-upload app on the web, then? | 18:21 |
beuno | "lint_maintainer_format": "invalid format for maintainer: sil-launchpad@kryogenix.org", | 18:21 |
mhall119 | aquarius: beuno can change it, and once the fix is in place changing won't be necessary anymore | 18:21 |
beuno | also, ^ | 18:21 |
clepto | randomcpp, here is using a document http://bazaar.launchpad.net/~uonedb-qt/u1db-qt/trunk/view/head:/examples/u1db-qt-example-2b/u1db-qt-example-2b.qml#L79 | 18:21 |
randomcpp | or if you to use your methos | 18:21 |
randomcpp | method* | 18:21 |
popey | aquarius: ping me when you're compliant ☻ | 18:21 |
aquarius | beuno, I haven't uploaded the click package yet (that's why I'm having you guys test it first), but I *have* done all the other configuration and uploaded icons etc | 18:21 |
beuno | aquarius, you should be able to change the package name | 18:22 |
beuno | if not, I'll change it for you | 18:22 |
randomcpp | in the delegate you should be able to access data with: modelData.title | 18:22 |
* aquarius gives beuno the stink-eye | 18:22 | |
aquarius | now I have to work out where all the names are set and change them :) | 18:22 |
clepto | randomcpp, ok I'll try | 18:22 |
beuno | aquarius, I know, I know. Still a lot of manual things until we scan packags on upload | 18:22 |
beuno | and, we've just opened the store | 18:22 |
beuno | so hitting this bugs now :) | 18:22 |
aquarius | beuno, so my "Application Name" can be upper-case if I want, but "Package name" must be lower-case, and it must also exactly match the name in my manifest file? | 18:23 |
beuno | aquarius, correct | 18:23 |
aquarius | beuno, does the filename of the click package itself also have to match that? | 18:23 |
beuno | all of this will go away in a month or so, as we'll scan | 18:23 |
beuno | aquarius, it does not | 18:23 |
aquarius | is the filename of the click package important at all? | 18:23 |
beuno | we rename them | 18:23 |
aquarius | ok | 18:24 |
clepto | randomcpp, but first i need a way to get the length of "notes", any idea? | 18:24 |
aquarius | Currently QtCreator keeps resetting the stuff I set in the manifest. Is it supposed to be saving these things? | 18:24 |
randomcpp | listview,model.length | 18:25 |
beuno | aquarius, happens to me too. Moind filing a bug? | 18:25 |
randomcpp | listview.model.length | 18:25 |
aquarius | beuno, not at all | 18:25 |
beuno | ta | 18:26 |
aquarius | beuno, I can't change the package name on the web; I changed it on "Your app" (first screen of the upload "wizard") from "WordBits" to "wordbits", but it gets set back | 18:26 |
aquarius | beuno, do you need to change it? | 18:26 |
beuno | aquarius, gah, that sounds like a bug. I'll file it and fix it for you | 18:27 |
clepto | randomcpp, TypeError: Cannot read property 'length' of undefined ... i already try it :/ | 18:27 |
aquarius | beuno, thank you. (I think it may be app 21, but I'm not sure. Also, if it is, cool, 'cos that's my U1 id too ;)) | 18:28 |
randomcpp | clepto, maybe you call it before you actually defined a model | 18:28 |
beuno | aquarius, fixed | 18:28 |
wellsb | Hmm I'm not even getting audio when testing the ringtones in the sound settings | 18:28 |
aquarius | popey, were you serious about packages needing ~1 on the end? | 18:28 |
aquarius | popey, I don't know how to do that; the click packager isn't doing it | 18:28 |
popey | no, i was being comical.. | 18:28 |
aquarius | ha! | 18:28 |
aquarius | sod off | 18:28 |
popey | MICROSO~1 | 18:28 |
aquarius | when I do not know what I am doing is not the time to troll me about requirements :) | 18:29 |
clepto | randomcpp, do you want to check the code? | 18:29 |
aquarius | popey, http://ubuntuone.com/63Dmm7YUlllZMNs8kGTC3N should now be a correctly-lowercase click package. | 18:30 |
popey | kk | 18:30 |
aquarius | I have much feedback about this whole process, incidentally. You guys might want to prepare for a long email ;) | 18:31 |
beuno | /o\ | 18:31 |
beuno | aquarius, did you fix the maintainer field as well? | 18:31 |
randomcpp | clepto, alternatively: db.getDoc(docId).notes.length | 18:32 |
randomcpp | or | 18:32 |
randomcpp | something.contents.notes.length | 18:32 |
clepto | randomcpp, tried and tried and not working... I'm feeling desperate :P | 18:33 |
randomcpp | clepto | 18:33 |
clepto | randomcpp, notesDatabase.getDoc("notes").length gives undefined | 18:33 |
randomcpp | create has to be set to true | 18:33 |
randomcpp | otherwise that document won't never ever be created | 18:34 |
randomcpp | that's why you have undefined everywhere | 18:34 |
popey | aquarius: it has no icon, you know this? | 18:35 |
popey | http://popey.com/~alan/device-2013-09-02-193510.png | 18:35 |
popey | it also fails to start | 18:35 |
netcurli | Icon=qmlscene | 18:35 |
aquarius | ah, I haven't set the icon, you're quite right ;) | 18:36 |
popey | not sure how to debug it not starting | 18:36 |
netcurli | the desktop file has uppercase letters in it | 18:36 |
aquarius | popey, can you see what happens when it fails to start? | 18:36 |
netcurli | Unable to activate "org.kryogenix.wordbits_wordbits_0.1.desktop" | 18:36 |
popey | where do the desktop files go? | 18:37 |
aquarius | can I just drop "icon64.png" into the root of my package and put "Icon=icon64.png" in WordBits.desktop? | 18:37 |
netcurli | .local/share/applications | 18:37 |
popey | org.kryogenix.wordbits_WordBits_0.1.desktop | 18:38 |
popey | ah | 18:38 |
aquarius | grrrrrrrrrrrrrrrrrrr | 18:38 |
aquarius | so loads of stuff has to agree with the package name, then? | 18:38 |
* aquarius looks annoyed. | 18:38 | |
beuno | ya | 18:38 |
beuno | ok, off to the dentist, bbiab | 18:38 |
aquarius | popey, ok, try the url again | 18:40 |
aquarius | new version of the package. I have not changed the version number | 18:40 |
popey | k | 18:41 |
aquarius | popey, sorry about this, btw; I'd test on my own device if I had one ;) | 18:41 |
aquarius | it might have an icon now... and might not. | 18:42 |
popey | Results: | 18:42 |
popey | should that say something? | 18:42 |
aquarius | ? | 18:42 |
aquarius | where are you getting Results from | 18:42 |
aquarius | ? | 18:42 |
popey | http://paste.ubuntu.com/6056196/ | 18:43 |
aquarius | god knows | 18:43 |
aquarius | I don't know what that means :) | 18:43 |
* popey reboots phone | 18:43 | |
randomcpp | clepto, solved' | 18:43 |
randomcpp | ? | 18:43 |
netcurli | aquarius: icon is there now | 18:43 |
popey | odd, i didnt see one | 18:43 |
netcurli | aquarius: but I still can't launch the app | 18:43 |
popey | wonder if we're missing cordova or something | 18:44 |
aquarius | netcurli, I suspect there's something else which needs changing to be lowercase. | 18:44 |
aquarius | No cordova required. | 18:44 |
popey | yay, icon now I rebooted | 18:44 |
aquarius | is it starting the correct desktop file now? | 18:44 |
netcurli | aquarius: what does your manifest.json look like? | 18:44 |
aquarius | netcurli, it's difficult to say because I can't see that | 18:44 |
popey | org.kryogenix.wordbits_WordBits_0.1.desktop | 18:45 |
popey | still uppercase here | 18:45 |
aquarius | popey, the file itself is uppercase? Or the thing it's trying to *launch* is? | 18:45 |
popey | Exec=aa-exec -p org.kryogenix.wordbits_WordBits_0.1 -- qmlscene $@ WordBits.qml | 18:45 |
netcurli | you should have a manifest.json in your project directory?! | 18:46 |
popey | i wonder if click didn't upgrade the package i had | 18:46 |
aquarius | netcurli, oh, should I? | 18:46 |
netcurli | after qtcreator builds the click | 18:46 |
netcurli | it gets generated | 18:46 |
aquarius | netcurli, ooh, so I do :) | 18:46 |
aquarius | it doesn't show up in qtcreator ;) | 18:46 |
aquarius | http://paste.ubuntu.com/6056209/ | 18:46 |
aquarius | is my manifest file | 18:46 |
netcurli | as I suspected :) same mistake as with my app | 18:47 |
netcurli | under "hooks" | 18:47 |
netcurli | there is still a not lowercase version of the app name | 18:47 |
aquarius | aha | 18:47 |
* popey would recommend "find . | grep W" ☻ | 18:48 | |
netcurli | mh.. the name is not org. .. but com.ubuntu. .. | 18:48 |
aquarius | ok, try the URL again :) | 18:48 |
aquarius | popey, I don't want to rename everything to lowercase, because that'll sod everything up. Obviously I will not make this mistake again, though :) | 18:49 |
aquarius | netcurli, it keeps resetting that. I think that the latest version should have .org in there | 18:49 |
aquarius | ubuntu-sdk | 18:49 |
cwayne_ | i'm having a lot of trouble making my list scrollable, anyone have any ideas? | 18:49 |
boiko | cwayne_: where is the code? | 18:50 |
aquarius | cwayne_, a ListView should automatically be scrollable. Does it scroll with the mousewheel? | 18:50 |
netcurli | aquarius: I can launch the new app now | 18:51 |
cwayne_ | aquarius, nope, it doesn't | 18:51 |
cwayne_ | boiko, http://pastebin.ubuntu.com/6056224/ | 18:51 |
aquarius | netcurli, that's a start! does it *work*? :) | 18:51 |
cwayne_ | or lp:~cwayne18/+junk/ufitbit-tracker | 18:52 |
netcurli | I think so | 18:52 |
netcurli | yes | 18:52 |
netcurli | I can do stuff in it | 18:52 |
popey | it starts! | 18:53 |
popey | well, i get a blank qmlscene | 18:53 |
popey | blimey, eventually it appears | 18:54 |
popey | that took a while | 18:54 |
aquarius | netcurli, questions to answer: do you get a list of words correctly; when you get a word right, does it show that word; does it play a sound on a correct guess; on an incorrect guess; does Hint work; can you switch to the About tab and back again/ | 18:54 |
aquarius | https://bugs.launchpad.net/ubuntu-qtcreator-plugins/+bug/1219948 filed about the Packaging stuff resetting all the options every time I open it, beuno | 18:54 |
ubot2` | Launchpad bug 1219948 in Ubuntu QtCreator Plugins "Packaging resets package name, other attributes to default every time it's opened" [Undecided,New] | 18:54 |
popey | aquarius: http://popey.com/~alan/device-2013-09-02-195433.png | 18:54 |
aquarius | hrm | 18:54 |
aquarius | why's that all tiny then? | 18:55 |
netcurli | the layout looks correct on my gnex | 18:55 |
aquarius | it's correct layout in qmlscene here :( | 18:55 |
popey | 3132 phablet 30 10 199m 38m 28m S 21.8 2.0 0:01.79 QtWebProcess | 18:56 |
popey | thats eating cpu quite a bit before I see anything | 18:56 |
popey | http://popey.com/~alan/device-2013-09-02-195638.png | 18:56 |
aquarius | cwayne_, try setting the width on your listview (you don't have one, now) | 18:56 |
cwayne_ | aquarius, just setting it to parent.width? | 18:57 |
aquarius | cwayne_, yep | 18:57 |
cwayne_ | aquarius, ah, that did it! | 18:57 |
aquarius | cwayne_, qml really doesn't like it if stuff doesn't have widths. Loads of things just silently fail. It irritates me no end :) | 18:57 |
cwayne_ | aquarius, yeah, until i set the height the listview would only show one item, was SURE my js was wrong | 18:58 |
netcurli | aquarius: so I can play the game, go the the About tab and all, but I don't get sound | 18:58 |
netcurli | but that might just be my device | 18:58 |
aquarius | (technically they're not silently failing; the problem you had was that the listview was 0 px wide, which is why you couldn't scroll on it, but the content in it overflows. I wish ListViews were clip:true by default.) | 18:58 |
cwayne_ | aquarius, agh, now it tries to scroll over the row at the top, hm | 18:59 |
aquarius | netcurli, yeah, I believe that sound just doesn't work on the devices, yet; mhall119 tried the web version of the game (http://www.kryogenix.org/code/browser/wordbits-html5/wordbits.html) and didn't get any sound there either, so I think maybe sound just doesn't work. But it's hard to tell ;) | 19:00 |
aquarius | cwayne_, you're using Tabs wrong. Observe http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components0-tabs.html -- your Page should be the page: attribute of a Tab, not just a child. So Tab { page: Page { page goes here } } | 19:00 |
aquarius | cwayne_, I get tripped up by that all the time, too :) | 19:00 |
mhall119 | aquarius: some sound works, I can watch youtube videos on my phone browser and I get sound | 19:00 |
aquarius | mhall119, is that video playing in the video player, or inbrowser? | 19:01 |
aquarius | mhall119, and can you get any web page or app to make a sound? :) | 19:01 |
mhall119 | aquarius: in browser | 19:02 |
aquarius | ooh, so it plays sounds in the browser? | 19:03 |
mhall119 | now sure if it's using webm or flash or gstreamer plugin or what | 19:03 |
netcurli | aquarius: and now that I opened it a second time I have to agree with popey, it takes quite some time to start | 19:03 |
mhall119 | aquarius: for videos anyway | 19:03 |
aquarius | netcurli, right. I do not know whether that's my fault or not. :( | 19:03 |
aquarius | netcurli, that is: I do not know whether I can make it be faster, or whether that's just how long it takes to start qmlscene and a web widget :( | 19:04 |
aquarius | I'd work on minimising that startup time -- maybe showing a loading screen quickly, which I do sort of do anyway -- but testing that sort of thing remotely is close to impossible. Bah. | 19:05 |
aquarius | mhall119, are other HTML5 apps starting up in good time? | 19:05 |
mhall119 | aquarius: only other one I've tried is your canonical-auth, and it seems to load fine | 19:07 |
mhall119 | fine==quickly | 19:07 |
aquarius | mhall119, ah, but that's not an HTML5 native app with qmlscene and a webview -- that's actually in-browser. | 19:08 |
mhall119 | yeah | 19:08 |
aquarius | I don't know whether the startup time for wordbits is slow because I'm being slow to initialise stuff, or whether it takes a long time to set things up before I even get any influence over it | 19:08 |
mhall119 | so maybe your issue is loading QWebkit's WebView QML component | 19:08 |
netcurli | aquarius: you can try the analyze tab in qtcreator | 19:08 |
aquarius | indeed | 19:08 |
aquarius | netcurli, I can, but that'll only tell me how long it takes on my desktop, and it's not slow there :) | 19:09 |
netcurli | mh | 19:10 |
netcurli | then I don't know how much more you can debug without a device | 19:12 |
aquarius | yeah, I know | 19:13 |
aquarius | I was hoping I wouldn't *have* to debug, what with things being convergent and all ;) | 19:13 |
aquarius | but clearly a device is needed, for two reasons: 1. it's slower, and why that is needs working out (perhaps the stack can be made faster, or a splash screen loaded and then the webview loaded with a Loader in the background), and 2. it comes up tiny on popey's device for reasons I do not understand. | 19:16 |
netcurli | aquarius: what happens when you resize the app window on the desktop | 19:17 |
aquarius | it scales correctly | 19:18 |
aquarius | I tried that :) | 19:18 |
aquarius | sometimes the webview decides to put the wordbit buttons all in one tall column or soemthing equally weird (there's a workaround for this on startup inside the code), but it never renders the whole thing perfectly in a quarter of the screen. | 19:19 |
aquarius | I don't understand why that might even happen. | 19:19 |
cwayne_ | boiko, hey, sorry, my internets died | 19:23 |
boiko | cwayne_: no problems, | 19:23 |
aquarius | anyway, thank you popey and netcurli for testing. Now to decide whether to put it in the beta USC or not. | 19:25 |
clepto | randomcpp, should the create property be always true? in every run? | 19:31 |
randomcpp | at least the first run | 19:31 |
aquarius | every run | 19:32 |
aquarius | u1db-qml creates a document if it doesn't exist. | 19:32 |
aquarius | you can just set create:true and forget about it; on second run, it'll just ignore it (it will not overwrite the existing document with the defaults). | 19:32 |
clepto | thanks aquarius | 19:35 |
clepto | randomcpp, I sorry for not answering before.. I'm making progress but very slow | 19:35 |
clepto | randomcpp, for some reason listview's model return undefined... | 19:46 |
randomcpp | clepto, post some code | 19:47 |
clepto | randomcpp, wait | 19:47 |
clepto | randomcpp, https://github.com/Clepto/cnotes-ubuntu-touch run it and create a note | 19:49 |
clepto | just title should be fine | 19:49 |
randomcpp | ok a sec | 19:49 |
randomcpp | I finish a commit first | 19:49 |
clepto | ok | 19:49 |
randomcpp | does anybody know what's the arguments PopupUtils.open takes? | 19:53 |
randomcpp | the first is the component, the second the caller and is there a third? | 19:53 |
clepto | randomcpp, i don't think so | 19:54 |
randomcpp | clepto, the note appeared after I clicked on archive then on notes again | 19:57 |
randomcpp | I know what's wrong | 19:57 |
randomcpp | since you use an array | 19:57 |
nik90_ | mhall119: ping | 19:57 |
mhall119 | nik90_: pong | 19:58 |
randomcpp | as a model, you have to call each time you modify that array the *changed() event | 19:58 |
randomcpp | or | 19:58 |
randomcpp | pass the array again as a model | 19:58 |
randomcpp | similar to this issue http://qt-project.org/forums/viewthread/31880/ | 19:58 |
nik90_ | mhall119: tomorrow can you ask balloons to look into the autopilot bug that I am facing for the clock app? In the morning, I am at work and cannot talk to him. And when I get home, it is too late to catch him on irc | 19:59 |
nik90_ | mhall119: https://code.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/trunk/+activereviews | 19:59 |
nik90_ | mhall119: the top 4 MP are blocked due to it. | 19:59 |
mhall119 | nik90_: I'll put it on my list | 19:59 |
nik90_ | mhall119: thanks. I tried contacting him but no response | 20:00 |
clepto | randomcpp, how i call the *changed event? | 20:00 |
wellsb | popey: You said audio works fine for you. Do an upgrade and dist-upgrade and let me know if it still works fine. I just did a clean install, and audio worked. After upgrade and restart, it failed again | 20:02 |
popey | wellsb: sure | 20:03 |
nik90_ | wellsb: since when did audio stop working for you? And which device? | 20:03 |
nik90_ | wellsb: i am facing same issue on nexus 4 | 20:03 |
randomcpp | notesDocument.contents.notes.changed() or notesDocument.contents.notesChanged() or alternatively set the model again | 20:04 |
wellsb | N4, I just noticed it today, but it could have been around a while | 20:04 |
popey | http://paste.ubuntu.com/6056484/ | 20:04 |
popey | thats all that needs to be updated | 20:04 |
wellsb | What security privileges do I need to access Online Accounts? | 20:05 |
wellsb | I have accounts and networking with no luck. I think I even tried content_exchange. It works when I qmlscene from /opt directly, but the account model does not populate under apparmor | 20:06 |
popey | wellsb: updated, i still get audio from playing Sintel | 20:09 |
sbeattie | wellsb: I *think* you also need the 'accounts' privilege as well, but I'm not sure where the state of the online accounts mediation is at, at the moment. | 20:09 |
wellsb | popey: and it survived a reboot? | 20:09 |
popey | that was after a reboot | 20:09 |
wellsb | Interesting | 20:10 |
sbeattie | wellsb: oh, hrm, you have accounts already. What rejections show up in /var/log/syslog? | 20:10 |
beuno | thanks aquarius! | 20:13 |
clepto | randomcpp, i re-set the model but i still get the error regarding the length | 20:13 |
clepto | randomcpp, sorry for the trouble | 20:13 |
randomcpp | but notesDocument.contents.notes.length | 20:14 |
randomcpp | works at least? | 20:15 |
clepto | randomcpp, sometime it works other not... now its not :P | 20:16 |
clepto | sometimes* | 20:16 |
clepto | I'll do it tomorrow from the start with clear head | 20:16 |
randomcpp | clepto, than there's something wrong in how you create new notes | 20:16 |
randomcpp | then* | 20:16 |
randomcpp | because the only reason why *.notes.length returns undefined is because *.notes.length is not an array :p | 20:17 |
clepto | randomcpp, right now I really can't think :P | 20:18 |
randomcpp | nik90_, I've implemented Image preview | 20:25 |
randomcpp | it shows an image per time, it doesn't work as a gallery | 20:26 |
randomcpp | and btw nik90_ those guys from f2f didn't answered yet >.< | 20:29 |
randomcpp | good night guys, see you | 20:32 |
cwayne_ | can you change the color of progressbar? | 22:10 |
cwayne_ | mhall119, any idea? ^ | 22:40 |
mhall119 | cwayne_: maybe by messing around with the theming | 22:42 |
jec | Hi guys! What are the programming languages that i need to know to get started? Are they qml and c++ only? | 23:36 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!