=== chriadam|away is now known as chriadam [03:59] morning === chriadam is now known as chriadam|away [08:08] oSoMoN: are you up for a review? (orientation) https://code.launchpad.net/~schwann/gallery-app/gallery-orientation-suppot/+merge/164314 [08:22] gusch: will take a look in a moment [08:22] thx [09:22] gusch: approved, but please read my comment [09:23] oSoMoN: hmmm - ok - didin't test cropping [09:52] oSoMoN: I have good news for U ;) [10:05] zsombi: do you have time for the button actions review? https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/buttonAction/+merge/165563 [10:06] zsombi: I think it is done, but I am installing a new image on my phone and then testing it there. I will post the results in the MR. [10:06] timp: ok, will check it soon. I also have IMA in Window to test on the device [10:10] ok [10:15] timp: unit test :) [10:19] ? [10:19] ah for the action [10:20] timp: yes :) [10:20] oSoMoN: https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/ima-in-window/+merge/165567 [10:20] timp: ^ one for you to review too [10:31] zsombi: excellent, I’ll have a look at it right away [10:32] oSoMoN: +1 [10:33] zsombi: do you know of a way to check for a context property in qml (no cpp)? [10:34] timp: hmm... try-catch? [10:40] zsombi: phone-app was completely broken yesterday. Had to revert one JS file from r501 [10:41] timpÉ which one_ [10:41] which one? [10:41] where you made the js-files stateless [10:41] PageWrapperUtils [10:41] the reason is that inside their pages they assume they have a mainView object. [10:42] yes... and what's the problem there? [10:42] but items created inside a stateless js (PageWrapperUtils, when stack.push("SomePage.qml") is used doesn't have a context [10:42] see lp:~tpeeters/+junk/contextTest [10:42] and run that one. [10:42] its a simplification of what went wrong [10:43] zsombi: no worries it is fixed now, but maybe you find it an interesting issue. And we should avoid using that construction [10:44] timp: checking... [10:44] Kaleo: lp:~tpeeters/+junk/contextTest <-- to clear up yesterday's issue. [10:45] they kind of assume in phone-app that their root item can be used like a global variable, but it is not always the case when the js is stateless [10:45] zsombi: I commented on your MR [10:46] hi. I'm trying to compile the OCR package Tesseract from source. When I enter command './configure' I get error 'configure: error: C++ compiler cannot create executables' [10:48] makara: sudo apt-get install build-essential [10:48] and try again [10:49] zsombi: is your MR urgent to review, or can I work on my unit tests first? [10:50] timp: semi-urgent :) oSoMoN: i swaiting for it, so he drives its urgency ;) [10:50] dpm: on https://developer.ubuntu.com/ there is a big banner with "get started" in it that links to http://developer.ubuntu.com/get-started/gomobile/ [10:51] dpm: but there also is the (1) get started, under that which links to a different page [10:51] dpm: both give quite different suggestions for how to get started. Should we recommend only one of them instead? I like the first one :) [10:51] oSoMoN: checking your comment... [10:51] timp: medium urgency [10:52] zsombi, oSoMoN ok I'll do the review first [10:53] Kaleo: could you please give me comment rights on https://docs.google.com/a/canonical.com/document/d/1sfGFVOGiGdLziEl-PUyAa7gKJb-GFcJWj0ajkW2-LC4/edit ? [10:57] timp, indeed, it's on my list. See the 4th work item on https://blueprints.launchpad.net/ubuntu/+spec/appdev-1305-developer-site-gomobile :) [11:01] dpm: ok, great :) [11:03] timp, thanks. works now [11:04] hiya [11:14] Kaleo and others: this is the test program for yesterday's issue: lp:~tpeeters/+junk/contextTest [11:19] bzoltan: if you have interesting findings, can you document them? maybe here https://docs.google.com/a/canonical.com/document/d/1eZNS0jl32XQ-4tUXVCmQlft829gE_3IRNxzPQVTaXrk/edit# [11:21] oSoMoN: commented back... [11:21] kalikiana: https://codereview.qt-project.org/#patch,all,56875,1 [11:21] kalikiana: _awesome_ [11:22] kalikiana: no need for the values property anymore [11:22] oSoMoN: done [11:22] timp: nice [11:23] Kaleo, woot [11:23] kalikiana: mardy did it :) [11:23] * kalikiana hugs mardy [11:24] * mardy can't breathe [11:24] zsombi: commented back [11:24] * Kaleo hugs mardy [11:24] Kaleo: thanks, I have a couple of comments to add [11:24] oSoMoN: nice [11:24] (sorry for the late review btw, it kept being pushed back by priority tasks) [11:24] Kaleo: however, I think that having a "values" property wouldn't be bad anyway [11:24] Kaleo: in order to avoid name collisions [11:25] Kaleo: think for instance of having a GCconf key named "keys" [11:26] mardy: party pooper [11:26] oSoMoN: the rootItem() supposed to work on non-visual items too [11:27] :-) [11:28] timp, i can do 'make' but not 'make install'. Get error '/usr/bin/install: cannot create regular file '/usr/local/lib/liblept.so.3.0.0': Permission denied' [11:28] timp: sounds like a bug in qt no? [11:30] zsombi: ok [11:31] Kaleo: commented [11:31] Kaleo: I don't like referring to global/context properties for which you have no guarantee they are there. I wouldn't call this a bug. [11:31] Kaleo: how can you assume a property in the context inside a context-free library? [11:32] makara: for 'make install' you'll need to use 'sudo' because it will write to system files [11:32] timp, ok [11:34] Kaleo: just before you joined the standup, zsombi proposed to use something like rootItem from our quickutils [11:34] Kaleo, zsombi not sure about the exact function name since it is going to change (right?) [11:35] Kaleo: better would be to pass a reference to the mainView to the newly created pages [11:35] in phone-app [11:35] timp: Kaleo: QuickUtils.rootItem(object) - it's in the MR timp is reviewing :) [11:36] brb. [11:38] oSoMoN: replied [11:38] timp: well, it's a bug because the behaviour is not consistent [11:39] timp: also your example code has something wrong [11:39] timp: the inline component does not try to access root [11:40] timp: also the inline component should be defined in another QML file [11:40] timp: to be closer to the actual usage [11:40] zsombi: I don't want to expose that to app devs [11:41] Kaleo: at the moment is not documented - so in a sense it is not "exposed" [11:42] Kaleo: like the whole QuickUtils is internal [11:42] zsombi: let's keep it so [11:45] kalikiana: I'm out of ideas for the unicode failure [11:45] kalikiana: and it's really slow to test here [11:47] oSoMoN: in Qt 5.0.1 we had the problem that when QQuickView::rootObject() returned a valid object, its size was invalid... Now seems that once we reach the topmost window, we get a valid size... So the implementation gets simplier [11:49] cool [11:49] Kaleo, let me have another look over it a bit later if I can think of anything [11:50] Why would I get "tesseract: error while loading shared libraries: libtesseract.so.3: cannot open shared object file: No such file or directory" when I can see the file at "/usr/local/lib/libtesseract.so.3"? [11:50] Mirv: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1153787 [11:50] Ubuntu bug 1153787 in Ubuntu UI Toolkit "qmlscene depends on qtlocation5-dev" [Undecided,New] [11:51] oSoMoN: hold on.. some of the test cases still report invalid root object size... :( [11:55] Kaleo: the contents of the inline component is in another QML file, and that one tries to access root [11:55] oSoMoN: yep, as I sensed: the Window's QQuickRootItem size holds a valid size, but the QQuickView's QQuickRootItem doesn't [11:56] Kaleo: the one that fails has the same structure as the one that failed in phone-app [12:00] Kaleo: answered, both raring + the new saucy one [12:01] Mirv: thx [12:01] hey Kaleo, clock alarm design call? [12:03] oSoMoN: so, I guess we need to leave it as is now :( [12:05] I notice /usr/local/lib/ is not in my path. I never had this problem before I installed Ubuntu 13.04. What's the most high level way of adding library directories to the system path? [12:09] makara: try running with $LD_LIBRARY_PATH=/usr/local/lib/ [12:09] makara: try running with LD_LIBRARY_PATH=/usr/local/lib/ [12:15] Kaleo, what's a solution that will stick [12:15] makara: not sure [12:33] timp: contextTest is a bug in Qt, can you report it? [12:37] Kaleo: if you create an object from a stateless library, then it is logical that you don't have some property in the context, so I don't see it as a bug [12:37] timp: and why does it work in 1 case then? [12:38] timp: cas C [12:38] case* [12:38] timp: the fact that it works in case C and not D is the bug [12:39] ok [12:39] I'll report it. [12:39] you're right :) [12:39] timp: if you could add it in our js file PageWrapperUtils or whatever it was [12:39] timp: so that we don't foget [12:39] +r [12:40] sure [12:42] is anyone running qt 5.1.0? [12:42] oSoMoN: I think I made it ;) [12:42] Mirv: ^ [12:43] timp: not even me, although it you want qtwebkit 5.1.0 beta1 it's available for saucy on qt5-beta-proper :) [12:43] but I heard it's not enough to start the DPR work alone, ie. needs all the rest of the modules as well. [12:43] no, I'm looking for someone to quickly run lp:~tpeeters/+junk/contextTest on 5.1.0 and tell me what it says [12:43] Mirv: what dpr work? [12:43] it doesn't have any configuration or dependencies besides qtquick2 [12:43] Mirv: you should not do anything [12:44] Mirv: just remove the patches we had [12:44] Kaleo: I'm not doing anything, but I guess some others will make use of the new upstream features [12:44] timp: it says the same as it did for you [12:44] Mirv: I am [12:44] Mirv: :) [12:44] Kaleo: yes :) [12:44] Kaleo: ok, thanks! [12:44] Mirv: need qtcore [12:45] Mirv: and qtdeclarative would be great :) [12:45] Kaleo: yep, it starts from qtbase. it may be some of the other dependencies don't want to play with qtbase unless they are also updated, but let's see [12:48] k [12:52] timp: oSoMoN: last update from wme on the MR (https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/ima-in-window/+merge/165567) [12:52] timp: I checked the apps, noone uses the QuickUtils.rootObject property [12:53] zsombi: ok. I'm not reviewing yet, I'll do that after lunch. [12:54] timp: ok, if you see something nasty, we can handle it on Monday... I'll be stepping out soon... [12:54] zsombi: lately if I check apps I add the results as a comment in the MR to have everything in one place [12:54] zsombi: okay. [13:46] Kaleo: bug reported https://bugreports.qt-project.org/browse/QTBUG-31347 [13:47] timp: thx [13:52] Kaleo: tiny MR for you: https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/commentStateBug/+merge/165621 [13:52] timp: thank you [13:54] Kaleo: thanks for approving [13:58] renato_: can you review this? https://code.launchpad.net/~schwann/gallery-app/gallery-sharing-bug/+merge/165592 [14:20] Hello [14:20] boiko, hey! [14:20] hi om26er [14:21] boiko, so the phone does not play a tone when a sms arrives, is that something to be fixed in the phone-app side? [14:21] om26er: it does play, it is just not loud enough [14:22] boiko, can I change the tone somehow? [14:22] om26er: https://bugs.launchpad.net/phone-app/+bug/1181650 [14:22] Ubuntu bug 1181650 in phone-app "SMS recieve sound is not loud enough, even when on full volume" [Medium,New] [14:22] thats a blocker #1 for me, re: Dogfooding [14:22] om26er: so right now it is hardcoded, but the sound was not proposed by anyone, I just picked one from ubuntu-sounds [14:22] om26er: let me point you to the code [14:23] om26er: http://bazaar.launchpad.net/~phablet-team/phone-app/trunk/view/head:/libphoneapp/ringtone.cpp#L63 [14:24] boiko, cool thanks [14:24] om26er: np [14:30] Hey about recent files [14:30] If you can navigate through files in a folder, should you add to the recent files every file you navigated to or only the first file the user opened? :/ [15:38] gusch, renato_, boiko: anyone up for a review? that’s a bug fix for the browser: https://code.launchpad.net/~osomon/webbrowser-app/panel-inside-loader/+merge/165651 [15:39] oSoMoN: sure [15:39] thx [16:01] oSoMoN: looking goos - waiting for jenkins [16:01] oSoMoN: looking good - waiting for jenkins [16:07] gusch: thanks [16:10] oSoMoN, do you happen to know if the camera app has an API for other apps to use the camera, or if there is any plan to implement something along those lines? [16:11] dpm: I don’t think there’s such an API today, and I haven’t heard of any plans, but maybe gusch knows more [16:11] e.g. a scanner app using the camera to read a barcode or a QR code [16:11] ok, thanks oSoMoN [16:12] dpm: using the camera is easy: http://qt-project.org/doc/qt-5.0/qtmultimedia/qml-qtmultimedia5-camera.html [16:12] ah, I see, thanks for the pointer gusch [16:13] oSoMoN: maybe it was a good idea to wait for jenkins - failed :( [16:14] gusch: let me have a look [16:21] gusch: ok, that’s a totally unrelated failure, another example of test not designed for really slow jenkins instances :/ [16:22] gusch: I’ll fix it separately, in the meantime I’ll request a re-run, with a bit of luck it will pass this time === odra is now known as odraencode [16:28] oSoMoN: ok [16:58] gusch: https://code.launchpad.net/~osomon/webbrowser-app/type_in_addressbar-helper/+merge/165670 should make autopilot tests more reliable, would you mind giving it a quick review? [17:06] oSoMoN: looking at it [17:08] gusch: thanks [17:14] oSoMoN: I approved (but not top approved) [17:15] oSoMoN: I have to go now - so please top approve once jenkins is ok [17:36] kalikiana: good! [17:36] kalikiana: I can reproduce the unicode bug [17:37] kalikiana: I was also able to find out that the unicode codes between the expected value and the actual value were different [17:37] kalikiana: I just have to go step by step back into the code to find out where the unexepected transformation happens [17:41] oSoMoN: were you satisfied with the answers from your comments? [17:51] kalikiana: ah ah, failure seems to be on the way I set the command line in the tests === francisco is now known as Guest60367 [17:53] Kaleo: yes, thanks [19:37] Hi, anyone around that might be able to help with an issue with GtkCssProvider in Python? [19:46] jdu, maybe... what's the issue? [19:49] Well, I'm doign a load_from_data(), and even though the docs say ID based sleectors shoudl work I can't seem to get to them to, i.e. trying to apply a style to a widget via #wdiget_name {... } doesn't work, but applying styles via GtkEventBox {...} works. [19:49] sorry, typed too fast there, mucho bad grammar [19:49] and spelling [19:50] The docs say that the name assigned to the widget in glade should be used as the id which I'm doing but it's just not working for me. [19:52] Here's a paste of what the code looks like, http://pastebin.com/W6FdLfXA [19:53] I'll take a look... I don't think I've ever used ID based selectors but I've definitely used Class based ones [19:54] The top-level ones seem to work, I can do things like GtkEventBox {...} and style it, it just seems like the ID based selectors are getting ignored. [19:54] I haven't tried classes, can see if that works [20:04] Hmmm, so my I'm getting th style_context from the window, when I apply the css via add_provider, does it only make the CSS available to the Window widget and not cascade it down to all it's child widgets and containers, etc...? [20:04] Because it seems like I can apply CSS to the Window itself but none of the items within the window get the styles [20:08] strange... [20:09] I though .add_provider is supposed to take precedence, but maybe try .add_provider_for_screen [20:09] screen = Gdk.Screen.get_default() [20:09] style_context.add_provider_for_screen(screen, css, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION) [20:10] That's done it! Man this has been driving me nuts for over an hour! [20:11] Thank you so much, pulling what's left of my hair out hah. [20:12] ha! I love being able to answer questions when I can't explain why that would work! [20:13] Ah well, it works! Thanks.