=== chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [07:47] good morning === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === sturmflut2 is now known as sturmflut === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === _salem is now known as salem_ === chihchun is now known as chihchun_afk [15:01] balloons, here? === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk [15:47] hi. I have a problem when trying to run a qml c++ project in the sdk, it says :-1: error: cannot find -lGL [15:48] it's an 'empty' app, just starting [15:48] its a qmake project with qml and c++ [15:50] I also had an autopilot problem, but i removed the autopilot plugin [15:51] and test directories [15:54] can anyone help me? [15:58] it would be really nice if we had videos on youtube explaining this things... [15:58] appdevs [15:58] "appdevs" [16:09] I'm trying to follow this example, using the sdk: http://doc.qt.io/qt-5/gettingstartedqml.html [16:10] as I didn't knew which project to choose, I chose qml with c++ library === DanChapm- is now known as DanChapman [19:40] popey: Regarding the xdg data folder not being automatically created, I solved the problem by creating the folder inside the qt code (it works). I think it could be worth mentioning somewhere (maybe askubuntu?) [19:41] I lost a week on that (due to not having a 4.5 and testing was therefore waay slow) since the problem happens only with 4.5 [19:42] since people seem to be around, no terminal devs happen to be around as well? [19:50] bartbes, wassup? [19:51] I desperately need a control key :P [19:51] a specific key or ctrl in general? [19:51] so I've got a shitty patch, but I was wondering if someone else had done it already [19:51] no, nobody has [19:52] how can you get by without a control key? [19:52] especially without a tmux bar [19:52] i use custom toolbars which have the ctrl key combos i need [19:52] create a tmux bar and I'll merge it :) [19:52] anyway, my patch just adds 'Control', which when pressed modifies your next keypress [19:53] that would be great, does it work? :) [19:53] yes, it does work [19:53] can you throw the patch my way to have a look and test? [19:53] also a tmux bar would be great too :) [19:53] sure, I'll clean it up first though, I wrote it in a vm with a shitty resolution using vim.tiny without knowing how qml works, so it's quite messy atm [19:55] hehe [19:55] I look forward to seeing it, thanks. [19:57] theoretically it can do any other modifier, but ctrl's the only missing one [20:27] popey: what's the best way to send you the patch? and is a 'bzr diff' good enough? [20:29] bartbes, any how you like [20:35] bartbes, got the mail, will have a play tomorrow, thank you! [20:36] good, gmail was being forgetful whenever I typed 'pope' [20:36] it even suggested sending a message on google+, and then when I clicked it it said it couldn't do it === salem_ is now known as _salem [20:54] kenvandine, hey man, I'm working on my flash card app again [20:54] hey rickspencer3 [20:54] I'm adding the ability to import a sound to go with a card [20:54] cool, music-app is registered as a source now :) [20:54] I've got some import code from another part of hte project, but that code doesn't actually save the file [20:55] I assume there are just a couple of lines I need to actually save the file, but I can't find those lines :P [20:55] little help? [20:55] sure [20:56] on esec [20:56] one sec [20:57] http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/sound/SoundsList.qml#L213 [20:57] rickspencer3, including a ContentStore in the transfer request is probably the easiest way [20:57] right, I saw that code, but it wasn't easy to parse out what I needed ;) [20:57] that'll save it to ~/.local/share/APP_ID/Type [20:58] for music: [20:58] ~/.local/share/APP_ID/Music [20:58] kenvandine, hmm, it's not really music, though [20:58] yeah [20:58] we don't have a type for other sounds right now [20:58] kenvandine, first, can you tell me which line to look at in the file you pasted me? [20:58] what app is providing the sound? [20:58] line 213 [21:01] kenvandine, I think any app can, right? but most likely file manager [21:01] file manager can provide any type [21:01] so yeah [21:01] kenvandine, let me push and I will paste you a link [21:01] cool [21:02] kenvandine, http://bazaar.launchpad.net/~rick-rickspencer3/+junk/flash2/view/head:/components/AddSoundDialog.qml [21:03] hmm [21:03] kenvandine, hold on, that's not right ;) [21:03] kenvandine, now look :) [21:04] activeTransfer = peer.request(); [21:04] add a ContentStore then make that [21:04] peer.request(appStore) [21:04] or whatever you name it [21:04] that'll send the file to that persistent directory instead of HubIncoming [21:05] kenvandine: random question: do apps have rw permissions on sdcard? [21:05] hmmm [21:05] snizzo, nope [21:05] well... music-app does [21:05] yeah... [21:06] why this limitation, if I can ask... security? [21:06] yup [21:06] why android permits this? Is it insecure? [21:06] snizzo, there are plans to allow access via content-hub [21:06] rickspencer3, look at my example, see where i defined appStore? [21:06] line 195 [21:07] programmatic access like in android or access via some exchange ui like content-hub? [21:07] UI via content-hub [21:07] not direct access [21:07] ok [21:08] I'm also looking forward real background code execution... [21:08] well, there might be a way to use an app specific location on the sdcard [21:08] kenvandine, it's not clear form the docs what contentscope I want [21:08] app? user? [21:08] app [21:08] that's per app [21:09] snizzo, like /sdcard/APP_ID/blah [21:09] and you'd get rw access to that [21:09] not sure if you can do that yet [21:11] i have the same app, on android and ubuntu touch (more less ported). I'd thought that on ubuntu touch it would have run better (more compatible sdk since it's the main sdk) but it still runs better on android. Way better. Mostly because of rw limitations (but that's not critical) and the most for not having real multitasking. That's overkill. [21:11] if you like feedback :) [21:11] yes? ;) [21:12] snizzo, rw limitations is generally a very good thing :) [21:12] BOHverkill: hey! [21:12] snizzo, but yes, it's a difference in the platforms [21:12] hi snizzo [21:12] of course we think our approach is better for the user [21:12] I'm just giving feedback telling you this limitations are in fact affecting user experience, that's all. [21:13] ok :) [21:13] yeah, we're aware [21:13] in the end the user will be better off [21:13] but we aren't there yet [21:13] ahh ok [21:13] so it's in your plans to implement some kind of multitasking too? [21:13] not my area [21:15] \o/ my code crashed Unity :) [21:15] lol [21:15] ah... that's the real problem imho. rw isn't critical at all [21:15] rickspencer3: happed to me a lot too [21:15] happened* [21:15] * kenvandine has a hard time crashing unity [21:15] :-D [21:16] kenvandine: well in my case, just press the green arrow on ubuntu sdk and crash. Not unity, the whole X. Back to lightdm directly. [21:17] oh, on the desktop [21:17] not the phone [21:17] ahhh yeah. No, never crashed on the phone [21:17] oh, I crashed the phone [21:17] although that shouldn't crash unity on the desktop either [21:17] :) [21:17] nothing a kill -11 can't fix ;) [21:17] I think I brought down ContentHub [21:18] rickspencer3, unlikely... /me hides [21:18] bartbes: of course :D [21:18] rickspencer3, content-hub won't effect unity though [21:18] kenvandine, ok, so I now can access the url of the file at qml: file:///home/phablet/.cache/flash.rickspencer3/HubIncoming/2/gd77-05-07d1t07.mp3 [21:18] on the app switching could, which we do via ubuntu-app-launch [21:18] what do I do with it? [21:18] rickspencer3, shouldn't be there if you see the ContentStore in the request [21:19] s/see/set [21:19] kenvandine, um, I did set the contentstore [21:19] push your code [21:19] i wonder if it's because you're using All [21:19] kenvandine: last question I promise. r permissions for sdcard are there or need to content hub again? [21:20] which is a very special case [21:20] snizzo, i really don't know what's there now, but the plan is for you to be able to read from an app specific location on the sdcard [21:20] kenvandine, ok, I pushed [21:20] okok [21:20] not any location [21:20] ok got it, thank you :) [21:21] rickspencer3, ok, that looks right [21:21] i bet if you change the type to Music it'll work :/ [21:21] so ContentType::All is special, and it only exists in the qml bindings [21:21] the backend doesn't know about it [21:21] i bet there's a case in the ContentStore code we don't handle it right [21:22] rickspencer3, please file a bug about that [21:23] um [21:23] kenvandine, should I change it to Music? [21:23] just try it [21:23] i need to fix the bug though :) [21:24] rickspencer3, the alternative is to not set the store in the request, like you did before [21:24] then use ContentItem.move(DIR) [21:24] which will move it to a new location [21:24] problem is then you need to construct the path yourself [21:24] it looks it just made a Music dir for me [21:24] yup [21:25] that means it worked :) [21:25] qml: file:///home/phablet/.cache/flash.rickspencer3/HubIncoming/2/gd77-05-07d1t07.mp3 [21:25] yeah [21:25] so i have a bug in All handing [21:25] oh [21:25] oops [21:25] no [21:25] qml: file:///home/phablet/.local/share/flash.rickspencer3/Music/gd77-05-07d1t07.mp3 [21:25] right [21:25] perfect [21:25] that will be persistent [21:25] right [21:25] it's a little weird that it is "Music", but it will be hidden from users [21:26] yeah [21:26] i should fix the All handling there [21:26] rickspencer3, i need to run out to drive a kid [21:26] i'll bbl [21:27] o/ [21:31] kenvandine: sorry I have to bother you again. I have an app that uses xda data folder ~/.local/share/ [21:32] but only on bq e4.5 xdg folder aren't created on installation [21:32] they don't need to be [21:32] so i can't use them, only in bq e4.5, and I own the E5 so I'm going crazy [21:32] I'm fairly sure I looked this up recently, any app that uses the xdg folders must create them [21:32] or is that not allowed? [21:32] ah [21:34] bartbes: I tried both, to directly use the folder (works in some devices) and to create it because it wasn't there and on some devices folder are alredy there, on some creation works, on someone elses creation is impossible [21:35] hmm, I can't find it [21:35] impossible because you're not allowed to, or because it already exists? [21:35] because I'm not allowed to [21:36] trouble is I'm facing different behaviour on different devices [21:37] should it make a difference installing click from the store or by hand? [21:38] ah, there we go "If, when attempting to write a file, the destination directory is non-existant an attempt should be made to create it with permission 0700. If the destination directory exists already the permissions should not be changed." [21:38] I'm not sure, I'm fairly new to this myself, I just happen to have read a lot of the xdg specs :P [21:39] ah [21:40] the problem for me is different behaviour on different devices === ubot5` is now known as ubot5 === elopio_ is now known as elopio