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