[07:59] <dholbach> good morning
[09:29] <JamesTait> Good morning all; happy Human Rights Day! :-D
[10:25] <om26er> nerochiaro, hey can you remind me why you are trying to access  selectedTab ? you can use self.picker_view.switch_to_tab("photosTab") and that will pass your test
[10:25] <nerochiaro> om26er: i want to verify that a certain tab is currently selected
[10:26] <nerochiaro> om26er: basically i switch to a tab, kill the app, and then verify that when it is restarted the same tab is still selected
[10:26] <nerochiaro> om26er: i have a workaround but i want to do it the proper way
[10:26] <nerochiaro> if possibl
[10:26] <om26er> nerochiaro, its not saving the state it seems. when the app is started again a different tab is selected
[10:27] <nerochiaro> om26er: i know, that's another problem, but i need a test to verify that it works when i fix it
[10:35] <om26er> nerochiaro, selectedTab does not exisit
[10:35] <om26er> *exist
[10:36] <om26er> probably that property got changed or something
[10:36] <nerochiaro> om26er: no, I use it in the QML and it's there
[10:36] <nerochiaro> om26er: and timp confirmed it
[10:37] <nerochiaro> om26er: just double checked now: the property is there and works fine
[10:37] <nerochiaro> om26er: just can't be accessed via AP
[10:37] <om26er> nerochiaro, I have gallery-app opened here and autopilot vis does not show any such property there is however selectedTabIndex
[10:38] <om26er> right
[10:39] <om26er> nerochiaro, you can iterate on "Tab" and see which tab is selected, by either checking objectName or title
[10:45] <nerochiaro> om26er: yeah, that's my workaroudn, but i want to know why selectedTab doesn't work in AP and if it can be fixed
[10:46] <nerochiaro> om26er: because today it happens for that prop but tomorrow it might happen for one where I can't create a workaround for
[10:46] <om26er> nerochiaro, I guess it to be a bug in the ui-toolkit
[10:46] <nerochiaro> om26er: i guess it to be a bug in AP
[10:46] <nerochiaro> om26er: because once again: the property is there and can be accessed normally from a QML app
[10:46] <nerochiaro> om26er: it's just AP that can't see it for some reason. and that worries me
[10:47] <nerochiaro> zsombi: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1259498
[10:47] <ubot2> Launchpad bug 1259498 in Ubuntu UI Toolkit "StateSaver doesn't work when app is closed via SIGINT or SIGTERM" [Undecided,New]
[10:47] <zsombi> nerochiaro: thx
[12:23] <Laney> chaps
[12:24] <Laney> We just found a bug where UITK applications don't load their translations if you have a /usr/share/locale directory
[12:24] <Laney> I strongly suspect it's because of https://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/modules/Ubuntu/Components/plugin/i18n.cpp#L107
[12:47] <Laney> is that sensible
[12:48] <Laney> kalikiana_: you wrote this code, thoughts? ↑
[12:50] <kalikiana_> Laney: that code doesn't prevent /usr/share from being used, it only does the lookup via XDG_ which gettext doesn't do out of the box
[12:51] <Laney> kalikiana_: It makes gettext use /usr/local/share even if you don't have translations in there
[12:51] <kalikiana_> what do you mean by that? where are your translations actually?
[12:51] <Laney> You either need to check if .../locale/<locale>/LC_MESSAGES/<domain>.mo is installed or not do this
[12:52] <Laney> they are in the normal system location
[12:52] <Laney> but I have /usr/locale/share/locale/de/LC_MESSAGES/<some other applications>.mo
[12:52] <Laney> s!/usr/locale!/usr/local!
[12:53] <Laney> this code just checks if "locale" exists and then bindtextdomain()s to that if it does
[12:53] <Laney> it's not smart enough
[12:54] <daker> om26er: is osomon off ?
[12:54] <Laney> kalikiana_: http://paste.ubuntu.com/6550646/ check lines 413-420
[12:57] <om26er> daker, seems he is MIA, didn't get any emails and he is not on holiday in the calendar
[12:57] <kalikiana_> Laney: what about line 81? it seems to still look in the right place
[12:57] <daker> om26er: ok thanks
[12:57] <Laney> kalikiana_: That's probably from normal gettext
[12:57] <Laney> it gets overridden later on
[12:58] <Laney> I tried removing the code which does this and it fixes the issue (defaults to the system location)
[12:58] <kalikiana_> oh that might be if it's just before the toolkit is up and running
[12:59] <kalikiana_> Laney: can you file a bug for it? then I'd look into extending the unit test for that
[12:59] <kalikiana_> followed by looking into making the check better
[12:59] <Laney> I think you have to know if the translations are actually installed there before trying to bindtextdomain()
[13:00] <kalikiana_> I have to admit I didn't assume multiple conflicting locations to be present
[13:00] <Laney> yeah, you can't assume that all translations will be in one place
[13:01] <kalikiana_> the code would iterate all folders but probably stops just by seeing "locale" exists
[13:01] <Laney> exactly
[13:11] <Laney> kalikiana_: bug #1259540
[13:11] <ubot2> Launchpad bug 1259540 in ubuntu-ui-toolkit (Ubuntu) "Translations aren't always loaded" [Undecided,New] https://launchpad.net/bugs/1259540
[13:26] <kalikiana_> Laney: thanks! I definitely think the tookit needs to do it, not apps, since for click packages it's never /usr. so I'll look into it in terms of making the check better
[13:27] <Laney> okay
[13:57] <CajunTechie> Hello everyone. Popey suggested I drop by here. My app is in the Software Center but not showing on the developer page so i can't get metrics
[13:57] <popey> CajunTechie: davmor2 may be able to help
[13:57] <popey> CajunTechie: do you have the url to your app in the store?
[13:58] <CajunTechie> Sure. hang on
[13:58] <CajunTechie> It's here: https://apps.ubuntu.com/cat/search/?q=AnonyMail2&op=
[13:59] <popey> i cant see it, you'll have to wait for davmor2 I'm afraid.
[14:00] <CajunTechie> OK no problem
[14:02] <davmor2> CajunTechie: what app is it?
[14:04] <CajunTechie> Davmor2: It's AnonyMail2 https://apps.ubuntu.com/cat/search/?q=AnonyMail2&op=
[14:04] <davmor2> CajunTechie: yeap got it now, where are you looking for the metrics?
[14:05] <CajunTechie> I'm going to developer.ubuntu.com then clicking on the Desktop apps section. All I see is "submit a new app"
[14:05] <davmor2> CajunTechie: hmm have you changed your login?
[14:06] <CajunTechie> Hmm...maybe so. Let me look
[14:07] <CajunTechie> Davemor2 I think that was it. Thanks!
[14:07] <davmor2> no worries
[14:10] <popey> thanks davmor2
[14:10] <davmor2> popey: no probs :)
[14:18] <jasey> hi all, i am running elementary os (ubuntu) and i am trying to build and install geary (a mail client) to work on it. i have extracted the source and cd'd to the dir and entered ./configure in the terminal but it doesn't condigure it cause there are missing dependencies. which are: 1: package 'gtk+-3.0>=3.6.0' not found - and - 2: package 'libsecret-1>=0.11' not found - and - 3: package 'webkitgtk-3.0>=1.10.0' not found. I h
[14:19] <jasey> ...found a way to install these dependencies. How do i install the above dependencies?
[14:22] <davmor2> jasey: apt-cache search <package_name> for the missing dep then do sudo apt-get install <package_name_from_the_search>
[14:24] <davmor2> jasey: for example apt-cache search webkitgtk-3.0  might be libwebkitgtk so you would do sudo apt-get install libwebkitgtk
[14:25] <popey> apt-get build-dep geary (assuming its in the repo)
[14:25] <popey> will get you part way there
[14:25] <davmor2> popey: not in the repo they have a ppa though I think
[14:25] <popey> well its elementary
[14:26] <popey> so *they* have it in their repo
[14:26] <jasey> thanks guys, i'm pretty new to linux so as u could imagine i'm kinda struggling.
[14:26] <popey> so I'd expect the build-deps to be there
[14:26] <popey> jasey: you probably want #elementaryos i think?
[14:26] <popey> (we don't generally provide support for derivative distros)
[14:26] <popey> but we're nice (mostly)
[14:27]  * popey is away
[14:27] <jasey> yah, but half the time i just get links to ubuntu pages, and since el os is based on ubuntu i thought most of the stuff would be pretty much the same. there's not alot of real documentation/support for elementary os just yet
[14:27] <popey> yeah, mostly
[14:28] <jasey> what does build-deps do? does it just build an internal list of required dependencies? or does it go fetch them for u and install them?
[14:30] <jasey> ok i got it, i found an answer to that on stackoverflow.
[14:41] <jasey> aw :(, sudo apt-get build-dep geary says Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. but there are still things missing lol
[14:43] <jasey> Um, I just installed webkitgtk dep which was around 462mb, and so i tried building geary after installing webkitgtk but it still tells me that i dont have webkitgtk. Any idea why?
[14:49] <dholbach> bzoltan, Mirv: click 0.4.13 was uploaded just a bit ago - it looks like it has many useful fixes...it'd be great if it could be backported at some stage :)
[17:22] <victorp> popey,  I am trying to install the platform tools in my n4 with QTcreator with no luck
[17:23] <victorp> any suggestion please?
[17:23] <popey> what version of ubuntu you running?
[17:23] <rs_> Hi all. Does anybody have insight on the state of ubuntu sdk? I managed to get my nexus 7 to dualboot ubuntu touch but I have issues with the sdk on ubuntu 13.10.
[17:23] <victorp> on the phone?
[17:23] <popey> no, desktop
[17:23] <victorp> 14.04 r32
[17:23] <victorp> 12.04
[17:23] <popey> thats probably why
[17:23] <victorp> ugh
[17:23] <victorp> we dont support the LTS?
[17:24] <popey> check with mirv or bzoltan
[17:24] <victorp> can I do it manually via ssh to the phone?
[17:24] <popey> not sure if the ppa is up to date for 12.04
[17:24] <popey> pass, that's sdk team territory
[17:25] <popey> there's a script which does the funky stuff, you may be able to see which script from the log in qtcreator
[17:25] <popey> which will give you the commands it does
[17:25] <victorp> popey, acl
[17:25] <victorp> ack
[17:25] <popey> victorp: what version of ubuntu-sdk package do you have installed?
[17:25] <popey> apt-cache policy ubuntu-sdk
[17:25] <popey> shows 1.095 here on 13.10
[17:26] <victorp> 1.009
[17:26] <victorp> ugh
[17:27] <popey> yeah, there you go
[17:27] <popey> AIUI
[17:27] <victorp> popey, shoking
[17:28] <popey> do you have the ppa enabled?
[17:28] <victorp> checking..
[17:28] <victorp> yeap, for precise
[17:28] <popey> looks like ubuntu-sdk-team/ppa has lots of new crack for you
[17:30] <popey> by "the ppa" I meant that one ☻
[17:30] <victorp> popey, really? here looks 1.009
[17:30] <victorp> mmm
[17:30] <popey> what does "apt-cache policy ubuntu-sdk" give?
[17:31] <victorp> 1.009~sdkppa~precise~test6
[17:31] <popey>   Installed: 1.095
[17:32] <popey> its probably not that package but the other stuff it pulls in though
[17:32] <popey> what version of qtcreator-plugin-ubuntu do you have?
[17:34] <victorp> 2.8.1
[17:34] <victorp> bzr56
[17:34] <popey> hm. so you seem to have latest crack then
[17:34] <popey> do you have a log from qtcreator?
[17:35] <victorp> popey, whats the name of the .log?
[17:36] <popey> its inside qtcreator
[17:36] <victorp> ah that
[17:36] <popey> what buttons are you pressing and I'll try and duplicate here
[17:36] <victorp> nope
[17:36] <victorp> nothing displays there when I click crt+f11
[17:36] <victorp> crtl+f11
[17:36] <victorp> once the device is recognised as enabled
[17:37] <victorp> it is suppose to install the tools so I can compile on device
[17:37] <victorp> Mirv, ? ^^
[17:38] <popey> victorp: click device on the left
[17:38] <popey> there should be a log tab at the bottom
[17:38] <victorp> yeap
[17:38] <victorp> looking at that
[17:38] <popey> http://paste.ubuntu.com/6552236/ is what mine says
[17:39] <victorp> right
[17:39] <victorp> same
[17:39] <victorp> but what happens when you click crtl+f11?
[17:39] <victorp> nothing?
[17:40] <popey> yeah, nothing
[17:40] <victorp> popey - I feel better  :)
[17:40] <victorp> you have the same issue ;P
[17:40] <popey> hah
[17:40] <popey> "yay"
[17:40] <victorp> hehe
[17:41] <popey> is this not just because the device is read-only though
[17:41] <victorp> you will hope it tell you
[17:41] <victorp> but that is one difference
[17:41] <victorp> mine I have set to writable
[17:42] <popey> mine isnt
[17:42] <popey> i havent played with this for a few weeks, so don't know current state
[17:43] <popey> mirv has likely EOD
[17:44] <popey> victorp: bug time
[17:44] <victorp> popey, ack
[17:44] <victorp> oks..
[17:45] <rs_> So, I am trying out the simple UI sample / template and when I try to run it I get "QMetaType::registerType: Binary compatibility break -- Type flags for type 'QPaintBufferCacheEntry' [1024] don't match. Previously registered TypeFlags(0x3), now registering TypeFlags(0x103).". I have no idea what's going on there... I did have to set the qt version and kit manually.
[18:12] <victorp> popey, so it works if I run the script by had
[18:12] <victorp> hand...
[18:12] <popey> interessin
[18:12] <victorp> I will raise a bug
[18:13] <victorp> popey, I guess that the good news is that my app compiles :)
[18:13] <victorp> ondra, ^^
[18:14] <popey> huzzah
[18:14] <popey> victorp: ping me the bug number and I'll confirm
[18:14] <popey> (it's probably already reported tbh)