/srv/irclogs.ubuntu.com/2015/04/22/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== aaron__ is now known as ahoneybun
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dholbachgood morning07:11
Mirvit seems it's not just me with vivid click chroot creation problem failing + umounting encrypted home dir bug #143685207:20
ubot5bug 1436852 in qtcreator-plugin-ubuntu (Ubuntu) "Click Target creations fails on vivid, unmounting encrypted home directory" [Undecided,Confirmed] https://launchpad.net/bugs/143685207:20
Mirvwhich is kind of reliefing since it means I'm not the only person in the world who can (mis)configure his system in that way07:20
aquariuspopey, so you and I both can't build anything. What thing are we doing wrong which is presumably obvious to C++ people? :)07:33
popeyaquarius: well, i can build C++ stuff, but for some reason not today08:22
uglyandstupidmorning all08:33
uglyandstupidWhat's Ubuntu's way of exposing native API to both HTML and QML UI code ?08:41
uglyandstupidi.e when you have a service daemon offering Play/Pause API that someone would like to call from JS/QML code08:44
oSoMoNnerochiaro, good morning! have you seen my last comment on https://code.launchpad.net/~uriboni/webbrowser-app/bookmarks-in-suggestions/+merge/256459 ?08:50
nerochiarooSoMoN: on it in a few minutes08:51
oSoMoNthanks08:51
aquariuspopey, yeah, I can compile other things (I checked that). I don't understand how to get actual output from Ubuntu SDK about where the compile is looking for libraries, rather than just a one-line error!08:53
nik90zsombi: ping08:54
zsombinik90: pong08:54
aquariusuglyandstupid, to offer some other service to QML code, write a QML extension plugin which talks whatever the API is and exposes it to QML code. I don't know how new APIs are exposed to HTML5 apps; oSoMoN may know08:54
nik90zsombi: How is it that your theming stuff along with the new header style landed in vivid? I thought no new API was allowed to land in vivid this late in the cycle?08:55
zsombinik90: perhaps a mistake, or you got the overlay PPA as well...08:55
nik90zsombi: this is on the phone08:55
zsombinik90: then it was a mistake08:56
nik90ah ok08:56
zsombinik90: and afaik new header style supposed to be 1.3 as well... or perhaps that is independent on the new header config APIs08:56
zsombinik90: yes, they are independent...08:57
nik90zsombi: the reason I asked is that in Podbird and ureadit, we use a property called "theme" which we change...but turns out that is now used by the SDK and is declared as final..as a result Podbird and ureadit crash on the latest vivid :)08:57
zsombinik90: well, happens :)08:58
aquariushaha! I just asked mhall119 on g+ why the version number of the components didn't change for that breaking change :)08:58
nik90zsombi: either way the new header looks cool, lets hope that stays in vivid08:58
nik90aquarius: yeah don't get me started on the frameworks issue :P08:59
zsombinik90: I don't think so as it was based on 1.3 changes :/08:59
zsombinik90: :)08:59
zsombinik90: aquarius: we're working on that too08:59
aquariusam a bit worried that breaking changes aren't changing the version number, which means that this change will break any app which uses "theme" as a variable, even if that app doesn't change. Stopping this happening is what version numbers are *for* :(08:59
zsombiaquarius: so your apps import 1.2 UITK, right?09:00
zsombior earlier09:00
aquariusactually, mostly earlier09:00
nik90zsombi, aquarius: I think it will be reverted..since it breaks core apps *visuall* like clock, browser, reminders etc09:00
nik90s/visuall/visually09:00
zsombiI hope you don't import 0.1..!09:00
popey(I hope apps were tested)09:01
zsombinik90: it will be reverted in a sense that 1.3 won't be there09:01
zsombiI hope at least...09:01
nik90same09:01
zsombinik90: aquarius: the theme property is exported for 1.3 versions only, but unfortunately Qt versioning is a mess :/09:02
aquariusriddling probably imports 0.1 because it's old. Caxton and Readability import 1.1.09:02
zsombinik90: aquarius: so if a component implementation imports 1.3, it exports that to 1.2 as well :/09:02
zsombiaquarius: then it would be about the time to get rid of the 0.1 import09:03
aquariuszsombi, why? it works.09:03
nik90well this is devel-proposed..so this kind of breakage is expected..which is why I was really surprised to see https://code.launchpad.net/~bzoltan/ubuntu-ui-toolkit/landing_2015-04-17/+merge/256647 land in vivid09:03
zsombinik90: aquarius: it does... but it's not healthy :) it only has 1.0 APIs09:04
aquariusbut I don't use anything outside those APIs (by definition).09:04
aquariusNo benefit to upgrading!09:04
zsombiaquarius: yep, until we remove that09:04
zsombi16.04 will definitely do remove 0.1 support!09:04
zsombiand will come with 2.009:05
aquariusthen I look forward to it throwing deprecation warnings for at least a year beforehand, to warn developers about it09:05
aquariusbecause of course you wouldn't just do a release which broke perfectly working apps for no reason other than disc space. :)09:05
zsombiaquarius: see the blog: all deprecated APIs removed in 2.009:05
aquariusit's not a deprecated api! :)09:06
zsombiaquarius: all apps importing 1.x will work, but 2.0 APIs won't have any deprecated 1.x APIs09:06
zsombiaquarius: well, kinda yes :) 1.0 = 0.1 in this case :)09:06
zsombiaquarius: but we encourage people to get rid of 0.1 imports09:07
zsombiso in that sense is deprecated :)09:07
aquariusthat's not what I mean. I personally do not feel that a few words on a blog that app devs don't read is enough to tell people that a thing is deprecated. Why not make it throw warnings? So developers see it.09:07
nerochiarooSoMoN: pushed the fix. is it going to be merged today ? i would like to submit the MR for the suggestions on top of that one09:08
nerochiarooSoMoN: but i guess i can just do that with a prerequisite branch09:08
zsombiaquarius: then tell me how to announce better the deprecation. 0.1 module deprecation cannot be shopwn in any runtime logs, and if blogs, emails are not read, how should we do?09:08
oSoMoNnerochiaro, it won’t be merged today, but yes, you can mark it as a prerequisite09:08
zsombiaquarius: the plan has been announced in many channels, u-d-c blog, g+, IRC, so those who wanted to read they did09:09
nik90zsombi: may be starting with 15.10 or something, any apps importing 0.1 will have a deprecation warning asking devs to upgrade to 1.x similar to component deprecation?09:10
zsombinik90: just said: no way to post warning on import versions :/09:10
nik90aquarius: although aquarius ^^ will not be noticeable by you until you run your app importing 0.1 in qtcreator and see these warnings09:10
nik90zsombi: ah..missed that09:10
zsombinik90: unless we duplicate all components for 0.1 and post a warning there :(09:11
aquariuszsombi, why can't it be announced? Just add "Component.onCompleted: console.warn('This is deprecated! upgrade, you lazy toad');" to the top of all components?09:12
uglyandstupidaquarius: thanks09:12
zsombiaquarius: and how do you know that it had been imported with 0.1?09:12
zsombiaquarius: without duplicating all components for 0.1?09:12
aquariuszsombi, hang on. I assumed that you have an Ubuntu/Components/0.1 folder somewhere with 0.1 components in it, and then an Ubuntu/Components/1.0 folder somewhere with 1.0 components in. Is that not the case?09:13
zsombiaquarius: nik90: but having 2.0 without the deprecated 1.x APIs doesn't mean the 1.x will chease working09:13
zsombiaquarius: well, my dear friend, get the sources and see, there's nothing like that :)09:14
zsombiaquarius: it would be a HUGE maintenance burden09:14
zsombito have separate component and plugins for each minor update09:14
aquariusit wouldn't be a maintenance burden at all, would it? Once you've released 1.2, you never ever touch that folder again; that's what a release is09:14
zsombiaquarius: the versioning was always bad, it shoul dhave always been started with 1.0, not with 0.109:15
zsombiaquarius: wouldn't it?09:15
aquariusit doesn't get maintained. Bugs are fixed in newer versions. that's the point of version numbers :)09:15
zsombiaquarius: have you ever thought that each minor changes would require component duplication?09:15
zsombiand I guess yo always liked to get fixes on components, right?09:15
zsombiso, fixing a bug would require us to "backport" to each component in each minor version, which is a maintenance burden09:16
aquariusYep. That's exactly what I believed happened. You release 1.2 and that's 1.2 for ever. If there are bugs in it, tough. (There is a period *before* 1.2's release when there is a "1.2" which keeps changing, of course.)09:16
aquariusNo, you don't backport the bug fixes; the bug stays there. Because it's been released. In the same way, if you fix a bug in a deb package, you have to increase the version number. Otherwise it can't be installed09:17
zsombiaquarius: yes, you are right09:18
aquariusthat may not be the way we do things, but I'm pretty sure it's the way QML versioning *expects* that you're doing things -- that's why you have to specify a version number to import. If my app says "import Ubuntu.Components 1.2" and works on some machines and not others because they and I have different "versions" of "1.2"... that's what version numbers are meant to stop happening!09:18
aquariusthere aren't meant to be two different "versions" of 1.2 :-)09:19
zsombiaquarius: however, that would also mean that your app importing 1.0 would have the same bug even if the device got upgraded to use 1.109:19
aquariusyep09:20
aquariuswhich is unfortunate09:20
aquariushowever, it is less bad than my working app importing 1.0 *breaking* when I haven't touched it :)09:20
zsombiaquarius: so you'd need to upgrade your app then...09:20
zsombiaquarius: well, I agree on that09:20
aquariusyes. I have clearly decided that the bug in 1.0 didn't affect my app enough to avoid releasing it, or I really do hate that bug and so I've worked around it in my app somehow09:21
zsombiaquarius: and QML versioning does not expect that either09:21
aquariuswhen a new version of the UITK comes out, I need to upgrade my app to use it. That's what I expect, indeed09:21
aquariusI do not expect a working version of the UITK to change under me and break my app :(09:21
aquariusI didn't even realise that I was *supposed* to be expecting that :(09:21
zsombiaquarius: see QtQuick plugin, they export the same components with revisions, and QML documents are the same for all versions09:21
zsombiaquarius: QtQuick.Controls for instance they do this: same component exported to all minor versions09:23
zsombiaquarius: and btw, there was an email - inm - long ago about asking app devs to turn to import 1.0 instead of 0.1 :)09:23
aquariusso a QML programmer is *meant* to expect that a component they import might change and break their app?09:23
zsombiaquarius: not change and break, but to get bugs fixed, yes09:24
zsombiaquarius: if breaks, then we need to fix that09:24
aquarius(also, I have just looked through and searched the blog and it doesn't mention deprecating this stuff, unless I'm missing something :))09:24
zsombiaquarius: but if it is because of some API we add, that is not on us, sorry09:24
* nik90 checks09:25
zsombiaquarius: the blog might not say that, but major version bumping means that the 2.0 plugin will not bring anything kicked out from 1.x, also it means that it will be a separate module09:25
aquariusI'm totally fine with it being a separate module09:25
zsombiaquarius: that is the way ytou do in QML extension plugins09:25
aquariusthat's a great idea09:25
nik90 aquarius: well it does say in 2.0: Clean up deprecated components..I presume that means being removed09:26
aquariuswhat I expect is that when I ship a package which mentions in click frameworks that it uses ubuntu-sdk-14.10, that that will continue to work09:26
zsombiaquarius: also, keeping separate module for each minor would be the best way, but QML plugin system doesn't let us do that :/09:26
aquariusnik90, ya, but it doesn't say what the deprecated things *are* :)09:26
zsombiaquarius: so the only way to support backwards minor versions is to have them under the same module :(09:26
aquariuszsombi, what? that's bloody stupid.09:27
* aquarius looks annoyedly at Qt09:27
zsombiaquarius: every release announces the deprecations...09:27
karniHi folks. I have a question. When I insert text into a text field, currently the way it works the text field won't know there's a text in it until after you press space (to "accept" the word into the text field). What's a suggested workaround for that? If we add voice note support in Telegram similar to Android, we end up not being able to send 'yo' ('yo<space>' is fine), because the microphone button is still visible, even though there's ...09:27
karni... text in the text field. the only workaround I can imagine is using keyboard Enter as "Enter to send"09:27
nik90karni: Elleo is the best person to talk to about this ^^09:28
zsombikarni: I guess it's the input method which messes you there09:28
karnizsombi: correct09:28
zsombikarni: how do you insert the text?09:28
zsombikarni: so call Qt.inputMethiod.comit()09:28
karnizsombi: the user types the text. I know commit() works, but how would I know when to do that.09:29
zsombikarni: maybe an idle timer?09:29
karniI want to send "bro" to you zsombi, but unless I press space, I wouldn't be able to do that09:29
karnizsombi: I guess that'd be last resort (yet another workaround :( )09:29
zsombikarni: there should be a send button, right?09:29
karniElleo: hey bro, asked a question couple lines above, would you have suggestions? ↑09:30
zsombikarni: when you press the Send button, you call commit before sending09:30
karnizsombi: the send button is a microphone button, so you can press it and record a voice note that is immediately sent. when you strat typing, it *should* animate to a regular 'send' button09:30
karnizsombi: ha. there's no 'send' button until that time, that's the problem :(09:30
zsombikarni: well, there has to be something which triggers the sending09:31
karnizsombi: once you type (*and* press space), microphone animates to a send button.09:31
zsombiok09:32
karnion Android, you have things like onTextChanged whatever, so that's easy. here, we have input method preventing the text field from knowing about text.09:32
zsombiwhy only at space pressing? doe sit animate to send when you type? or only at space?09:32
zsombiaaaah09:32
karnizsombi: because space commits last input method word09:32
zsombiI see now!09:32
Elleokarni: the text will be committed on a focus change if you press a send button or similar09:32
Elleokarni: assuming you let the button take focus (otherwise call Qt.inputMethod.commit() when it's pressed)09:32
karniwhich may be the first one09:32
Elleokarni: ah, are you wanting to just detect that there's text being entered to change the button?09:32
Elleokarni: I'm pretty sure there's a property you can monitor to know when text is being composed (but hasn't been committed yet)09:33
zsombithere was sthing on teh text field...09:33
Elleoiirc the messaging app uses it to activate their send button09:33
karniElleo: I need to detect *before* the send button is visible. actually, that _would_ show the send button09:33
zsombikarni: inputMethodComposing() signal09:33
Elleokarni: yeah, that's what I mean09:33
zsombi or sthing lik ethat09:33
karniwhoooo \o/09:33
karniexactly what I needed, thanks guys! I'll have a look at the messaging app / that method !09:33
zsombikarni: sorry, that API si a bit huge... hard to find all you need, but it's there :)09:33
karni:) I'm glad it's there!09:34
Elleoyeah there's an inputMethodComposing property on text stuff that messaging-app is using09:34
karnilovely, that's what I needed :)09:34
Elleokarni: line 985 of Messages.qml09:34
karni=D09:34
karni\o/09:35
Elleo:)09:37
SaviqElleo, I think a UITK update broke Podbird:09:56
Saviqfile:///opt/click.ubuntu.com/com.mikeasoft.podbird/0.5/share/qml/podbird/podbird.qml:68 Cannot override FINAL property09:57
nik90Saviq, Elleo: Already fixing it now :)09:57
nik90Saviq: it is due to new UITK that landed in devel-proposed09:57
Saviqnik90, yeah, I wonder if that's not a bug there though09:57
aquariuspopey, I filed https://github.com/rschroll/beru/issues/83 for rschroll anywya09:58
nik90Saviq: we just used a property called "theme" that so happens that the new SDK also uses :)...09:58
Saviqnik90, ah!09:59
Saviqnik90, got it09:59
ElleoSaviq, nik90: yeah, to me it seems like a UITK bug if it breaks existing apps by changing API without changing API version09:59
nik90Saviq: we just had a long discussion and it might be a mistake that the new UITK introduces new properties in vivid...might get reverted09:59
nik90Elleo: it might get reverted (hopefully)...but nonetheless my fix ensures it wont break when we switch to ubuntu.components 1.209:59
Elleonik90: won't hurt us to rename the property though10:00
nik90Elleo: just had to rename theme to appTheme for now..exactly10:00
aquariusit won't, but it basically means that we now don't know how to pick property names in case the SDK team decide in the future that they want that name instead :(10:00
nik90aquarius: I suspect that with recent changes around the vivid-overlay PPA that was announced in the mailing list, the new UITK landed accidentally (my guess)10:01
Elleonik90: yeah10:01
aquariusya, but it landing accidentally isn't the point. Surely even if it hadn't been released today, it'll be released at some point, and break podbird and ureadit when it does release?10:02
nik90aquarius: yeah it will..I know we had the long discussion just few minutes back :)10:03
* aquarius grins10:04
aquariusthis does worry me rather10:04
nik90aquarius: I guess this is a UOS topic about being backwards compatible10:04
Elleoyeah, app devs need to be certain that their apps won't be broken by things out of their control10:04
aquarius(also, as popey says, testing new sdk releases against existing apps would be good. I mean, you can't test everything, I understand that, but podbird is a featured app!)10:04
ogra_guys, you are still talking about something unreleased ...10:04
aquariusogra_, ya, but when it *is* released, it'll have the same problem.10:05
aquariusogra_, because breaking changes are ported downlevel.10:05
ogra_it isnt borken on the released phone ... and devs have enough time to fix their stuff before it hits the phone ...10:05
ogra_what we need to do is being loiuder and make more announcements to them10:05
Elleoogra_: app devs shouldn't have to fix anything for an API that was already stable10:05
aquariusogra_, hang on, you're suggesting that app devs need to run pre-release versions of the OS? I don't!10:05
ogra_Elleo, the 15.04 API is not stable yet ...10:06
nik90ogra_: well in our defense, the main focus now for the phone is to switch to vivid and this breakage just landed on vivid. Also aquarius's point here is that newer versions of the SDK shouldn't break apps that depend on older API10:06
aquariusthe API shouldn't change. New versions can change, sure, but I'm not using the new versions.10:06
ogra_come back after thu ...10:06
Elleoogra_: but the app doesn't use the 15.04 api it uses the 14.10 api10:06
Elleoogra_: the problem is that changes in 15.04 break the 14.10 api10:06
ogra_uh oh !10:06
nik90ogra_: and also podbird uses 14.10 API10:06
ogra_ok10:06
ogra_ignore me then ... i didnt get that10:07
aquariusogra_, this is like SRUing a breaking change into libpng and not changing the version number, so all your apps are suddenly using the new version and so break. :)10:07
mivoligomhall119: ping10:07
ogra_aquarius, indeed ... and the released APIs are supposed to never change10:08
aquariusogra_, no problem whatsoever with new versions of the SDK containing breaking changes; that's a good idea, and what version numbers are for. :)10:08
ogra_right10:08
aquariusogra_, indeed they are not. However, that is not the case. See above conversation :-)10:08
ogra_i thought you guys were only talking 15.0410:08
mcphailon a related subject, does there need to be a specific Ubuntu namespace/naming convention for QML components?10:09
aquariusnope. You release an app today which adds a property called "ograColour" to your MainView, and in the next release of the SDK the SDK team decide to add a FINAL ograColour property... and your already-released, already-working app will break. This is why we're complaining :)10:09
mcphailaquarius: that's really what I was asking. Should official Ubuntu components and properties be prefixed?10:10
aquariusmcphail, actual Ubuntu UITK components are thus prefixed; they're in Ubuntu.Components10:11
mcphailaquarius: yes, but if Ubuntu add a AutoRangePicker it will break my AutoRangePicker10:11
aquariusmcphail, it shouldn't, because you aren't importing the new Ubuntu.Components version which includes it10:12
mcphailaquarius: maybe, but it might, at least, break when I have to use a newer version. If all components were prefixed with Ub_, I wouldn't have that problem10:13
aquariusthat'd be really annoying, though10:13
nik90mcphail: but that would make all the public API ugly10:13
nik90imagine doing Ub_ListItem.Standard etc10:13
aquariusit is equivalent to your AutoRangePicker being called McP_AutoRangePicker, and way less intrusive10:14
ogra_mcphail, if you are scared you can just prefix your own function10:14
mcphailyes, true10:14
nik90mcphail, aquarius: Although, app devs could do this import Ubuntu.Components 1.1 as UT ... and then use UT.MainView{} etc.. etc ... but still one shouldn't have to do this10:14
aquariusbut it'd also be way annoying for me to have to namespace all the properties I create *just in case* the SDK team decide they want to own that name at some point in the future10:15
aquariuswhich is why we are all complaining about breaking changes showing up in already-released versions :)10:15
mhall119mivoligo: pong10:16
mivoligomhall119: grab it if you like it: https://sc-cdn.scaleengine.net/i/6018f5288b9679ee23f3c988b47f3b48.png10:16
mcphailnik90: I actually like that idea. It would namespace the components nicely, although probably not the properties?10:16
mhall119mivoligo: nice!10:16
mhall119thanks10:16
mivoligomhall119: yw :)10:17
nik90mcphail: well you will be referring to properties by their parent id, so that should be ok10:17
mhall119mivoligo: what's your G+ profile URL?10:17
mivoligomhall119: no idea10:18
mivoligomhall119: name is  Michał Prędotka ;)10:18
mhall119ah, thanks, didn't know your IRC ;)10:19
mivoligo:P10:19
ogra_mhall119, why are you awake ?10:27
* ogra_ is totally not used to these G+ posts at this time of day :P10:27
aquariusmhall119 is in London, I think :)10:29
mhall119yes I am10:29
ogra_thats no excuse :P10:32
mhall119and I have free unlimited coffee10:33
mhall119for definitions of "unlimited" that require hotel staff to periodically refill the pitcher10:33
ogra_now *that* is an excuse :)10:36
popeyalso, the definition of "coffee" is a bit loose10:38
* DanChapman thought pitchers were for cocktails not coffee10:40
ogra_DanChapman, i think in the case of coffee it is "American Mug"10:41
ogra_everything is bigger over there :)10:41
DanChapmanhah :-D10:41
DF__Hey guys11:04
DF__i just need some help with connecting to a Mysql database, can some here helpme out??11:05
davmor2popey: is it black and not tea?11:06
davmor2popey: if so then it's coffee :D11:07
davmor2popey: find the argentinian in the room and ask if they have any Mate :)  End of problem11:08
popeyDF__: hiya11:09
popeyDF__: we don't ship the mysql libraries on the phone I think11:09
popeyDF__: you can make your phone read-write but that isn't a tested process (as I linked you to previously)11:09
popeyDF__: are you developing an app to go in the store?11:09
mzanetticharles, hi there. is it expected that reminders notifications don't work at all any more in vivid? i.e. do I need to change anything in my code?11:10
DF__popey yes11:13
DF__popey: yes11:13
mhall119zsombi: you should probably attend http://summit.ubuntu.com/uos-1505/meeting/22406/themes-on-devices/11:13
mhall119since you're workign on the theme enhancements, right?11:14
DF__it's for a school project here in portugal, but i want it to release on the ubuntu store so every one here in portugal who has a ubuntu phone, can use it11:14
mhall119DF__: can you include the mysql binary (and libs) in your .click and use them that way?11:17
mhall119DF__: I'm assuming you're connecting to a remote instance of mysqld, not a local one11:17
mhall119if you are trying to use a local database, use the sqlite-backed LocalStorage QML component instead11:17
DF__nope, i have my DB on my localhost11:18
DF__i have 2 problems, wich are 1 connecting to my loclahost database and 2 install libqt5sql5-mysql on my phone11:19
zsombimhall119: yes11:22
zsombimhall119: could you pls file a bug with the "theme" property being visible in 1.2 UITK? pls...11:23
mhall119zsombi: sure11:25
=== MacSlow is now known as MacSlow|lunch
mhall119zsombi: aquarius nik90 Elleo https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/144711311:28
ubot5Ubuntu bug 1447113 in ubuntu-ui-toolkit (Ubuntu) "Page.theme property introduced in 1.2 conflicts with app properties" [Undecided,New]11:28
aquariusmhall119, cool. I hope this is correctly seen as an example of the wider problem (that is: just fixing this one case isn't really a fix :))11:37
mhall119aquarius: that is my assumption, yes11:37
mhall119zsombi:11:37
mhall119?11:37
zsombiwhat do you mean?11:38
zsombimhall119: aquarius: if you mean that we won't only fix that particular property, but the whole toolkit, then yes, this will fix all 1.2 UITK stuff11:41
aquariuszsombi, yeah, that's what I meant -- this isn't fixed by, say, renaming the SDK "theme" property to "uitheme". It's a general problem that my apps will break if at any future point the SDK team invent a final property which I'd already used as a name :)11:42
zsombiaquarius: we never thought about renaming it to uitheme or anything else, we meant to fix it for 1.2 not getting any 1.3 properties11:43
aquariuszsombi, ah, I've just seen that you assigned the bug to yourself, cool. I was more worried that it might get picked up by someone who wasn't part of the above conversation :)11:43
zsombiaquarius: well, sorry, we cannot check what properties do apps declare when getting new APIs in...11:43
zsombi:)11:43
aquariuszsombi, I know you can't check -- and if I don't use the new APIs, there should be no conflict, is my point ;)11:44
zsombiaquarius: the thing with the theme not being FINAL is that if you override, it will break our theming11:44
zsombiyes11:44
aquariustotally agree that your properties should be final.11:44
zsombiaquarius: I'm already working on this.... it will get some time to get all the things separated properly11:45
aquariusthat way, when I start using a version of the UITK with your property in, I can't override it. That's correct :)11:45
aquariuszsombi, cool :)11:45
=== chriadam is now known as chriadam|away
=== _salem is now known as salem_
Elleonik90: merged your vivid fix; the new UITK header makes podbird look even better :)12:35
nik90Elleo: :)12:36
nik90Elleo: btw once greek language is 100% done, I think we can release.12:37
nik90Elleo: everyone whom I contacted have finished translating their language to 100%12:37
Elleonik90: okay, cool12:38
=== MacSlow|lunch is now known as MacSlow
popeyhmm13:05
popeypodbird 0.5 crashes on arale13:05
Elleopopey: latest vivid image?13:06
popeyyes13:06
nik90popey: yes podbird crashes on devel-proposed..we have a fix in trunk for it13:06
popeyok13:06
popey\o/13:06
popeyknew you'd be on it13:06
nik90popey: that's what we were discussing with aquarius and sdk devs and complaining loudly about it ;)13:06
popeyhah13:07
popeyi do like the new icon :)13:07
nik90yeah kevin did a really good job there with the visuals13:07
Elleoyeah13:07
aquariusI wonder if we'll have partisan camps based on who did the design. snwh vs Kevin: choose a side :-)13:11
Elleoheh13:12
om26erboiko, Hi!15:03
davmor2aquarius: designer Rap Battle, it's the only way to decide :D15:05
=== chihchun is now known as chihchun_afk
om26ermzanetti, Hello!16:07
om26ermzanetti, I tried to look into the reminders failure but didn't make much progress, partly because it looks like the issue is in the client code which I don't really understand.16:08
om26erre: bug 144469016:08
ubot5bug 1444690 in Ubuntu Reminders app "Autopilot failure: test_add_notebook_must_create_it_in_server" [Undecided,New] https://launchpad.net/bugs/144469016:08
om26erwho is the best person I should talk to ?16:08
bzoltan_aquarius: nik90:  the sdk was reverted, so the problem should be gone16:31
nik90bzoltan_: is the new header style still landing in vivid though?16:32
nik90jhodapp: hey your playlist silo, does it have everything for apps to get playlist support? Or is some other additional work to be done?16:42
jhodappnik90, it's just the backend support, still need to add the Qt/QML layer so client apps can take advantage of it16:54
nik90jhodapp: ah ok..put out a call when you want some testing done for it.16:55
jhodappnik90, definitely will do so, I'm going to want a lot of testing16:55
jhodappnik90, will most likely start on the next bit of work on this next week16:56
jhodappnik90, maybe something to try by the end of next week at the earliest16:56
nik90jhodapp: cool17:06
mzanettiom26er, what's the client code?17:46
mzanettiom26er, my code or python-libthrift etc?17:46
om26ermzanetti, yours17:46
mzanettimhm17:47
om26ermzanetti, the error probably comes from ttypes.py, doesn't it ?17:47
* mzanetti reads the bug again17:48
mzanettiom26er, but wait...17:49
mzanettiom26er, that "raise errors.EDAMNotFoundException()" comes from the python stuff, doesn't it?17:50
om26ermzanetti, yes, the code comment there mentions that it will raise an exception if the note is not found on the server17:51
om26ermzanetti, initially we had been thinking this might be an issue in the CI lab wifi setup blocking staging server but later we were able to reproduce the issue locally as well.17:51
om26ermzanetti, do you know who wrote that test? the test seems to *not* really test anything (no asserts)17:52
mzanettiom26er, probably Carla17:52
ant400468hi all18:36
ant400468there is someone?18:37
ant400468i'm an holder of ubuntu phone18:38
popeyhi18:38
ant400468and when try to run the first my html 5 app got an exception18:38
ant400468_hi all again18:39
ant400468_when i try to run the first my html 5 app got this excption18:39
ant400468_Errore irreversibile: /tmp/myhtml5app.ant400468_0.1_all.click failed to install. WARNING:root:Signature check failed, but installing anyway as requested Traceback (most recent call last):   File "/usr/bin/click", line 86, in <module>     sys.exit(main())   File "/usr/bin/click", line 82, in main     return mod.run(args)   File "/usr/lib/python3/dist-packages/click/commands/install.py", line 62, in run     package_path, us18:40
ant400468_every one can help me?18:40
ant400468_devices is connected and also emulator i think is okay18:41
ant400468_there is someone please?18:41
ant400468_hi all there is someone?18:43
ant400468_hi guys anyone can help to run run my first html 5 app for ubuntu phone? please?18:51
nik90rpadovani: ping20:08
rpadovaninik90, pong20:09
nik90rpadovani: hey, how do you build and run ubuntu-calculator-app in qtc?20:09
nik90rpadovani: for me it complains "could not find @APP_HARDCODE@ in the manifest file"20:10
rpadovaninik90, well, it's a pure qml app, you can run it from terminal, qmlscene app/ubuntu-calculator-app,qml. The error sounds a bit strange, I build a package a couple of weeks ago and used to work20:11
nik90rpadovani: I am trying this on 14.04, so cant run it on my desktop..I guess I can try building the click via the terminal...just strange though20:12
rpadovaninik90, oh, just tried on qtc on vivid, works fine. I don't have time to investigate right now, but I'll take a look, thanks20:13
nik90rpadovani: np20:13
aquariuspopey, who does Shorts? Is that one of the core apps? If so, registering it at https://www.subtome.com/ might be cool20:15
ilestebanHi all. I'm a qml/c++ newby, so be nice ;). I'm building my first ubuntu phone app, and I wanted to use TTS (text-to-speach). I found this library that does exactly what I need: http://bazaar.launchpad.net/~themuso/qml-speechd20:28
ilestebanThe problem is that I don't know how to "include" this library as part of the app I'm building.20:29
ilestebanI was able to build the project locally, and install it. If I run the app I'm building in my desktop, everything works fine. After all, the .so is installed in my local.20:29
ilestebanBut when I run the app inside an emulator, I got an (obvious) error saying that "module "Speechd" is not installed"20:31
ilestebanMy question is: what should I do in these cases? Should I include the sources from qml-speechd in my project?? Or is there a better way to do this?20:31
nik90ilesteban: it depends on your project build type (Cmake or Qmake) where you need to specify where to install your "Speechd" module20:39
nik90ilesteban: and ofc build it for the armhf arch (phone) and i386 (emulator)20:40
ant400468_hi guys anyone can help to run run my first html 5 app for ubuntu phone? please?20:44
ant400468_hi guys anyone can help to run my first html 5 app for ubuntu phone? please?20:47
ilestebannik90: But building the .so for the different architectures is something that has to be done outside my project right?20:54
ilestebannik90: (I think Java has spoiled me... :P)20:54
nik90ilesteban: well if your cmake or qmake is set up properly, it will automatically build your click package for the architecture you specify20:56
nik90as a whole package20:56
nik90ant400468_: it looks like people familiar with html5 aren't around..20:57
ilestebannik90: but the sources for speechd don't need to be in my same project, right?20:57
nik90ilesteban: it should20:57
nik90ilesteban: considering that speechd is not installed on the phone by default20:57
ilestebanhmm... interestig.20:57
nik90ilesteban: curious but why would it be outside your project?20:58
nik90ilesteban: it seems like a library that only your app seem to be using..so why would it already be shipped on the phone?20:58
ilestebannik90: no reason :). Coming from Java, whenever I want to use a third-party lib in my project, the only thing I need is its .jar file present in my project (classpath). I thought that this was also true for qmake/cmake.21:00
ilestebanreplace .jar to .so (and specific architecture)21:00
nik90ilesteban: well you could do it like that as well if you want21:00
nik90ilesteban: but you still need someone to give you that .so file for all necessary archs21:00
nik90ilesteban: while it would be easier considering you have access to the source to adjust your cmake/qmake file to build it for you on the fly when creating a click package21:01
ilesteban_correct21:01
ilesteban_nik90: but if you are saying that including the sources of the lib in my project is a good approach, I'm fine with that.21:02
ilesteban_It seems to be the easiest way21:02
ilesteban_nik90: thanks!21:03
nik90ilesteban_: yw21:03
=== salem_ is now known as _salem
Elleonik90: http://i.imgur.com/xBjTh2n.png <-- we've just hit 1000 users :)23:46
liuxghow to hide the title bar in a Page in my QML app so that my app can take more space of the screen23:49
nik90Elleo: WOW!23:49
nik90liuxg: you can set the page title to an empty string to hide it23:50
liuxgnik90, oh, really? let me try it. thanks23:51
nik90liuxg: in Ubuntu.Components 1.3 new properties head.visible and head.locked will be made available to do it in a more official way23:51
nik90liuxg: the solution now is more a hack23:51
liuxgnik90, thanks. it really works. thanks for the tip  :) I am now on 14.10, so Ubuntu.Components 1.3 is not available to me :)23:53
nik90Elleo: I was just reading more about WorkerScript to improve the performance of Podbird while refreshing the listviews where the UI freezes for a few seconds23:53
Elleonik90: yeah, I looked into that a while back and ran into some problems, can't remember what exactly23:54
nik90liuxg: well Ubuntu.Components 1.3 is not available to anyone yet...I believe Ubuntu.Components 1.2 will be available when the phone switches to vivid23:54
Elleonik90: but decided that since it might be necessary to rewrite the networking/parsing stuff in C++ for compatibility with some servers anyway that it'd probably make more sense to just do some threading on that side23:54
Elleonik90: iirc you can't access any of the localstorage stuff from a worker script, so you basically have to do the network operation in the worker, then pass all the xml back to the main thread for parsing23:55
nik90Elleo: true, but eventually that c++ plugin will write it into the sqlite database and in the qml side we will be reading the database and transferring it into a listmodel..I think that last part is also intensive23:55
liuxgnik90, yeah, it is true. thanks23:56
Elleonik90: we can do the listmodel creation in a C++ thread though23:56
nik90Elleo: oh yeah that would help considerably23:56
Elleonik90: whereas I don't think we can create the listmodel from the database directly in a workerscript due to that disallowing localstorage23:57
nik90Elleo: right now I had 15 podcasts subscribed to and on adding another one it froze the gui for like 2-3 seconds which doesnt look good23:57
Elleonik90: yeah23:57
nik90I found an example online where they show the listmodel itself being populated inside the workerscript, but nothing yet with the localstorage23:57
nik90so I guess that can be a blocker23:58
Elleonik90: you can't do any .imports from workerscripts23:58
Elleonik90: they're very limited on purpose23:58
Elleonik90: http://doc.qt.io/qt-5/qml-qtquick-workerscript.html#restrictions23:58
nik90ah yes23:59
Elleonik90: there's also some nasty bugs in qml's xmlhttprequest implementation that it'd be good to avoid via the C++ implementation23:59

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