Friday, 2014-01-03

*** ericcc_ has quit IRC00:00
*** ericcc has joined #sailfishos00:00
*** DarkSim has quit IRC00:01
*** faenil has quit IRC00:01
*** ericcc has quit IRC00:07
celeron55libEGL warning: unsupported platform wayland00:11
celeron55i can't get rid of this anymore00:11
specialemulator or device?00:12
*** jabbounet has quit IRC00:12
celeron55somehow my emulator had a version of GLESv2 or some related library that didn't have this problem, and once i installed GLESv1, it broke00:12
celeron55nothing changes if i remove what i installed00:13
specialhow did you install it?00:14
specialI don't know enough about the emulator to say why it'd be that way, but in general, it's likely that you pulled in a dependency or something similar that broke.00:15
celeron55i removed the dependency too00:16
celeron55here's whatever i run on the emulator:
celeron55it's quite obscure because it doesn't show at which points the binary changed to a differently (re)compiled one00:16
*** freedomrun has joined #sailfishos00:17
*** shadeslayer has quit IRC00:17
celeron55but it begins with it partly working with ogles2, and then i mess up the first dozen tries of running an ogles1 version00:17
*** shadeslayer has joined #sailfishos00:17
celeron55(okay not a dozen but a few)00:17
*** jjanvier has quit IRC00:18
celeron55the last one is built as close as possible to the one that was initially running00:18
specialceleron55: I'd guess that those mesa-x86-generic packages were a bad idea, and you should be using mesa-llvmpipe00:18
specialceleron55: search to see which mesa packages are installed now, and force them all to reinstall00:18
specialand once you've fixed it, try mesa-llvmpipe-libGLESv1 instead ;)00:19
*** M4rtinK has quit IRC00:19
celeron55is there a reason why pkcon is so bad at telling about what it's doing00:19
*** arcean has quit IRC00:19
specialhonestly, I use zypper instead.00:20
celeron55it's the first ever package manager front-end i've seen that just says "downloading" and "installing"00:20
celeron55and it could just as well replaced some packages and whatever for what i can tell from it's output00:20
specialmy theory would be that one of those overwrote some files from the mesa-llvmpipe packages you should be using.00:21
specialwhich is why uninstalling wouldn't fix it, but reinstalling the correct one would00:21
celeron55i tried removing all the mesa-x86-generic ones that pkcon tells are installed and installed some mesa-llvmpipe ones to replace them, but the problem persists00:25
celeron55maybe i should do it the other way00:25
celeron55maybe not; why do these alternative packages even exist?00:26
*** miksuh has quit IRC00:27
celeron55well shit00:30
specialfrom mer00:30
celeron55is there somewhere the initial package list of this sailfish sdk's emulator vm?00:31
celeron55or do i have to figure out how to install an extra vm to see that00:31
*** freedomrun has quit IRC00:31
celeron55the sdk doesn't allow installing a second copy of itself00:33
specialif someone with a copy installed is around, that's the easy way00:34
specialI don't have one unfortunately00:34
celeron55where is the source code of the sailfish sdk for that part?00:35
Elleothp: :)00:36
celeron55i would expect somewhere in this world exists the package list of that VM... it's just that it might be impossible to find00:36
specialwell, it'd come from a pattern somewhere00:37
*** clickety has quit IRC00:38
celeron55so anyone have the sailfish sdk and can run rpm -qa on it?00:38
celeron55(on the emulator, i mean)00:38
celeron55i'm very disappointed if nobody does, this is #sailfishos after all!00:39
specialit's lonely when europe is asleep00:39
*** clickety has joined #sailfishos00:40
Elleoceleron55: I can but it won't give the exact original package list as I've installed a few things for my own purposes00:41
Elleonothing gl related should have changed though00:41
*** b0bben has quit IRC00:43
*** guhl has quit IRC00:45
celeron55apparently i have an identical list of packages that match grep -i gl00:47
*** guhl has joined #sailfishos00:47
celeron55no luck then00:47
specialceleron55: reinstall them.00:47
specialzypper in --force mesa-llvmpipe-...00:47
celeron55it works now!00:49
specialnow you can try mesa-llvmpipe-libGLESv1 :p00:50
*** tanghus has quit IRC00:51
PeterParksomebody knows how I can store an application setting in QT/QML?00:53
*** tanghus has joined #sailfishos00:56
*** wickwire has quit IRC01:01
*** master_of_master has joined #sailfishos01:02
*** triggerhappy has joined #sailfishos01:02
*** raven24 is now known as raven24^{off}01:03
celeron55it starts up, but segfaults inside /usr/lib/egl/egl_gallium.so01:03
*** Morpog_Mobile has quit IRC01:03
*** Andy80 has joined #sailfishos01:03
celeron55it draws many frames before that though01:03
*** synchris has quit IRC01:04
*** master_o1_master has quit IRC01:05
celeron55looks like it's failing in some render-to-texture stuff01:11
celeron55eglSwapBuffers() to be accurate01:12
celeron55okay, disabled that; now it runs01:12
*** guhl has quit IRC01:14
*** guhl has joined #sailfishos01:14
*** paju has left #sailfishos01:15
*** Morpog_PC has quit IRC01:16
*** ericcc has joined #sailfishos01:17
*** zhxt has joined #sailfishos01:17
*** Morpog_Mobile has joined #sailfishos01:18
*** onurati has quit IRC01:25
*** bugzy has quit IRC01:37
*** b0bben has joined #sailfishos01:40
celeron55so, the next thing would be displaying an on-screen keyboard01:42
celeron55i wonder how to go about doing that01:43
*** nk1ox has joined #sailfishos01:44
*** b0bben has quit IRC01:45
*** smokex has quit IRC01:46
*** Andy80 has quit IRC01:47
celeron55hmm, maybe i could launch a Qt-based window on top of my program01:49
*** macben has joined #sailfishos01:49
celeron55activating a text input on such surely launches a virtual keyboard 8)01:50
*** Andy80 has joined #sailfishos01:51
*** b0bben has joined #sailfishos01:54
*** macben has quit IRC01:54
*** b0bben has quit IRC01:58
*** smokex has joined #sailfishos02:01
*** softmetz_ has joined #sailfishos02:16
*** softmetz has quit IRC02:20
pcfehow would I fix telling me it can not find fuse-devel for latest_armv7hl ?02:22
specialyou need to build against nemo:devel:mw, I suppose02:26
special shows that it's currently building against mer:devel02:27
*** guhl has quit IRC02:28
*** Andy80 has quit IRC02:34
*** guhl has joined #sailfishos02:36
pcfespecial: Ah, OK, so my fiddlings were in the right direction, I'll keep nemo:devel:mw and ditch the other one02:42
pcfew00t, it builds (unchanged spec files from rpmfusion, they were clean and without patches)02:45
pcfemanual maount works as expected, not to try clicky mount02:45
*** Morpog_Mobile has quit IRC02:48
*** lpotter has quit IRC02:49
*** lpotter has joined #sailfishos02:51
*** macben has joined #sailfishos02:52
*** macben has quit IRC02:57
*** guhl has quit IRC03:01
ottuloedited the lipstick.conf file manually to organize the app icons in launcher..03:07
pcfespecial: I'll test fuse-exfat a couple days before declaring success. One thing I wonder, is armv8el enough to build for of should I build for one of the x86 targets (which one) too?03:12
specialx86 nemo is used for the sailfish emulator and a few random tablets03:12
ottulointeresting... was going through the list of available packages from pkcon, and found grilo-plugins03:16
ottuloI suppose installing some of them won't make the default media player or such magically able to browse and play content from them? :D03:17
speciallooks like it only uses the tracker plugin03:19
ottulowell, that's the one currently installed03:19
specialyou'd want tracker support to get indexing, and gstreamer support to get playback03:19
Elleoottulo: there's a slim chance LL's video player might handle a manually entered grilo URL03:20
ottuloElleo: thanks, looks interesting03:21
Elleoyou're welcome03:22
*** ericcc_ has joined #sailfishos03:24
*** macben has joined #sailfishos03:24
*** ericcc has quit IRC03:26
*** guhl has joined #sailfishos03:31
*** ericcc has joined #sailfishos03:31
*** Morpog_Mobile has joined #sailfishos03:31
*** ericcc_ has quit IRC03:34
*** Morpog_Mobile has quit IRC03:36
*** ericcc has quit IRC03:42
*** ericcc has joined #sailfishos03:43
*** crevetor has quit IRC03:44
*** crevetor has joined #sailfishos03:46
*** furikku has joined #sailfishos04:08
*** promulo has quit IRC04:12
*** guhl has quit IRC04:17
*** promulo has joined #sailfishos04:20
*** guhl has joined #sailfishos04:28
*** promulo has quit IRC04:32
*** itbaron has joined #sailfishos04:39
*** crevetor has quit IRC04:58
*** nk1ox_ has joined #sailfishos05:03
*** nk1ox has quit IRC05:06
*** b0bben has joined #sailfishos05:16
*** b0bben has quit IRC05:21
*** entil has quit IRC05:23
*** Uninstall has quit IRC05:24
*** pyksy has quit IRC05:24
*** merlin1991 has quit IRC05:25
*** merlin_1991 has joined #sailfishos05:25
*** Uninstall_ has joined #sailfishos05:25
*** entil has joined #sailfishos05:25
*** pyksy has joined #sailfishos05:25
*** kostola_ has joined #sailfishos05:26
*** kostola has quit IRC05:27
*** Mirv_ is now known as Mirv05:28
*** macben has joined #sailfishos05:28
*** merlin_1991 is now known as merlin199105:29
*** merlin1991 has joined #sailfishos05:29
*** coderus has quit IRC05:30
*** pyksy has quit IRC05:30
*** coderus has joined #sailfishos05:30
*** entil has quit IRC05:30
*** phako has quit IRC05:31
*** entil has joined #sailfishos05:31
*** phako has joined #sailfishos05:32
*** macben has quit IRC05:33
*** pyksy has joined #sailfishos05:37
ericcchello   why  i  can not  see  the   green  run button  ,it  only can  debug05:40
*** ericcc has quit IRC05:49
*** ericcc has joined #sailfishos05:49
*** jjarven has quit IRC05:51
Merbotn0rman_: Error: "tian2992vengo" is not a valid command.05:52
DevBotn0rman_: Error: "tian2992vengo" is not a valid command.05:52
n0rman_rmayorga: ah ya05:53
atlazoy vey05:53
*** ericcc_ has joined #sailfishos06:00
*** ericcc has quit IRC06:01
*** jjarven has joined #sailfishos06:06
PeterParkIs somebody interested in testing my CompassApp? just uploaded it to Harbour..06:11
ottuloPeterPark: nice work! cover works great too06:21
ottuloPeterPark: tip: make the donation address clickable, for example a link to, or allow people to copy the address to clipboard06:23
*** pyksy has quit IRC06:26
*** macben has joined #sailfishos06:29
*** macben has quit IRC06:29
*** pyksy has joined #sailfishos06:39
*** sletta has joined #sailfishos06:55
*** isto has quit IRC06:57
*** jukkaeklund has joined #sailfishos06:59
*** pyksy has quit IRC07:01
*** Bloob has joined #sailfishos07:01
*** b0bben has joined #sailfishos07:05
*** b0bben has quit IRC07:09
*** pyksy has joined #sailfishos07:10
*** b0bben has joined #sailfishos07:14
*** sletta_ has joined #sailfishos07:16
*** sletta_ has quit IRC07:18
*** pyksy has quit IRC07:18
*** pyksy has joined #sailfishos07:19
*** sletta has quit IRC07:19
PeterParkottulo: I tried, but failed ;) I will do it in another version. The cover will be configurable as well, as it takes some ressources by polling the compass and drawing..07:28
*** kaari has joined #sailfishos07:29
*** macben has joined #sailfishos07:31
*** sletta has joined #sailfishos07:33
*** macben has quit IRC07:36
*** freedomrun has joined #sailfishos07:41
*** ericcc_ has quit IRC07:45
*** furikku has quit IRC07:51
*** 16WABVM43 has joined #sailfishos07:51
*** 7CBAANIA5 has joined #sailfishos07:51
*** furikku has joined #sailfishos07:51
*** jukkaeklund has quit IRC07:55
*** jukkaeklund has joined #sailfishos07:55
*** ezal has quit IRC08:02
*** tiina98 has joined #sailfishos08:11
fluxbtw, what's the easiest way to install an rpm off an url? I do curl 'url' > foo.rpm && pkcon install-local foo.rpm08:14
tiina98can somebody help me to access contacts in device? I don't know what manager to use and default does not seem to work.08:14
fluxtiina98, there is a program to export n9 contacts - and import them to jolla. somewhere on github :). it should at least show how to write there, probably the rest is easier.08:15
*** matoking has joined #sailfishos08:16
fluxpeterpark, works great!08:16
fluxpeterpark, but the frame rate is a bit jerky08:16
fluxis it for you?08:17
fluxif it currently updates on whenever it receives a magnetometer update, then perhaps instead of that it could update at a fixed rate and perform possibly some 1st or 2nd degree interpolation on the data08:17
*** gabriel9|work has joined #sailfishos08:17
fluxpeterpark, bonus points: use accelerometer and make that a 'flat' compass, that is, it would always be aligned horizontally like a table compass ;)08:18
PeterParkflux: yes I was not able to overcome this issue..internaly I requested to use a 300Hz datarate I decded to release early (and often ;-) )08:18
fluxpeterpark, yeah, better that way of course08:19
fluxpeterpark, anther thing: the application name in the launcher is harbour-something08:19
fluxthat's probably not intended08:19
*** gigetoo has quit IRC08:19
PeterParkflux: thanks for the input. I try to play around with 3d and accelerometer08:19
PeterParkflux: actually I think it is a requirement for harbour apps?08:20
fluxpeterpark, it is for the applications package name08:20
fluxbut I don't think it is for the application grid name08:20
PeterParkah I see08:20
fluxbecause it's the first app from the jolla store with that08:20
*** jjanvier has joined #sailfishos08:20
PeterParkI will rename it. and replace the rpm08:21
fluxalso SailfishCompass might be too long for that app grid, as even the current name is shortened to harbour-Sail...08:21
PeterParkbuild also the link to into it..08:21
PeterParkIt is called SailCompass :)08:21
fluxmight be a tough fit, but try :)08:21
tiina98flux: thanks, but I could only find one that imports ams/calllog. Still open to guidance...08:25
*** gigetoo has joined #sailfishos08:25
*** Morpog_PC has joined #sailfishos08:38
*** xyll has joined #sailfishos08:39
PeterParknew Version of SailCompass available:
fluxpeterpark, have you tried a lower sampling rate? like 15?08:41
PeterParkflux: yes, but it doesn't change. actually I think the whole datarate thingy is not working. On available datarates I receive a nullobject08:43
fluxfor debugging purposes you could try plotting angle versus time to see if the data is delayed or not08:44
flux(ie. if you rotate it with a fixed rate, the points should for a straight line)08:45
*** 7CBAANIA5 has quit IRC08:45
fluxif so, then it should be possible to fix the jerkiness by slightly delaying the data and doing some interpolation in between the samples08:45
PeterParkflux: good idea, but I am just starting with all that QT /QML stuff.. does not know how to plot..08:45
fluxif not so.. well then it still would be possible but the results would be worse..08:46
*** gabriel9|work has quit IRC08:46
*** gabriel9|work has joined #sailfishos08:46
fluxpeterpark, simply output to standard output, collect the logs and use a gnuplot, libreoffice, etc to produce a graph08:46
*** qwazix has quit IRC08:46
fluxso console.log08:46
PeterParkflux: I used a SmoothedAnimation on rotation08:47
PeterParkbut it is not (much) better08:47
fluxmaybe it can be parametrized?08:47
PeterParkalso the data should be a real08:47
B-ZaRanyone had success exchange syncing with office365?08:47
PeterParkbut I always  get only ints (0-359)08:47
*** zhxt has quit IRC08:48
*** zhxt has joined #sailfishos08:48
*** zhxt has quit IRC08:48
fluxit can simple be that the chip doesn't give more precise values08:49
*** zhxt has joined #sailfishos08:49
PeterParkflux: yes that is what I was thinking and then I decided to just release it and try to make progress afterwards08:49
fluxwell, personally I would perhaps still try a bit to find a solution, first impressions etc ;)08:50
*** qwazix has joined #sailfishos08:52
*** mk2soldier has joined #sailfishos08:52
PeterParkflux: I try08:53
celeron55does someone know how to launch the maliit virtual keyboard via dbus, or any other explicit way?08:57
celeron55or really any virtual keyboard08:57
celeron55this is an application that uses irrlicht, sdl2 and glesv1, no qt08:58
*** qwazix has quit IRC08:58
celeron55i tried to do something with dbus but... ehm08:58
celeron55i just can't find how to make it do anything useful08:59
*** qwazix has joined #sailfishos08:59
celeron55[nemo@SailfishEmul ~]$ dbus-send --system --print-reply --dest=org.maliit.server /org/maliit/server org.freedesktop.DBus.Introspectable.Introspect09:00
celeron55Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.maliit.server was not provided by any .service files09:00
celeron55while the file /usr/lib/systemd/user/maliit-server.service contains the line BusName=org.maliit.server09:00
celeron55how can't this work; this is stupid09:00
celeron55aha, --session works09:01
celeron55the reply list anything useful though09:02
*** b0bben_ has joined #sailfishos09:10
*** Morpog_PC has quit IRC09:14
*** guhl has quit IRC09:15
*** 16WABVM43 has quit IRC09:17
*** sequantz has joined #sailfishos09:18
celeron55hmm, maybe through wayland09:23
celeron55the text input protocol isn't included in the wayland client headers though09:23
hoelzroahoy sailors09:25
hoelzrois there a way to configure the android support, via the command line or otherwise?09:26
hoelzroI put my Dutch SIM card in my phone last night, and now all my android applications are in Dutch =/09:26
pp_there's the props file09:26
pp_that's probably the way to fix it09:27
hoelzroah ha09:28
hoelzrothanks pp_09:28
*** ericcc has joined #sailfishos09:28
pp_ /opt/alien/system/build.prop09:28
*** ericcc has quit IRC09:30
*** tiina98 has quit IRC09:33
*** gabriel9 has joined #sailfishos09:41
*** macben has joined #sailfishos09:41
*** gabriel9|work has quit IRC09:42
*** ljp has joined #sailfishos09:44
*** lpotter has quit IRC09:44
*** b0bben_ has quit IRC09:46
*** freedomrun has quit IRC09:49
hoelzroro.product.local.langugage=en # =/09:56
*** jukkaeklund has quit IRC10:05
celeron55okay, this seems like one of the impossible-to-figure-out things10:10
*** hcarrega has quit IRC10:11
celeron55which is sad10:11
*** b0bben_ has joined #sailfishos10:11
*** Sfiet_Konstantin has joined #sailfishos10:13
*** roboro has quit IRC10:13
*** roboro has joined #sailfishos10:14
celeron55invoking a virtual keyboard via wayland: face the impossible10:14
*** locusf has quit IRC10:14
*** locusf has joined #sailfishos10:14
celeron55i wonder if #qt-labs or something would have someone who has any idea about this10:16
*** stephg has quit IRC10:17
*** stephg has joined #sailfishos10:17
*** Korthes has joined #sailfishos10:19
*** arcean has joined #sailfishos10:21
celeron55or #wayland... ehm..10:22
coderusceleron55: check maliit-framework-wayland sources10:24
celeron55what should i be searching for from here10:27
*** jjarven has quit IRC10:28
hoelzrook, I fixed it by switching to system language away from English, and then back10:34
*** onurati has joined #sailfishos10:35
matokingAnimatedImage seems to be a bit buggy compared to Image10:36
matokingWhen I have an asynchronous Image, the BusyIndicator works and the UI doesn't freeze10:37
matokingBut with an asynchronous AnimatedImage, the UI is blocked until it's loaded10:37
*** c0ck4m0u53 has joined #sailfishos10:39
celeron55coderus: all this maliit-framework stuff seems to be only about the input side of wayland; not the application side10:43
celeron55maliit-framework contains two examples, but they both just are regular qt applications with obviously work and don't have anything special in them10:43
tango_celeron55: rewrite all of minetest as a pure qt app10:45
celeron55i've been browsing the qt compositor (and others) source trying to understand how it does things but it's an endless maze10:45
celeron55well i could make it create a QApplication and steal the wayland window and display from it, but i don't like that10:46
celeron55also it will need to call app->processEvents() in all the 10 event loops it contains10:46
celeron55while all i want is to pop up the god damn virtual keyboard10:47
*** zhost has joined #sailfishos10:47
tango_doesn't the keyboard come up automagically when you focus an input field?10:48
tango_so I'm guessing celeron55 wants the keyboard without the input field?10:49
Waiteethere should be a button or gesture to put down the keyboard10:49
tango_Waitee: agreed. is that request in together already?10:49
Waiteeno idea10:49
Waiteejust thought to myself it's really annoying sometimes10:49
celeron55tango_: minetest uses irrlicht's gui system10:50
celeron55which OBVIOUSLY doesn't pop up any keyboards10:50
Pnuuclicking in the background hides the keyboard10:51
tango_Pnuu: it also registers a click10:52
celeron55popping up a keyboard would be up to the SDL2 backend of irrlicht, which i have implemented for this, but i have the exact same problem there and sdl2's wayland backend doesn't have support for SDL_StartTextInput() and implementing that has this exact same problem10:52
tango_Pnuu: which when browsing e.g. together means you'll likely click on some link10:52
Pnuutango_: yeah, that can be nuicance :-P10:52
tango_Pnuu: some way to swipe the keyboard out would be nice10:52
celeron55so basically everything depends on finding out how to pop up the keyboard without qt10:52
celeron55no matter where it is implemented in this gui stack10:52
Pnuuthere's also a request that auto-focused text fields wouldn'ẗ pop-up the keyboard10:53
celeron55there of course is an input field, but it's in irrlicht's gui system which qt and wayland have no clue about10:53
w00tceleron55: thp may have an idea since he has tinkered with SDL2, but basically you'll want to look at the input context Qt uses to talk to maliit (the virtual keyboard framework we use)10:54
celeron55because i can't find the way to give it the clue10:54
w00tceleron55: the code for that lives inside maliit10:54
celeron55i've been trying to find this for hours now10:54
celeron55that exact thing you just described; but i can't10:54
thpw00t, celeron55: haven't played with qt's input context, but SDL2 has some API for this that just might need a backend implementation against maliit10:56
w00tI imagine it will10:56
w00tthat's why I'm pointing to that10:57
*** faenil has joined #sailfishos10:57
w00t(as that's the Qt-side of the same thing)10:57
thpSDL_StartTextInput(), ...10:57
*** zhxt has quit IRC10:57
*** lizardo has joined #sailfishos10:58
thpdefined here:
thpthe backend has to implement that as function pointers on the SDL video device structure, e.g. for android:
celeron55i know it has that11:01
celeron55i might try implementing it there once i understand this11:01
thpthis is where the maliit implementation in the wayland backend should go:
*** Venemo has joined #sailfishos11:02
celeron55i've been browsing the sdl2 source a lot when i tried implementing my own wayland backend to irrlicht (and actually got it working too; but then i figured out how to make sdl2 itself work and discarded it)11:02
thpplus this might help:
*** nsuffys has joined #sailfishos11:03
c0ck4m0u53which switches/ arguments should one append to mkfs.btrfs /dev/partition when formatting a sd card to use a btrfs file system?11:06
c0ck4m0u53ooops wrong channel, my apologies:(11:07
tango_pretty sure mkfs.btrfs automatically creates a btrfs11:08
tango_hence the name11:08
c0ck4m0u53ok ty tango_11:10
*** sdjayna has left #sailfishos11:19
*** b0bben_ has quit IRC11:20
*** jjanvier has quit IRC11:22
*** jjanvier has joined #sailfishos11:23
*** Korthes has quit IRC11:24
thpVenemo: nice trick with the DEFINES+=, gonna update one of my projects with that, it's indeed nicer and shorter :)11:24
*** ericcc has joined #sailfishos11:25
*** Andy80 has joined #sailfishos11:26
Venemohey thp, glad you like it11:27
*** b0bben_ has joined #sailfishos11:27
Venemothp: one more thing about qmake that might be useful for packaging is its -after parameter which works as if the given stuff were appended at the end of the pro file11:28
Venemoso you can completely override anything in the .pro file in your .spec11:28
*** ericcc has quit IRC11:29
*** b0bben_ has quit IRC11:30
*** ericcc has joined #sailfishos11:31
*** spider-mario has joined #sailfishos11:35
*** b0bben_ has joined #sailfishos11:36
celeron55thp: so, there's this and this
celeron55i can't find any of those existing on the system11:38
*** kostola_ has quit IRC11:38
Venemoceleron55: how did you check?11:38
celeron55i mean, that dbus interface11:38
*** kostola has joined #sailfishos11:39
celeron55at least "dbus-send --session --print-reply --dest="org.freedesktop.DBus" /org/freedesktop/DBus org.freedesktop.DBus.ListNames" doesn't list that11:39
*** b0bben_ has quit IRC11:45
coderusmatoking: use asynchronous loader for AnimatedImage11:46
*** Finleida has joined #sailfishos11:46
*** wickwire has joined #sailfishos11:50
wickwireHi guys, as a starting point for developing SailfishOS native apps, what is the current best approach?11:51
wickwireEmpty SailfishOS project + Documentation, or are there more complete examples, SailfishOS oriented?11:52
walokrahelloworld pro template from github11:57
ericcchelloword wow12:00
Venemowickwire: see that template walokra mentioned and also read the intro here:
Venemowickwire: if you have never used QML before (on other platforms), you might also want to check the docs12:01
wickwireok, I will, many thanks12:01
*** faenil has quit IRC12:01
*** b0bben has quit IRC12:02
*** raven24^{off} is now known as raven2412:05
coderussailfish related is silica components gallery example12:05
coderusother is just qt5/quick2 development12:05
matoking@coderus I'll give that a try12:10
celeron55also if i run maliit-exampleapp-plainqt and type stuff, nothing shows up on dbus12:16
*** roboro has quit IRC12:16
*** roboro has joined #sailfishos12:17
*** tomyri has quit IRC12:18
celeron55hmm, could there be some non-default dbus session that they're using12:19
celeron55at least /run/user/100000/dbus has only one12:19
*** Venemo has quit IRC12:23
walokraalso is good12:30
*** tomyri has joined #sailfishos12:32
coderusceleron55: nemo@sailfish:~$ /usr/lib/qt5/bin/qdbus org.maliit.server /org/maliit/server/address org.freedesktop.DBus.Properties.GetAll org.maliit.server12:33
coderusaddress: unix:abstract=/tmp/maliit-server/dbus-YIGN8dhhoA,guid=11132a379cac3752501ca8b652c68c1a12:33
*** zhxt has joined #sailfishos12:33
*** jjarven has joined #sailfishos12:34
*** macben has quit IRC12:39
celeron55dbus-send --address="unix:abstract=/tmp/maliit-server/dbus-z2Ie1f2KlM" --print-reply /com/meego/inputmethod/uiserver1 org.freedesktop.DBus.Introspectable.Introspect12:44
celeron55there it is!12:44
celeron55umm... there is something12:44
sharpneli states that Sailfish should have libsdl2. However I cannot find the package in the SDK nor the include files nor the libraries.12:44
celeron55this doesn't look like the interface i was looking for12:44
celeron55oh, it does12:44
*** pemontto1 has joined #sailfishos12:45
tango_sharpneli: do you have the latest version of the sdk? I think you might need to enable sdl2 there12:45
tango_(which I don't remember how to do)12:45
coderusceleron55: :)12:46
sharpnelitango_: Just reinstalled 20 minutes ago12:47
Fryeharbour still having rush? Or have I messed up my Jolla again :D12:47
FryeSeems that the bugfix for samegame is still in the queue to the store.12:48
sharpneliManaged to do it. Now just to get it to actual device too12:49
*** onurati has quit IRC12:50
*** krig has joined #sailfishos12:56
*** paju has joined #sailfishos12:56
*** macben has joined #sailfishos12:57
*** paju has quit IRC13:05
*** paju has joined #sailfishos13:10
*** paju has quit IRC13:12
*** paju has joined #sailfishos13:12
*** b0bben has joined #sailfishos13:16
*** macben has quit IRC13:36
*** Elessar has joined #sailfishos13:36
*** roboro has quit IRC13:40
*** roboro has joined #sailfishos13:40
*** ahiemstra_ has joined #sailfishos13:41
*** ahiemstra has quit IRC13:42
*** w00tmob has quit IRC13:45
*** simbrown has quit IRC13:52
*** Elessar has quit IRC13:52
*** simbrown has joined #sailfishos13:52
*** faenil has joined #sailfishos13:59
*** nk1ox has joined #sailfishos13:59
jake9xxElleo: cutespotify seems to cut 1s from then end when playing playlists14:01
jake9xxfrom the end, when.. even14:01
*** freedomrun has joined #sailfishos14:05
Andy80how long does it take usually for an app to be approved in the Harbour?14:09
FryeI think it took me approx 2 working days and then 1-2 working days more.14:10
FryeFor it to show up on store14:10
FryeBut there might just be a bit of queue because of the holidays. At least my bugfix that I submitted on 24th was approved 4 days ago, and not yet in store.14:12
jake9xxsomething like that as normal queue processing14:12
w00tthings may be a little backed up at the moment thanks to holidays (not sure, just speculating)14:12
FryeBut there are several non-working days in between.14:12
*** M4rtinK has joined #sailfishos14:19
*** matoking has quit IRC14:21
Wntfast way to get users for your application is to push the code to github with build instructions in a README, then post the github link on the developer mailinglist :)14:21
*** macben has joined #sailfishos14:22
jake9xxWnt: no, fastest way to get users is to put the rpm on f.ex dropbox and advertise the link around in SoMe14:22
FryeI have it on bitbucket. The first store version does not have the link as I thought it would be visible on the description on store14:22
FryeSince there was a field for open source project page14:22
*** Sfiet_Konstantin has quit IRC14:24
M4rtinKalso if you build a package on the Mer OBS14:25
*** onurati has joined #sailfishos14:25
M4rtinKthere are about three lines (ssu ar blah.repo, pkcon refresh, pkcon install my_shiny_app) users have to paste & run14:26
M4rtinKand they will even get updates automatically like this :)14:27
*** wickwire has quit IRC14:27
*** miksuh has joined #sailfishos14:29
*** freedomrun has quit IRC14:30
Wntjake9xx: you might be right. Personally I would think twice before installing an RPM package from an untrusted source14:32
*** matoking has joined #sailfishos14:37
jake9xxWnt: sw developers are propably more aware of these isseus than random users here and there14:37
jake9xxI bet most of folks who download apps from apple store assume they're 100% safe as the s..t came from 'apple'14:38
WntHmm... I need to get familar with that Mer OBS system. Looks very interesting14:38
*** Sfiet_Konstantin has joined #sailfishos14:39
*** wickwire has joined #sailfishos14:40
*** macben has quit IRC14:45
*** n0rman_ is now known as n0rman14:47
Elleojake9xx: yep, I'm aware of that; will see about sorting it for the next release :)14:48
*** nk1ox_ has joined #sailfishos14:48
*** jjarven has quit IRC14:50
*** nk1ox has quit IRC14:52
*** Mikaela has left #sailfishos14:53
jake9xxElleo: 10-4, if you need testing help - just tell me14:54
Elleojake9xx: thanks :)14:56
jake9xxat least on my playlist I have three songs that can repro the issue14:57
*** kontio has quit IRC14:58
*** kontio has joined #sailfishos14:58
*** kontio has quit IRC14:58
*** kontio has joined #sailfishos14:58
*** wickwire has quit IRC14:58
*** kor has quit IRC14:59
*** nahkiss has quit IRC14:59
*** Andy80 has quit IRC15:00
*** nahkiss has joined #sailfishos15:00
*** sequantz__ has joined #sailfishos15:04
*** sequantz has quit IRC15:06
*** sequantz__ is now known as sequantz15:06
*** Andy80 has joined #sailfishos15:11
*** jjarven has joined #sailfishos15:11
*** pixraider_ has quit IRC15:14
*** pigoz has quit IRC15:18
*** wickwire has joined #sailfishos15:26
coderuscan anyone check ContextMenu with Repeater inside? Just sent to devel mailing list.15:29
*** Andy80 has quit IRC15:31
*** b0bben has quit IRC15:32
*** krnlyng has quit IRC15:35
*** krnlyng has joined #sailfishos15:36
*** parasemic has joined #sailfishos15:37
*** promulo has joined #sailfishos15:37
*** mk2soldier has quit IRC15:41
*** Kabouik has joined #sailfishos15:45
*** faenil has quit IRC15:47
PeterParkthe property availableDataRates for  Compass is undefined in QML ? Do I need some initializing step?15:47
*** parasemic has quit IRC15:48
*** w00tc0d3 has joined #sailfishos15:50
w00tc0d3how can I port Sailfish to my Android phone? I ported and compiled Android ROMs to/for devices, and I want to give my Nexus 4 a shot ;)15:51
w00tc0d3as far as I understand, Sailfish is Mer-based, so I have to port Mer first, Sailfish adds packages, like the GUI, to Mer15:52
*** faenil has joined #sailfishos15:54
*** nsuffys has quit IRC15:56
w00tc0d3Pnuu: Well, that's not DYI, right?15:56
Pnuuno, but stskeeps is the main engineer at jolla, so there might be official(-ish) suport :-)15:57
Stskeepsno, i'm not a main15:57
Pnuuclose enough ;-D15:57
Pnuuhead of skunkworks15:57
*** master_of_master has quit IRC16:01
*** jjanvier has quit IRC16:01
w00tc0d3faenil said, that Sailfish consists of Mer, Nemo and Jolla's proprietary GUI16:01
*** f3an0r has quit IRC16:02
w00tc0d3But Nemo = Mer + GUI, right?16:02
faenilw00tc0d3, Nemo = Mer + Nemo MW + Nemo UI16:02
faenilthere's a new UI for nemo which is WIP, codename Glacier16:02
faenilglacier ->
w00tc0d3What's Nemo MW? (Sorry for wasting your time, if you see it that way!)16:03
faenilno waste :)16:03
w00tc0d3interesting, middleware is something additinally? Nemo adds extra applications + a UI on top of Mer?16:05
w00tc0d3And Sailfish adds applications on top of Nemo?16:05
*** M4rtinK has quit IRC16:06
w00tc0d3Glacier looks amazing, guys16:06
w00tc0d3I think I like it more than Sailfish' GUI16:07
w00tc0d3faenil: ^ could you please look at my conclusion? =D16:07
faenilw00tc0d3, if you want to contribute to glacier please join #nemomobile :) at the moment it's mostly artwork, we're implementing the UI controls little by little, as people have some spare time16:08
faenilw00tc0d3, about middleware, middleware is what sits between core and ui16:08
faenilthere's a loooot of stuff16:08
w00tc0d3let's make an Android comparisation - the world where I come from - it's like the ANdroid framework?16:09
w00tc0d3it sits between the Hardware Abstraction Layer16:09
*** gabriel9 has quit IRC16:09
w00tc0d3and the Apps16:09
faenilwell I don't know android that much but yes, I think so16:11
faenilw00tc0d3, just give a look at the packages at those repositories16:12
faeniland you'll see what i Mean16:12
*** Andy80 has joined #sailfishos16:12
fk_lxw00tc0d3: a bit off-topic, but worth reading when it comes to Nemo ->
*** synchris has joined #sailfishos16:13
*** raa70 has quit IRC16:17
w00tc0d3fk_lx: I don't understand, Jolla helps Nemo, because it relies on Nemo, and in my eyes, it seems logical that Nemo gets less open then16:22
*** jjanvier has joined #sailfishos16:25
*** doctorinserenity has joined #sailfishos16:25
*** ericcc_ has joined #sailfishos16:26
*** ericcc has quit IRC16:27
*** wickwire has quit IRC16:30
*** john24 has joined #sailfishos16:34
john24hey guys16:34
john24I wanted to ask a question about jolla store and app updates16:35
john24i've submited an app to the harbour and it's still in QA but since then I've improved my app and added new features16:35
john24do i need to change anything in qt creator for it to work as an update?16:35
john24like version number or something?16:36
*** zhxt has quit IRC16:37
Jonnijohn24: version number needs to increase on each time or it wont pass QA16:37
john24sorry for noob question16:37
john24where do i change that?16:37
john24in .spec file?16:37
Jonniyes in yaml or spec file16:37
john24it doesn't matter which?16:38
Jonniif you have both then yaml (as it automaticly is supposed to update spec), but if you dont have yaml, then spec16:38
Jonnior if you want to be sure, you can update same version to both files16:39
john24is there any place to put a chnagelog?16:39
*** veskuh has quit IRC16:39
tango_ah PLEASE have changelogs for app updates16:42
*** juke__ has joined #sailfishos16:43
john24oh so there actually isn't a changelog space for apps?16:43
*** Andy80 has quit IRC16:46
*** Andy80 has joined #sailfishos16:47
juke__i'm porting an app from harmattan to sailfish and i'm having trouble getting it started. it compiles and deploys but the only output is and nothing shows on screen. is the main function. there's probably something wrong there, but i can't figure it out16:47
sharpneliOh man. I was banging my head against the wall for awhile with SDL2 and didn't notice until just now that the SDL2 in sailfish is the ancient 2.0.0 instead of 2.0.1 :E16:48
*** DarkSim has joined #sailfishos16:49
Jonnijuke__: well 1st of all setContextProperty needs be called before qml is loaded16:49
Jonniso you need to move line 7 to line 1216:49
Jonniscratch that16:50
Jonniyou need to createa view, but you need to load the qml at later phase16:50
pcfespeaking of version, when I push a spec file plus tarball into OBS as per , the Release tag I set gets overwritten. Now I do not mind this, but how do I find out, before the commit, what the release tag will be (so that my changelog date lines can end in <version>-<release> in my spec file)16:50
pcfe(OBS being
Jonnijuke__: something like this
juke__ok, thanks, i'll try that16:52
*** arcean_ has joined #sailfishos16:53
celeron55okay so now i made some code that connects similarly to the maliit server and does a call to there; it appears to run fine but nothing visible happens on the screen:
celeron55it attempts to clone what is done in these (and a few other places):
fk_lxw00tc0d3: yeah, but it was open more earlier16:54
fk_lxw00tc0d3: I just don't like source open approach ;-) On Slush 2012 there was mentioned that Jolla in contrast to others (hint: read Samsung&Intel) is doing open source not source open16:55
*** arcean has quit IRC16:56
*** macben has joined #sailfishos16:57
*** sletta has quit IRC16:58
juke__Jonni, some documentation reads SailfishApp::application and some Sailfish::createApplication etc. where can the Sailfish class be found?16:58
juke__also the sdk uses QApplication in its documentation17:00
*** pemontto1 has quit IRC17:01
sharpneliBasic window creation test does not work in Sailfish device. The program doesn't crash but also nothing is visible on the screen. Same program works perfectly on a desktop computer (pure SDL2)17:01
john24thanks for the help guys :) have a nice evening17:02
sharpneliI was able to go all the way until the most trivial test from SDL wiki and it doesn't work :p17:02
*** john24 has quit IRC17:02
*** wickwire has joined #sailfishos17:02
celeron55sharpneli: i was having the same problem but then it somehow went away17:04
celeron55try giving it a size and making it not fullscreen or whatever17:04
sharpneliI'll try that17:05
celeron55my SDL2 code exists as an irrlicht backend so it's a bit hard to rip out from there to show it17:05
*** macben_ has joined #sailfishos17:06
celeron55if you want to input text in your sdl2 thing, then you're  going to bang your head in the same thing i'm banging my head into now17:07
*** macben has quit IRC17:07
celeron55which is trying to get the virtual keyboard to come up17:07
celeron55it's a real bitch17:07
celeron55to talk lightly17:08
*** triggerhappy has quit IRC17:10
*** wickwire has quit IRC17:12
*** leinir has quit IRC17:13
*** leinir has joined #sailfishos17:17
coderusIs there any paste service supporting QML syntax?17:19
sharpneliI shall attempt to avoid it then. As a sidenote it's a shame that SDL doesn't provide standard api for accelerometer17:20
celeron55i recommend trying to do it so that i'm not the only one trying to figure this out17:21
*** Andy80 has quit IRC17:21
*** qqK has joined #sailfishos17:22
celeron55that is my current test code and some references are these:
*** wickwire has joined #sailfishos17:25
celeron55that code runs fine but nothing happens17:25
coderus CODE: not working. any ideas?17:27
sharpneliceleron55: I'll check the keyb if I need it. For now I pretty much just need some crossplatform input and ES2 context creation.17:27
*** xyll has quit IRC17:29
celeron55touch input works, but in irrlicht i use irrlicht's internal ogles stuff and just get the wayland surface from SDL and go with wl_egl_window_create from there17:33
*** pemontto has joined #sailfishos17:36
celeron55coderus: if you look at the code hilighter on that pastebin, you see the error 8)17:37
celeron55(at least *an* error; but you probably noticed that already)17:37
*** Andy80 has joined #sailfishos17:38
*** guhl has joined #sailfishos17:38
*** faenil has quit IRC17:39
*** guhl has quit IRC17:39
*** faenil has joined #sailfishos17:39
*** guhl has joined #sailfishos17:41
coderusceleron55: this is just copypaste to pastebin error17:43
coderusi have more code inside signals handlers17:43
coderusjust cutted to show main problem17:43
coderusnone of console.log are executed for me17:44
coderus-- question: -- is there any ready to use way to read EXIF properties from images in sailfish?17:45
*** leszek has joined #sailfishos17:45
leszekany possibility to set the pixelratio for webview ? It seems the feature was removed from Qt.Experimental and the default one on sailfish is wronly set I guess as the fonts in webview are ways too small17:48
*** guhl has quit IRC17:54
celeron55what about page()->setViewportSize() or something?17:54
leszekceleron55: accessible directly via qml or do I need to code this in c++ is the main question here17:55
Jonnicoderus: libexif is on on sailfish device?:)17:56
celeron55hmm, well, something similar to that17:57
coderusJonni: thanks :)17:58
celeron55that was from the C++ docs so i don't know; never used anything related to this anyway17:58
*** simbrown has quit IRC17:58
TumeezWhat is command to reset dalvik?17:59
coderusJonni: and libexif not allowed to harbour as usual?17:59
coderusTumeez: i'm not sure, but i saw something in last update release notes18:00
coderussystemctl restart dalvikvm.service or so18:00
*** timoph has quit IRC18:00
TumeezI mean, my android softwares says "No internet connections"18:00
*** timoph has joined #sailfishos18:00
*** Almehdin has quit IRC18:03
Tumeezcoderus Why new messager not show under nicknames? Only status update.18:04
coderusTumeez: че?18:05
coderusTumeez: ah, talking about mitakuuluu?18:05
Tumeez? I don't speak Russian :D18:05
coderusI have nice bugtracker on github, please dont ignore it :)18:06
TumeezI don't know about that18:06
TumeezIt is nice.18:06
TumeezThan you to doing Mitäkuuluu! :)18:06
*** AlmAck has joined #sailfishos18:09
*** ericcc_ has quit IRC18:10
*** mfulz has joined #sailfishos18:19
*** rainemak has quit IRC18:21
*** M4rtinK has joined #sailfishos18:21
*** Almehdin has joined #sailfishos18:26
*** CoderCandy is now known as Real_Living_Dead18:28
*** Real_Living_Dead is now known as CoderCandy18:29
coderuscant add linebreaks in mailto: body field and cant add attachments using attach property18:29
coderusthis is bad :(18:30
coderusi wanted to make button opening mail clent with filled fields and attach to send logs to me directly from application18:31
coderuseh :(18:34
coderusi want xclip analogue for nemo :D18:37
tango_coderus: oh would be so nice18:39
*** Kabouik has quit IRC18:40
coderustango_: which one?18:40
coderusi have too many ideas per minute :D18:41
*** Kabouik has joined #sailfishos18:41
*** RoKenn has joined #sailfishos18:42
*** raa70 has joined #sailfishos18:43
tango_coderus: xclip18:43
coderustango_: :)18:44
coderusjust qt cli wrapper will be okay too18:44
*** c0ck4m0u53 has quit IRC18:44
coderus URGENT 18:48
coderushelp me figure out why i not see any of there console logs outputs?18:48
*** master_of_master has joined #sailfishos18:51
*** Kabouik_ has joined #sailfishos18:54
pyksymissing console.log( from inside last if18:55
*** Kabouik has quit IRC18:56
*** Zotan has joined #sailfishos18:56
*** macben_ has quit IRC19:01
coderuspyksy: ignore that typo19:01
*** furikku has quit IRC19:01
*** Venemo has joined #sailfishos19:03
coderusno ideas?19:04
*** Venemo has quit IRC19:06
leszekcoderus: not really. Is there no other error when you click on one menu item like index not found or so ? Otherwise is a console.debug() working if you execute it via Component.onCompleted from within the repeater ?19:06
*** RoKenn has quit IRC19:07
*** piggz has joined #sailfishos19:07
coderusleszek: no errors or any other output19:08
coderuscombo working itself19:08
leszekhmm... strange19:08
coderusitem name changed in ui19:08
leszekis the console logging working in general (I had once the problem that I did not see any output of console.log or console.debug and restart mersdk and qtcreator to make it work)19:09
*** PeterPark has quit IRC19:10
*** Venemo has joined #sailfishos19:10
coderusi see any other output except that19:11
mfulzhow can I see the console.log() when developing?19:12
leszekcoderus: perhaps I would try something different. Try adding a signal and catch that signal somewhere in the parent of that and try to output the index from there. Maybe this will work19:13
coderusmfulz: in sdout19:13
coderusmfulz: qtc should show it in application output tab19:14
coderusmfulz: or just start executable in terminal19:14
leszekmfulz: normally qtcreator opens up (it does this automatically) the standardoutput underneath the code window19:14
mfulzah no I can't start any exec in qtc19:14
*** RoKenn has joined #sailfishos19:14
mfulzok from cli is fine19:14
coderusokay, signals not working when combobox opening in other page when too many items. for shots in-page combobox all fine.19:19
*** wickwire has quit IRC19:22
*** sequantz has quit IRC19:23
*** xcv_ has joined #sailfishos19:26
*** super_hirsute has joined #sailfishos19:28
*** piggz has quit IRC19:29
*** piggz has joined #sailfishos19:30
*** macben has joined #sailfishos19:32
*** s1gk1ll_ has joined #sailfishos19:32
*** macben has quit IRC19:33
*** s1gk1ll has quit IRC19:35
*** ravelo has joined #sailfishos19:37
*** sequantz has joined #sailfishos19:38
*** piggz has joined #sailfishos19:38
coderusonCuttentItemChanged working, yahoo!19:39
coderusits the only one signal working in this case :D19:39
Pnuugo'n'comment :-)19:39
coderusPnuu: okay19:40
*** dharman has joined #sailfishos19:47
*** pemontto has quit IRC19:47
celeron55this maliit problem could be due to jolla-keyboard19:48
pp_android would be so much better if you could individually remove capabilities from apps (and maybe get a popup if it actually uses them for invading your privacy)19:48
*** pemontto has joined #sailfishos19:50
celeron55...which is closed source19:50
celeron55the repo doesn't have any other virtual keyboard it seems, at least any that would work19:51
coderusceleron55: just draw own keyboard as workaround19:51
*** pemontto has quit IRC19:51
celeron55bah, i don't need to get anyrhing ready, and that's ugly19:51
Elleoceleron55: you could probably grab the nemo keyboard easily enough19:51
*** pemontto has joined #sailfishos19:51
celeron55it seems maliit-plugins has nemo keyboard19:53
celeron55but for some reason it doesn't seem to work19:54
celeron55it just doesn't come up19:55
celeron55oh, uh19:55
celeron55this is me trying to use it19:56
celeron55so yeah, it's borked19:56
*** sletta has joined #sailfishos19:58
*** ravelo has left #sailfishos20:00
*** macben has joined #sailfishos20:04
*** greunder has joined #sailfishos20:05
*** sletta has joined #sailfishos20:06
*** sletta has quit IRC20:06
*** jjanvier has quit IRC20:06
*** cardinal has joined #sailfishos20:09
*** raven24 is now known as raven24^{off}20:10
*** raven24^{off} is now known as raven2420:10
*** macben has quit IRC20:12
*** cardinal is now known as hcarrega20:13
*** greunder has quit IRC20:23
*** dharman has quit IRC20:23
celeron55hmm, this probably requires actual opengl and won't work with gles20:23
*** freedomrun has joined #sailfishos20:26
*** dharman has joined #sailfishos20:28
celeron55this is how it looks in valgrind:
celeron55not very useful output20:34
*** artemma has joined #sailfishos20:35
*** Andy80 has quit IRC20:51
*** leszek has quit IRC20:51
*** lizardo has quit IRC20:56
*** pemontto has quit IRC20:57
*** macben has joined #sailfishos21:04
*** itbaron has quit IRC21:05
*** pixraider has joined #sailfishos21:05
mfulzis someone aware of dbus usage? especially dicts21:06
mfulzI want to test something on the cli before working in qt but don't know how to format the dict for connman :(21:06
*** macben has quit IRC21:09
datakurreHi, have someone used pyotherside beyond gpodder?21:09
tbrmfulz: try listening first? as root you should be able to see all messages on the system bus21:09
datakurreI'm experiencing random startup segfaults with pyotherside, but they go away when running with strace...21:10
tbrdatakurre: I guess thp might be able to help21:11
datakurretbr: Ok. Thanks.21:12
*** jstaniek has joined #sailfishos21:12
*** super_hirsute has quit IRC21:14
*** ryukafalz has quit IRC21:17
mfulztbr: the messages doesn't help me really. What I'm trying is using the net.connman.vpn.Manager.Create method for testing creation of a new vpn connection21:19
mfulzbut it doesn't matter what I'm trying to pass to the dbus-send command as dict I'm getting an error21:20
mfulza.e.: Error org.freedesktop.DBus.Error.UnknownMethod: Method "Create" with signature "a{ss}" on interface "net.connman.vpn.Manager" doesn't exist21:20
mfulzhere there is nothing mentioned how to format the dict of the method:
coderusmfulz: you just cant send QVariantMap with dbus-send :)21:23
coderusmfulz: use QDBusInterface in your application21:23
*** jstaniek_ has joined #sailfishos21:24
mfulzah so I can't test the whole with dbus-send?21:26
mfulzand directly need to code it?21:26
mfulzI just wanted to try it from cli for testing21:26
coderusmfulz: yes, you need to code21:27
mfulzok thanks for the info21:27
*** jstaniek has quit IRC21:27
*** freedomrun has quit IRC21:29
*** Venemo has quit IRC21:30
*** ryukafalz has joined #sailfishos21:31
*** nk1ox__ has joined #sailfishos21:31
*** Morpog_PC has joined #sailfishos21:32
*** nk1ox_ has quit IRC21:35
*** macben has joined #sailfishos21:36
*** matoking has quit IRC21:37
*** macben has quit IRC21:37
*** RoKenn has quit IRC21:37
*** xcv_ has quit IRC21:39
*** freedomrun has joined #sailfishos21:39
*** amonk has quit IRC21:43
*** Finleida has quit IRC21:43
*** CoderCandy is now known as CoderGettingDrin21:45
suywell, there is qdbus in some package21:46
suyit even contains qdbusviewer, but is unusable, since is widgets :)21:46
*** CoderGettingDrin is now known as DrunkingCandy21:46
suyqdbus is less picky than dbus-send, I think21:46
suywith bash completion, it even introspects :)21:46
mfulzhow do I need to compile with qtdbus?21:52
mfulzerror: QDBusInterface: No such file or directory21:52
mfulzah found it: #include <QtDBus/QDBusInterface>21:54
*** khertan has joined #sailfishos21:56
*** pixraider has quit IRC21:57
khertanI m currently using a TextArea with a QSyntaxHighligher, but how from my QSyntaxHighligter i can retrieve the primaryColor and secondaryColor to respect the Ambiance theme ?21:58
khertangetting it from qml and send it to my c code21:58
khertanlook like i m tired21:58
Yanieley khertan21:59
suymfulz: I would not prefix includes with QtDBus... Just use the proper QT+=dbus22:00
suyIf you use <QtXxxx/QClass> code will break if things get moved to another module. And code could not be reused in Qt4 (or Qt6 :P)22:01
*** Communi2353 has joined #sailfishos22:09
*** super_hirsute has joined #sailfishos22:12
jpnurmikhertan: do you have access to the syntax highlighter from qml?22:13
super_hirsuteI'm trying to set a property in a ListElement in QML by calling a function in C++. Something like: ListElement { name: "XXX"; path: myObj.getString()} where myObj is in C++. Doing this gives "ListElement: cannot use script for property value". So am I going about this the wrong way?22:15
suysuper_hirsute: interesting. What type returns getString() ?22:20
khertanjpnurmi, not directly, i ve access to a DocumentHandler ... and QSyntaxHighlighter(DocumentHandler)22:21
suysuper_hirsute: By value, no pointer or reference?22:21
mfulzsuy: thanks found that option after some time of googling as well22:21
*** jjarven has quit IRC22:22
super_hirsutesuy: By value yes22:22
mfulzwas first trying CONFIG += dbus but then hit QT += dbus22:22
coderussuper_hirsute: suy you cannot use functions in ListElement22:25
coderusListElement is predefined values22:25
coderusyou might need to use Component.onCompleted: { .. fill model using listModel.append({ name: "XXX"; path: myObj.getString() }) .. }22:27
suyoh, because is part of the model? I didn't realize that22:27
super_hirsutecoderus: thanks I'll look into that22:27
coderussuy: yes, ListModel creates by const values22:28
mfulzdoes someone know how the iface.callWithArgumentList(QDBus::Block, "Create", QList<QVariant>); qlist should look like?22:28
coderusListElement* sorry22:28
suycoderus: makes sense22:28
coderusmfulz: iface->call(QDBus::AutoDetect, "Create", myQvariantMapVariable);22:29
coderusmfulz: Create need QVariantMap value, not QList<T>22:29
mfulzcoderus: thanks22:33
*** macben has joined #sailfishos22:33
mfulzand the map is just the key:value pairs? like "Type":"OpenVPN", etc.22:34
*** macben has joined #sailfishos22:34
*** macben has quit IRC22:36
*** niqt has joined #sailfishos22:37
*** jjarven has joined #sailfishos22:37
super_hirsutecoderus: using Component.onCompleted(...) worked a treat. Just had replace the semi colon between property names with a comma. thanks again22:38
*** Bloob has quit IRC22:40
*** PeterPark has joined #sailfishos22:42
*** Sfiet_Konstantin has quit IRC22:45
coderusmfulz: map is pairs. which values i have no idea :)22:47
coderussuper_hirsute: yeah, comma :)22:47
*** pr0xie has joined #sailfishos22:48
*** Communi2353 has quit IRC22:49
*** Sarvi has quit IRC22:50
*** macben has joined #sailfishos23:06
*** macben has quit IRC23:06
*** macben has joined #sailfishos23:07
*** sequantz has quit IRC23:08
*** macben has quit IRC23:08
*** lbt has quit IRC23:12
khertanouch look like i ve a nasty bugs23:12
khertanlook like TextArea didn't update everything from the QSyntaxHighlighter (
khertanor markContentsDirty isn't enough to force TextArea to update23:15
*** onurati has quit IRC23:22
*** synchris has quit IRC23:23
*** lbt has joined #sailfishos23:24
*** Hurrian has quit IRC23:32
*** Hurrian has joined #sailfishos23:38
*** arcean_ has quit IRC23:39
mfulzdunno about TextArea but for listview layoutAboutToBeChange() and layoutChanged() are needed23:40
khertanmfulz, there is no such methods :)23:50
khertannor Signal23:50

Generated by 2.17.1 by Marius Gedminas - find it at!