[10:15] i18n vs qsTr (what is the difference) | http://askubuntu.com/q/337004 [11:45] in there any HUD component documentation somewhere? [12:03] mefrio: You can read a bit here: https://plus.google.com/109919666334513536939/posts/AE1yHMFFBwh I'm not sure if the official documentation has made it yet [12:04] wellsb, it looks good. Thank you! [12:20] nik90, ping [12:21] Anyone here using more than 1 keyboard layouts? I'm using English and Greek and some shortcuts do not work while on Greek. Ctrl+Alt+L for example. The thing is that this is true for my program as well :/ [12:22] Can you reproduce? [12:22] hakermania, yep! [12:22] hakermania, I have the same problem too [12:24] clepto1995, I am developing using the Qt libs. I am using QShortcut to setup my shortcuts, but I guess it is Ubuntu's bug. On the other hand, shortcuts are completely usable in some other applications in both languages, like Firefox or VLC [12:25] VLC is written in Qt too, but I don't seem to find the word QShortcut in the source code, so his mechanism must be different. [12:25] hakermania, I had the same problem on Luna (ubuntu 12.04 based) and now on Ubuntu Gnome [12:25] clepto1995, you know I am Alex, right? [12:25] hakermania, what am I? stupid? :P [12:25] clepto1995, quite. [12:26] hakermania, bad for you, partner :P [12:27] nik90, if you have time later check those github issues on CNotes, thanks! [12:29] is there anybody who know how to solve this warning: http://pastebin.ubuntu.com/6024880/ ? [12:29] it prevents my HUD to work properly [12:30] mefrio, http://bazaar.launchpad.net/~mhall119/+junk/uReadIt/view/head:/uReadIt.qml#L26 [12:30] maybe this will help [12:32] clepto1995, I am using Ubuntu.Unity.Action for my HUD, not HUD module itself [12:33] mefrio, is it the right way to do it? [12:33] mefrio, link to code? [12:33] clepto1995, I want to have different entries in my pages....also Friends is using it too [12:33] clepto1995, take a look at Friends http://bazaar.launchpad.net/~super-friends/friends-app/trunk/view/head:/qml/friends-app.qml [12:37] mefrio, no idea :/ [12:38] clepto1995, thank you anyway :) [12:39] mefrio, maybe you should ask someone from friends app [12:39] clepto1995, kenvandine is not here at the moment :( [12:40] mhall119, ping [12:43] mefrio, you have added convergence into memories right? [12:43] clepto1995, yes [12:43] mefrio, did you use conditional layout? [12:45] clepto1995, I found a more simple solution. I just declared a "wideAspect" bool property and when it is true my sidebar is shown [12:45] clepto1995, you can take a look at it here: https://github.com/Mefrio/Memories [12:47] mefrio, interesting... thanks! [12:47] clepto1995, you are welcome [12:56] put a new app submission on the subreddit, will now post (the same) to g+ [12:57] http://redd.it/1l1y5w === mefrio is now known as mefrio|afk [13:06] posted on G+ [13:11] GuidoPallemans, It looks good. I guess judges will again judge based on how cool the app looks and how usable it is from most of the public, not using the initial criteria. That said, your app looks pretty neat :) [13:15] is it still true the the nexus 4 does not have a dataconnection over GSM/UMTS? === mefrio|afk is now known as mefrio [13:58] snwh: I shared a post with you on g+ [14:05] clepto1995, please join #ubuntuforums [14:07] Example Java code on Ubuntu one Files API | http://askubuntu.com/q/337072 [14:10] wellsb, i'll check it out [14:11] nik90, you could add my irc nick to the showdown page as well [14:37] Hey guys! Does anybody know whether, and if yes how, you can set queries that are more complex than just "=" and "*" ? [14:37] (Goes especially to Christian Dywan) [14:38] (I’m talking about queries in U1db.Query, by the way ;) ) === _5m0k3 is now known as wellsb [17:09] quiet on here today [17:09] anyone from the showdown online? [17:10] GuidoPallemans, it is Sunday. [17:10] hakermania: okay :D [17:44] @GuidoPallemans: I’m from the showdown (I particioate), why? === clepto1995 is now known as clepto1995|away [18:39] jGleitz: I was bored, and wondered how far other contestants stand [18:40] GuidoPallemans: Okay :D. Well, not to far I fear. We’re constantly stuck on details :( [18:40] what app do you have? [18:40] I also have that :D [18:48] Geldliste / MoneyList [18:48] What is yours? [18:51] I have 2 games [18:51] reversi and connect 4 [18:51] and now I'm making a Github Client [18:51] Cool Thing [18:51] That's what I'm trying [18:52] By the way: Do you have a good name for our app? We think MoneyList sounds dumb and people complain about Geldliste because it’s German. [18:52] How is it going? [18:54] I'm making an app for the ubuntu showdown. But I have no phone that can run ubuntu touch. I was wondering if I can test it in desktop Ubuntu? (testing Confinement etc). Or if anyone would want to try it out? [18:56] @labsin: We don’t have a phone either. But that’s no problem [18:56] If you download the Ubuntu SDK, you can run your app via qmlscene. Works perfectly fine. [18:57] What do you want to make? [18:57] jGleitz, It's because I wanted to publish a click package [18:57] Oh, I see ;) [18:57] I already have a deb package. That's running fine. [18:57] Okay [18:59] jGleitz, I'm storing some data on the home folder but I don't know it it'll work in confinement. I asked the question on the mailing list and they told me which folder I have access to, but I wan't to test it now :) [19:05] Yeah, we’ll have this problem as well. I think I’ll set up a VM to test on the desktop, but Testing on the phone won’t be possible :( [19:12] If anyone whould like to test my app on the phone, here's a click package: http://ubuntuone.com/2lyIlBvjPmSy1Ed576z04k === clepto1995|away is now known as clepto1995 [20:10] is anyone willing to help with convergence? [20:17] clepto1995, what's the problem? [20:18] labsin, I can't get it to work [20:18] An app? [20:18] labsin, when using conditional layout I get an error about actionManager [20:19] http://pastebin.ubuntu.com/6026367/ [20:21] clepto1995, I've not seen this component used anywhere yet. Everyone is using States or just inline if checks (...>...?:) [20:21] labsin, only the guys with blackjack app is using [20:22] labsin, states/ [20:22] ?* [20:22] http://qt-project.org/doc/qt-4.8/qdeclarativestates.html [20:23] labsin, I see... I'll try something else and see if it works [20:24] Anyway, it should not give an error. Could you post your qml? [20:24] labsin, yeah, give a sec to push [20:25] labsin, https://github.com/Clepto/cnotes-ubuntu-touch pull and run [20:26] the code for conditional layout is in cnotes.qml [20:28] labsin, I think that one problem is that I can have tabs inside a page (not sure though) [20:29] but I don't think that the main problem [20:38] There is something strange with that... [20:39] labsin, ? [20:39] I don't know, I get the same issues. [20:40] labsin, ok, the problem is with NoteView element in line 226 [20:41] I think I know a way to fix it [20:42] Btw: here I did a sidescreen in my app: https://github.com/labsin/solitaire-games/blob/master/layout/GamesPage.qml [20:43] labsin, there is an error in your entry here https://wiki.ubuntu.com/Touch/AppShowdownList , the link for github is wrong [20:44] clepto1995, tanx [20:46] labsin, ok! no errors now! :) [20:46] I was right about the tabs... [20:47] What's the problem? Do you mean the Ubuntu.Components Tabs? [20:47] labsin, yes, something about the tabs was making errors [20:48] clepto1995, You are using a pageStack. You need to choose between using tabs or a pageStack. Both is not allowed. [20:48] so I moved the Row from NoteView.qml to a different file [20:48] labsin, probably that [20:48] clepto1995, http://design.ubuntu.com/apps/global-patterns/navigation [21:08] Is it possible to set up a mail using the friends app api? [21:24] hakermania, ping [21:25] clepto1995, pong [22:04] nik90, ping [22:14] how can I add an icon to my app? [22:38] clepto1995, Where? When you run it from the sdk, you can't. Then it's the qmlscene icon. To change that icon, you can put an icon named qmlscene. in ~/.icons [22:40] clepto1995, If you distribute it in a deb, you can change the icon in the .desktop file. When installing the deb, you should copy your icon to /usr/share/pixmaps. Then it'll find it if you just put the name without extention in the .desktop file. [22:41] labsin, thanks! [22:43] clepto1995, I was just looking up all these things (packaging etc) this week. Some things are really hard to find. [22:44] clepto1995, I know a couple of stuff about packaging, so, anytime [22:44] labsin, how about click packages? Will the icon be found automatically? [22:45] hakermania, I know too... vault had to be packaged manually... :@ [22:45] clepto1995, and your anime app, no? [22:45] hakermania, quickly magic :D [22:46] clepto1995, oh. [22:47] clepto1995, I don't know. I think you have to put the icon in the app directory directly and just put the name in the desktop file (cnotes.png -> Icon=cnotes) [22:47] labsin, thanks [23:12] hi all, I'm trying to get rid of the first and last character of a string in my QML app using any JS function. I've tried slice, replace, substring, but none work. I get: TypeError: Object has no method 'slice' [23:12] replace "slice" with any other JS function. [23:12] why doesnt it work? shouldn't just JS functions work? [23:15] danielholm, code? [23:16] clepto1995: http://pastebin.com/4Tb9fPP9 [23:16] example [23:19] I think I got it. I added a function in a seperate file [23:19] danielholm, it doesn't return error to me [23:19] but I really thought that you could use JavaScript functions directly in a QML file [23:19] you can [23:20] https://github.com/Clepto/cnotes-ubuntu-touch/blob/master/CNotes.qml#L82 line 81 [23:22] clepto1995: thanks! [23:22] danielholm, :) [23:22] btw: clepto1995, why aren't you using u1db? It are bonus point for the contest you know. [23:22] labsin, I know. I had problem using [23:22] Yeah, I'm moving to it soon as well [23:23] labsin, after the convergence I'll focus on u1db [23:23] its a must [23:24] clepto1995, the biggest problem I had with it was that the contents var is a reference. You can't write directly to it. You first have to copy that into a js variable and edit that and then copy that one back. [23:24] but to tell you the truth... I'm tired... I've been working non stop on CNotes for two weeks... [23:24] labsin, I'll came back to you when its time :P [23:25] i'm now at a point where everything takes more time than I have. So I'll just go to bed. By === jono is now known as Guest52668 [23:25] labsin, goodnight! [23:26] take care [23:26] too late [23:29] going to bed too... night [23:33] alright, I have another issue someone might give me a hand with [23:33] I'm trying to use this CryptoJS; http://code.google.com/p/crypto-js/#AES [23:34] to be more specific, I'm trying to encrypt/decrypt a string using AES. the thing is that the string isn't the same decrypted as when I was encrypting it [23:56] danielholm: have you tried calling decrypt(encrypt("testMessage", "testpass"), "testpass") ? [23:57] if that doesnt give "testMessage", the library is bad [23:58] GuidoPallemans: no I havent [23:58] GuidoPallemans: only just like the examples [23:58] huh [23:58] GuidoPallemans: but that would be impossible to do anyway [23:58] hmm [23:59] GuidoPallemans: since I need "testMessage" to begin with [23:59] but just try to execute that line [23:59] on it! :D