[00:47] timp, could you take a look on this bug: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1184810 [00:47] Ubuntu bug 1184810 in Ubuntu UI Toolkit "[i18n] Plural form does not work as documented" [High,New] [04:11] morning [06:10] good morning [06:20] good morning dpm :) [06:36] hey coolbhavi :) [06:39] dpm, does ubuntu phone have speech recognition mechanism? [06:40] like in a samsung galaxy? [06:42] coolbhavi, it's in the works, via HUD: https://lists.ubuntu.com/archives/ubuntu-devel/2013-February/036490.html [06:43] dpm, ah ok m mentoring in this gsoc on speech recognition for indian languages so asked. Thanks! [06:44] cool, qt creator detects my device also from inside a chroot installation === gusch_ is now known as gusch [09:12] oSoMoN: done [09:12] nerochiaro: thanks [09:12] oSoMoN: fixed server settings to autojoin [09:12] nerochiaro: when you have a moment, can you have a look at https://code.launchpad.net/~osomon/webbrowser-app/enhanced-qmlproject-file/+merge/165993 ? [09:12] cool [09:13] oSoMoN: approved [09:17] nerochiaro: thanks [09:41] tmoenicke: any news on removing the focus only on the current item that you were trying yesterday ? [09:58] nerochiaro: i can remove focus with setFocus(false) and it unsets focus and osk stays hidden [10:00] nerochiaro: cant tap again to enter text, though [10:01] tmoenicke: are you testing that with your test app ? [10:01] with notepad [10:02] tmoenicke: can you send me the binary ? i might be doing something wrong in notepad but your code might be ok [10:02] nerochiaro: ok [10:03] nerochiaro: https://files.one.ubuntu.com/FyjwCHzpTZ-dzzK4Rq5f6Q [10:04] nerochiaro: there is also a flag FOCUS_DEBUG and a printFocusTree() in qquickitem.cpp [10:53] hey SDK folks, do you happen to know how I can another (external) app from within an app in QML? The use case that I'm thinking is an app that wants to send a URL to the browser and get the browser to open in. As there is no API for it, it'd be a matter of calling the browser with the URL as argument [10:53] Any ideas how to do this? [10:55] Olivier pointed me to http://qt-project.org/doc/qt-5.0/qtqml/qml-qt.html#openUrlExternally-method which would be a nice way to do it if it works with our browser [11:04] dpm: that is the right API but it does not work on touch; bug report [11:04] Kaleo, standup? [11:04] dpm: more general APIs for that are planned [11:05] zsombi, standup [11:05] uhh [11:07] When trying to compile current ubuntu-ui-toolkit trunk I get "plugin.cpp:20:47: fatal error: QtQuick/private/qquickimagebase_p.h: No such file" during make... what package might be missing? [11:08] dpm: I'm in the process of updating https://wiki.ubuntu.com/MissingSDKFeatures and that will be a feature in it [11:10] thanks Kaleo [11:10] never mind... found the package [11:11] Kaleo, you mention the above is the right API and it's not working. Is this a bug in the UI toolkit or upstream? Happy to report a bug if this helps. [11:12] dpm: you can report it on the toolkit and then it might have to be moved, maybe to qtubuntu [11:12] dpm: depending on the findings [11:14] jppiiroinen, should jenkins work again? I'm still waiting on an approved MR https://code.launchpad.net/~kalikiana/ubuntu-ui-toolkit/online/+merge/165838 [11:15] jppiiroinen: in fact, there are 3 MRs top approved pending [11:15] since yesterday [11:16] * kalikiana wants some QA on the QA tooling ;-) [11:16] ok, filed bug 1184969 [11:16] Launchpad bug 1184969 in Ubuntu UI Toolkit "There is no way to open a URL with the Browser from within an app" [Undecided,New] https://launchpad.net/bugs/1184969 [11:17] there is some generic issues in qa lab [11:17] so it is not just us [11:18] jppiiroinen, any rough ETA? the uncertainty of it is what nibbles on my focus while trying to do other things [11:19] mzanetti ^ [11:20] kalikiana: i have no idea === MacSlow is now known as MacSlow|lunch [11:20] * mzanetti has no idea either [11:20] :'-/ [11:21] thanks anyway [11:22] dpm: thanks [11:54] oSoMoN: up for a review ? https://code.launchpad.net/~amanzi-team/notes-app/notes-app-save-first-note/+merge/166028 [11:54] oSoMoN: note, most of the diff is autopilot tests and refactoring of an existing autopilot test that tested something similar [11:54] oSoMoN: the actual fix is like 5 lines [11:54] nerochiaro: sure, after lunch [11:54] oSoMoN: np [11:56] tmoenicke: i can't seem to be able to download the file, it says it doesn't exist [11:56] nerochiaro: emailing [11:56] tmoenicke: thanks [11:56] tmoenicke: and that flag sounds interesting [11:57] tmoenicke: but it's a compile time flag, right ' [11:57] yes [12:06] timp: can you check https://bugs.launchpad.net/bugs/1184810 [12:06] Ubuntu bug 1184810 in Ubuntu UI Toolkit "[i18n] Plural form does not work as documented" [High,New] [12:06] ? [12:07] timp: you already did, but did not confirm it? [12:19] Kaleo: yeah I checked the gettext docs, but didn't run an app with translation that uses it. I'll test it today. [12:20] timp: thanks [12:33] renato_ dpm let's continue here === MacSlow|lunch is now known as MacSlow [12:37] timp, I actually noticed this a few days ago. I'd go for the more intuitive i18n.ngettext("%1 hour", "%1 hours", numHours), which is also similar to what the gettext API for Python does: http://docs.python.org/2/library/gettext.html [12:37] renato_, ^ [12:37] tmoenicke: is there any way i can get back the origial library ? i think even the one you sent me does some strange stuff to the parents (i am testing outside of notepad, just with a tiny test app). i want to verify that normally the problem doesn't happen [12:38] nerochiaro: lets see .. [12:38] tmoenicke: just send me the original by email. or i can reflash the images but it's slower i would bet [12:39] dpm: it would be then i18n.tr("%1 hour", "%1 hours", numHours) [12:40] yeah that seems good for me. I'll work on that. [12:40] timp, sorry typo, I meant that, yes ^ [12:40] sounds good [12:41] zsombi: I added tests to https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/buttonAction/+merge/165563 waiting for jenkins to check it [12:41] timp: is jenkins alive? I guess not... [12:43] zsombi: oh :( we'll have to wait then [12:47] nerochiaro: sent [12:47] tmoenicke: thanks [12:52] tmoenicke: ok, so there's definitely some issue with your library, because with the original plugin i don't see the problem. the issue with your library is that when focus is removed from the item, it is also removed from other items up the tree. let me pastebin a test program that you can use to check [12:54] tmoenicke: http://pastebin.ubuntu.com/5710057/ [12:54] tmoenicke: there's instruction on the top of the pastebin [12:55] tmoenicke: can you test it and verify what i'm seeing ? === mzanetti is now known as mzanetti|lunch [13:00] zsombi, has been dead since yesterday morning [13:01] it may be time to put on the black suit (or white if you're in asia) [13:02] nerochiaro: yep [13:03] tmoenicke: let me send you an updated version of that pastebin, that shows things more easily [13:03] tmoenicke: http://pastebin.ubuntu.com/5710083/ << if you use this you will see two labels, one for the QQuickRootItem and the other for the text. you will notice that with your library the QQuickRootItem loses focus [13:04] tmoenicke: but it shouldn't [13:04] nerochiaro: seems like the whole scene is a focusscope and being cleared. setFocus() is trying to find the nearest focusscope [13:06] tmoenicke: yeah, the scene is a scope. but why is it being cleared ? [13:06] tmoenicke: it doesn't do that in the original library [13:08] nerochiaro: http://code.woboq.org/qt5/qtdeclarative/src/quick/items/qquickitem.cpp.html#_ZN10QQuickItem8setFocusEbN2Qt11FocusReasonE [13:08] nerochiaro: the original library does nothing. it has clearFocus as a todo item [13:09] tmoenicke: i can't find clearFocus in that code [13:10] tmoenicke: can you come up on mumble for a minute ? [13:11] tmoenicke: same channel as the standup [13:11] nerochiaro: that is setFocus(false), in yesterdays version we tried clearFocusInScope() [13:11] nerochiaro: yep, givme a sec .. === mzanetti|lunch is now known as mzanetti [13:47] When trying to compile current ubuntu-ui-toolkit trunk I'm still missing a header-file... "/usr/include/qt5/QtQml/5.0.2/QtQml/private/qv8_p.h:42:24: fatal error: private/v8.h: No such file or directory" [13:48] MacSlow: the easiest would be to install all the uitk deps :) [13:49] MacSlow: apt-get -y build-dep qtdeclarative5-ubuntu-ui-toolkit-plugin [13:49] zsombi, ah.... "libqt5v8-5-private-dev" [13:52] hey guys, are there DatePicker and TimePicker components on your (relatively near) roadmap or would you suggest I write my own one for now? [13:54] mzanetti: both planned to v1 time [13:54] mzanetti that means after summer [13:54] zsombi: ok. thanks. I'll hack together my own ones for now then. [13:54] * mzanetti wants to pick dates in summer :D [13:56] mzanetti, if you do that, you might want to sync up with the calendar app devs, as they'd be happy to use them :) [13:56] mzanetti: you could also contribute to SDK :) [13:56] or that :) [13:56] zsombi: sure, I'd love to... [13:56] dpm: +1, I will [13:56] zsombi: however, I guess without design for it I'm not sure it'll turn out good enough to be included in the sdk [13:56] mzanetti: do you know the process? API study, review, etc [13:57] zsombi: at least I'd need some guidance [13:57] zsombi: exactly... thats the things I don't know [13:57] mzanetti, cool. For reference: https://code.launchpad.net/ubuntu-calendar-app and https://launchpad.net/~ubuntu-calendar-dev but essentially everyone is on the core apps mailing list [13:57] oh... there's a core apps mailing list === francisco is now known as Guest51059 [14:00] mzanetti, yeah https://launchpad.net/~ubuntu-touch-coreapps :) [14:01] mzanetti: this is how we work on APIs: https://docs.google.com/a/canonical.com/document/d/1PHa4FFoJTm2OBEbkUSOvV7hMRfi9E8Bx17YzcEWWeu4/edit#heading=h.mxs64xewamsf [14:02] mzanetti: and few APIs: https://drive.google.com/a/canonical.com/#folders/0B2qCWpKr2DsHNFhNQkYzc1Z1Tm8 [14:03] zsombi: awesome. thanks a lot! [14:03] dpm: thanks you too [14:04] I'll keep you guys posted on any progress [14:04] mzanetti: and beside the API design, you need to be in touch with UI/UX dudes [14:04] zsombi: yep [14:05] its also stated in the API design guidelines :) [14:27] anyone willing to review this? [14:28] https://code.launchpad.net/~schwann/gallery-app/gallery-modularity/+merge/166054 [14:59] tmoenicke renato_ nerochiaro oSoMoN - review? ^ [15:00] gusch_: sorry, no time for it today, I’m already quite behind on my review backlog [15:02] gusch_: in the middle of a couple other things, sorry [15:03] renato_ tmoenicke ? - it's "only" 2100 lines of diff ;) === gusch_ is now known as gusch_|away [15:30] Kaleo, do you know if is possible to get the form factory name from any SDK function? [16:12] nerochiaro, please review, when you get the time: https://code.launchpad.net/~om26er/camera-app/ap_tests_improvements/+merge/165733 [16:18] om26er: can you please do two separate MR one for skipping the tests and the other for the rest of the minor style isssues liek pep compliancy [16:18] om26er: it makes it very hard to read otherwise [16:19] nerochiaro, yes, sure === greyback is now known as greyback|food === gusch_|away is now known as gusch [16:38] renato_: no, what's your use case? === greyback|food is now known as greyback === glebihan__ is now known as glebihan === greyback is now known as greyback|away [19:07] Kaleo, I need to avoid re-layout the app on the desktop due the rotation [19:13] Hey [19:13] How do I install a thing [19:25] hello [19:26] how can i join to the ubuntu developers ? === odra is now known as odraencode [21:15] renato_: I'm not sure what you mean [21:15] renato_: there is no rotation on the desktop [21:16] Kaleo, for example the telephony app now changes the layout if the screen is on landscape [21:16] Kaleo, btw the mainwindow does not rotate [21:16] Kaleo, what I think is a bug [21:17] renato_: but what app specifically are you talking about? and what do you want to do? [21:17] what I am doing is that if Scree.orientation == Landscaspe uses "X layout" [21:17] renato_: that's not what you should be doing [21:18] renato_: you should solely rely on the width/height [21:18] Kaleo, this is the only way to do that [21:18] I need to re-layout the elements [21:18] let me show my mr [21:18] renato_: if (width > xx) do this [21:18] https://code.launchpad.net/~renatofilho/phone-app/rotation [21:19] let me see [21:19] renato_: ok, don't do that [21:19] renato_: you can change the state based on width and height [21:19] root widget [21:20] renato_: yeah [21:20] Kaleo, probably the page [21:20] renato_: so, that would do what you need on desktop? [21:20] renato_: (I suppose you want the 'landscape' layout on desktop)à [21:21] Kaleo, which width I should consider the minimum? [21:21] -à [21:21] renato_: you mean the cut off point? [21:21] yes [21:21] renato_: hmmm typically we use 60gu [21:21] ok === greyback|away is now known as greyback === chriadam|away is now known as chriadam