/srv/irclogs.ubuntu.com/2013/12/10/#ubuntu-app-devel.txt

=== wendar_ is now known as wendar
=== shuduo_afk is now known as shuduo
=== chriadam|away is now known as chriadam
=== shuduo is now known as shuduo_afk
=== shuduo_afk is now known as shuduo
dholbachgood morning07:59
=== chriadam is now known as chriadam|away
=== Guest86827 is now known as JamesTait
JamesTaitGood morning all; happy Human Rights Day! :-D09:29
=== JamesTait is now known as Guest44086
=== Guest44086 is now known as JamesTait
om26ernerochiaro, 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 test10:25
nerochiaroom26er: i want to verify that a certain tab is currently selected10:25
nerochiaroom26er: basically i switch to a tab, kill the app, and then verify that when it is restarted the same tab is still selected10:26
nerochiaroom26er: i have a workaround but i want to do it the proper way10:26
nerochiaroif possibl10:26
om26ernerochiaro, its not saving the state it seems. when the app is started again a different tab is selected10:26
nerochiaroom26er: i know, that's another problem, but i need a test to verify that it works when i fix it10:27
om26ernerochiaro, selectedTab does not exisit10:35
om26er*exist10:35
om26erprobably that property got changed or something10:36
nerochiaroom26er: no, I use it in the QML and it's there10:36
nerochiaroom26er: and timp confirmed it10:36
nerochiaroom26er: just double checked now: the property is there and works fine10:37
nerochiaroom26er: just can't be accessed via AP10:37
om26ernerochiaro, I have gallery-app opened here and autopilot vis does not show any such property there is however selectedTabIndex10:37
om26erright10:38
om26ernerochiaro, you can iterate on "Tab" and see which tab is selected, by either checking objectName or title10:39
nerochiaroom26er: yeah, that's my workaroudn, but i want to know why selectedTab doesn't work in AP and if it can be fixed10:45
nerochiaroom26er: because today it happens for that prop but tomorrow it might happen for one where I can't create a workaround for10:46
om26ernerochiaro, I guess it to be a bug in the ui-toolkit10:46
nerochiaroom26er: i guess it to be a bug in AP10:46
nerochiaroom26er: because once again: the property is there and can be accessed normally from a QML app10:46
nerochiaroom26er: it's just AP that can't see it for some reason. and that worries me10:46
nerochiarozsombi: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/125949810:47
ubot2Launchpad bug 1259498 in Ubuntu UI Toolkit "StateSaver doesn't work when app is closed via SIGINT or SIGTERM" [Undecided,New]10:47
zsombinerochiaro: thx10:47
=== shuduo is now known as shuduo_afk
=== _salem is now known as salem_
Laneychaps12:23
LaneyWe just found a bug where UITK applications don't load their translations if you have a /usr/share/locale directory12:24
LaneyI 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#L10712:24
Laneyis that sensible12:47
Laneykalikiana_: you wrote this code, thoughts? ↑12:48
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 box12:50
Laneykalikiana_: It makes gettext use /usr/local/share even if you don't have translations in there12:51
kalikiana_what do you mean by that? where are your translations actually?12:51
LaneyYou either need to check if .../locale/<locale>/LC_MESSAGES/<domain>.mo is installed or not do this12:51
Laneythey are in the normal system location12:52
Laneybut I have /usr/locale/share/locale/de/LC_MESSAGES/<some other applications>.mo12:52
Laneys!/usr/locale!/usr/local!12:52
Laneythis code just checks if "locale" exists and then bindtextdomain()s to that if it does12:53
Laneyit's not smart enough12:53
dakerom26er: is osomon off ?12:54
Laneykalikiana_: http://paste.ubuntu.com/6550646/ check lines 413-42012:54
om26erdaker, seems he is MIA, didn't get any emails and he is not on holiday in the calendar12:57
kalikiana_Laney: what about line 81? it seems to still look in the right place12:57
dakerom26er: ok thanks12:57
Laneykalikiana_: That's probably from normal gettext12:57
Laneyit gets overridden later on12:57
LaneyI 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 running12:58
kalikiana_Laney: can you file a bug for it? then I'd look into extending the unit test for that12:59
kalikiana_followed by looking into making the check better12:59
LaneyI think you have to know if the translations are actually installed there before trying to bindtextdomain()12:59
kalikiana_I have to admit I didn't assume multiple conflicting locations to be present13:00
Laneyyeah, you can't assume that all translations will be in one place13:00
kalikiana_the code would iterate all folders but probably stops just by seeing "locale" exists13:01
Laneyexactly13:01
=== greyback is now known as greyback|lunch
=== bfiller is now known as bfiller_afk
Laneykalikiana_: bug #125954013:11
ubot2Launchpad bug 1259540 in ubuntu-ui-toolkit (Ubuntu) "Translations aren't always loaded" [Undecided,New] https://launchpad.net/bugs/125954013:11
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 better13:26
Laneyokay13:27
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Guest48115
=== Guest48115 is now known as Ursula
CajunTechieHello 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 metrics13:57
popeyCajunTechie: davmor2 may be able to help13:57
popeyCajunTechie: do you have the url to your app in the store?13:57
CajunTechieSure. hang on13:58
CajunTechieIt's here: https://apps.ubuntu.com/cat/search/?q=AnonyMail2&op=13:58
popeyi cant see it, you'll have to wait for davmor2 I'm afraid.13:59
CajunTechieOK no problem14:00
davmor2CajunTechie: what app is it?14:02
CajunTechieDavmor2: It's AnonyMail2 https://apps.ubuntu.com/cat/search/?q=AnonyMail2&op=14:04
davmor2CajunTechie: yeap got it now, where are you looking for the metrics?14:04
CajunTechieI'm going to developer.ubuntu.com then clicking on the Desktop apps section. All I see is "submit a new app"14:05
davmor2CajunTechie: hmm have you changed your login?14:05
CajunTechieHmm...maybe so. Let me look14:06
CajunTechieDavemor2 I think that was it. Thanks!14:07
davmor2no worries14:07
popeythanks davmor214:10
davmor2popey: no probs :)14:10
=== bfiller_afk is now known as bfiller
jaseyhi 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 h14:18
jasey...found a way to install these dependencies. How do i install the above dependencies?14:19
davmor2jasey: apt-cache search <package_name> for the missing dep then do sudo apt-get install <package_name_from_the_search>14:22
davmor2jasey: for example apt-cache search webkitgtk-3.0  might be libwebkitgtk so you would do sudo apt-get install libwebkitgtk14:24
popeyapt-get build-dep geary (assuming its in the repo)14:25
popeywill get you part way there14:25
davmor2popey: not in the repo they have a ppa though I think14:25
popeywell its elementary14:25
popeyso *they* have it in their repo14:26
jaseythanks guys, i'm pretty new to linux so as u could imagine i'm kinda struggling.14:26
popeyso I'd expect the build-deps to be there14:26
popeyjasey: you probably want #elementaryos i think?14:26
popey(we don't generally provide support for derivative distros)14:26
popeybut we're nice (mostly)14:26
* popey is away14:27
jaseyyah, 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 yet14:27
popeyyeah, mostly14:27
jaseywhat 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:28
jaseyok i got it, i found an answer to that on stackoverflow.14:30
=== greyback|lunch is now known as greyback
jaseyaw :(, 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 lol14:41
jaseyUm, 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:43
dholbachbzoltan, 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 :)14:49
=== shuduo_afk is now known as shuduo
=== shuduo is now known as shuduo_afk
=== bfiller is now known as bfiller_afk
victorppopey,  I am trying to install the platform tools in my n4 with QTcreator with no luck17:22
victorpany suggestion please?17:23
popeywhat 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
victorpon the phone?17:23
popeyno, desktop17:23
victorp14.04 r3217:23
victorp12.0417:23
popeythats probably why17:23
victorpugh17:23
victorpwe dont support the LTS?17:23
popeycheck with mirv or bzoltan17:24
victorpcan I do it manually via ssh to the phone?17:24
popeynot sure if the ppa is up to date for 12.0417:24
popeypass, that's sdk team territory17:24
popeythere's a script which does the funky stuff, you may be able to see which script from the log in qtcreator17:25
popeywhich will give you the commands it does17:25
victorppopey, acl17:25
victorpack17:25
popeyvictorp: what version of ubuntu-sdk package do you have installed?17:25
popeyapt-cache policy ubuntu-sdk17:25
popeyshows 1.095 here on 13.1017:25
victorp1.00917:26
victorpugh17:26
popeyyeah, there you go17:27
popeyAIUI17:27
victorppopey, shoking17:27
popeydo you have the ppa enabled?17:28
victorpchecking..17:28
victorpyeap, for precise17:28
popeylooks like ubuntu-sdk-team/ppa has lots of new crack for you17:28
popeyby "the ppa" I meant that one ☻17:30
victorppopey, really? here looks 1.00917:30
victorpmmm17:30
popeywhat does "apt-cache policy ubuntu-sdk" give?17:30
victorp1.009~sdkppa~precise~test617:31
popey  Installed: 1.09517:31
popeyits probably not that package but the other stuff it pulls in though17:32
popeywhat version of qtcreator-plugin-ubuntu do you have?17:32
victorp2.8.117:34
victorpbzr5617:34
popeyhm. so you seem to have latest crack then17:34
popeydo you have a log from qtcreator?17:34
victorppopey, whats the name of the .log?17:35
popeyits inside qtcreator17:36
victorpah that17:36
popeywhat buttons are you pressing and I'll try and duplicate here17:36
victorpnope17:36
victorpnothing displays there when I click crt+f1117:36
victorpcrtl+f1117:36
victorponce the device is recognised as enabled17:36
victorpit is suppose to install the tools so I can compile on device17:37
victorpMirv, ? ^^17:37
popeyvictorp: click device on the left17:38
popeythere should be a log tab at the bottom17:38
victorpyeap17:38
victorplooking at that17:38
popeyhttp://paste.ubuntu.com/6552236/ is what mine says17:38
victorpright17:39
victorpsame17:39
victorpbut what happens when you click crtl+f11?17:39
victorpnothing?17:39
popeyyeah, nothing17:40
victorppopey - I feel better  :)17:40
victorpyou have the same issue ;P17:40
popeyhah17:40
popey"yay"17:40
victorphehe17:40
popeyis this not just because the device is read-only though17:41
victorpyou will hope it tell you17:41
victorpbut that is one difference17:41
victorpmine I have set to writable17:41
popeymine isnt17:42
popeyi havent played with this for a few weeks, so don't know current state17:42
popeymirv has likely EOD17:43
popeyvictorp: bug time17:44
victorppopey, ack17:44
victorpoks..17:44
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.17:45
=== bfiller_afk is now known as bfiller
victorppopey, so it works if I run the script by had18:12
victorphand...18:12
popeyinteressin18:12
victorpI will raise a bug18:12
victorppopey, I guess that the good news is that my app compiles :)18:13
victorpondra, ^^18:13
popeyhuzzah18:14
popeyvictorp: ping me the bug number and I'll confirm18:14
popey(it's probably already reported tbh)18:14
=== Ursula is now known as Ursinha
=== salem_ is now known as _salem

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