*** b0bben has joined #sailfishos | 00:02 | |
*** amizraa has quit IRC | 00:05 | |
*** Andy80 has quit IRC | 00:05 | |
*** amizraa has joined #sailfishos | 00:05 | |
*** Andy80 has joined #sailfishos | 00:06 | |
*** b0bben has quit IRC | 00:06 | |
*** rcg has quit IRC | 00:09 | |
*** RoKenn has joined #sailfishos | 00:10 | |
*** shanttu has quit IRC | 00:11 | |
*** Kabouik has quit IRC | 00:11 | |
*** louisdk has joined #sailfishos | 00:11 | |
*** softmetz is now known as softmetz|away | 00:13 | |
*** amonk has quit IRC | 00:16 | |
*** RoKenn has quit IRC | 00:17 | |
*** TW1920 has quit IRC | 00:19 | |
*** amonk has joined #sailfishos | 00:20 | |
*** TW1920 has joined #sailfishos | 00:21 | |
tango_ | meh, just using cellWidth: width > height ? width/2 : width fixes the thing | 00:21 |
---|---|---|
tango_ | interesting | 00:21 |
*** M4rtinK2 has quit IRC | 00:22 | |
*** freedomrun has quit IRC | 00:26 | |
*** mk2soldier has quit IRC | 00:35 | |
*** KangOl has quit IRC | 00:35 | |
*** mk2soldier has joined #sailfishos | 00:36 | |
*** louisdk has quit IRC | 00:38 | |
*** amonk has quit IRC | 00:38 | |
*** triggerhappy has joined #sailfishos | 00:40 | |
*** amonk has joined #sailfishos | 00:42 | |
*** Morpog_ has quit IRC | 00:43 | |
*** tanghus has joined #sailfishos | 00:45 | |
*** tanghus__ has quit IRC | 00:46 | |
*** ericcc_ has quit IRC | 00:47 | |
*** b0bben has joined #sailfishos | 00:53 | |
*** b0bben_ has joined #sailfishos | 00:55 | |
*** Andy80 has quit IRC | 00:55 | |
*** Andy80 has joined #sailfishos | 00:56 | |
*** b0bben has quit IRC | 00:56 | |
*** b0bben_ has quit IRC | 00:59 | |
*** Andy80 has quit IRC | 01:00 | |
*** master_o1_master has joined #sailfishos | 01:01 | |
*** master_of_master has quit IRC | 01:04 | |
*** wickwire has quit IRC | 01:06 | |
*** John24 has joined #sailfishos | 01:08 | |
John24 | hi everyone, is anyone up this late? | 01:09 |
*** mk2soldier has quit IRC | 01:12 | |
John24 | wanted to ask, I am about to submit an app to the store but I have no idea what to put on the "Website*Link to your own site or your app marketing site." field, I don't have a website | 01:13 |
artemma | John24Put your twitter profile address ;) | 01:15 |
*** Sarvi has quit IRC | 01:15 | |
John24 | why thank you kind sir, Just submited my first app, really excited :) | 01:16 |
*** Andy80 has joined #sailfishos | 01:26 | |
*** John24 has quit IRC | 01:28 | |
*** Andy80 has quit IRC | 01:31 | |
*** zhxt has joined #sailfishos | 01:33 | |
*** ericcc has joined #sailfishos | 01:33 | |
*** artemma has quit IRC | 01:39 | |
*** mk2soldier has joined #sailfishos | 01:55 | |
*** b0bben has joined #sailfishos | 02:03 | |
*** Morpog_Mobile has quit IRC | 02:07 | |
*** b0bben has quit IRC | 02:08 | |
*** grinv has joined #sailfishos | 02:14 | |
*** matoking has quit IRC | 02:15 | |
grinv | hello, can sailfish install on nexus 7 2013? | 02:16 |
*** piee has joined #sailfishos | 02:23 | |
*** qwazix has quit IRC | 02:25 | |
*** softmetz|away has quit IRC | 02:26 | |
*** softmetz|away has joined #sailfishos | 02:27 | |
*** piee has quit IRC | 02:27 | |
*** Andy80 has joined #sailfishos | 02:29 | |
Jef91 | I'm trying to install software via pkcon and it keeps asking me "Do you want to allow installing of unsigned software? [N/y]" I tell it yes, but it keeps coming back to this question | 02:29 |
*** qwazix has joined #sailfishos | 02:30 | |
*** Andy80 has quit IRC | 02:33 | |
*** michiel_l has quit IRC | 02:35 | |
*** Morpog_Mobile has joined #sailfishos | 02:39 | |
*** b0bben has joined #sailfishos | 02:43 | |
*** b0bben has quit IRC | 02:48 | |
*** promulo has quit IRC | 02:49 | |
*** mk2soldier has quit IRC | 03:01 | |
*** grinv has quit IRC | 03:06 | |
*** zhost has quit IRC | 03:23 | |
*** Jef91 has quit IRC | 03:26 | |
*** Andy80 has joined #sailfishos | 03:29 | |
*** Andy80 has quit IRC | 03:34 | |
*** f3an0r has quit IRC | 03:34 | |
*** triggerhappy has quit IRC | 03:42 | |
*** triggerhappy has joined #sailfishos | 03:46 | |
*** planasb has quit IRC | 03:56 | |
*** furikku has joined #sailfishos | 03:57 | |
*** planasb has joined #sailfishos | 03:58 | |
*** vitronic__ has quit IRC | 04:20 | |
*** piee has joined #sailfishos | 04:20 | |
*** Almehdin has quit IRC | 04:22 | |
*** Almehdin has joined #sailfishos | 04:23 | |
*** piee has quit IRC | 04:25 | |
*** vitronic__ has joined #sailfishos | 04:26 | |
*** Andy80 has joined #sailfishos | 04:30 | |
*** b0bben has joined #sailfishos | 04:32 | |
*** Andy80 has quit IRC | 04:35 | |
*** b0bben has quit IRC | 04:36 | |
*** itbaron has joined #sailfishos | 04:43 | |
*** beford has quit IRC | 04:52 | |
*** otep has joined #sailfishos | 04:52 | |
*** hulkkii has joined #sailfishos | 05:04 | |
*** triggerhappy_ has joined #sailfishos | 05:05 | |
*** triggerhappy has quit IRC | 05:05 | |
*** triggerhappy_ has quit IRC | 05:07 | |
*** matt_197_ has quit IRC | 05:10 | |
coderus | morning | 05:30 |
atlaz | That it is | 05:31 |
*** Andy80 has joined #sailfishos | 05:31 | |
coderus | question about QContactManager. WHat is preferred way to extract display label from contact to follow system settings in Firstname Lastname order? | 05:31 |
coderus | currently i'm using QList<QContactDisplayLabel> labels = results.at(i).details<QContactDisplayLabel>(); | 05:32 |
coderus | if (labels.size() > 0 && !labels.first().isEmpty()) | 05:32 |
coderus | label = labels.first().label(); | 05:32 |
coderus | but users reporting bad name fields ordering :( | 05:33 |
*** stephg has joined #sailfishos | 05:36 | |
*** Andy80 has quit IRC | 05:37 | |
*** triggerhappy has joined #sailfishos | 05:45 | |
coderus | another question since unknown time my binary added 6MB to size :O ideas? | 05:47 |
stephg | coderus too much food at xmas | 05:48 |
stephg | clearly! | 05:48 |
coderus | hm, seems strip not performed by build | 05:50 |
coderus | wtf? | 05:50 |
coderus | stripped and it now 726KB :D | 05:51 |
stephg | cool | 05:51 |
coderus | is there strip command for spec file? | 05:52 |
pp_ | typically automatically run | 06:06 |
pp_ | (may not be in the sailfish rpm macro set) | 06:07 |
pp_ | /usr/lib/rpm/brp-strip | 06:09 |
pp_ | rpm --showrc will tell you what it tries to run (and on my phone brp-strip is there) | 06:11 |
*** b0bben has joined #sailfishos | 06:20 | |
*** veskuh has joined #sailfishos | 06:22 | |
*** b0bben has quit IRC | 06:24 | |
*** Andy80 has joined #sailfishos | 06:34 | |
*** rm_work|away is now known as rm_work | 06:37 | |
*** Andy80 has quit IRC | 06:38 | |
*** pixraider has joined #sailfishos | 06:38 | |
ericcc | hi | 06:43 |
ericcc | :-1: ERROR:Project is outside of mer shared home 'C:\Users\Administrator' and mer shared src 'C:\Users\Administrator' | 06:43 |
ericcc | how can i change the shared home | 06:43 |
*** lrvy has joined #sailfishos | 06:46 | |
lrvy | om | 06:48 |
*** jjarven has quit IRC | 06:55 | |
*** kjokinie has joined #sailfishos | 06:56 | |
*** lrvy has left #sailfishos | 07:01 | |
walokra | ericcc: reinstall the ide | 07:04 |
ericcc | @walokra oh.no, let me try | 07:10 |
*** jjarven has joined #sailfishos | 07:11 | |
*** istoh has quit IRC | 07:13 | |
*** piee has joined #sailfishos | 07:27 | |
*** piee has quit IRC | 07:31 | |
*** Andy80 has joined #sailfishos | 07:34 | |
*** Andy80 has quit IRC | 07:39 | |
*** isto has quit IRC | 07:40 | |
*** jmlich has joined #sailfishos | 07:44 | |
*** b0bben has joined #sailfishos | 07:45 | |
*** jjanvier has joined #sailfishos | 07:48 | |
*** Sidde has joined #sailfishos | 07:48 | |
*** artemma has joined #sailfishos | 07:54 | |
*** isto has joined #sailfishos | 07:55 | |
*** iam has joined #sailfishos | 07:55 | |
iam | Qt Creator seems to rewrite yaml file during build... Any way I can prevent this? | 07:56 |
iam | most importantly it adds some Files: lines that I do not want it to add. I want to manage those by hand. | 07:57 |
tortoisedoc | iam: QtCreator will add things you add to .pro to yaml file | 07:57 |
iam | It also seems to replace defines in Files: section with absolute paths. | 07:57 |
tortoisedoc | for instance, if you add INSTALL+= something it will be added to yaml file | 07:57 |
iam | hmm.. it automatically puts /usr/share/PROJECT there. | 07:58 |
iam | which is bad as I've put all my QML files inside resource file already. | 08:00 |
iam | it also seems to expand all the defines there. So e.g %{bindir} becomes /usr/bin | 08:01 |
*** hoelzro_ is now known as hoelzro | 08:01 | |
iam | seems to happen randomly even though I haven't touched my .pro file | 08:01 |
iam | this is also a bit pita as I have my yaml file in Git and it seems to get changed from time to time. | 08:03 |
tortoisedoc | iam : on my side it happens only I touch the .pro file | 08:04 |
iam | I get these: | 08:04 |
iam | Warning for %files line: "/usr/share/icons/hicolor/86x86/apps" | 08:04 |
iam | please use %{_datadir} to replace the leading path /usr/share | 08:04 |
iam | at some point my yaml file defines get expanded automatically | 08:05 |
*** piee has joined #sailfishos | 08:05 | |
*** isto has quit IRC | 08:07 | |
*** artemma has quit IRC | 08:08 | |
iam | tortoisedoc: do you use %{_datadir} etc. in your yaml file? | 08:08 |
tortoisedoc | iam: hell no :P | 08:08 |
tortoisedoc | I usually put all full paths, that's the only way I can seem to get it to work | 08:08 |
iam | ok | 08:09 |
tortoisedoc | (i am working on wind0wz btw) | 08:09 |
*** gabriel9|work has joined #sailfishos | 08:09 | |
iam | just tested.. If I touch the .pro file it changes the .yaml file. This is ok I guess but what it does it adds all the paths in Files: too. Some paths are something I don't want there. | 08:10 |
iam | tortoisedoc: Ubuntu here. | 08:10 |
iam | So what I should do is to hand edit yaml file and patch it again every time I touch the pro file. | 08:11 |
tortoisedoc | iam : i believe correct approach is to *not* touch yaml file unless really necesary | 08:11 |
tortoisedoc | *necessary | 08:11 |
tango_ | the default created yaml file does NOT use %{_datadir} and %{_bindir} in all places where it should, I noticed | 08:12 |
*** piee has quit IRC | 08:12 | |
tango_ | should probably be reported as a bug | 08:12 |
iam | yaml file seems to get autogenerated when I open the projet also. | 08:12 |
tango_ | yes, but wrong ;-) | 08:13 |
iam | and Files: section gets rewritten | 08:13 |
iam | which leads to chaos and misery :) | 08:13 |
iam | as project description and version and other info is only in yaml file it needs to be kept inside version control system. | 08:14 |
iam | now, if the yaml file gets rewritten from time to time (swapping the order of lines) it seems changed what comes to Git etc. | 08:15 |
iam | Is this Mer specific? So the whole "build system" comes from Mer? I'll go and file a bug. | 08:15 |
tortoisedoc | iam: this is qtcreator specific | 08:16 |
tortoisedoc | mer is the vm to which qt creator connects | 08:16 |
tortoisedoc | (or better mer resides on the vm to which qtc connects) | 08:16 |
tango_ | qml experts to me. I would like a gridlist to be filled with the contents of a given directory. however, the Qt.labs.folderlistmodel doesn't seem to be available. alternatives? | 08:17 |
iam | tortoisedoc: hmm.. Qt Creator specific but specific only to SailfishOS Qt Creator I think. | 08:18 |
tortoisedoc | tango_ : make your own c++ plugin :P | 08:18 |
tango_ | I was aiming at a pure qml app 8-/ | 08:18 |
iam | tortoisedoc: I think this is some qmake hook somewhere which takes whatever is there in .pro file and intelligently creates the yaml file. | 08:20 |
tortoisedoc | tango_ : I do believe you should be able to include qt qml components freely in your app? | 08:21 |
iam | basically we need a switch somewhere saying "don't touch my yaml file if it exists" | 08:21 |
tango_ | for appropriate definition of intelligently ;-) | 08:21 |
iam | yes. | 08:21 |
tango_ | tortoisedoc: provided they are available, yes | 08:21 |
tortoisedoc | (ie harbour should accept them?) | 08:21 |
tortoisedoc | iam: one reason that could trigger yaml rebuild is .pro file being touched | 08:22 |
tortoisedoc | (if it gets touched every build I mean) | 08:22 |
tortoisedoc | (for some obscure reason) | 08:22 |
iam | tortoisedoc: it seems to think it is touched when I just open the project. | 08:25 |
tortoisedoc | iam : does it actually get touched? | 08:25 |
iam | yeah, close a project and open it again and yaml get regenerated. | 08:26 |
iam | what is funny is nothing really changes *except* the order of some lines. | 08:26 |
iam | PkgConfigBR and Files sections get reordered. | 08:27 |
iam | so most likely it cuts it half, leaves the topmost part intact and replaces the bottom part. | 08:27 |
*** spider-mario has joined #sailfishos | 08:28 | |
iam | ..and if I change targets x86->arm or vice versa the yaml file changes even though I don't touch the pro file. | 08:30 |
*** Andy80 has joined #sailfishos | 08:35 | |
*** Andy80 has quit IRC | 08:37 | |
*** SfietKonstantin has joined #sailfishos | 08:38 | |
iam | how do I ssh in to Mer build vm? | 08:40 |
*** b0bben has quit IRC | 08:40 | |
* iam let the hacking start | 08:40 | |
*** b0bben has joined #sailfishos | 08:40 | |
tortoisedoc | iam: localhost:2223 | 08:40 |
tortoisedoc | (once vm is started) | 08:40 |
iam | user nemo I assume? password is what? | 08:41 |
tortoisedoc | iam : mersdk, authentication is key-based | 08:43 |
iam | actually I think it is 2222 as I want to go inside build environment. | 08:43 |
iam | 2223 is the emulator, right? | 08:44 |
*** Andy80 has joined #sailfishos | 08:44 | |
*** b0bben has quit IRC | 08:44 | |
tortoisedoc | iam : yes, correct | 08:45 |
tortoisedoc | 2222 | 08:45 |
*** Tuilu has quit IRC | 08:45 | |
iam | ok, so I need to add a public key then or use Qt Creator key from somewhere? | 08:45 |
iam | cd | 08:45 |
* iam types in to the wrong window | 08:46 | |
*** Tuilu has joined #sailfishos | 08:46 | |
*** artemma has joined #sailfishos | 08:47 | |
iam | ok, got it: ~/SailfishOS/vmshare/ssh/private_keys/engine | 08:48 |
iam | inside as root | 08:48 |
tortoisedoc | yes thats the key | 08:50 |
tortoisedoc | somewhere, I believe there is a guide for all of this | 08:51 |
*** tortoisedoc has quit IRC | 08:53 | |
*** rcg has joined #sailfishos | 08:53 | |
*** matt_1979 has joined #sailfishos | 08:55 | |
*** stephg has left #sailfishos | 08:55 | |
*** stephg has joined #sailfishos | 08:55 | |
iam | needed to patch /srv/mer/targets/SailfishOS-armv7hl/usr/lib/rpm/check-files to make this work | 08:59 |
iam | basically put an exit 0 in the beginning. This lets the build process create an RPM with "missing" files. | 08:59 |
iam | otherwise it complains that all the QML files are missing which are not because there are part of the binary as resources. | 09:00 |
*** master_o1_master has quit IRC | 09:00 | |
iam | all good. | 09:00 |
*** master_of_master has joined #sailfishos | 09:01 | |
*** jmlich has quit IRC | 09:01 | |
artemma | iam: you can just not list QML files in your .yaml, can't you? | 09:02 |
*** jmlich has joined #sailfishos | 09:03 | |
*** stephg has quit IRC | 09:04 | |
iam | artemma: nope, because yaml gets regenerated by Qt Creator and it puts /usr/share/PROJECT there | 09:04 |
*** trench_ is now known as trench | 09:05 | |
*** trench has joined #sailfishos | 09:05 | |
artemma | iam: Ah, I slap QtC hands when it tries modifying .yaml, so I am the only master of my .yaml :) | 09:05 |
iam | artemma: actually, during build it seems that all the QML files are copied for packaging anyway. So check-files script exits because those are not packaged. | 09:06 |
iam | so regardless of my .yaml file I get errors during the creation or RPM package. | 09:06 |
artemma | iam: they are copied, because INSTALLS in .pro tells it to be copied (possibly originated from sailfish.prf). You can change it if you like | 09:06 |
iam | artemma: but even if you did not reload the file it changes on disk. | 09:06 |
artemma | another trick I use when too tired to keep my INSTALLS clean, I create a fake subpackage in .yaml to keep all the garbage | 09:07 |
iam | artemma: good point about the .prf | 09:07 |
artemma | iam: yes, version control and .yaml always open in text editor save me. I Undo changes in text editor, and use VC as a last resort for reverting | 09:08 |
iam | that is my process too :) | 09:08 |
artemma | somebody (was it Aard?) told there will stop QtC from corrupting your .yamls in the future or at least make it an option | 09:08 |
iam | we need a tick box for that. | 09:09 |
artemma | anyway, your process works for you - fine. I prefer not modifying SDK scripts though | 09:09 |
iam | it is ok that it creates it once but should not touch it afterwards if not told so. | 09:09 |
tango_ | PageHeader needs to provide non-hidden access to titleItem | 09:10 |
iam | artemma: you can speed up the build process quite a lot by exit 0 from some of the scripts | 09:10 |
iam | who needs debug packages anyway ;) | 09:10 |
tango_ | I wanted a PageHeader that wraps, so I'm using _titleItem.wrapMode and stuff, I feel dirty because I assume _titleItem was intended to be private or something? | 09:10 |
*** dhbiker has joined #sailfishos | 09:11 | |
tango_ | btw is there a way to access the default (theme) background color? | 09:12 |
tango_ | (also: svg icons. yes? no? if not, why not?) | 09:13 |
*** piee has joined #sailfishos | 09:14 | |
*** wickwire has joined #sailfishos | 09:14 | |
iam | artemma: sailfishapp.prg has the INSTALL part for qml files. | 09:14 |
iam | so adding qml.files = xxx to my .pro file overrides the files I'm installing. No need to hack the scripts. | 09:19 |
*** piee has quit IRC | 09:22 | |
iam | tango: properties starting with _ are more or less private or at least not part of the API. So if you use them there is no guarantee they stay there. | 09:25 |
Andy80 | I've seen that putting two components inside an Item {} they're aligned horizontally. What's the difference with inserting these components in a Row {} instead? | 09:25 |
tango_ | iam: I know, and I don't like it, but the alternative presently would be to write a new PageHeader and I can't say I like that idea better | 09:26 |
iam | just use the _property and fix it if it breaks then :) | 09:27 |
tango_ | iam: yep, that's my idea. although exposing those properties is something that I would like to request | 09:28 |
tango_ | where is this done? | 09:28 |
tango_ | (aside from the SOS mailing list) | 09:28 |
*** b0bben has joined #sailfishos | 09:28 | |
* tango_ thinks sailfish os was chosen because of SOS, just like jolla, but that's an aside | 09:28 | |
*** gabriel9|work has quit IRC | 09:29 | |
*** rm_work is now known as rm_work|away | 09:30 | |
*** gabriel9|work has joined #sailfishos | 09:31 | |
iam | tango_: I think SOS is the way to go. Open up a discussion and who knows there might be alternative ways too. | 09:32 |
* tango_ not crazy about subscribing to YAML | 09:33 | |
*** mfulz has joined #sailfishos | 09:35 | |
mfulz | do I need to derive from QObject if I want to access a class object inside QML? | 09:35 |
Andy80 | I've found a problem with QtCreator and device managing... since I resetted my device, of course the ssh keys changed: I'm not able to deploy new keys so I had to remove the device from config and add again. Here another problem came: even if I had remove "SailfishOs Device", it looks like that name was busy already and I had to use "SailfishOs Device 2" | 09:38 |
Andy80 | is this a known issue? | 09:38 |
*** piee has joined #sailfishos | 09:39 | |
*** b0bben_ has joined #sailfishos | 09:39 | |
*** rcg has quit IRC | 09:40 | |
*** arcean has joined #sailfishos | 09:41 | |
*** piee has quit IRC | 09:41 | |
*** b0bben_ has quit IRC | 09:44 | |
*** Tuilu has quit IRC | 09:46 | |
*** Tuilu has joined #sailfishos | 09:46 | |
*** crevetor has joined #sailfishos | 09:47 | |
*** super_hirsute has joined #sailfishos | 09:49 | |
*** mk2soldier has joined #sailfishos | 09:57 | |
Andy80 | do you know if this property is avalable in "Label" component: wrapMode: Text.WrapAtWordBoundaryOrAnywhere ? | 10:01 |
crevetor | Yes it is | 10:01 |
Andy80 | I was using it on Harmattan, but it looks like it's not available on Silica | 10:01 |
Andy80 | uhm... but it's not working at all | 10:01 |
Andy80 | the text is not wrapped | 10:02 |
*** sequantz has joined #sailfishos | 10:02 | |
crevetor | let me check my sourcecode | 10:02 |
crevetor | wrapMode: Text.WrapAtWordBoundaryOrAnywhere | 10:02 |
crevetor | make sure your labels width is defined | 10:03 |
Andy80 | crevetor: maybe I've to set a width for the Label first? | 10:03 |
Andy80 | same time :D | 10:03 |
crevetor | something like width: parent.width | 10:03 |
Andy80 | crevetor: yep, in my case it will be something like parent.width - imageItem.width | 10:04 |
Andy80 | because I've an image on its left | 10:04 |
Andy80 | thanks :) | 10:04 |
*** KangOl has joined #sailfishos | 10:05 | |
crevetor | NP | 10:05 |
Andy80 | crevetor: uhm... just tried setting width, but the text still doesn't wrap and it's clearly longer than the available width | 10:07 |
*** faenil has joined #sailfishos | 10:09 | |
crevetor | hum | 10:11 |
*** c0ck4m0u53 has joined #sailfishos | 10:11 | |
Andy80 | crevetor: if you want I can commit the source and you can give it a look at the delegate... or I can simply paste the delegate somewhere on pastebin | 10:11 |
crevetor | Either works for me | 10:12 |
Andy80 | crevetor: here you have http://pastebin.com/pf7mU9H9 | 10:14 |
*** stephg has joined #sailfishos | 10:15 | |
*** Korthes has joined #sailfishos | 10:17 | |
*** artemma has quit IRC | 10:18 | |
*** Finleida has joined #sailfishos | 10:23 | |
*** matoking has joined #sailfishos | 10:25 | |
crevetor | maybe try doing anchors.fill: parent in your Component | 10:39 |
*** atiti has joined #sailfishos | 10:39 | |
*** arcean_ has joined #sailfishos | 10:42 | |
*** amonk has quit IRC | 10:44 | |
*** arcean has quit IRC | 10:46 | |
*** Superpelican_ has joined #sailfishos | 10:49 | |
*** Andy80 has quit IRC | 10:50 | |
*** Andy80 has joined #sailfishos | 10:51 | |
*** Andy80 has quit IRC | 10:56 | |
*** louisdk has joined #sailfishos | 10:59 | |
*** Andy80 has joined #sailfishos | 11:02 | |
*** jpetersen has joined #sailfishos | 11:02 | |
Superpelican_ | coderus: http://talk.maemo.org/showpost.php?p=1400617&postcount=17 and where would you find the Silica Page component .qml ? | 11:03 |
*** amonk has joined #sailfishos | 11:03 | |
*** DarkSim has joined #sailfishos | 11:03 | |
*** vitronic has joined #sailfishos | 11:04 | |
*** vitronic__ has quit IRC | 11:06 | |
jpnurmi | Andy80: the column doesn't have anchors.right specified | 11:06 |
*** ericcc has quit IRC | 11:07 | |
*** ericcc has joined #sailfishos | 11:07 | |
jpnurmi | Superpelican_: you can "follow the symbol" in creator | 11:08 |
Andy80 | jpetersen: thanks! I try right now and I tell you if it works :) | 11:15 |
walokra | has someone experienced problem with silicalistview and passing the selected item's index to other page? | 11:17 |
walokra | it's always something other than the actual | 11:18 |
Andy80 | jpetersen: anchors.right: parent.right, can be ok? | 11:18 |
jpnurmi | Andy80: sounds good. furthermore, you should remove any vertical anchors from the labels that are within a column | 11:19 |
Superpelican_ | jpnurmi: And how can I follow the symbols? | 11:20 |
jpnurmi | Andy80: it doesn't make sense to specify anchors.top or bottom for items in a column, because column positions its items vertically | 11:20 |
Andy80 | jpetersen: that's the point.... I tried without them and I had this bug: all items inside the Column where anchored to the top and they were all displayed in the same position | 11:21 |
w00t | Andy80: do you realise you're talking to the wrong person? :p | 11:22 |
Andy80 | w00t: sorry :P | 11:23 |
Andy80 | jpnurmi: sorry, it was for you the previous one :) | 11:23 |
*** jmlich has quit IRC | 11:23 | |
jpnurmi | Superpelican_: i'm not sure what the shortcut is on your system, but probably F2. you can just open a context menu over "Page" in the code editor | 11:24 |
cos- | has anyone managed to mount Jolla in Linux using MTP? | 11:24 |
jpnurmi | Andy80: usually a result of specifying "illegal" anchors within a positioner | 11:24 |
Superpelican_ | jpnurmi: I'm using KDE on openSUSE/Linux | 11:24 |
Superpelican_ | F2 doesn't seem to do anything | 11:24 |
*** Raim has quit IRC | 11:25 | |
Andy80 | jpnurmi: I try to reve them again and I paste you the file.... but before it was not working | 11:25 |
jpnurmi | Andy80: if you specify vertical anchors within a column, or horizontal anchors within a row... anchors and positioners and up fighting against each other and the result is somewhat random | 11:25 |
*** super_hirsute has quit IRC | 11:25 | |
jpnurmi | Andy80: (in that case you will get a warning in the debug output) | 11:25 |
Andy80 | jpnurmi: btw even QtCreator is complaining right now: [W] unknown:28 - file:///opt/sdk/SailSoma/usr/share/SailSoma/pages/ChannelsDelegate.qml:28:9: QML Column: Cannot specify top, bottom, verticalCenter, fill or centerIn anchors for items inside Column. Column will not function. | 11:26 |
Andy80 | exactly | 11:26 |
jpnurmi | yes, so don't do that :P | 11:26 |
Superpelican_ | Ah | 11:26 |
Superpelican_ | looks like I found the source of the Silica Components ;) | 11:26 |
Superpelican_ | with find | 11:26 |
Superpelican_ | "/usr/lib/qt5/qml/Sailfish/Silica" | 11:26 |
Superpelican_ | and Page.qml is in there :) | 11:27 |
*** b0bben_ has joined #sailfishos | 11:28 | |
Andy80 | jpnurmi: fixed as you said, warnings disappeared, thanks :) | 11:28 |
jpnurmi | np :) | 11:28 |
Andy80 | jpnurmi: I'm not very good yet with all these anchors, etc... QML stuff | 11:28 |
walokra | i also found qml positioning a bit challenging | 11:29 |
walokra | especially with long content lists/grids | 11:29 |
*** tattaraa has joined #sailfishos | 11:31 | |
*** zhost has joined #sailfishos | 11:31 | |
jpnurmi | walokra: btw, how do you set the current index/item if reading it gives wrong values? | 11:31 |
*** Frye has quit IRC | 11:31 | |
Superpelican_ | :'( | 11:32 |
*** b0bben_ has quit IRC | 11:32 | |
Superpelican_ | my Jolla doesn't appear to boot anymore | 11:32 |
Superpelican_ | well at least not the GUI | 11:32 |
Superpelican_ | hopefully I can still ssh | 11:33 |
walokra | like the imagegallery example shows or through signal. hmmm, it might be that the index is ok but the list is initialized too early | 11:33 |
Stskeeps | Superpelican_: what happened? / what symptoms do you see? | 11:33 |
Stskeeps | Superpelican_: are you on 1.0.2.5? | 11:33 |
Superpelican_ | yes | 11:33 |
Superpelican_ | black screen | 11:33 |
Superpelican_ | I added Page.qml | 11:33 |
Superpelican_ | tried a landscape orientation hack | 11:34 |
Stskeeps | that was not particularly smart | 11:34 |
Superpelican_ | Jolla doesn't seem to like that | 11:34 |
Superpelican_ | so | 11:34 |
Superpelican_ | can this be fixed with the recovery mode? | 11:34 |
Stskeeps | yes | 11:34 |
Stskeeps | you need to factory reset though | 11:34 |
Superpelican_ | phew | 11:34 |
Superpelican_ | ok | 11:34 |
Superpelican_ | well | 11:34 |
Superpelican_ | that's acceptable | 11:35 |
Stskeeps | see release notes how it can be done | 11:35 |
Superpelican_ | ok | 11:35 |
Superpelican_ | thanks | 11:35 |
Superpelican_ | where can I find the release notes? | 11:35 |
*** ericcc has quit IRC | 11:36 | |
Superpelican_ | Stskeeps: apparently it does boot | 11:36 |
Superpelican_ | Stskeeps: I can see the volume bar | 11:36 |
Superpelican_ | when pressing the volume keys | 11:36 |
Stskeeps | Superpelican_: https://together.jolla.com/question/3612/release-notes-software-update-2-1025-edit-28122013/ | 11:36 |
*** hulkkii has quit IRC | 11:37 | |
walokra | jpnurmi: the passed index with "main.pageStack.push(galleryPage, {currentIndex: index, model: galgrid.model});" shows the previous value in the gallerypage | 11:37 |
tattaraa | what manager I should use with ContactModel to see contacts from phonebook? | 11:38 |
walokra | oh wait. the 1st click shows it wrong. after that it works... strange | 11:39 |
jpnurmi | walokra: is that your code, or gallery example code? in any case that's pretty meaningless to me without any context :) | 11:39 |
walokra | my code but it uses the same basics as the gallery example | 11:40 |
Superpelican_ | Stskeeps: It hangs at the Jolla logo on the black screen when booting with the volume key pressed | 11:40 |
Superpelican_ | Stskeeps: Is that normal? | 11:40 |
Stskeeps | Superpelican_: yes | 11:40 |
Stskeeps | you now need to telnet to 10.42.66.66 | 11:40 |
Superpelican_ | ok | 11:40 |
Superpelican_ | at least KDE gave me a popup about a new wired connection | 11:40 |
Superpelican_ | Stskeeps: Does the recovery mode depend on GUI stuff? | 11:41 |
Superpelican_ | "Note: it is still possible to break the Recovery mode in developer mode." | 11:41 |
Stskeeps | Superpelican_: no, it is text basd | 11:41 |
Superpelican_ | :) | 11:41 |
Stskeeps | Superpelican_: as in, you can screw up your ability to recover | 11:41 |
Superpelican_ | Stskeeps: for example if you'd rm /bin or /lib ? | 11:42 |
Stskeeps | or overwrite recovery mode; or screw up btrfs | 11:42 |
Superpelican_ | :nod: | 11:42 |
Superpelican_ | Stskeeps: telnet doesn't seem to work | 11:43 |
Superpelican_ | it hangs at "Trying..." | 11:43 |
Stskeeps | try 192.168.2.15 then | 11:43 |
Superpelican_ | and the KDE network manager applet hangs at "Setting network address" for the new wired connection | 11:43 |
Stskeeps | set it manually to 192.168.2.14 perhaps | 11:43 |
Superpelican_ | Stskeeps: You mean 192.168.2.*15* ? | 11:44 |
Stskeeps | no | 11:44 |
Stskeeps | host side is 192.168.2.14 | 11:44 |
Stskeeps | device side is 192.168.2.15 | 11:44 |
Superpelican_ | ok | 11:44 |
Superpelican_ | that seems to work | 11:44 |
lbt | tbr: I fixed chum btw ... it looks like copyprj failed somehow :/ | 11:45 |
Superpelican_ | Stskeeps: ok, now in the recovery mode :) | 11:45 |
*** hulkkii has joined #sailfishos | 11:46 | |
tango_ | Superpelican_: why did you even hack Page.qml to add support for landscape? it does already | 11:46 |
tango_ | (after the recovery) | 11:46 |
Superpelican_ | Stskeeps: well coderus suggested so on TMO | 11:46 |
Superpelican_ | oops | 11:46 |
Superpelican_ | ^tango_ | 11:46 |
Superpelican_ | tango_: http://talk.maemo.org/showpost.php?p=1400617&postcount=17 | 11:46 |
Superpelican_ | Stskeeps: Can I also cp a file to my computer in recovery mode? | 11:47 |
Stskeeps | no | 11:47 |
Superpelican_ | well | 11:48 |
Superpelican_ | ok | 11:48 |
Superpelican_ | there was just one note I had, that I didn't have on my computer | 11:48 |
tbr | lbt: ok, tnx | 11:48 |
Superpelican_ | (another motivation for me to contribute to a notes app :) ) | 11:48 |
coderus | tango_: to have landscape in all appps :) | 11:48 |
tbr | lbt: worked now | 11:48 |
Superpelican_ | (to add sync) | 11:48 |
cos- | media codec people: these files don't work in sailfish (says my friend) http://sisuguild.fi/~juuba/jolla/ | 11:49 |
tango_ | coderus: apps that don't actually have some form of support for orientation will NOT gain anything anyway though | 11:49 |
wickwire | Is sailfishOS supposed to be open at this time, as in available sources? | 11:51 |
*** c0ck4m0u53 has quit IRC | 11:51 | |
Superpelican_ | Stskeeps: I assume the "devicelock code" is not the SIM card code? | 11:51 |
Superpelican_ | I don't have a device lock code set | 11:52 |
coderus | tango_: im qlso fixing open layouts | 11:52 |
Superpelican_ | coderus: Can I also add the "allowedOrientations: Orientation.All" property to a sailfish-browser specific file instead of the general Silica Components? | 11:53 |
Superpelican_ | I'm not going to touch system files again | 11:53 |
coderus | Superpelican_: sure, but you need to fix browser qml layout :) | 11:54 |
Superpelican_ | coderus: Can't you just stretch the existing portrait bottom toolbar? | 11:54 |
coderus | im quite busy with mitakuuluu | 11:54 |
Superpelican_ | I'd be fine with that | 11:54 |
coderus | will hack system qml in new year :) | 11:55 |
Superpelican_ | ok | 11:55 |
coderus | Superpelican_: issue n8t in toolbar | 11:55 |
coderus | issue in page itseft | 11:56 |
Superpelican_ | ok | 11:56 |
Superpelican_ | coderus: Do you know the devicelock code if none is set? | 11:56 |
coderus | there serious bugs in landscape when opening keyboard | 11:56 |
*** artemma has joined #sailfishos | 11:57 | |
*** matt_1979 has quit IRC | 11:57 | |
coderus | Superpelican_: sorry, i have no jolla dwvice :) | 11:57 |
Superpelican_ | :( | 11:57 |
coderus | im not european :D | 11:57 |
Andy80 | last time I used C++ and QML together was with BB10, do you know if this way of "connecting" them is still valid https://github.com/andreagrandi/CuteSoma/blob/bb10/main.cpp (in particular lines 15 and 33), thanks :) | 11:58 |
w00t | context properties work | 11:59 |
w00t | you can also expose a singleton type, with QtQuick2 | 11:59 |
Superpelican_ | w00t: Do you know what the devicelock code is, when none is set? | 11:59 |
w00t | see http://qt-project.org/doc/qt-5.0/qtqml/qqmlengine.html#qmlRegisterSingletonType | 12:00 |
Stskeeps | sure you didn't set one at some point? | 12:00 |
tattaraa | should I be able to get contacts from phonebook with QtContacts 5.0? | 12:00 |
Superpelican_ | Stskeeps: No, I haven't set a device lock code | 12:00 |
Superpelican_ | and my SIM lock code is not accepted either | 12:00 |
Superpelican_ | so now only 2 tries left :( | 12:00 |
*** DarkSim_ has joined #sailfishos | 12:00 | |
Stskeeps | 00000? | 12:00 |
Superpelican_ | so it's 5 chars? | 12:01 |
tango_ | yep | 12:01 |
* artemma doesn't like singletons unless there's a very clear reason. Way harder to automatically test code relaying on singletons | 12:01 | |
Superpelican_ | Stskeeps: that didn't work | 12:01 |
coderus | tattaraa: sure, why not? | 12:01 |
Stskeeps | Superpelican_: hmm | 12:01 |
*** Andy80_ has joined #sailfishos | 12:02 | |
Stskeeps | Superpelican_: has your device been in anybody else's hands or is it second hand? | 12:02 |
tattaraa | coderus: any idea what I should use as manager in ContactModel? | 12:02 |
*** sdjayna1 has joined #sailfishos | 12:02 | |
*** b0bben has quit IRC | 12:02 | |
Superpelican_ | nope | 12:02 |
Superpelican_ | brand new | 12:02 |
Superpelican_ | a pre-order device | 12:02 |
Andy80_ | sorry my client crashed | 12:02 |
*** furikku_ has joined #sailfishos | 12:02 | |
Stskeeps | Superpelican_: can you pastebin what it told you exactly? | 12:02 |
w00t | artemma: i don't see how a context property singleton is any different from a qml-side singleton in terms of testing, except that one will require manually injecting the context properties into every engine your tests require | 12:02 |
*** maninc has joined #sailfishos | 12:03 | |
*** nwoki_ has joined #sailfishos | 12:03 | |
w00t | artemma: singletons also have better performance than context properties, as the engine doesn't know the type of the context property, it does in the case of the singleton | 12:03 |
Superpelican_ | Stskeeps: http://pastebin.kde.org/pgzkcxr3r | 12:03 |
coderus | tattaraa: i cant answer now | 12:03 |
*** ahiemstra_ has joined #sailfishos | 12:03 | |
*** c0ck4m0u53 has joined #sailfishos | 12:03 | |
*** jjanvier_ has joined #sailfishos | 12:04 | |
Stskeeps | Superpelican_: ok, can you see if you can get the USB popup to happen in normal boot? | 12:04 |
*** hulkkii has quit IRC | 12:04 | |
coderus | Andy80_: qt qml communicating is same | 12:04 |
*** louisdk has quit IRC | 12:04 | |
*** b0bben has joined #sailfishos | 12:05 | |
artemma | w00t: yes, I am into injecting everything. Including singleton injection if I have to use one (e.g. for performance reason) | 12:05 |
*** mattaust1n has joined #sailfishos | 12:05 | |
*** boud_ has joined #sailfishos | 12:05 | |
*** grejppi_ has joined #sailfishos | 12:05 | |
*** Dima^ has joined #sailfishos | 12:05 | |
*** qwazix_nc has joined #sailfishos | 12:05 | |
*** qwazix_nc has quit IRC | 12:05 | |
*** qwazix_nc has joined #sailfishos | 12:05 | |
*** Waitee_ has joined #sailfishos | 12:05 | |
*** Vostok_ has joined #sailfishos | 12:05 | |
*** narchie_ has joined #sailfishos | 12:05 | |
*** dhbiker_ has joined #sailfishos | 12:05 | |
tattaraa | coderus: default ("") does not seem to work as I get error that database can not be opened. The path seems correct: /home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite | 12:05 |
*** kontio_ has quit IRC | 12:05 | |
*** phako_ has joined #sailfishos | 12:06 | |
*** kontio has joined #sailfishos | 12:06 | |
*** kontio has quit IRC | 12:06 | |
*** kontio has joined #sailfishos | 12:06 | |
tattaraa | coderus: maybe relating to privileges | 12:06 |
*** Juice__ has joined #sailfishos | 12:06 | |
*** Korthes has quit IRC | 12:06 | |
*** sdjayna has quit IRC | 12:06 | |
*** Andy80 has quit IRC | 12:06 | |
*** DarkSim has quit IRC | 12:06 | |
*** qwazix has quit IRC | 12:06 | |
*** boud has quit IRC | 12:06 | |
*** phako has quit IRC | 12:06 | |
*** Dima has quit IRC | 12:06 | |
*** fk_lx has quit IRC | 12:06 | |
*** Waitee has quit IRC | 12:06 | |
*** grejppi has quit IRC | 12:06 | |
*** Juice___ has quit IRC | 12:06 | |
*** maninc_ has quit IRC | 12:06 | |
*** mattaustin has quit IRC | 12:06 | |
*** ryokale has quit IRC | 12:06 | |
*** Vostok has quit IRC | 12:06 | |
*** dhbiker has quit IRC | 12:06 | |
*** jjanvier has quit IRC | 12:06 | |
*** furikku has quit IRC | 12:06 | |
*** ahiemstra has quit IRC | 12:06 | |
*** nwoki has quit IRC | 12:06 | |
*** narchie has quit IRC | 12:06 | |
*** qwazix_nc is now known as qwazix | 12:06 | |
tbr | irc weather: hot and splitty | 12:06 |
w00t | artemma: i still don't follow: a singleton is a callback function called when the engine wants to instantiate the type you registered - so injection (through on-demand calling) is basically what it is | 12:07 |
atlaz | with a lesser chance of reconnect | 12:07 |
coderus | tattaraa: im always using qt codw. i can look in qml later if nobody answer | 12:07 |
*** narchie_ is now known as narchie | 12:07 | |
w00t | artemma: what do you not like about this? | 12:07 |
Superpelican_ | Stskeeps: What happens when you have used all tries? | 12:08 |
*** fk_lx has joined #sailfishos | 12:08 | |
Superpelican_ | maybe it's 0000 | 12:08 |
*** hulkkii has joined #sailfishos | 12:08 | |
Superpelican_ | (4 chars) | 12:08 |
Yaniel | pin code? | 12:08 |
artemma | w00t: that's injection enough for me if you pass the factory instantiation method in somehow (e.g. via config). Think if you want to test your code with a fake singleton. If it's easy, that's injection enough to me | 12:09 |
w00t | artemma: have you actually used QML singletons? | 12:09 |
*** ryokale has joined #sailfishos | 12:10 | |
w00t | take a look at the example: http://qt-project.org/doc/qt-5.0/qtqml/qqmlengine.html#qmlRegisterSingletonType | 12:10 |
*** Juice__ has quit IRC | 12:10 | |
artemma | w00t: Used them like once I think. Via a shared variable in JS #pragma llibrary. | 12:10 |
w00t | that's not what I'm talking about | 12:10 |
*** Juice__ has joined #sailfishos | 12:12 | |
artemma | w00t: thanks, didn't know about this. Could be useful for e.g. constants. Testability.. don't know, will need to think | 12:12 |
Stskeeps | Superpelican_: just reboot | 12:12 |
*** SfietKonstantin is now known as Sfiet_Konstantin | 12:13 | |
*** sequantz has quit IRC | 12:14 | |
Superpelican_ | ok | 12:14 |
Superpelican_ | that's reassuring | 12:14 |
*** pixraider has quit IRC | 12:15 | |
*** b0bben has quit IRC | 12:15 | |
Superpelican_ | Stskeeps: http://pastebin.kde.org/pjtpvvoou | 12:16 |
Superpelican_ | so it's also not 0000 | 12:16 |
*** zhxt has quit IRC | 12:17 | |
*** jstaniek has joined #sailfishos | 12:17 | |
Stskeeps | Superpelican_: ok, see if you can get a usb notification | 12:17 |
*** Andy80_ has quit IRC | 12:17 | |
*** Andy80_ has joined #sailfishos | 12:18 | |
Superpelican_ | Stskeeps: And how would I get one? | 12:18 |
Stskeeps | well, plug your device into a pc | 12:19 |
Superpelican_ | Stskeeps: In normal mode? | 12:19 |
*** iam has quit IRC | 12:19 | |
Stskeeps | yes | 12:19 |
*** iam has joined #sailfishos | 12:20 | |
*** b0bben has joined #sailfishos | 12:20 | |
Superpelican_ | Stskeeps: I pressed some button in recovery mode and then I got this: http://pastebin.kde.org/pdsgn1db6 | 12:21 |
Superpelican_ | are does commands for recovery mode? | 12:21 |
Stskeeps | what did you press, out of curiousity? | 12:21 |
Stskeeps | :P | 12:21 |
Superpelican_ | I think ESC or CTRL+C | 12:22 |
Superpelican_ | I'm not sure | 12:22 |
Superpelican_ | I'll try again | 12:22 |
*** Andy80_ has quit IRC | 12:23 | |
*** Sviox has joined #sailfishos | 12:24 | |
Sviox | Hi all | 12:24 |
Superpelican_ | Stskeeps: Apparently typing "restore-lock --is-set" as devicelock code also triggers it | 12:26 |
*** wickwire has quit IRC | 12:26 | |
Superpelican_ | Stskeeps: And there isn't another way to authenticate? | 12:27 |
Superpelican_ | To tell that I'm actually sitting next to my own device :P | 12:28 |
Stskeeps | Superpelican_: give me a moment.. | 12:28 |
Superpelican_ | Maybe with my Jolla account? | 12:28 |
Stskeeps | are you sure you aren't being queried for a code in general on bootup? | 12:28 |
Superpelican_ | well | 12:29 |
Superpelican_ | yes | 12:29 |
Superpelican_ | my SIM card code | 12:29 |
Stskeeps | tried with that one? | 12:29 |
Superpelican_ | and I tried that code | 12:29 |
Sviox | Can anyone tell me what's the difference between QML SilicaWebView and regular WebView? Is SilicaWebView just something experimental or actually usable? | 12:30 |
*** Morpog_PC has joined #sailfishos | 12:33 | |
Sviox | Also, since I'm a bit noobie with QML side of Qt, is is possible to run QGraphicsWidget based content inside Silica page or is this something that is 'not worth it'? | 12:33 |
Superpelican_ | Sviox: IIRC using QGraphicsWidget with QML isn't a good idea | 12:33 |
Sviox | Okay, kind of feared that would be the case. | 12:34 |
Superpelican_ | Stskeeps: Maybe Sailfish appends a char to your SIM code if you don't set your own devicelock code? | 12:34 |
tango_ | Sviox: I think the Silica* stuff over the standard QML stuff is simply more integrated into sailfish, and supports stuff like the pulley menus | 12:34 |
Superpelican_ | maybe devicelock_code = simcode + 0 | 12:34 |
*** b0bben has quit IRC | 12:35 | |
Stskeeps | Superpelican_: shouldn't be.. | 12:35 |
Sviox | tango_: Would an embedded control need such support? I think it should come from page control already. | 12:35 |
*** b0bben has joined #sailfishos | 12:36 | |
Sviox | But then again, it might allow theming support or something like that.. | 12:36 |
tango_ | Sviox: you can look at /usr/lib/qt5/qml/Sailfish/Silica/SilicaWebView.qml to see what it does | 12:38 |
lbt | Sviox: you cannot use any QWidget stuff in store apps (and it makes little sense for most device apps too). Themes are handled using https://sailfishos.org/sailfish-silica/qml-sailfishsilica-theme.html | 12:38 |
hene- | does anyone knows is there someone developing different themes for sailfish? | 12:38 |
Sviox | tango_: On target device/env or sdk? I'm using win8 at the moment. | 12:39 |
tango_ | well I look at it on the device 8-) | 12:39 |
tango_ | probably inside the emulator would be fine too | 12:39 |
*** b0bben has quit IRC | 12:40 | |
Sviox | Okay. Any tools recommendations for digging into the emulator? I guess FileZilla would work via SSH. | 12:40 |
Superpelican_ | Sviox: But NEVER edit the .qmls in /usr/lib/qt5/qml/Sailfish/Silica/ ;) | 12:41 |
Sviox | Of course :) | 12:41 |
Superpelican_ | Sviox: Still facing the consequences over here :( | 12:42 |
Sviox | Though I suppose it wouldn't be as bad as editing such files on N9 due to Aegis? Merely packaging issues when updating package containing the files - right? | 12:42 |
*** sequantz has joined #sailfishos | 12:43 | |
*** Superpelican_ has quit IRC | 12:44 | |
*** iam has quit IRC | 12:44 | |
*** Superpelican_ has joined #sailfishos | 12:49 | |
*** Andy80_ has joined #sailfishos | 12:49 | |
*** wickwire has joined #sailfishos | 12:49 | |
*** Superpelican_ has quit IRC | 12:50 | |
*** stephg has quit IRC | 12:51 | |
*** phlixi has quit IRC | 12:52 | |
*** s1gk1ll_ is now known as s1gk1ll | 12:53 | |
*** Andy80_ has quit IRC | 12:53 | |
*** grejppi_ is now known as grejppi | 12:55 | |
*** GeneralAntilles has quit IRC | 13:02 | |
tango_ | two question | 13:04 |
tango_ | s | 13:04 |
*** b0bben has joined #sailfishos | 13:04 | |
tango_ | (1) silica: are these available for the desktop to toy around? | 13:04 |
*** GeneralAntilles has joined #sailfishos | 13:05 | |
tango_ | (2) is there some uri scheme that addresses directly the app data folder (/usr/share/appname/ usually)? | 13:05 |
*** phlixi has joined #sailfishos | 13:05 | |
*** Raim has joined #sailfishos | 13:05 | |
*** super_hirsute has joined #sailfishos | 13:05 | |
*** b0bben_ has joined #sailfishos | 13:06 | |
Raim | hey, shouldn't `pkcon what-provides /bin/sh' give me the package that installed this file? | 13:07 |
Raim | on the other hand a 'pkcon search file /bin/sh' returns bash, but I guess the latter queries the available packages, not what is actually installed locally? | 13:07 |
Raim | oh well, rpm -qf works. I think I misunderstood the pkcon help. | 13:10 |
*** phako_ has quit IRC | 13:10 | |
*** phako has joined #sailfishos | 13:10 | |
matoking | At the moment I have a Page with an Image, PinchArea and Flickable | 13:13 |
matoking | When the image has the scale of 1, the Flickable has working bounds, so that the image snaps correctly to the edges when I flick it around | 13:13 |
matoking | However, if it's bigger than 1 I can flick past the image's border on bottom and I can't flick to the image's border on top | 13:15 |
matoking | So, regardless of what scale the Image has, Flickable should have the exact same bounds as the image | 13:15 |
matoking | The Image seems to scale as if it had transformOrigin of Item.Center | 13:16 |
matoking | Whereas the Flickable's bounds scale as if it had a transformOrigin of Item.TopLeft | 13:16 |
*** b0bben has quit IRC | 13:20 | |
*** b0bben has joined #sailfishos | 13:21 | |
*** jpetersen has quit IRC | 13:21 | |
*** b0bben has quit IRC | 13:25 | |
*** zhost has quit IRC | 13:29 | |
*** fk_lx has quit IRC | 13:29 | |
*** RoKenn has joined #sailfishos | 13:30 | |
*** Sarvi has joined #sailfishos | 13:30 | |
*** fk_lx has joined #sailfishos | 13:31 | |
*** Zotan has joined #sailfishos | 13:32 | |
*** Zotan has quit IRC | 13:32 | |
entil | how do I figure out which repo jolla-messages belongs to? more to the point, I'd need it on the emulator and can't seem to find it | 13:35 |
tbr | I don't think system apps are available in the emulator | 13:48 |
entil | I'll see what I can do then | 13:48 |
*** Andy80_ has joined #sailfishos | 13:49 | |
*** Andy80_ has quit IRC | 13:54 | |
*** Zotan has joined #sailfishos | 13:58 | |
matoking | My QML file is an abomination but it happens to do what I set out to do | 13:59 |
matoking | Success? | 13:59 |
entil | hey whoah, no idea about the security models here, but it created the commhistory db for me, complaining it can't do contacts | 14:04 |
entil | this is good enough for me for now | 14:04 |
entil | on the fs it seems nemo should be able to access his contacts but whatever | 14:04 |
*** jjarven has quit IRC | 14:05 | |
*** Andy80_ has joined #sailfishos | 14:07 | |
entil | this api is inoptimal :P | 14:08 |
entil | the groups have many remote uids but I can query only for one | 14:08 |
entil | so it appears if I have a group of many remote uids I need to query all the groups of every one of those uids and cross-check them to see if any set of that group has all the remote uids I'm querying for | 14:09 |
entil | and if so, use that, otherwise create a new one | 14:10 |
*** tattaraa has quit IRC | 14:10 | |
*** Zotan has quit IRC | 14:10 | |
entil | sounds like pain when the alternative would be to query for a group with all given remote uids.. | 14:10 |
*** Zotan has joined #sailfishos | 14:10 | |
*** Waitee_ is now known as Waitee | 14:10 | |
*** Korthes has joined #sailfishos | 14:11 | |
Andy80_ | what is the best way to add an existing .c or .h file to a SailFish project? I'd like to add it where main.cpp is, but if I use File->Add File, it creates me a new folder and add it using absolute path... a mess I would like to avoid | 14:13 |
matoking | @Andy80_ Copy them to the project directory using a normal file manager and then adding the files to the ProjectName.pro file? | 14:14 |
jpnurmi | Andy80_: personally, i like editing the .pro file by hand | 14:14 |
*** Tumex_ has joined #sailfishos | 14:15 | |
Andy80_ | good idea, I was going to do it in the same way, I just wanted to be sure it was a suggested way :) thanks! | 14:16 |
*** zmc has quit IRC | 14:17 | |
lbt | Andy80_: typically the .pro file has a HEADERS list too | 14:17 |
ottulo | for some reason running on device "pkcon --help-all" has same output as "pkcon -h" | 14:17 |
ottulo | I remember having all the options listed before, but not anymore | 14:17 |
Pnuu | ottulo: just do pkcon | 14:18 |
Pnuu | without parameters | 14:18 |
ottulo | Pnuu: ah, that helps | 14:19 |
ottulo | still, I find it odd that "--help-all" won't list everything like it claims to do | 14:19 |
*** jpetersen has joined #sailfishos | 14:19 | |
*** Korthes has quit IRC | 14:20 | |
*** jjarven has joined #sailfishos | 14:21 | |
mfulz | does someone know if / how I can use a QObject derived class inside a qlist? AFAIK the copy constructor of qobject is private? | 14:21 |
Andy80_ | lbt: fixed, thanks :) | 14:25 |
Andy80_ | another question: previously I had this in my .pro file, to use QtMultimedia: | 14:25 |
Andy80_ | CONFIG += mobility | 14:25 |
Andy80_ | MOBILITY += multimedia | 14:26 |
Andy80_ | has the import changed? | 14:26 |
jpnurmi | in qt5, there's no "mobility" anymore | 14:26 |
w00t | QT += multimedia | 14:26 |
jpnurmi | you can do "QT += multimedia" if you use it in c++ | 14:26 |
jpnurmi | but the import should work without that | 14:26 |
jpnurmi | just "import QtMultimedia 5.0" instead of something mobility | 14:27 |
Andy80_ | jpnurmi: I'm using it from C++ | 14:28 |
Andy80_ | argh... another compilation error: has "#include <QDomDocument>" changed name? Or do I need a particular include/import before including it? | 14:30 |
jpnurmi | Andy80_: check the gray box at http://qt-project.org/doc/qt-5/qdomdocument.html | 14:31 |
Andy80_ | jpnurmi: right... I'm missing "xml" :) | 14:32 |
*** isto has joined #sailfishos | 14:33 | |
Andy80_ | yay :) | 14:33 |
Andy80_ | all cpp/.h stuff imported and it can compile too, nice! | 14:34 |
*** zhost has joined #sailfishos | 14:34 | |
*** Venemo has joined #sailfishos | 14:39 | |
suy | jpnurmi: maybe you can bring qtassistant here, so we can !rtfm too :) | 14:41 |
jpnurmi | sure :) | 14:42 |
*** qtassistant has joined #sailfishos | 14:42 | |
Andy80_ | :D | 14:42 |
suy | qtassistant: !tell jpnumi he rocks :D | 14:42 |
jpnurmi | she's shy :) | 14:43 |
jpnurmi | !rtfm qdomdocument | 14:43 |
Merbot | jpnurmi: Error: "rtfm" is not a valid command. | 14:43 |
DevBot | jpnurmi: Error: "rtfm" is not a valid command. | 14:43 |
qtassistant | jpnurmi: QDomDocument Class | QtXml 5.2 - http://qt-project.org/doc/qt-5/qdomdocument.html | 14:43 |
valdur55 | wtf | 14:43 |
*** Korthes has joined #sailfishos | 14:43 | |
suy | Oh my | 14:43 |
valdur55 | !help | 14:43 |
Merbot | valdur55: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. | 14:43 |
qtassistant | valdur55: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. | 14:43 |
DevBot | valdur55: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. | 14:43 |
jpnurmi | heh | 14:44 |
*** isto has quit IRC | 14:44 | |
*** Zotan has quit IRC | 14:44 | |
*** phako has quit IRC | 14:44 | |
Andy80_ | a QQuickView has rootContext, but it's a read-only propery. If I want to set it like I was doing here: viewer.rootContext()->setContextProperty("serverComm", &sc); how could I do? This is for me a main difference. I mean... previously I was using a QmlApplicationViewer, now we use a QQuickView. Am I missing something? | 14:45 |
jpnurmi | Andy80_: it's read-only in the sense that there's no way to change the whole root context ie. do something like viewer.setRootContext(...) but viewer.rootContext()->setContextProperty(...) works fine | 14:47 |
Andy80_ | jpnurmi: yes, but I don't have a QmlApplicationViewer there... I only have a QQuickView and if I do view.rootContext()->setContextProperty("serverComm", &sc); it gives me this error: /Users/andrea/Projects/sailsoma/main.cpp:14: error: 'class QScopedPointer<QQuickView>' has no member named 'rootContext' | 14:49 |
Andy80_ | maybe I should get the viewer object from the QQuickView? | 14:49 |
*** Zotan has joined #sailfishos | 14:50 | |
*** phako has joined #sailfishos | 14:50 | |
jpnurmi | perhaps you're missing an include? did you include <QScopedPointer> and <QQuickView> ? | 14:50 |
Andy80_ | jpnurmi: no the include is there. This is what I'm doing (complete main.cpp) http://pastebin.com/18MkAFpd | 14:51 |
jpnurmi | !rtfm qquickview::rootcontext | 14:51 |
Merbot | jpnurmi: Error: "rtfm" is not a valid command. | 14:51 |
DevBot | jpnurmi: Error: "rtfm" is not a valid command. | 14:51 |
jpnurmi | argh | 14:51 |
qtassistant | jpnurmi: QQuickView Class | QtQuick 5.2 - http://qt-project.org/doc/qt-5/qquickview.html#rootContext | 14:51 |
* jpnurmi already forgot :p | 14:51 | |
*** tanghus has quit IRC | 14:52 | |
Andy80_ | jpnurmi: I did read that part but it says it's const, so I can't modify it :/ or probably there is something else I don't understand | 14:52 |
jpnurmi | Andy80_: what about viewer->rootContext() | 14:53 |
Andy80_ | jpnurmi: again.... I don't have a viewer in my main.cpp and I don't know how to get it from QQuickView | 14:53 |
jpnurmi | Andy80_: it just means that calling QQuickView::rootContext() doesn't change the state of QQuickView itself, and can be called via const pointer | 14:53 |
jpnurmi | Andy80_: doh, i mean view->rootContext() :) | 14:53 |
*** b0bben has joined #sailfishos | 14:54 | |
Andy80_ | jpnurmi: that's what I'm doing :) view.rootContext()->setContextProperty("serverComm", &sc); | 14:54 |
Andy80_ | and that's what is giving me the error | 14:54 |
jpnurmi | nope, view->rootContext() with an arrow operator | 14:55 |
lbt | depending on * settings view->rootContext()->setContextProperty("MyObj", myobj); | 14:55 |
Andy80_ | I'm BLIND -.- | 14:55 |
Andy80_ | nope... | 14:57 |
Andy80_ | neither view->rootContext()->setContextProperty("serverComm", sc); works | 14:57 |
Andy80_ | I get this: /Users/andrea/Projects/sailsoma/main.cpp:14: error: invalid use of incomplete type 'struct QQmlContext' | 14:57 |
jpnurmi | #include <QQmlContext> | 14:58 |
*** b0bben has quit IRC | 14:59 | |
Andy80_ | finally :) | 14:59 |
Andy80_ | it was &sc anyway | 15:00 |
Andy80_ | but I was missing that include | 15:00 |
Andy80_ | now it compiles! | 15:00 |
Andy80_ | I should really include you in credits guys :) | 15:00 |
*** Tuilu has quit IRC | 15:01 | |
*** tanghus has joined #sailfishos | 15:01 | |
Andy80_ | got to go to buy some food now, see you later and thanks, thank you so much for the help! | 15:02 |
*** Tuilu has joined #sailfishos | 15:02 | |
Sviox | Hmm, after I created a crash on my app (accidentally), I can no longer build my project: ":Could not connect to MerSDK Virtual Machine. The remote host closed the connection" - is this to be expected on regular app crash? Any ideas what happened? | 15:04 |
*** sebastian has joined #sailfishos | 15:04 | |
otto_ | Do anybody of you use GMail? Am I the only one missing an "Archive" action in the e-mail client? | 15:06 |
*** KangOl has quit IRC | 15:06 | |
sunkan | I don't understand why my packages was rejected, shouldn't I be able to link with libstdc++? I am not including any libraries in my .rpm: see http://paste.debian.net/73265/ | 15:06 |
*** cvp has joined #sailfishos | 15:08 | |
suy | sunkan: maybe the packaging is trying to use some explicit std lib version? you are of course going to link to libstdc++ indirectly anyway | 15:11 |
sunkan | suy: So I should remove requirements for standard libs, should I remove all of them or just stdc++ one may wonder then? | 15:12 |
*** Andy80_ has quit IRC | 15:13 | |
suy | sunkan: I haven't looked at the RPM packaging yet, but if I recall properly, in Debian some stuff gets added automatically. If you link against Qt, the standar library will come automatically | 15:13 |
suy | I assume RPM does the same, or similar | 15:13 |
*** sebastian has left #sailfishos | 15:13 | |
sunkan | Yes, all the requirements has been added by the rpm packaging itself. I just don't understand what I should remove if I should remove stuff manually. | 15:14 |
veskuh | suy, yes, something like that. So the lib shouldnt be in requires section. Just have it like BuildRequires: pkgconfig(..) and that should be enough | 15:14 |
veskuh | sunkan, did you check .yaml ? | 15:15 |
*** KangOl has joined #sailfishos | 15:17 | |
sunkan | I can't see that stdc++ is mentioned in either .yaml or .spec - but the rejection suggests that I should add an exclusion. If I had my own lib I would understand what it's about, but this is stdc++ | 15:19 |
Sviox | Anyone know if there is a funky way in Qt to convert QVariant to QGenericArgument? If not, I'll have to do a rather long list of if else conditions... | 15:19 |
w00t | Sviox: Q_ARG (mentioned in the docs for QGenericArgument) | 15:21 |
sunkan | It even says in the FAQ that you can link against stdc++ and that you are not allowed to have requires on libs that are not listed (stdc++ being listed) | 15:21 |
Sviox | w00t: nope, that demands type information | 15:21 |
sunkan | Then the opposite should be true that it is allowed to have a requirement on libstdc++.so.6 | 15:22 |
Sviox | i.e. I can do if( expectedArgumentTypes[j] == "QString" ) arg[j] = Q_ARG( QString, arguments[j].toString() ); | 15:22 |
Sviox | Where arguments is a list of QVariant | 15:22 |
w00t | Sviox: Q_ARG(QVariant, val)? | 15:22 |
Sviox | w00t: tested that - it won't auto-convert types.. i.e. receiver must have explicit QVariant as argument type. | 15:23 |
w00t | well, yes | 15:23 |
Sviox | I'm trying to create a function that automatically uses the receiving objects function signature so I won't have to do QVariant parsing on each function ;) | 15:24 |
Sviox | And it's already working like a charm for QString, but I need to if-else all other types I want to support... | 15:25 |
entil | I think I found a real bug in the Group api, wtf | 15:25 |
entil | if (!remoteUid.isEmpty()) q+= "Groups.remoteUids = :remoteuid "; | 15:26 |
entil | uhh, shouldn't that be LIKE '%%'; instead? | 15:26 |
Venemo | hey guys | 15:26 |
entil | in commhistory's src/databaseio.cpp | 15:26 |
sunkan | If I ad | 15:30 |
sunkan | add "AutoReqProv: no" to the .spec file it does not add the requirements, so I suppose that is what they really want me to do.. | 15:31 |
artemma | Is there a way to somehow push an app from APPROVED to PUBLISHED? Maybe a personal hint by somebody? :) | 15:37 |
* artemma wants to see his flashlight downloaded by people ASAP and so that I could submit an update before the New Year | 15:37 | |
Venemo | w00t: ping | 15:37 |
w00t | Venemo: pong | 15:37 |
*** fuz_ has quit IRC | 15:38 | |
*** Superpelican_ has joined #sailfishos | 15:40 | |
*** RoKenn has quit IRC | 15:40 | |
Venemo | w00t: is there an existing solution for aggregating multiple models into one? | 15:42 |
w00t | talk to jpnurmi ;) | 15:42 |
Venemo | he said there isn't, yet | 15:42 |
jpnurmi | Venemo: i found something called RowsJoinerProxy | 15:43 |
Venemo | jpnurmi: oh. is it a part of Qt? | 15:43 |
jpnurmi | Venemo: there isn't yet support for multiple connections in IrcBufferModel, but that's also on the way | 15:43 |
jpnurmi | Venemo: nope :) | 15:43 |
Superpelican_ | Stskeeps: Have you come across something interesting related to the devicelock/recovery problem? | 15:44 |
Venemo | jpnurmi: great! it seems that nesting repeaters just doesn't work in the way I had hoped, so I will check out this RowsJoinerProxy thing | 15:45 |
Stskeeps | Superpelican_: if you have not set a device lock code and you are not being asked for it at startup normally; it's a device we'd very much like to take a look at in service. i can only recommend trying to boot it up normally, plug in usb to device and computer, and hope a notification shows up where you can select PC mode/developer mode | 15:49 |
Superpelican_ | Stskeeps: ok thanks :) | 15:50 |
Superpelican_ | Stskeeps: notifications seem to work | 15:50 |
Stskeeps | and then ssh into the device , provided you know your ssh password | 15:50 |
Superpelican_ | Stskeeps: For example I still get the volume notification | 15:50 |
Superpelican_ | Stskeeps: That was the first thing I tried of course ;) | 15:50 |
Superpelican_ | I added the .qml over a ssh connection ;) | 15:51 |
*** Superpelican_ has quit IRC | 15:51 | |
*** Superpelican_ has joined #sailfishos | 15:51 | |
Superpelican_ | s/added/edited | 15:51 |
Stskeeps | Superpelican_: okay, so can you see if you can get into the device when it's booted normally? | 15:52 |
Superpelican_ | Stskeeps: well, that's the point that didn't work | 15:52 |
Superpelican_ | I got a "no route to host" | 15:52 |
Superpelican_ | Then I started to think about the recovery mode | 15:52 |
Superpelican_ | I could try again | 15:53 |
Stskeeps | Superpelican_: okay, when you plug in the device to the PC, in normal mode, does it pop up a selection for different modes? | 15:53 |
*** matoking has quit IRC | 15:54 | |
*** PeterPark has joined #sailfishos | 15:57 | |
Superpelican_ | Stskeeps: got the dialog :) | 15:57 |
Stskeeps | good, set it to PC mode and configure your host side to 192.168.2.14 and ssh to 192.168.2.15 | 15:57 |
Superpelican_ | Stskeeps: And what should I do now? | 15:57 |
Stskeeps | nemo@192.168.2.15 that is | 15:57 |
Superpelican_ | Stskeeps: eh | 15:57 |
*** cdp has joined #sailfishos | 15:57 | |
Superpelican_ | won't I end up in recovery mode again then? | 15:58 |
Stskeeps | no | 15:58 |
Superpelican_ | Or should I choose developer mode? | 15:58 |
Stskeeps | choose developer mode | 15:58 |
Superpelican_ | oh | 15:59 |
Superpelican_ | I just chose PC mode | 15:59 |
Superpelican_ | hey | 15:59 |
Superpelican_ | this is actually the first time | 15:59 |
Superpelican_ | it mounts | 15:59 |
Stskeeps | ssh in, please | 15:59 |
Superpelican_ | ok :) | 15:59 |
Stskeeps | and devel-su to root | 15:59 |
*** jmlich has joined #sailfishos | 15:59 | |
Venemo | how the hell can I connect the jolla to the SDK? | 16:00 |
Venemo | the SDK gives me a timeout when I try to connect | 16:00 |
Venemo | ah, I had to increase the timeout | 16:00 |
Venemo | lol | 16:00 |
Superpelican_ | Stskeeps: ssh'ing in doesn't seem to work | 16:01 |
Stskeeps | Superpelican_: should, if you have pc mode | 16:01 |
Superpelican_ | Stskeeps: Also I'm not getting a wired connection in the network manager applet | 16:01 |
Superpelican_ | like in recovery | 16:01 |
Stskeeps | err.. actually | 16:01 |
Stskeeps | 'developer mode', not pc mode | 16:01 |
Stskeeps | sorry | 16:01 |
Stskeeps | try again | 16:01 |
Superpelican_ | ok | 16:02 |
*** tanghus has quit IRC | 16:02 | |
*** Korthes has quit IRC | 16:02 | |
Superpelican_ | Jolla now says "Developer mode in use" | 16:02 |
Stskeeps | good | 16:02 |
Superpelican_ | ok | 16:02 |
Stskeeps | now you should see a wired connection you have to configure to be ip 192.168.2.14 | 16:02 |
Superpelican_ | network manager applet now says "Portable Media Player" connected | 16:02 |
Superpelican_ | going to ssh in now | 16:02 |
locusf | hmm "Deploy as RPM package" builds ok but fails while running: "QPixmap: Must construct a QApplication before a QPaintDevice", works ok though when tapping the icon on device | 16:02 |
Superpelican_ | Stskeeps: Ok I'm in :) | 16:03 |
Stskeeps | Superpelican_: OK, devel-su | 16:03 |
Superpelican_ | already done | 16:03 |
Superpelican_ | all my files are still there | 16:03 |
Superpelican_ | Stskeeps: Where can I retrieve a fresh copy of Page.qml? | 16:03 |
Stskeeps | Superpelican_: cat /dev/mmcblk0p27 > mmcblk0p27.dump | 16:04 |
Stskeeps | and scp mmcblk0p27.dump away from the device, and mail me it at carsten.munk@jolla.com | 16:04 |
Sfiet_Konstantin | Morpog_Mobile: ping ? | 16:05 |
*** fuz_ has joined #sailfishos | 16:05 | |
Morpog_PC | Sfiet_Konstantin, pong | 16:08 |
*** gabriel9|work has quit IRC | 16:10 | |
Sfiet_Konstantin | Morpog_PC: thought about my icon request ? | 16:11 |
Sfiet_Konstantin | (the one I sent like 5s before going to sleep, two days ago ?) | 16:11 |
Morpog_PC | request, where? | 16:11 |
Sfiet_Konstantin | I'm thinking about pushing Friends to store | 16:11 |
Sfiet_Konstantin | a modified icon for Friends | 16:11 |
Morpog_PC | with changed color? | 16:12 |
Sfiet_Konstantin | (and first I need to thank you for proposing icons :)) | 16:12 |
Sfiet_Konstantin | and without the f. Instead with two people | 16:12 |
Sfiet_Konstantin | (just like the contact app on harmattan, but two people | 16:12 |
Sfiet_Konstantin | ) | 16:12 |
Morpog_PC | ah ok, haven't seen that | 16:12 |
Yaniel | what is it? | 16:12 |
Sfiet_Konstantin | and about color, stay blueish, but you are free to go to blue-green, or purple | 16:12 |
Sfiet_Konstantin | Yaniel: Friends is a Facebook client for Sailfish OS | 16:13 |
Sfiet_Konstantin | Morpog_PC is a very kind person who have done some icons proposal | 16:13 |
Sfiet_Konstantin | :) | 16:13 |
Morpog_PC | heeh, yeah it's fun doing icons :D | 16:13 |
locusf | Morpog_PC is featured as icon designer for my app too :) | 16:14 |
*** zmc has joined #sailfishos | 16:14 | |
Sfiet_Konstantin | hello locusf o/ | 16:14 |
locusf | Sfiet_Konstantin: heya | 16:14 |
*** promulo has joined #sailfishos | 16:14 | |
Superpelican_ | locusf: me too | 16:14 |
Superpelican_ | :) | 16:14 |
locusf | Superpelican_: nice :) | 16:14 |
locusf | real DIT work here then :) | 16:14 |
Sfiet_Konstantin | fun that Friends is actually a huge unit-test for nemo-qml-plugin-social next branch :D | 16:14 |
Superpelican_ | locusf: http://ubuntuone.com/1VLIEETttTBZeX6YlipHSb | 16:15 |
locusf | Superpelican_: ok nice :) | 16:15 |
Superpelican_ | That's Morpog's awesome Clamshell hacked by me on top of the default icon ;) | 16:15 |
Superpelican_ | Does anyone know where Whippler's Note app stores it's notes? | 16:16 |
Superpelican_ | I already looked in the /usr/share/ | 16:16 |
Sfiet_Konstantin | Superpelican_: look in standard home directories: | 16:17 |
Sfiet_Konstantin | like /home/nemo/.local/share | 16:17 |
Superpelican_ | ok thanks :) | 16:19 |
Superpelican_ | Sfiet_Konstantin: thanks I found it | 16:20 |
Superpelican_ | unfortunately everything is saved in a SQLite DB | 16:21 |
Sfiet_Konstantin | Superpelican_: install sqliteman if you are lazy | 16:21 |
Sfiet_Konstantin | use sqlite cmd line if you are not | 16:21 |
*** Kabouik has joined #sailfishos | 16:28 | |
*** Kabouik has quit IRC | 16:28 | |
*** boud_ is now known as boud | 16:31 | |
*** b0bben_ has quit IRC | 16:32 | |
Superpelican_ | Stskeeps: Is that dump supposed to take only about half a second? | 16:32 |
*** mfulz has quit IRC | 16:38 | |
*** mfulz has joined #sailfishos | 16:38 | |
*** Ruslan has joined #sailfishos | 16:41 | |
Ruslan | Jolla is cute :) Just received the device | 16:41 |
Superpelican_ | Ruslan: Congrats :) | 16:41 |
Superpelican_ | Stskeeps: Mail sent :) | 16:42 |
*** b0bben has joined #sailfishos | 16:42 | |
Ruslan | the only thing I can't understand - how to use/activate xmpp account, but I consider it's better to go to #sailfish for this? | 16:43 |
Ruslan | aargh, and I always try to use n9's gestures for screen's unlocking) | 16:44 |
*** zmc has quit IRC | 16:44 | |
*** b0bben has quit IRC | 16:46 | |
*** super_hirsute has quit IRC | 16:46 | |
Superpelican_ | Stskeeps: BTW: device fixed my undoing my change of Page.qml :D | 16:47 |
mfulz | when passing an instance of an object to qml via setContextProperty will the application call the destructor of the class on exit or do I need to call that somewhere on my own? | 16:49 |
*** fuz_ has quit IRC | 16:50 | |
Ruslan | oh, I've seen 'components gallery' in the Emulator, how can I install this one to Jolla? | 16:53 |
*** coderus_ has joined #sailfishos | 16:54 | |
coderus_ | hey, my server down, i was offline in irc | 16:54 |
coderus_ | something interesting happened? | 16:54 |
Ruslan | coderus_: do you know how to install 'components gallery' to Jolla? | 16:55 |
Ruslan | I've seen this one application in the emulator | 16:55 |
walokra | it's in qt ide examples | 16:56 |
coderus_ | Ruslan: sailfish-components-gallery-qt5 | 16:56 |
*** promulo has quit IRC | 16:56 | |
*** Superpelican_ has quit IRC | 16:56 | |
*** promulo has joined #sailfishos | 16:57 | |
*** Superpelican_ has joined #sailfishos | 16:57 | |
*** triggerhappy has quit IRC | 16:57 | |
coderus_ | i still have problem ; my binaries not being stripped after compiling, how can i force stripping in spec file or etc.? | 16:57 |
Ruslan | coderus_: thanks, can you also tell me what package tool is used? | 16:57 |
Ruslan | looks like it's not zypper | 16:57 |
Superpelican_ | coderus_:Well I fixed my Jolla :) | 16:57 |
coderus_ | Ruslan: pkcon install sailfish-components-gallery-qt5 | 16:57 |
Superpelican_ | with awesome help from Stskeeps :) | 16:57 |
Ruslan | coderus_: thanks) | 16:57 |
coderus_ | with no root | 16:57 |
coderus_ | Superpelican_: so, what the problem it was? | 16:58 |
Superpelican_ | Well | 16:58 |
Superpelican_ | I had edited Page.qml | 16:58 |
*** jjanvier_ has quit IRC | 16:58 | |
Superpelican_ | and when I rebooted almost the whole GUI was gone | 16:58 |
Superpelican_ | the orange notifications were the only things that worked | 16:58 |
Ruslan | coderus_: oh no, I've meant not 'Gallery' component, but an Example application | 17:02 |
*** fuz_ has joined #sailfishos | 17:05 | |
*** guest1441 has quit IRC | 17:08 | |
mfulz | are there some sip apps already for jolla? | 17:11 |
Ruslan | oh | 17:12 |
Ruslan | is there an strace for sailfish somewhere? | 17:12 |
faenil | Ruslan, yes, "ssu ar mer-tools" and "pkcon install strace" ;) | 17:12 |
Ruslan | faenil: how should I run ssu? | 17:14 |
Ruslan | [D] NetworkService::setPath:447 - void NetworkService::setPath(const QString&) "Method "GetProperties" with signature "" on interface "net.connman.Service" doesn't exist | 17:14 |
*** louisdk has joined #sailfishos | 17:15 | |
lbt | Ruslan: that's just noise | 17:17 |
faenil | Ruslan, I think can ignore that | 17:17 |
Ruslan | faenil: but 'pkcon install strace' fails | 17:18 |
lbt | pkcon refresh | 17:18 |
faenil | yeah, refresh ? | 17:18 |
faenil | s/?/^ | 17:18 |
Ruslan | trying | 17:18 |
Ruslan | lbt, faenil: great, thanks | 17:19 |
faenil | np | 17:19 |
*** cvp has quit IRC | 17:21 | |
Morpog_PC | Sfiet_Konstantin, hmm I'm not sure if I like what I just produced :D | 17:29 |
*** paju has joined #sailfishos | 17:31 | |
Morpog_PC | Sfiet_Konstantin, http://abload.de/img/harbour-friends0lu5c.png | 17:32 |
*** b0bben has joined #sailfishos | 17:32 | |
*** softmetz|away is now known as softmetz | 17:33 | |
*** softmetz is now known as softmetz|away | 17:34 | |
*** softmetz|away is now known as softmetz | 17:35 | |
Sfiet_Konstantin | Morpog_PC: I like the two guys | 17:35 |
Sfiet_Konstantin | not the shape though | 17:35 |
Sfiet_Konstantin | but it is a really good start | 17:35 |
Sfiet_Konstantin | Still thinking about the round or store-like shape | 17:36 |
Morpog_PC | whats with the shape? | 17:36 |
Morpog_PC | ah ok | 17:36 |
Sfiet_Konstantin | Morpog_PC: nothing: personnal taste about the shape :D | 17:36 |
Morpog_PC | hmm, hard to get those 2 guys in those shapes | 17:36 |
Sfiet_Konstantin | colors are too Facebookish | 17:37 |
Sfiet_Konstantin | desature a bit and use a greener tone ? | 17:37 |
Sfiet_Konstantin | cut the neck of one guy :D | 17:37 |
Sfiet_Konstantin | (especially the neck of the smaller guy: here is a friend, so not really important | 17:37 |
Sfiet_Konstantin | Facebook is about you isn't it :D | 17:37 |
w00t | Elleo: ping | 17:38 |
Elleo | w00t: pong? | 17:38 |
w00t | mind a /msg? | 17:39 |
Elleo | sure | 17:39 |
Morpog_PC | lol Sfiet_Konstantin | 17:39 |
Sfiet_Konstantin | Morpog_PC: :D | 17:43 |
*** b0bben has quit IRC | 17:45 | |
*** b0bben has joined #sailfishos | 17:46 | |
Morpog_PC | Sfiet_Konstantin, hmmm http://abload.de/img/harbour-friendsueuv5.png | 17:55 |
Sfiet_Konstantin | Morpog_PC: I see the problem | 17:56 |
*** Andy80 has joined #sailfishos | 17:56 | |
Sfiet_Konstantin | how about this, not sure if this is works: mirrors the shape, so the neck of "friend" is not cut anymore, put "me" more in the center, and reduce "friend" a bit | 17:57 |
Andy80 | good news guys, I've just done a quick test and the music streaming works :) | 17:58 |
Pnuu | how about "me" in the center and couple of friends in the background | 17:58 |
*** leszek has joined #sailfishos | 17:59 | |
ottulo | Morpog_PC: tilt the picture so both guys appear from the lower right corner? | 17:59 |
ottulo | sure it'd look funny, but that's the point :D | 18:00 |
ottulo | then you can round both upper corners and the lower left one | 18:00 |
Morpog_PC | will have a look later, need to go eating asian food now :D | 18:01 |
Sfiet_Konstantin | Morpog_PC: nom nom | 18:01 |
Sfiet_Konstantin | Pnuu: not bad idea either | 18:01 |
Morpog_PC | yep, but one last one: http://abload.de/img/harbour-friends1zps5k.png | 18:01 |
Morpog_PC | I can feel you don't like the shape :) | 18:02 |
Pnuu | as it's "friends" not "a friend" ;-) | 18:02 |
Sfiet_Konstantin | Morpog_PC: hehe | 18:02 |
Sfiet_Konstantin | I don't like the shape :D | 18:02 |
Morpog_PC | :D | 18:02 |
Morpog_PC | ok, bbl | 18:02 |
Sfiet_Konstantin | bbl :) | 18:03 |
*** softmetz has quit IRC | 18:03 | |
Sviox | On the component gallery example, why is PullDownMenu declared inside SilicaWebView and not Page? | 18:04 |
*** softmetz has joined #sailfishos | 18:04 | |
coderus_ | Sviox: because PullDown/PushUp should be declared inside Silica component | 18:04 |
coderus_ | read docs properly | 18:05 |
Sviox | Okay.. I'm trying to add a menu for my own app onto a subpage but for some reason it's not working. I've tried putting it under page and under SilicaWebView. | 18:07 |
Sviox | My main page also has the menu - is there some restriction in regards to subpages? | 18:09 |
*** crevetor has quit IRC | 18:14 | |
*** arcean_ is now known as arcean | 18:14 | |
*** crevetor has joined #sailfishos | 18:15 | |
Sviox | A small addition to my issue: the menu works fine unless a ViewPlaceholder is shown | 18:19 |
Ruslan | Sviox: how do you show ViewPlaceholder? Where do you place it? | 18:20 |
Ruslan | inside SilicaWebView or not? | 18:20 |
Sviox | Inside | 18:20 |
*** Naranek has quit IRC | 18:21 | |
Sviox | I show it via a condition on ViewPlaceHolder's enabled property | 18:21 |
Sviox | Does ViewPlaceholder have it's own menu? | 18:23 |
Ruslan | no, it doesn't | 18:23 |
Sviox | Oh wait, I think I know what's wrong.. does opacity attribute get inherited by the menu? | 18:24 |
Ruslan | I suppose yes | 18:25 |
*** Andy80 has quit IRC | 18:25 | |
Sviox | Okay, I playd a bit with the placeholder and if I put it inside, anything on it also went transparent.. so propably this is causing my issues. | 18:25 |
*** Andy80 has joined #sailfishos | 18:26 | |
Sviox | What's the right way to hide the actual view? | 18:26 |
Ruslan | Is there any way to stop PathView from looping? I want to get it forbidden in some cases | 18:26 |
*** babochkazifa has joined #sailfishos | 18:26 | |
*** babochkazifa has quit IRC | 18:27 | |
Ruslan | Sviox: does WebView produce any content if url property is invalid? | 18:28 |
Sviox | Haven't tried, good question.. | 18:30 |
*** Andy80 has quit IRC | 18:30 | |
*** b0bben_ has joined #sailfishos | 18:31 | |
Sviox | Ruslan: with no url/empty string I get error elsewhere in code - seem that some standard properties do no exist. But with "about:blank" as url a blank white page is shown with no content and everything wlse works fine. | 18:34 |
*** leszek has quit IRC | 18:34 | |
*** b0bben_ has quit IRC | 18:35 | |
Ruslan | Sviox: nice | 18:36 |
Sviox | Gosh I hate WebView's lack of API.. Used to the convinience of QGraphicsWebView. | 18:37 |
*** Andy80 has joined #sailfishos | 18:37 | |
*** zmc has joined #sailfishos | 18:40 | |
Sviox | I got the pulldown to work, but a problem remains that it's not looking good painted on top of the web view. I would need to hide it, but that would also hide the menu... | 18:41 |
*** b0bben has quit IRC | 18:44 | |
Sviox | Also, at least on emulator, I can't use the menu when starting the drag from the placeholder's content area. The documents say "If the view has an associated PullDownMenu, tapping on the ViewPlaceHolder text will peek at the menu to indicate to the user that options may be available in the menu." and I see this "indication", but it's not very great to be forced to drag from outside the | 18:44 |
Sviox | placeholder text telling user to pull down... | 18:44 |
Ruslan | Sviox: you may try to create SilicaFlicable with the placeholder and the same menu as sibling of the WebView | 18:46 |
Ruslan | and set visible to zero for one of them in a time | 18:46 |
*** Frye has joined #sailfishos | 18:46 | |
Sviox | You mean having SilicaWebView and SilicaFlicable on the same level as siblings and having placeholder under the later? | 18:49 |
*** nsuffys has joined #sailfishos | 18:49 | |
Andy80 | does anyone know how to access basic icons in Jolla? For example the Play/Pause ones... In Harmattan I did: source: "image://theme/icon-m-toolbar-mediacontrol-play" + (theme.inverted ? "-inverse" : "") | 18:52 |
Elleo | Andy80: same way, just with new icon names | 18:53 |
Elleo | Andy80: have a look in /usr/share/themes/jolla-ambient/meegotouch/icons/ for the icons | 18:53 |
Andy80 | Elleo: yes, but where I can find the new names? Is there a table/list somewhere? | 18:53 |
Andy80 | on the device? | 18:53 |
Elleo | e.g. image://theme/icon-m-play | 18:54 |
Elleo | Andy80: yeah | 18:54 |
Elleo | presumably on the emulator too | 18:54 |
Andy80 | Elleo: thanks | 18:54 |
Elleo | no problem :) | 18:54 |
*** softmetz is now known as softmetz|away | 18:56 | |
Ruslan | Sviox: yes | 18:56 |
Sviox | Okay, seems to work. Thanks Ruslan :) Now if I only got the other million small things to work properly ;) | 18:59 |
*** joecool has joined #sailfishos | 18:59 | |
mfulz | does someone get the debugger runnin with the emulator? | 19:00 |
*** Sarvi has quit IRC | 19:01 | |
Ruslan | mfulz: I've started gdb manually by ssh | 19:03 |
*** joecool has quit IRC | 19:05 | |
coderus_ | Mitakuuluu updated to v0.1-10. many bugs fixied and some features added. | 19:06 |
Ruslan | coderus_: don't you know how to deny PathView to loop from first to last element in case of swiping to 'previous one'? | 19:07 |
coderus_ | Ruslan: not to use PathView | 19:08 |
coderus_ | its designed to be looped | 19:09 |
coderus_ | use ListView inside Flickable | 19:09 |
*** Sfiet_Konstantin has quit IRC | 19:09 | |
mfulz | Ruslan: on the phone itself? | 19:10 |
Ruslan | the idea was to simulate book's pages as items in PathView (so I have to flip them in such way that only one page is visible simultaneously). but the main problem is that I don't always know how many there pages in the book | 19:11 |
Ruslan | as books can be really large and it may spent some seconds until I determine their count | 19:11 |
coderus_ | Ruslan: make Flickable with DragAndOvershootBounds behaviour. look for contentX and make pages changing. | 19:12 |
Ruslan | mfulz: what the question is about? I've tested both on the phone and in the emulator | 19:12 |
mfulz | ok basically I wanted to run debugging from qtcreator | 19:15 |
mfulz | but it's hanging forever on launching | 19:15 |
Ruslan | mfulz: that's why I've ran it manually( | 19:15 |
mfulz | ok and do you know how to get debugging symbols into it? | 19:16 |
mfulz | CONFIG+=debug is set but no symbols :( | 19:16 |
*** Peter90 has joined #sailfishos | 19:17 | |
coderus_ | mfulz: did you get debug or debugsource packages near? | 19:17 |
Ruslan | coderus_: looks interesting but how this helps to simulate PathView.SnapOneItem mode? | 19:18 |
mfulz | sorry what do you mean? | 19:18 |
mfulz | ah yes I see the packages are build but seems not deployed to the device | 19:19 |
*** Pnuu has quit IRC | 19:20 | |
*** Sfiet_Konstantin has joined #sailfishos | 19:21 | |
Andy80 | I'm still quite lost with these anchors and stuff :/ I attach the top of an item to the bottom of the parent and I find the item at the top of the page... that's non sense.. | 19:22 |
mfulz | what do I need to do to get them to the device? | 19:22 |
fk_lx | Andy80: well I had similar situations but in the end there was always some logical explanation why such things happen and in the end the fault was on my side | 19:24 |
fk_lx | Andy80: in other words good luck in digging | 19:24 |
Ruslan | coderus: oh, my fault, ListView also has snapMode property | 19:25 |
Andy80 | fk_lx: I assume it's my fault, it's just that I find it difficoult to understand why wome things happen | 19:25 |
*** furikku_ has quit IRC | 19:26 | |
Andy80 | if I commit the code, can anyone try to give it a look? I'm pretty sure it's a very stupid mistake somewhere... | 19:27 |
*** Sfiet_Konstantin has quit IRC | 19:27 | |
*** Pnuu has joined #sailfishos | 19:27 | |
fk_lx | Andy80: I can have a look | 19:27 |
fk_lx | Andy80: although I don't know if I will be able to help | 19:27 |
Andy80 | in my old code I worked around just using abolute margins/positions, but it's very weird | 19:27 |
Andy80 | ok, give me just a couple of minutes... I need to properly commit the changes | 19:27 |
*** artemma has quit IRC | 19:27 | |
fk_lx | Andy80: sure, no need to hurry | 19:28 |
*** artemma has joined #sailfishos | 19:28 | |
coderus_ | Ruslan: Flixkable will return you to bounds. Same animation with "Snap" ;) | 19:28 |
Ruslan | coderus_: I already see, thank you | 19:30 |
*** artemma has quit IRC | 19:30 | |
Ruslan | it works nicely | 19:30 |
Andy80 | fk_lx: here is the page https://github.com/andreagrandi/sailsoma/blob/master/pages/ChannelPlayer.qml | 19:31 |
*** Sfiet_Konstantin has joined #sailfishos | 19:31 | |
*** wickwire has quit IRC | 19:32 | |
*** jmlich has quit IRC | 19:33 | |
mfulz | how can I install a local rpm package? | 19:33 |
Bysmyyr | pkcon install *.rpm | 19:33 |
Bysmyyr | if I remember right | 19:34 |
mfulz | ah install-local is the key :) | 19:34 |
*** Sfiet_Konstantin has quit IRC | 19:34 | |
Bysmyyr | maybe better :) | 19:34 |
fk_lx | Andy80: ok, let me see | 19:36 |
Andy80 | fk_lx: I'm doing some experiments in the mean time... always in time to revert changes | 19:37 |
fk_lx | ok | 19:37 |
fk_lx | Andy80: I'm thinking about cloning project and seeing what actually is wrong | 19:38 |
Andy80 | fk_lx: sure, feel free to do it :) | 19:38 |
Andy80 | let me try an easier test... instead of defining the main parent as Item, I want to define it as Column... at least the items will follow the Column rules... | 19:41 |
*** arcean has quit IRC | 19:45 | |
Andy80 | nope :/ | 19:45 |
coderus_ | any hack to catch received SMS and read its content? :) | 19:48 |
*** b0bben has joined #sailfishos | 19:48 | |
*** rcg has joined #sailfishos | 19:51 | |
Ruslan | coderus_: isn't telepathy used for sms in sailfish? | 19:52 |
coderus_ | maybe. i;ll check it, thanks :) | 19:53 |
raa70 | gonna automate mitä kuuluu auth? | 19:54 |
coderus_ | sure | 19:54 |
*** b0bben_ has joined #sailfishos | 19:55 | |
*** Fazu has joined #sailfishos | 19:55 | |
*** Finleida has quit IRC | 19:57 | |
coderus_ | thanks, got it from dbus, no harbour restrictions for that ;) | 19:57 |
*** faenil has quit IRC | 19:57 | |
coderus_ | but i'm not sure... | 19:58 |
coderus_ | its seems to be n9 adaptation component | 19:58 |
coderus_ | org.ofono.MessageManager | 19:58 |
coderus_ | can anyone confirm? | 19:58 |
*** b0bben_ has quit IRC | 20:00 | |
coderus_ | is there org.ofono on your system bus? | 20:00 |
Ruslan | let's check | 20:01 |
coderus_ | or can you start dbus-monitor on session and system buses and receive sms and check is there anything related to sms in output please? | 20:02 |
Ruslan | $ /usr/lib/qt5/bin/qdbus --literal --system org.ofono | 20:04 |
Ruslan | / | 20:04 |
Ruslan | /ril_0 | 20:04 |
Ruslan | /ril_0/context1 | 20:04 |
Ruslan | /ril_0/operator | 20:04 |
Ruslan | /ril_0/operator/25001 | 20:04 |
Ruslan | is it one you want? | 20:04 |
Ruslan | I have org.ofono on the device | 20:04 |
rcg | evening | 20:05 |
rcg | any idea why a mouse area is not responding to double clicks? | 20:05 |
rcg | onClicked, onLongPress works but for some reason onDoubleClicked doesn't | 20:05 |
*** b0bben has quit IRC | 20:05 | |
*** b0bben has joined #sailfishos | 20:06 | |
*** matoking has joined #sailfishos | 20:06 | |
matoking | Hey | 20:06 |
matoking | Is there a QML object like PageStack that works well outside the ApplicationWindow? | 20:07 |
lbt | outside? | 20:09 |
matoking | I mean | 20:09 |
matoking | I want to create a PageStack that's independent of the application's main PageStack | 20:10 |
*** b0bben has quit IRC | 20:10 | |
lbt | it's usually better to explain what you want to achieve that you can't | 20:11 |
matoking | Okay, I have one page on the application's main PageStack | 20:12 |
matoking | That page contains a header and possibly some other things | 20:13 |
matoking | And a PageStack that works like the normal one except without the indicator that automatically pops up on the top-left corner | 20:13 |
matoking | Sailfish UI design-wise it's probably very non-orthodox :P | 20:15 |
*** arcean has joined #sailfishos | 20:16 | |
Ruslan | coderus_: I've received sms's message from dbus | 20:16 |
Ruslan | are you still interested in? | 20:16 |
lbt | matoking: I'm afraid I don't understand what you're trying to do | 20:17 |
matoking | Okay | 20:17 |
matoking | I have a Page with a header | 20:17 |
matoking | Under it is a PageStack which displays a list of files, each directory opening into a new Page inside this PageStack | 20:18 |
matoking | It's independent of the application's own PageStack which this page lies on | 20:19 |
matoking | I'm still not making any sense, am I? :P | 20:19 |
matoking | Okay, the Page which has the PageStack with all the pages displaying the directories | 20:21 |
matoking | uses the application's own PageStack for opening Settings, About and other miscellaneous pages | 20:21 |
lbt | you're describing implementation | 20:21 |
lbt | not objective | 20:22 |
matoking | Oh | 20:22 |
jpnurmi | perhaps a horizontal list view would do. each delegate would have the size of a page, and set the snap mode so that it will snap to a an item | 20:22 |
lbt | matoking: are you drilling into a list? | 20:22 |
lbt | and back out | 20:22 |
matoking | @lbt It contains basically a list of items that open up into new lists of items | 20:23 |
lbt | I'm hearing filebrowser terms - it may be that you have a heirarchical model and a single page which simply displays the current node with a parent node (for back) | 20:24 |
matoking | Yes, that's the kind of program I'm planning on doing | 20:24 |
lbt | right ... so Page is not really relevant although you may like to take some design and interaction cues from it | 20:24 |
lbt | create a component (probably a Page based one) which displays a header and then a SilicaListView of entries | 20:26 |
lbt | The delegate should either open a file (file) or reset the Page current node (dir) | 20:26 |
lbt | animate for fun and profit | 20:27 |
cos- | has anyone managed to install avahi-daemon for sailfish? looks like the package is not available by default | 20:27 |
Ruslan | cos-: I even don't see it in the repos | 20:28 |
matoking | @lbt Thanks, I'll look into what I'll do | 20:28 |
matoking | I did get the PageStack working somewhat | 20:28 |
Venemo | hey guys, here's some food for thought about the developer experience of Jolla: https://together.jolla.com/question/7029/idea-developer-experience-dev-device-programs-etc/ | 20:28 |
lbt | matoking: PageStack is unlikely to fit - I doubt it wants to drill to arbitrary depths | 20:29 |
cos- | Ruslan: i don't see why it couldn't be build & used. i'd like to ssh to myjolla.local everywhere.. | 20:29 |
*** itbaron has quit IRC | 20:29 | |
lbt | cos-: no ... from what I see there's an old porting attempt here https://build.merproject.org/package/files?package=avahi&project=home%3Anotmart%3AAvahi | 20:29 |
lbt | it appears to depend on gtk3 so good luck with that :D | 20:30 |
*** Finleida has joined #sailfishos | 20:30 | |
cos- | lbt: hm, probably due to gui tools. the daemon shouldn't need gtk | 20:30 |
lbt | it's certainly worth pursuing | 20:31 |
tango_ | is there a list model in qml to enumerate the objects defined in some particular namespace? | 20:31 |
lbt | tango_: yes | 20:32 |
tango_ | e.g. say that I have a number of QMLs in a directory "somedir", can I import "somedir" and somehow traverse the list of QMLs there to query them for properties? | 20:32 |
tango_ | lbt: can you give me some pointers, my google-foo is not helping me | 20:32 |
*** Finleida has quit IRC | 20:32 | |
lbt | tango_: ah - wrong kind of list model | 20:32 |
lbt | but have you seen qmldir file | 20:33 |
tango_ | lbt: yeah but I cannot open a random file in a qml | 20:33 |
tango_ | oh wait | 20:33 |
lbt | http://www.kdab.com/qml-engine-internals-part-1-qml-file-loading/ has some links which may help | 20:35 |
tango_ | hm those are actually qml files themselves? | 20:35 |
tango_ | hm | 20:35 |
tango_ | let me see | 20:35 |
lbt | I think you need to introspect QML from C++ | 20:35 |
tango_ | yeah, apparently you can't do that from QML | 20:36 |
tango_ | actually you can do some introspection from QML itself because if you pass an object as a model you get its properties as items | 20:37 |
*** Peter90 has quit IRC | 20:37 | |
tango_ | but I can't seem to find a trivial way to get the list of objects defined in a namespace | 20:37 |
tango_ | maybe from javascript? | 20:37 |
lbt | what's the goal ? | 20:39 |
lbt | integration with C++ is pretty easy :) | 20:40 |
tango_ | lbt: mostly I'm just toying around to see how far can I go with pure qml to buildan app | 20:40 |
tango_ | lbt: and this just because the compiler in the mersdk vbox segfaults | 20:40 |
lbt | ! | 20:40 |
lbt | first I've heard of that | 20:40 |
lbt | what are you doing wrong? | 20:41 |
tango_ | while for a pure qml app I just drop the sources in ~/src/appname, symlink ~/src/appname into /usr/share/ and I'm done | 20:41 |
tango_ | lbt: nothing. the segfault happens with the example problem created by the qtcreator in the sdk | 20:41 |
tango_ | lbt: I suspect vbox doesn't play nice with my old core2duo | 20:41 |
lbt | is that older than a centrino2 ? | 20:42 |
tango_ | no idea | 20:42 |
lbt | me neither :) | 20:42 |
tango_ | it might be new enough for vbox to think it can use some features that it can't really use though | 20:42 |
tango_ | who knows | 20:42 |
tango_ | I'm not even sure this is the problem | 20:42 |
tango_ | I also don't feel like pursuing this much further, since I won't have time to dedicate to it in the upcoming days | 20:43 |
lbt | FWIW my laptop is a centrino2 which google suggests == core2duo and it works fine | 20:43 |
lbt | np | 20:43 |
tango_ | well, it _is_ a problem because I would have loved to port sgt-puzzles to sos | 20:43 |
tango_ | now I will just design the main index ui in qml and leave it at that | 20:44 |
*** Superpelican_ has quit IRC | 20:44 | |
rcg | tango_, uhm.. technically, vbox should be a (or at least very close to) full virtualization which actually means that it's nearly impossible to cause hickups inside the vm cause by the host cpu | 20:44 |
tango_ | (all mobile oses should have an sgt-puzzles port) | 20:44 |
tango_ | rcg: true that, but then why the fsck would the mersdk compiler segfault with the default sample? | 20:44 |
tango_ | I have some very strange messages re. the apic | 20:45 |
rcg | lbt, please correct me if i am mistaken, but that'd be the first time i hear of something host cpu specific causing a segfault in a vbox vm | 20:45 |
lbt | yes | 20:45 |
tango_ | rcg: if vbox thinks it can use some cpu features in virtualizations, but those cpu features don't work correctly, it WILL cause random problems on the vm | 20:45 |
lbt | we had something about misreporting cpu capabilities a while back | 20:45 |
rcg | tango_, i'd double check the sdk setup | 20:45 |
rcg | and in the worst case start over with a fresh install | 20:45 |
rcg | of the sdk, i.e. | 20:46 |
tango_ | rcg: as I said, I do not have enough free time to tinker around with this, otherwise I would | 20:46 |
rcg | tango_, but please be aware that you need to delete some stuff on you host system if you do so, just to really get a fully fresh install | 20:46 |
tango_ | I'm not even on the machine with the sdk now, because I'm not well enough to sit at my desk | 20:46 |
rcg | tango_, alright | 20:46 |
tango_ | rcg: yeah, I read the FAQ 8-) | 20:46 |
rcg | tango_, hehe, aye :) | 20:47 |
tango_ | I'd have to purge the ~/.Sailfishwhatever dirs too | 20:47 |
lbt | tango_: well, when you have time, inclination and health... do yell :) | 20:47 |
tango_ | lbt: absolutely. I'm loving sailfishos and jolla | 20:47 |
tango_ | I even got the phone with a preorder even though I knew that as an early adopter that would have meant getting something "not perfect" 8-) | 20:48 |
*** Morpog_PC has quit IRC | 20:48 | |
tango_ | just to show my appreciation to jolla | 20:48 |
lbt | tango_: luckily the HW seems to be good so we can iron out the SW together | 20:48 |
tango_ | lbt: the hardware isn't bad but honestly as an N900 user I expected better ;-) | 20:49 |
rcg | actually, i am using the jolla as my primary phone since i got it and am really really happy with it :D | 20:49 |
tango_ | (esp. camera-wise) | 20:49 |
cos- | fffffuu i think i managed to screw up the android part of my jolla :-O | 20:49 |
tango_ | rcg: I still need to get a micro-sim | 20:49 |
tango_ | cos-: good, who needs android anyway ;-) | 20:49 |
lbt | tango_: put the camera in 4:3 mode | 20:49 |
cos- | i was installing google play and typed rsync -av –ignore-existing /home/nemo/system /opt/alien | 20:49 |
cos- | (actually copy-pasted) | 20:50 |
lbt | and make sure you tried it post 1.0.2.5 update | 20:50 |
rcg | tango_, aye ;) | 20:50 |
* tango_ uses it for Opera and spaceteam | 20:50 | |
cos- | notice – != -- | 20:50 |
tango_ | lbt: setting it to 4:3 was the first thing I did | 20:50 |
tango_ | lbt: still can't really compete, sorry | 20:50 |
tango_ | maybe when BlessJolla comes around, we'll see ;-) | 20:50 |
lbt | no, agreed - Nokia had the $$ for camera stuff | 20:51 |
*** amonk has quit IRC | 20:51 | |
Stskeeps | cos-: the blogs that do that conversion of that should be shot | 20:51 |
Stskeeps | :P | 20:51 |
Stskeeps | (ie the -- thing) | 20:51 |
tango_ | also interesting today I tried getting the first video, and the stupid thing segfaulted after completing | 20:51 |
lbt | cos-: luckily we have device reset - or recovery mode | 20:51 |
tango_ | actually I think I got a kernel oops | 20:51 |
tango_ | maybe I should give some log to somebody | 20:51 |
tango_ | lbt: also, I really really really want TOH with the physical keyboard | 20:51 |
tango_ | really really really | 20:51 |
tango_ | really | 20:52 |
tango_ | (does that clarify how much I want it?) | 20:52 |
tango_ | cos-: purge alien, reinstall alien, retry? | 20:52 |
lbt | the trick is to have a wireless ToH keyboard running over ssh and tethered to your laptio | 20:52 |
tango_ | lbt: no, the trick is to have a TOH physical keyboard. the point is using it when you do NOT have your laptop with you | 20:52 |
lbt | *g* | 20:53 |
tango_ | otherwise you just use your laptop ;-) | 20:53 |
lbt | how's the TMO project going ? | 20:53 |
* tango_ hopes to win another jolla with the twitter contest | 20:53 | |
cos- | tango_: i think device reset is what i need to do | 20:53 |
tango_ | I wonder if we can ask the spaceteam devs to make a native sailfish port | 20:54 |
cos- | ..or perhaps i could copy the whole /opt/alien from another device | 20:55 |
tango_ | SOS qml question: is there a way to access the data files in a path-agnostic way? | 20:55 |
tango_ | something like image://theme/* | 20:56 |
tango_ | (btw, PLEASE include FolderListModel among the available QML types) | 20:56 |
*** Andy80 has quit IRC | 20:57 | |
*** Andy80 has joined #sailfishos | 20:58 | |
rcg | hmm, any hint why a background item in a silicalistview is not getting onDoubleClicked while onClicked and onLongPressed work? | 21:01 |
rcg | this is driving me nuts | 21:01 |
rcg | the background item is the list delegate btw | 21:01 |
*** Andy80 has quit IRC | 21:03 | |
*** cvp has joined #sailfishos | 21:03 | |
*** b0bben has joined #sailfishos | 21:04 | |
*** sequantz has quit IRC | 21:07 | |
*** amonk has joined #sailfishos | 21:09 | |
w00t | rcg: pressDelay iirc | 21:10 |
w00t | I think there's something in the list archives about it | 21:10 |
rcg | w00t, thanks for the pointer. will look | 21:13 |
cos- | phew.. got android support restored by deleting /opt/alien and reinstalling android support from jolla store | 21:13 |
rcg | interestingly, i do similar things in two of my other apps and there it just works... i don't seem to see where i made the mistake | 21:14 |
*** cdp has quit IRC | 21:14 | |
*** XenGi has quit IRC | 21:16 | |
rcg | fascinating.. setting pressDelay: 0 for the list view does the trick | 21:17 |
*** XenGi has joined #sailfishos | 21:17 | |
rcg | huge thanks w00t :D | 21:17 |
rcg | this "tiny" bit took me very long | 21:18 |
rcg | would have never thought of pressDelay | 21:19 |
*** coderus has quit IRC | 21:21 | |
*** coderus_ has quit IRC | 21:21 | |
*** coderus has joined #sailfishos | 21:21 | |
*** Sfiet_Konstantin has joined #sailfishos | 21:22 | |
*** jstaniek_ has joined #sailfishos | 21:22 | |
*** jstaniek has quit IRC | 21:25 | |
*** Bloob has quit IRC | 21:25 | |
mfulz | how can I add a padding to the text of a label https://sailfishos.org/sailfish-silica/qml-sailfishsilica-label.html ? | 21:26 |
cos- | ok, looks like the google play instructions don't work on current sailfish version | 21:30 |
tango_ | oh wait, it IS there, I just have to install it | 21:31 |
*** KangOl1 has joined #sailfishos | 21:33 | |
*** b0bben has quit IRC | 21:36 | |
*** c0ck4m0u53 has quit IRC | 21:36 | |
*** b0bben has joined #sailfishos | 21:36 | |
*** KangOl has quit IRC | 21:37 | |
*** b0bben has quit IRC | 21:41 | |
*** nsuffys has quit IRC | 21:41 | |
*** sequantz has joined #sailfishos | 21:42 | |
*** jjarven has quit IRC | 21:44 | |
*** paju has left #sailfishos | 21:44 | |
*** Venemo has quit IRC | 21:49 | |
*** Sfiet_Konstantin has quit IRC | 21:50 | |
*** Sviox has quit IRC | 21:56 | |
*** jjarven has joined #sailfishos | 21:59 | |
*** leinir has quit IRC | 22:00 | |
*** artemma has joined #sailfishos | 22:02 | |
*** leinir has joined #sailfishos | 22:04 | |
*** louisdk has quit IRC | 22:06 | |
*** pixraider has joined #sailfishos | 22:06 | |
*** matoking has quit IRC | 22:08 | |
tango_ | hm it seems that setting the height of a BackgroundItem doesn't have an effect? | 22:09 |
*** sequantz has quit IRC | 22:09 | |
suy | tango_: what about something like this: http://pastie.org/8588615 | 22:19 |
tango_ | suy: found the issue, I was in a gridview | 22:20 |
suy | ok | 22:20 |
tango_ | had to set the grid cellHeight | 22:20 |
*** jpetersen has quit IRC | 22:24 | |
mfulz | could someone help me? http://pastebin.com/Vz58mgHd | 22:26 |
mfulz | I'm trying to call a method from qml but always get an error | 22:26 |
suy | mfulz: woah, you really have all those assorted overloads? :) | 22:28 |
*** dhbiker_ has quit IRC | 22:28 | |
suy | the problem are the types on the border os C++/QML | 22:28 |
suy | *border of | 22:29 |
mfulz | ? | 22:29 |
mfulz | the enums? | 22:29 |
suy | That's the first I was going to ask. The ConnectionTypeWrapper::ConnectionType types are registered? | 22:30 |
mfulz | yep | 22:30 |
mfulz | I've done that: qmlRegisterUncreatableType<ConnectionTypeWrapper>("de.olznet.openvpn", 0, 1, "ConnectionType", "This exports ConnectionType enums to QML"); | 22:30 |
*** Fazu has quit IRC | 22:31 | |
*** Morpog_PC has joined #sailfishos | 22:31 | |
*** KangOl1 has quit IRC | 22:32 | |
*** KangOl has joined #sailfishos | 22:32 | |
suy | Ok. The other problem I see, is that for javascript/qml, all the values are QVariant | 22:33 |
suy | well, not true, sorry | 22:33 |
*** promulo has quit IRC | 22:34 | |
jpnurmi | how about a property based api? :) | 22:34 |
mfulz | ok for a test I removed the Enums and it's working | 22:34 |
mfulz | but how could I use them? It's very unconvinient to remove them :/ | 22:35 |
*** pixraider_ has joined #sailfishos | 22:35 | |
*** pixraider has quit IRC | 22:36 | |
*** b0bben has joined #sailfishos | 22:37 | |
jpnurmi | i'm just thinking out loud that the parameters in a list like (QString,QString,enum,QString,QString,QString,int,int) are getting quite... obscure :) | 22:37 |
mfulz | ? | 22:38 |
suy | Is possible that are not properly registered? Not at the right order? Or maybe the Q_DECLARE_METATYPE is needed too, can't remember | 22:38 |
*** _miqu_ has joined #sailfishos | 22:38 | |
suy | yep, I agree that having a function with so many parameters is complicated. You can wrap them all in a Javascript "var", and they will be QVariant at the other side | 22:39 |
mfulz | do you have an example for that? I'm new to all this qml stuff | 22:39 |
jpnurmi | mfulz: do you have Q_ENUMS() ? | 22:39 |
suy | if in JS is an array, the QVariant will contain a QList, etc. | 22:39 |
mfulz | jpnurmi: yes | 22:40 |
*** arcean has quit IRC | 22:40 | |
mfulz | Q_ENUMS(ProtocolType) | 22:40 |
suy | mfulz: this gives some hints: http://doc-snapshot.qt-project.org/qdoc/qtqml-cppintegration-data.html | 22:42 |
*** b0bben has quit IRC | 22:43 | |
mfulz | hum looks more complicated and ugly to me ... But will give it a try | 22:44 |
*** arcean has joined #sailfishos | 22:47 | |
*** b0bben has joined #sailfishos | 22:56 | |
mfulz | but this example is the wrong direction its from C++ to QML | 23:00 |
mfulz | I need to pass data from QML to C++ | 23:00 |
*** b0bben has quit IRC | 23:00 | |
lbt | what data ? | 23:04 |
lbt | an int? | 23:04 |
lbt | or a complex list of objects? | 23:04 |
mfulz | an enum | 23:05 |
mfulz | http://pastebin.com/Vz58mgHd | 23:05 |
mfulz | my problem is that the enum is not working back from QML to C++ | 23:05 |
jpnurmi | mfulz: i've been intentionally trying to make it fail but i can't... i just works here no matter if i pass a var that has the enum value assigned, or even with a hardcoded integer | 23:06 |
lbt | an enum is compile time sugar :) | 23:06 |
mfulz | and suy and jpnurmi were suggesting me to use some QVariant which holds all the params to pass it back | 23:06 |
mfulz | wtf | 23:06 |
mfulz | why is it not working for me :( | 23:06 |
jpnurmi | hmm, i don't have those overloads though | 23:07 |
mfulz | how are you registering the enum to the qml? | 23:07 |
jpnurmi | my code had Q_DECLARE_METATYPE(Class::Enum) originally, but i tried removing that and it still worked | 23:07 |
mfulz | put that into the enumwrapper? | 23:08 |
jpnurmi | than i tried using either qmlRegisterType and creating an instance in QML, or qmlRegisterUncreatableType and passing the instance as a context property - either worked | 23:08 |
*** krnlyng has quit IRC | 23:09 | |
suy | well, the error he had was about choosing the proper overload, isn't it? | 23:10 |
mfulz | yep when using the enum inside qml with the c++ method the error happens | 23:11 |
mfulz | inside qml I can use the enum without problems | 23:11 |
suy | I suppose that you have a single function, but with several parameters with default values, right? | 23:13 |
mfulz | yes- | 23:13 |
mfulz | is that a problem? | 23:15 |
suy | Only maybe. I would try to simplify the signature of that function. Or use another one for qml that is simpler. Or use properties as jpnurmi said. | 23:17 |
*** rcg has quit IRC | 23:18 | |
*** pixraider_ has quit IRC | 23:19 | |
mfulz | how can I use the properties: I'm using a Qlist<MyClass *> inside the Connections class - the MyClass would use the properties then but can I instantiate an object inside qml as well like new MyClass(blabla) ? | 23:19 |
*** wickwire has joined #sailfishos | 23:21 | |
jpnurmi | mfulz: you can use for example Component to create dynamic instances | 23:23 |
mfulz | do you have a link? | 23:25 |
jpnurmi | qtassistant: rtfm qml component | 23:26 |
mfulz | ok | 23:26 |
qtassistant | jpnurmi: QQmlComponent Class | QtQml 5.2 - http://qt-project.org/doc/qt-5/qqmlcomponent.html | 23:26 |
jpnurmi | there ^ | 23:26 |
mfulz | thanks | 23:26 |
jpnurmi | err, that's not the correct one :) | 23:27 |
jpnurmi | http://qt-project.org/doc/qt-5/qml-qtqml-component.html | 23:27 |
jpnurmi | mfulz: are you sure you have both enums registered with Q_ENUMS() ? | 23:33 |
jpnurmi | i finally managed to reproduce the problem when i leave the first enum unregistered | 23:34 |
jpnurmi | it works event if the second enum is not registered when the corresponding argument has a default value | 23:35 |
mfulz | yes | 23:35 |
mfulz | I've | 23:36 |
mfulz | http://pastebin.com/C5sSE45e | 23:36 |
jpnurmi | hmm right, the difference is that i added the enums to the same class for simplicity :/ | 23:38 |
mfulz | ah ok | 23:40 |
*** jstaniek_ has quit IRC | 23:41 | |
mfulz | and you can pass them back to a c++ method? | 23:42 |
mfulz | could you show me the c++ method definition and the registration? | 23:43 |
jpnurmi | it works out of the box if the enums are in the same class which has the invokable method or slot | 23:45 |
*** mk2soldi_ has joined #sailfishos | 23:48 | |
*** mk2soldier has quit IRC | 23:48 | |
*** mk2soldier has joined #sailfishos | 23:50 | |
*** mk2soldi_ has quit IRC | 23:50 | |
*** _miqu_ has quit IRC | 23:50 | |
mfulz | this is not working for me | 23:51 |
mfulz | the enums are used in the other class which is used by the calss which invokes the method and in the invoking class as well | 23:52 |
jpnurmi | yes, i can also reproduce the problem that way | 23:52 |
mfulz | ? | 23:53 |
*** cvp has quit IRC | 23:54 | |
jpnurmi | mfulz: add Q_DECLARE_METATYPE(ConnectionTypeWrapper::ConnectionType) after ConnectionTypeWrapper declaration, and the same ProtocolTypeWrapper::ProtocolType | 23:59 |
jpnurmi | mfulz: furthermore, in your main(), before loading the qml, do qRegisterMetatype<ConnectionTypeWrapper::ConnectionType>() and tge same for ProtocolTypeWrapper::ProtocolType | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!