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