Wednesday, 2015-01-07

*** zetaz has left #sailfishos00:06
*** Blizzz has quit IRC00:10
*** zetaz has joined #sailfishos00:14
zetazDoesn't Sailfish follow freedesktop.notifications standard ?00:15
zetazIf I try this command that works in Gnome : "dbus-send --session --type=method_call --print-reply --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.Notify"00:15
zetazI get a "No such method 'Notify' in interface 'org.freedesktop.Notifications'"00:15
zetazbut I see it if I call the introspect method on the Notifications interface....00:16
zetazWhat am I missing ?00:16
zetazAny DBus expert around ?00:18
zetaznobody ? ^00:26
*** _CvP_ has joined #sailfishos00:26
zetazInterestingly, removing the "--dest" arguments returns the better error : Method "Notify" with signature "" on interface "org.freedesktop.Notifications" doesn't exist00:31
zetazwhich is normal as I didn't gave it parameters00:31
zetazso why this difference with Gnome, and how can I do the same in my C++ code (which worked with Gnome)...00:31
*** roboro has quit IRC00:35
*** olafh has quit IRC00:35
zetazI don't get it. Will try again tommorow...00:39
sandsmarkit doesn't work under kde either00:39
sandsmarkso looks like some non-xdg and gnome-specific thing?00:39
sandsmarkbut there is a xdg standard for notifications, try finding that?00:40
zetazsandsmark: but why is this interface shown in the introspection, and I can see it in dbus-monitor when another app creates a notification ?00:40
*** N-Mi_ has quit IRC00:40
sandsmarkwhich app?00:40
zetazI called myself for example, to have a notification of missed call, will looking at dbus-monitor00:41
zetazit gives this trace : method call sender=:1.38 -> dest=org.freedesktop.Notifications serial=820 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify00:41
*** zalan has quit IRC00:42
*** zalan has joined #sailfishos00:42
zetazThe only difference between sailfish and gnome about the Notify method, is that there is this in Sailfish that don't exist in Gnome : <annotation value="QVariantHash" name="org.qtproject.QtDBus.QtTypeName.In6"/>00:43
zetazbut it shouldn't answer that the method don't exist when poking it without parameters00:43
zetazI'm still a young padawan when it comes to DBus, so I must be missing something obvious...00:44
sandsmarkhmm, I'm not good at dbus myself00:44
sandsmarkI miss dcop, it was so much simpler :P00:44
zetazsandsmark: thanks for having taken a look !00:45
*** Zian has quit IRC00:45
sandsmarkzetaz: ah, dbus-send needs arguments as well00:45
sandsmarkdbus-send --type=method_call --dest='org.freedesktop.Notifications' /org/freedesktop/Notifications org.freedesktop.Notifications.Notify string:'[APPLICATION]' uint32:1 string:'[ICON]' string:'Title' string:'body' array:string:'' dict:string:string:'','' int32:1000:45
sandsmarkdoesn't error out at least00:45
*** zalan has quit IRC00:47
sandsmarkoh, no00:47
sandsmarkforgot the print-reply00:47
zetazsignature is not ok00:48
zetazbut interesting00:48
sandsmarkok, I could call the interface manually with qdbusviewer00:48
zetazin gnome, errors are more clear : Error org.freedesktop.DBus.Error.InvalidArgs: Type of message, '(susssasa{ss}i)', does not match expected type '(susssasa{sv}i)'00:49
zetazso looks like the dbus implementations are really different between both system as even dbus-monitor don't return the same error messages ...00:50
sandsmarkno, I think the error is from the notification daemon00:50
zetazso maybe I should compare them too closely like I have done00:50
sandsmarkor, hmm00:50
zetazshould not*00:50
zetazThat will not be for today...00:52
zetazgoing to get some sleep and will try again tommorow00:52
sandsmarkunknown type variant00:52
zetazsandsmark: thanks for the help !00:52
sandsmarkzetaz: oh00:53
sandsmarkit's a bug in dbus-send00:53
sandsmarkit doesn't support dict:string:variant00:53
zetazI am trying with dbus-send as a debug thing, I first tried with a Qt/C++ app sending the Dbus calls. It worked in gnome perfectly, and keeps sending an error "invalid" in sailfish.00:54
sandsmarkthe arguments changed recently, it seems00:55
sandsmarkthe second-to-last argument went from a dict:string:string to dict:string:variant00:55
zetazdamn, I may have found something stupid !00:58
*** inte_away has joined #sailfishos00:59
*** inte_away has quit IRC00:59
*** inte_away has joined #sailfishos00:59
zetazcomparing in a diff editor the notification from the missed called, and the one from my C++ program, it looks like one of the argument is an unsigned int in the good one, and a _signed_ int in my app....00:59
zetaztrying with a cast to see if it is better...00:59
zetazsandsmark: Yeah !!!01:00
zetazIt was this stupid unsigned missing !01:00
sandsmarkhaha, ok01:00
sandsmarkwell, now you can sleep01:01
sandsmarkwith a clean conscience01:01
zetazI knew I was missing something obvious. But didn't look at the simplest thing in this whole chain : the 0 integer ;)01:01
zetazMy first notification ! ;)01:01
*** inte_awa` has quit IRC01:01
zetazsandsmark: thanks for having kept me alive searching !01:02
sandsmarkhaha, np01:02
zetazalive -> awake01:02
sandsmarkwhat are you making?01:02
zetaza small test app, that gets a json file from yahoo weather, parse it, and outputs a notification for today's report (temp min/max + comment likes "cloudy/foggy/...")01:03
sandsmarkah, nice01:03
sandsmarkwell, goodnight :)01:03
zetazgoal is to then put that in phonebot, to have a rule to get the weather report each morning when I wake up01:03
zetazgoodnight !01:04
meekygeekHi All, managed to compile firefox (v30) for jolla. The build was successfull after a good ordeal.01:05
meekygeek 7:55.03 firefox01:06
meekygeek 7:57.70 plugin-container01:06
meekygeek 7:57.70 xpcshell01:06
meekygeek 8:40.13 Packaging
meekygeek 8:41.19 607 compiler warnings present.01:06
meekygeekYour build was successful!01:06
meekygeekTo take your build for a test drive, run: /home/nemo/Downloads/mozilla-central/objdir/dist/bin/firefox01:06
meekygeekFor more information on what to do now, see
meekygeek[nemo@Jolla mozilla-central-83c9853e1364]$ cd ../objdir/dist01:06
meekygeek[nemo@Jolla bin]$ ./firefox -v01:06
meekygeekMozilla Firefox 30.0a101:06
*** uvatbc has quit IRC01:07
sandsmarkmeekygeek: nice!01:07
sandsmarkbuilt with wayland support, or?01:07
meekygeekhowever, if I do ./firefox to launch,, nothing happens. Just sits there no errors nor a window. any thoughts if we need to do some settings?01:07
*** zetaz has left #sailfishos01:08
meekygeekjust a minute, shall check my mozconfig. I know for sure enabled cairo-qt and EGL01:08
*** qqK has quit IRC01:10
meekygeekyeah, the mozconfig entries are01:14
meekygeekmk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir01:15
meekygeekac_add_options --enable-application=browser01:15
meekygeekac_add_options --disable-tests01:15
meekygeekac_add_options --disable-debug01:15
meekygeekac_add_options --disable-debug-symbols01:15
meekygeekac_add_options --enable-default-toolkit=cairo-qt01:15
meekygeekac_add_options --enable-mobile-optimize01:15
meekygeekac_add_options --disable-necko-wifi01:15
meekygeekac_add_options --disable-printing01:15
meekygeekac_add_options --enable-skia01:15
meekygeekac_add_options --disable-gstreamer01:15
meekygeekac_add_options --without-x01:15
meekygeekac_add_options --enable-tree-freetype01:15
meekygeekac_add_options --disable-xft01:15
meekygeekac_add_options --with-system-zlib01:15
meekygeek#ac_add_options --with-system-cairo01:15
meekygeekac_add_options --with-gl-provider=EGL01:15
meekygeekac_add_options --without-x01:15
meekygeekcairo-qt as the default toolkit, EGL as GL Provider and saying —without-x would build for wayland I guess.01:16
*** zalan has joined #sailfishos01:20
sandsmarkmeekygeek: I'm not sure if it actually would01:24
sandsmarkthis is apparently what is needed:
merbot`Mozilla bug 635134 in Graphics "Make Firefox work as well with Wayland (without X) as with just X" [Enhancement,New]01:25
DevBotBug 635134: was not found.01:25
DevBotBug was not found.01:25
meekygeekoh is it. let me have a look01:27
meekygeekhowever, gfx has got support for many backends, including cairo.01:27
meekygeeklet me study a bit more and try poking in #firefox.01:28
*** jcbjoe has joined #sailfishos01:28
*** raimue is now known as Raim01:31
*** Morpog_PC has quit IRC01:31
meekygeekapparently, that room isnt as “friendly” as this. Need a bit more energy to get answer from there. :-)01:34
*** meekygeek has quit IRC02:09
*** meekygeek has joined #sailfishos02:10
jcbjoeanyone awake ?02:11
jcbjoetadzik: you got a jolla ?02:11
jcbjoecool just got mine in the mail and unboxed it02:12
tadzikwelcome :)02:12
tadzikoh, you were asking about updates on #jollamobile02:12
jcbjoeyep i'm excited no more nexus4 lol02:12
tadzikmy advice is, get the latest one there is02:12
jcbjoeno body answering02:12
tadzikyou may need to opt-in still02:12
jcbjoeyea its nagging me already02:12
jcbjoewhats opt-in mean ?02:12
tadzikhmm, at some point you needed to send an email to declare that you want the latest update02:13
tadzikbecause things02:13
tadzik1.1.1.27 is the one I have02:14
tadzikso go for it :)02:14
jcbjoeso since its nagging for just try it ?02:14
tadzikit's nagging for a reason :)02:15
jcbjoei held it for the first time and thought i was giong to break it lmao02:15
tadziknaah :)02:16
jcbjoethe battery helped with teh weight02:16
tadzikaah, in that sense02:16
tadzikit's surprisingly durable in my experience02:17
jcbjoewow this nexus 4 i been using for the past 2 months is very very close to the jolla not the same but the software is dead on02:18
tadzikdid you have sailfish on it?02:19
jcbjoebeen using it for like 2 months02:19
jcbjoethats why i got the jolla cause of the nexus4 with sailfish os on it02:19
meekygeeksandsmark: atlast got some message in the console :-). WARN:  Update manifest for {} did not contain updates property02:26
meekygeeksandsmark: WARN: Exception running bootstrap method uninstall on firefox-hotfix@mozilla.org02:26
meekygeekthink it is a bit slow.02:27
meekygeekgot the response from #firefox channel. and they were very helpfull. They suspect it might be a desktop version getting run and hence the slowness.02:29
meekygeekalso mentioned, romaxa was looking after the meego port who might be able to help02:29
locusfhey jcbjoe02:39
jcbjoelocusf: finally got it02:40
locusfjcbjoe: great :)02:40
jcbjoearen't you guys suppose to be sleep02:41
locusfcongrats, should give you a lot more satisfaction than n402:41
locusfI should yes but coulsn't sleep longer :/02:41
*** uvatdesk has quit IRC02:43
*** Kabouik has quit IRC02:45
*** triggerhappy has joined #sailfishos02:53
*** pigletto has quit IRC02:56
*** zhxt has quit IRC03:01
*** pigletto has joined #sailfishos03:05
*** zhxt has joined #sailfishos03:13
*** SCVgeo has joined #sailfishos03:20
*** zhxt has quit IRC03:28
*** mhall119 has quit IRC03:30
*** mhall119 has joined #sailfishos03:30
*** Morpog_PC has joined #sailfishos03:44
*** zhxt has joined #sailfishos03:48
*** Shinryuu has joined #sailfishos03:51
* ryukafalz likes his N4 :P04:02
*** rm_work|away is now known as rm_work04:18
*** rm_work is now known as rm_work|away04:24
*** flash1 has joined #sailfishos04:31
*** flash1 has quit IRC04:31
*** dpurgin has joined #sailfishos04:43
*** martyone_ has joined #sailfishos04:49
*** hge has joined #sailfishos04:51
*** furikku has joined #sailfishos04:58
*** hge_ has joined #sailfishos04:59
*** hge has quit IRC05:03
*** hge__ has joined #sailfishos05:10
*** hge_ has quit IRC05:12
*** flywheel has joined #sailfishos05:20
*** hge_ has joined #sailfishos05:30
*** Pat_o has joined #sailfishos05:30
*** hge__ has quit IRC05:33
*** spiiroin has quit IRC05:42
*** hge__ has joined #sailfishos05:46
*** olafh has joined #sailfishos05:47
*** Jef91 has quit IRC05:48
*** VDVsx has quit IRC05:48
*** hge_ has quit IRC05:49
*** Sequenced has quit IRC05:51
*** VDVsx has joined #sailfishos05:59
*** hge_ has joined #sailfishos06:02
*** Morpog_PC has quit IRC06:03
*** filippz has joined #sailfishos06:05
*** hge__ has quit IRC06:06
*** Shinryuu has quit IRC06:07
*** ced117 has joined #sailfishos06:08
*** N-Mi has quit IRC06:15
*** spiiroin has joined #sailfishos06:19
*** JoshStrobl has joined #sailfishos06:21
*** spiiroin has quit IRC06:28
*** Lipevakala has joined #sailfishos06:31
*** sletta has joined #sailfishos06:34
*** spiiroin has joined #sailfishos06:40
*** Sail0r has joined #sailfishos06:41
*** flx has quit IRC06:42
*** marxistvegan has quit IRC06:44
*** hge_ has quit IRC06:46
*** samikshan is now known as samikshan|afk06:50
*** samikshan|afk is now known as samikshan06:50
ndvlhey, i'm having problem with audio playback in my apps. i'm using qtmultimedia (Audio or MediaPlayer element) to play (for example) this song and it stops every few seconds (even with different formats - ogg/flac). any idea?07:00
*** K4-t has left #sailfishos07:00
ndvlwhat puzzles me is that it works fine in harbour-videoPlayer, but when I try to use the same code (GstreamerVideoOutput{ source: MediaPlayer {} }, it still has the issue07:01
*** aboyer has joined #sailfishos07:08
*** phaeron has joined #sailfishos07:10
*** Lipevakala_ has joined #sailfishos07:17
*** Lipevakala has quit IRC07:19
*** radekp has joined #sailfishos07:20
*** Venemo has joined #sailfishos07:21
*** susundbe1g has quit IRC07:27
*** supauli has joined #sailfishos07:27
*** roboro has joined #sailfishos07:31
*** disharmonic has quit IRC07:33
*** Venemo has quit IRC07:41
*** Lipevakala_ has quit IRC07:44
*** Nc_ has joined #sailfishos07:44
*** hge has joined #sailfishos07:51
*** daitheflu has joined #sailfishos07:59
*** phaeron has quit IRC08:03
*** rainemak has joined #sailfishos08:03
*** ParkerR has quit IRC08:06
*** zGrr has joined #sailfishos08:07
*** tuukkah has joined #sailfishos08:07
*** ParkerR has joined #sailfishos08:09
*** ParkerR has quit IRC08:09
*** ParkerR has joined #sailfishos08:09
*** vakkov has quit IRC08:12
*** daitheflu has quit IRC08:16
*** hge_ has joined #sailfishos08:16
*** gexc has joined #sailfishos08:16
*** hge has quit IRC08:17
*** hge_ has quit IRC08:23
*** vakkov has joined #sailfishos08:27
*** jmlich has joined #sailfishos08:27
*** jjanvier has joined #sailfishos08:28
*** vakkov has quit IRC08:30
*** billtux has joined #sailfishos08:34
*** zGrr has quit IRC08:37
*** arcean has joined #sailfishos08:39
*** tat has quit IRC08:41
*** m4g0g has joined #sailfishos08:43
Olpewhat is the sqlite version in sailfish?08:45
*** tanty_off is now known as tanty08:45
Olpemore precise?08:46
*** vakkov has joined #sailfishos08:46
OlpeI'm thinking about using ADD COLUMN but: After ADD COLUMN has been run on a database, that database will not be readable by SQLite version 3.1.3 and earlier.08:46
dpurginit's 3.8.5 on the latest update08:48
dpurginjust run sqlite3 --version08:48
OlpeOk. So it should be safe then. Thx08:48
*** tanty has quit IRC08:49
*** tanty has joined #sailfishos08:50
OlpeWhat about is there an easy way to run one function exactly once? I'm going to add break time column to the working hours table and need to be sure that the old data remains and want to run add column just once08:50
Olpeor is there a better way08:50
*** zGrr has joined #sailfishos08:52
Nicd-by running it just once... I don't understand the problem08:55
*** vakkov has quit IRC08:55
Olpelike It does not need to be run every time the app is launched but just once after adding a new column to the table08:56
Nicd-check if the column already exists. or save some value in the database stating the version it is in08:57
Olpeyeah that would do the trick. Thx08:57
zGrrmoin :)09:00
dpurginOlpe, you may use either pragma table_info or pragma user_version09:02
dpurginsee and
Olpenice dpurgin thanks09:07
Nicd-dpurgin: nice, I'll have to remember that when I make updates09:08
dpurginyou're all welcome :)09:10
*** vakkov has joined #sailfishos09:10
Olpethat pragma schema version looks really simple to use and worked nice when testing in console09:14
*** daitheflu has joined #sailfishos09:16
dpurginthe docs state that we should use user_version though09:17
Nicd-yeah, use user_version09:17
*** tat has joined #sailfishos09:19
*** rainemak has quit IRC09:19
*** spiiroin has quit IRC09:19
Olpeoh. sure there is a reason for that... but it does not increment automatically09:19
*** rubdos has joined #sailfishos09:19
*** rainemak has joined #sailfishos09:19
coderusdaitheflu: hm, it should really work. are you trying on device or in emulator?09:22
daitheflucoderus: hey thanks for your answer :)) I'm trying in emulator09:23
coderusdpurgin: callrecorder fix working09:23
daitheflucoderus: the weirdest thing is that I'm doing exactly the same thing in another project, and it works well there09:23
coderusdaitheflu: you should first try on device, it can be emulator bug09:23
coderuscode looks ok, so it should work fine09:23
dpurginOlpe, user_version isn't expected to be incremented automatically09:23
dpurgincoderus, thanks for checking09:24
daitheflucoderus: anyway, thanks a lot for your time and help09:24
m4g0gAre there any way to test accounts in emulator?09:25
Olpedpurgin: yeah i know09:26
*** roboro has quit IRC09:27
*** Venemo has joined #sailfishos09:28
*** Venemo has quit IRC09:28
coderusm4g0g: i don't think so09:29
m4g0gcoderus: argh09:30
*** roboro has joined #sailfishos09:32
coderusm4g0g: why using emulator if have real device? i don't undrestand %)09:32
m4g0gbecause I am afraid of breaking device09:33
*** roboro has quit IRC09:33
coderusuntil you not changing system files you okay09:33
*** roboro has joined #sailfishos09:33
*** tigeli has quit IRC09:38
*** kunev has joined #sailfishos09:39
*** rashm2k has quit IRC09:42
*** pvuorela has quit IRC09:43
*** Lipevakala_ has joined #sailfishos09:43
*** spiiroin has joined #sailfishos09:44
*** Ishmayeck has quit IRC09:50
*** Ishmayeck has joined #sailfishos09:52
SK_workcoderus: question09:55
SK_workhow do you get contacts without being privileged on mitakuluu09:55
SK_workI have seen no trace of privileged code in there09:56
*** Lipevakala_ has quit IRC10:00
*** Lipevakala_ has joined #sailfishos10:02
*** hge has joined #sailfishos10:02
*** tigeli has joined #sailfishos10:04
*** flywheel has quit IRC10:10
*** Blizzz has joined #sailfishos10:10
*** hge has quit IRC10:14
*** meekygeek has left #sailfishos10:16
*** dr_gogeta86 has joined #sailfishos10:22
*** flash1 has joined #sailfishos10:25
*** flash1 has quit IRC10:28
coderusSK_work: mitakuuluu is privileged using suid10:30
daitheflucoderus: I just found the culprit : I have a Timer in my Page that updates the ListModel, removing it (the Timer) allows the remorseAction to work properly10:30
coderusdaitheflu: oh10:31
SK_workcoderus: I have not seen this in the code, it's weired10:31
SK_workwhere do you set the suid10:31
SK_workwhen building rpm ?10:31
coderussame in server10:32
SK_workcoderus: haha10:32
SK_workI see10:32
m4g0gcoderus: oh lol10:35
m4g0gsecurity! More security to the security god10:35
m4g0gwhy nobody wants to develop social networks applications and all uses android applications (10:37
daithefluI wonder if a WorkerScript could fix my issue10:37
coderusdaitheflu: why you updating your model with timer?10:37
SK_workm4g0g: did you see the API most social network provides ?10:38
m4g0gSK_work: yes10:38
SK_workthey are ugly10:38
daitheflucoderus: the data source is updated every 3 minutes (parking lots status) - I want the app to show up-to-date values, otherwise the app is useless :)10:39, facebook, linkedin, goodreads, livejournal,10:39
SK_workdaitheflu: beware of this: timer won't put your phone to sleep10:40
coderusdaitheflu: you don't mind creating model in c++?10:40
SK_workbetter use something like nemo-keepalive10:40
daithefluoh F!CK10:40
coderusSK_work: actually timer is ignored by sleep. when sleeping all timers are freezing10:40
SK_workcoderus: ha10:40
coderusSK_work: timers not preventing phone from sleeping10:41
daitheflucoderus: I don't know C++ and I'd like to avoid diving in it10:41
SK_workwell, what I wanted to say is that timers are resource consuming10:41
SK_workwell, daitheflu, you won't escape it10:41
coderuslive applications are always resource consuming, so10:41
*** gexc has quit IRC10:43
*** faenil has joined #sailfishos10:44
SK_workcoderus: if you make them sleep carefully, it should work10:46
*** flash1 has joined #sailfishos10:46
SK_workbut indeed, stuff like instant messenging and co or apps that always pulls data are more resource consuming10:46
*** flash1 has quit IRC10:46
daitheflucoderus: so, what are you suggesting precisely ?10:46
*** phaeron has joined #sailfishos10:49
*** gexc has joined #sailfishos10:50
m4g0gSK_work: ping.10:54
m4g0gYou are the main developer of libsocialcache?10:54
SK_workm4g0g: no10:54
SK_workwell I initiated it10:54
*** gexc has quit IRC10:55
m4g0gI have added google images support. With whome I can speak about it or I should only send pull request?10:55
SK_workm4g0g: send it to the nemo repository10:55
SK_workwe will review it :)10:55
*** gexc has joined #sailfishos10:56
* daitheflu needs some fresh air10:58
coderusdaitheflu: i'm always suggesting use c++ power for models :)11:03
coderusi just updated better qmltypes for 1412 sdk. Grab it here:
coderuskimmoli: ^11:04
m4g0gfresh air for dweebs11:04
kimmolicoderus: ok11:04
*** N-Mi_ has joined #sailfishos11:08
*** N-Mi_ has joined #sailfishos11:08
*** dhbiker has joined #sailfishos11:13
daitheflum4g0g: thanks for your support11:17
dpurgincoderus, did you try relocating recordings in the call recorder btw?11:20
daitheflucoderus: once I get my c++ model working (in about 5-6 monthes), how do I get it updated regularly ?11:25
SK_workdaitheflu: use a timer / keepalive and connect the signal to some "update" method in your model11:26
daithefluSK_work: you mean a QTimer (c++) ?11:27
*** Sequenced has joined #sailfishos11:31
*** plfiorini has quit IRC11:35
*** Behold has joined #sailfishos11:36
*** Guest35968 is now known as mord11:38
coderusdpurgin: no. do you need test?11:43
dpurginyes please, if it won't trouble you much11:44
dpurginit always works for me but I know there are Jollas in the outside world that just don't work as expected...11:44
coderusdaitheflu: just use model methods dataChanged/rowsAdded/rowsRemoved with any way you choose. QTimer or web sockets or etc.11:44
*** Trizt has quit IRC11:44
daitheflucoderus, SK_work : thanks :)11:46
coderusdaitheflu: ok i'm relocating to sdcard now11:46
*** Trizt has joined #sailfishos11:46
coderusdaitheflu: just updating/resetting whole model is bad. using model methods is best choice11:48
*** plfiorini has joined #sailfishos11:48
daitheflucoderus: yep I understand that :)11:48
coderusdaitheflu: relocated ok11:49
*** qqK has joined #sailfishos11:49
coderusdpurgin: ^11:49
coderusdpurgin: i didn't checked playback before relocation11:49
coderusbut now after relocation when i'm playing recording it playing ok, but position not updated11:50
coderusseeking working ok it seems11:50
dpurginyeah, it happens sometimes, I didn't look into it yet11:50
dpurginit can stuck on a long recording btw11:51
dpurginthx for checking11:51
coderusit's just 0:5911:51
*** Trizt has quit IRC11:51
dpurginI've once recorded a call to the government, 4:50 with 4 minutes of listening to the music :D never had a chance to play it back without fault11:52
*** Trizt has joined #sailfishos11:52
dpurginthe file itself is ok, but it has something to do with these QML stuff11:52
*** kunev has quit IRC11:55
*** kunev has joined #sailfishos11:58
*** Lipevakala_ has quit IRC11:59
coderusdpurgin: seeking is working12:00
coderusjust progress not updated12:00
coderusold recordings are ok, all new recordings don't update progress bar while playing12:02
*** adherry has joined #sailfishos12:03
*** Lipevakala_ has joined #sailfishos12:04
dpurginhmm. seems to be the sampling rate12:06
dpurginI changed it to 22 kHz12:07
*** Lipevakala has joined #sailfishos12:11
*** Lipevakala_ has quit IRC12:11
coderusdpurgin: yes12:16
*** twixx has joined #sailfishos12:16
*** gexc has quit IRC12:16
coderuswith 16 its ok12:17
coderuswhen i recorded 10 secs with 22 it only showed 00:02 at 00:09 once12:17
*** gexc has joined #sailfishos12:17
*** Trizt has quit IRC12:18
*** plfiorini has quit IRC12:18
*** gexc has quit IRC12:19
dpurginthanks for testing, I'll set it to 16 by default then12:20
m4g0ghmm. How to install custom packages to mersdk?12:22
*** Lipevakala has quit IRC12:22
*** jmlich has quit IRC12:22
m4g0gI try to install modified libsocialcache, but it requests packages, which akready instolled12:23
*** Lipevakala_ has joined #sailfishos12:23
*** jmlich has joined #sailfishos12:25
*** faenil has quit IRC12:31
*** faenil has joined #sailfishos12:31
*** Trizt has joined #sailfishos12:32
*** Lipevakala_ has quit IRC12:37
dpurginm4g0g, ssh to build machine and use zypper or add build dependencies to yaml/spec12:38
*** Trizt has quit IRC12:39
*** roboro has quit IRC12:39
coderusm4g0g: mersdk is just sdk12:39
coderusinstall packages to sb212:39
*** roboro has joined #sailfishos12:40
*** Trizt has joined #sailfishos12:41
*** SCVgeo has quit IRC12:46
*** jmlich has quit IRC13:00
*** Algolkm_ has joined #sailfishos13:05
*** hge has joined #sailfishos13:07
m4g0gwhat arch of sdk?13:11
*** SpeedEvil has quit IRC13:13
*** SpeedEvil has joined #sailfishos13:14
*** SpeedEvil has quit IRC13:14
*** SpeedEvil has joined #sailfishos13:14
*** twixx has quit IRC13:15
*** Algolkm_ has quit IRC13:16
*** Sequenced has quit IRC13:19
*** Sequenced has joined #sailfishos13:23
*** marxistvegan has joined #sailfishos13:29
*** Nc_ has quit IRC13:30
*** anandrkris has joined #sailfishos13:31
*** flash1 has joined #sailfishos13:35
*** jjanvier has quit IRC13:37
m4g0gcoderus: pls,. help me. I have installed package in mersdk. Now there is /usr/include/socialcache/googleimagesdatabase.h13:43
m4g0gbut fatal error: socialcache/googleimagesdatabase.h: No such file or directory13:43
*** Finlod has joined #sailfishos13:45
*** jjanvier has joined #sailfishos13:47
*** roboro has quit IRC13:48
*** roboro has joined #sailfishos13:48
*** roboro has quit IRC13:51
*** roboro has joined #sailfishos13:51
*** Jef91 has joined #sailfishos13:54
*** Jef91 has joined #sailfishos13:54
*** flash1 has quit IRC13:54
*** SpeedEvil has quit IRC13:55
dpurginm4g0g, did you install it manually? If so, did you do re-sync? In Qt Creator open SailfishOS view (from the left toolbar), click "Manage" on corresponding arch and click "sync"13:56
*** SpeedEvil has joined #sailfishos13:56
*** Shinryuu has joined #sailfishos13:56
*** roboro has quit IRC13:58
*** roboro has joined #sailfishos13:58
*** Nc_ has joined #sailfishos13:59
*** sikakraa has joined #sailfishos14:02
*** anandrkris has quit IRC14:03
*** Sailor11736 has joined #sailfishos14:03
m4g0gyes, resync, restart - all the same14:04
m4g0gmay be I did something wrong?14:05
*** adherry has quit IRC14:06
*** spider-mario has joined #sailfishos14:08
*** TMavica has joined #sailfishos14:09
*** filippz has quit IRC14:16
*** tigeli has quit IRC14:16
*** tigeli has joined #sailfishos14:17
*** roboro has quit IRC14:21
*** roboro has joined #sailfishos14:21
*** roboro has quit IRC14:22
*** roboro has joined #sailfishos14:23
m4g0gI already add this include in SailfishOS/mersdk/targets/SailfishOS-i486/usr/include/socialcache but it doesn't help too14:24
*** R-Z has joined #sailfishos14:27
*** Venemo has joined #sailfishos14:30
*** meekygeek has joined #sailfishos14:32
*** TMavica has quit IRC14:33
*** roboro has quit IRC14:34
*** TMavica has joined #sailfishos14:34
*** roboro has joined #sailfishos14:34
*** marxistvegan has quit IRC14:35
*** marxistvegan has joined #sailfishos14:35
*** roboro has quit IRC14:41
*** roboro has joined #sailfishos14:41
*** Shinryuu has quit IRC14:42
SK_workm4g0g: weired14:46
*** phaeron has quit IRC14:46
SK_workm4g0g: did you installed it in the sb2 targets ?14:46
*** zalan has quit IRC14:46
SK_worksb2 -t SailfishOS-i486 -R zypper in <your.rpm>14:46
SK_workinside the mer vm14:46
*** Nc_ has quit IRC14:47
m4g0gi copy rpm to mersdk and do zypper in rpm14:47
SK_workm4g0g: this don't work14:47
m4g0gI will try14:47
SK_workyou need to install them inside sb2 targets14:47
SK_worksb2 are used to compile14:48
*** Sailor11736 has quit IRC14:48
*** twixx has joined #sailfishos14:53
*** phaeron has joined #sailfishos14:55
iekkucommunity meeting starting soon15:00
*** VDVsx has quit IRC15:01
sledgessailfishos community collaboration @ #mer-meeting now15:01
sledgesPSA ^15:02
*** Sailor11736 has joined #sailfishos15:03
*** prplmnky has joined #sailfishos15:03
*** roboro has quit IRC15:06
*** roboro has joined #sailfishos15:06
*** prplmnky has quit IRC15:06
*** prplmnky has joined #sailfishos15:08
*** sletta has quit IRC15:09
*** martyone_ has quit IRC15:09
*** tanty is now known as tanty_off15:09
*** sletta has joined #sailfishos15:09
*** sletta has quit IRC15:09
*** phaeron has quit IRC15:10
*** M4rtinK_jolla_ has joined #sailfishos15:11
*** Sail0r has quit IRC15:12
*** Nc_ has joined #sailfishos15:13
*** zalan has joined #sailfishos15:16
*** hasdf_ has quit IRC15:17
*** hasdf has joined #sailfishos15:18
*** sandy_locke has quit IRC15:22
*** sandy_locke has joined #sailfishos15:22
*** sandy_locke has joined #sailfishos15:22
meekygeek*sigh*. firefox build for jolla successfull. executable launches, not error and no window visible !!!15:26
*** sandy_locke has quit IRC15:27
*** Trizt has quit IRC15:27
meekygeeksandsmark: guess the qt port support wayland. when launched with ./firefox -platform xcb I get a list of supported platforms.15:27
meekygeeknemo@Jolla bin]$ ./firefox -platform xcb15:28
meekygeek[F] init_platform:917 - This application failed to start because it could not find or load the Qt platform plugin "xcb".15:28
meekygeekAvailable platform plugins are: hwcomposer, minimal, wayland-egl, wayland.15:28
SK_workfirefox ?15:28
SK_workor sailfish-browser ?15:28
meekygeekmanaged to build firefox from mozilla central yesterday15:28
sandsmarkmeekygeek: so, what happens if you run with -platform wayland or -platform wayland-egl?15:29
sandsmarkactually, I don't know if any old wayland app will work, or if the sailfishapp stuff does something more...15:29
SK_worksandsmark: sailfishapp is just boosting15:30
SK_worknothing interesting15:30
meekygeekokay. tried that15:30
SK_workshould try with -platform wayland15:30
meekygeek[nemo@Jolla bin]$ ./firefox -platform wayland15:30
meekygeek[nemo@Jolla bin]$ ./firefox -platform wayland-egl15:30
meekygeek[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL15:30
sandsmarkSK_work: ok15:30
SK_workproblem about this is that maybe the window is not shown fullscreen15:30
SK_workmeekygeek: know where the Qt code is called ?15:30
sandsmarkdoesn't it fullscreen everything?15:30
SK_workneed to do a showFullscreen ?15:30
*** sandy_locke has joined #sailfishos15:30
*** sandy_locke has joined #sailfishos15:30
SK_worksandsmark: actually true indeed, show() calls showFullscreen15:30
sandsmarkI thought the compositor fullscreened everything15:30
meekygeek-platform wayland was waiting there for sometime. killed it…15:31
sandsmarkwayland-egl is better?15:31
sandsmarkfirefox probably takes some time to load, though...15:31
meekygeekwayland-egl gives a [D] debug message and waits there. a bit improvement15:31
meekygeekbut no window shows up15:31
sandsmarkhow long do you wait?15:32
meekygeeksome time to load, yeah true. but cant take 4 hours. Have waited for atleast 4 hours on this :-P15:32
*** Lipevakala has joined #sailfishos15:32
meekygeekthe good thing is hwcompositor15:32
meekygeek[nemo@Jolla bin]$ ./firefox -platform hwcomposer15:33
meekygeek[D] HwComposerScreenInfo::HwComposerScreenInfo:251 - EGLFS: Screen Info15:33
meekygeek[D] HwComposerScreenInfo::HwComposerScreenInfo:252 -  - Physical size: QSizeF(57, 100)15:33
meekygeek[D] HwComposerScreenInfo::HwComposerScreenInfo:253 -  - Screen size: QSize(540, 960)15:33
*** dhbiker has quit IRC15:33
meekygeek[D] HwComposerScreenInfo::HwComposerScreenInfo:254 -  - Screen depth: 3215:33
meekygeek== hwcomposer module ==15:33
meekygeek * Address: 0x46fa500015:33
meekygeek * Module API Version: 215:33
meekygeek * HAL API Version: 015:33
meekygeek * Identifier: hwcomposer15:33
meekygeek * Name: Qualcomm Hardware Composer Module15:33
meekygeek * Author: CodeAurora Forum15:33
meekygeek== hwcomposer module ==15:33
meekygeek== hwcomposer device ==15:33
meekygeek * Version: 3 (interpreted as 30001)15:33
meekygeek * Module: 0x46fa500015:33
meekygeek== hwcomposer device ==15:33
sandsmarkthat's an android thing, I think?15:33
SK_workmeekygeek: use pastebin15:33
meekygeek[D] HwComposerBackend_v0::refreshRate:118 - VSync: 17543859ns, 57.000000fps15:33
SK_workdon't spam15:33
meekygeek[W] QEglFSScreen::QEglFSScreen:56 - QEglScreen 0x40c9f28015:33
meekygeek[W] QEglFSWindow::QEglFSWindow:58 - QEglWindow 0x4963ad00: 0x49634f60 0x015:33
meekygeekSegmentation fault15:33
meekygeekatleast there is a core dump :-)15:33
SK_workmeekygeek: hein15:33
SK_workuse pastebin !15:33
Nicd-don't paste here15:33
meekygeeksorry about it15:33
SK_workegl shouldn't work15:33
Nicd- is good :)15:34
SK_workas lipstick is already shown with egl15:34
meekygeekSK_work: but what did you mean by showFullScreen()15:34
meekygeekdidnt get that15:34
SK_workmeekygeek: nothing interesting actually15:34
SK_workshould work ...15:34
sandsmarkhmm, someone has ported xwayland15:35
meekygeekfolks at #firefox were quite helpfull today morning and advised on it. They suspected it might be due to desktop version built.15:36
sandsmarkmeekygeek: what if you pass an url as well? :)15:36
sandsmarkjust wild shot15:36
meekygeeklemme try15:36
meekygeekits just the same old behaviour :-(.  why cant it just say that it is an error and just halt it. *sigh*15:38
sandsmarkthere isn't any environment variables to get debug output from it?15:38
meekygeekbtw, #firefox folks suggested that one roxama was looking after the meego port might be able to help on this. but couldnt get hold there.15:40
sandsmarkmeekygeek: hmm, try running it in gdb?15:40
sandsmarkgdb --args ./foo/firefox -platform wayland-egl15:41
sandsmarkor something like that15:41
sandsmarkand then wait for a while when hanging (give five minutes or so), ctrl+c, and type bt to see what it is doing15:41
*** Trizt has joined #sailfishos15:41
sandsmarkor "thread apply all bt" to see for all threads15:42
*** Lipevakala_ has joined #sailfishos15:44
*** Lipevakala has quit IRC15:46
*** N-Mi_ has quit IRC15:48
meekygeekjust getting No Stack. output. Had disabled-debug-symbols while building15:51
*** Sailor11736 has quit IRC15:51
meekygeekperhaps shall try once again and keep you guys posted.15:51
sandsmarkhmm, it should still have a stack15:51
sandsmarkhow about running "strace ./foo/firefox -platform wayland-egl"?15:52
SK_worksandsmark: no stack if built as release15:52
SK_workonly garbadge ?15:52
sandsmarkit still has a stack15:53
sandsmarkit just won't have pretty symbols for everything15:53
*** aboyer has quit IRC15:54
meekygeekah a bunch of lines is going through the screen15:55
*** N-Mi_ has joined #sailfishos15:55
sandsmarkmeekygeek: yeah, but does it stop?15:55
sandsmarklike waiting for something15:55
sandsmarkstrace prints all system calls an application does15:56
meekygeekit waits at a poll system call15:56
sandsmarkok, doesn't really help much, sorry15:57
sandsmarkbut yeah, did the #firefox people say anything about how to make sure you didn't build the desktop version?15:57
*** prplmnky has quit IRC15:59
meekygeeknot really. Currently only the android branch is supported. I think Oleg Romashin was handling the meego port. But since then it seems the only supported mobile branch is android, and he wasnt sure if —enable-mobile-optimize did indeed build the mobile version for any other platform.16:01
sandsmarkhmm, ok16:03
meekygeekbut the strace does indeed gives some insight. typicall there is a poll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}, {fd=24, events=POLLIN}, {fd=33, events=POLLIN}], 4, 0) = 0 (Timeout) and then there is EAGAIN signal and keeps retrying.16:03
meekygeekthe poll happens, waits for sometime and then triggers again. guess, there is a resource locking or something.16:04
meekygeekSK_work, sandsmark: thanks for suggesting it. Will study a bit more.16:06
sandsmarkmeekygeek: you could try saving the strace to a file, and then trying to read upwards to find what it is polling on16:07
meekygeekallright sure. about to close for the day. shall get back tomorrow?16:08
sandsmarkgood luck!16:09
meekygeekwith the preliminary study, looks like something to do with TelemetryStopwatch.jsm file in toolkit/components/telemetry16:11
meekygeeknot sure might need some more time.16:11
meekygeekthanks sandsmark. Have a nice day !!!16:11
sandsmarkyou to!16:11
*** meekygeek has left #sailfishos16:12
*** nsa-rep has joined #sailfishos16:15
*** nsa-rep has left #sailfishos16:15
*** kunev has quit IRC16:17
*** Sailor11736 has joined #sailfishos16:17
*** Lipevakala_ has quit IRC16:17
*** Lipevakala has joined #sailfishos16:19
*** Lipevakala has quit IRC16:24
*** Nightmare__ has joined #sailfishos16:27
*** zGrr has quit IRC16:28
*** Morpog_PC has joined #sailfishos16:30
*** Sail0r has joined #sailfishos16:32
*** Sail0r has quit IRC16:32
*** billtux has quit IRC16:34
*** Venemo has quit IRC16:44
*** dpurgin has quit IRC16:44
*** tanty_off is now known as tanty16:52
*** Sailor11736 has quit IRC16:52
*** pasik has quit IRC16:55
*** jjarven has quit IRC16:55
*** jjarven has joined #sailfishos16:55
*** pasik has joined #sailfishos16:56
*** VDVsx has joined #sailfishos16:56
*** rm_work|away is now known as rm_work17:00
*** corecomic has joined #sailfishos17:00
*** VDVsx has quit IRC17:06
*** VDVsx has joined #sailfishos17:06
*** twixx has quit IRC17:09
*** rm_work is now known as rm_work|away17:09
*** Sailor11736 has joined #sailfishos17:16
*** nomeata has joined #sailfishos17:18
saidinesh5sandsmark: btw. i m taking look at that state machine and the other task that is assigned to me on trello17:21
*** cloanta has joined #sailfishos17:21
*** ottulonen is now known as ottulo17:22
*** daitheflu has quit IRC17:23
*** Nekron_dev has joined #sailfishos17:28
*** tat has quit IRC17:32
*** dr_gogeta86 has quit IRC17:32
*** ndvl has quit IRC17:36
*** Nokius_ has joined #sailfishos17:40
*** Blizzz has quit IRC17:42
*** flywheel has joined #sailfishos17:42
*** Nokius__ has quit IRC17:43
*** Nekron_ has joined #sailfishos17:43
*** Nekron_dev has quit IRC17:45
*** Nekron_ has quit IRC17:48
*** sandy_locke has quit IRC17:48
*** sandy_locke has joined #sailfishos17:49
*** sandy_locke has joined #sailfishos17:49
*** uvatbc has joined #sailfishos17:50
*** r0kk3rz has joined #sailfishos17:50
*** iskatu has quit IRC17:54
*** jua_ has joined #sailfishos17:56
stephghey guys17:59
*** ndvl has joined #sailfishos18:01
*** iskatu has joined #sailfishos18:01
*** jjanvier_ has joined #sailfishos18:03
*** Shinryuu has joined #sailfishos18:06
*** jjanvier has quit IRC18:06
*** zetaz has joined #sailfishos18:13
*** jjanvier_ has quit IRC18:14
sandsmarksaidinesh5: okok18:17
saidinesh5sandsmark: what are you upto?18:17
sandsmarkI'm not sure what kind of statemachine that is18:17
sandsmarkjust got home :D18:17
saidinesh5lol you know.. the punctuation18:18
saidinesh5and capitalization18:18
sandsmarkah, yeah18:18
sandsmarkI'm not completely sure we need a statemachine for that?18:18
saidinesh5i originally thought we would need one18:18
saidinesh5now i m just implementing normal rules18:18
saidinesh5originally the plan was to do all that inside skeyer itself18:18
saidinesh5but with maliit plugin's surrounding text18:19
saidinesh5we wont need that18:19
*** flywheel has quit IRC18:19
saidinesh5looks like while "cleaning up" the swipeable key yesterday i introduced a few bugs18:19
sandsmarkwell, that always happens when one cleans up :P18:20
*** flywheel has joined #sailfishos18:21
*** phaeron has joined #sailfishos18:25
*** Shinryuu has quit IRC18:31
*** hge has quit IRC18:32
*** s5pik3 has joined #sailfishos18:32
*** phaeron has quit IRC18:36
*** SpeedEvil has quit IRC18:38
*** SpeedEvil has joined #sailfishos18:38
*** Kabouik has joined #sailfishos18:49
*** sletta has joined #sailfishos18:51
*** r0kk3rz has quit IRC18:52
*** N-Mi_ has quit IRC18:52
*** furikku has quit IRC19:00
*** spider-mario has quit IRC19:00
*** spider-mario_ has joined #sailfishos19:00
*** crazy_imp has quit IRC19:01
*** spider-mario_ is now known as spider-mario19:01
*** N-Mi_ has joined #sailfishos19:04
*** N-Mi_ has quit IRC19:04
*** N-Mi_ has joined #sailfishos19:04
*** crazy_imp has joined #sailfishos19:07
*** crazy_imp has joined #sailfishos19:07
*** hasdf has quit IRC19:09
*** Lipevakala has joined #sailfishos19:10
*** Lipevakala has quit IRC19:11
*** SpeedEvil has quit IRC19:18
*** rubdos has quit IRC19:18
*** nomeata has quit IRC19:19
*** nomeata has joined #sailfishos19:19
*** cvp_ has joined #sailfishos19:25
*** SpeedEvil has joined #sailfishos19:25
*** hasdf has joined #sailfishos19:26
saidinesh5sandsmark:  so i am adding a setting whether to directly forward keyPresses or to create words and then send things in the engine, that way in apps like terminal etc.. it wont enable the word matchers19:26
saidinesh5or even for passwords..19:26
saidinesh5so might have to rewrite the preedit code..19:26
saidinesh5hmm... so hunspellmatcher vs. that...19:28
*** Venemo has joined #sailfishos19:33
*** M4rtinK_jolla_ has quit IRC19:33
*** Lipevakala has joined #sailfishos19:37
*** piggz has joined #sailfishos19:38
*** inta has joined #sailfishos19:40
*** Lipevakala_ has joined #sailfishos19:40
*** Lipevakala has quit IRC19:41
*** sletta has quit IRC19:42
*** martyone_ has joined #sailfishos19:47
*** inta has quit IRC19:48
*** Lipevakala_ has quit IRC19:55
*** beidl_ has joined #sailfishos19:56
*** N-Mi_ has quit IRC19:56
*** beidl has quit IRC19:58
saidinesh5sandsmark: also for mmaping we can request same addresses as we got the last time...20:00
saidinesh5so tempted to fix your BK tree that way20:00
*** rm_work|away is now known as rm_work20:01
*** cloanta has quit IRC20:02
*** hasdf has quit IRC20:03
*** cloanta has joined #sailfishos20:03
m4g0gin u10 there is oom killer, is there?20:05
faeniloom is everywhere20:06
m4g0gI don't understand why after u10 very often some my applications begin to close. There wasn't such behavior before u1020:11
*** Nc_ has quit IRC20:14
faenilbecause oom killer now works *better*...this is the official explanation20:16
faenil(I mean, what I think is in the changelog)20:16
faenil(I'm NOT working for jolla so don't take my word as such :D )20:17
*** hasdf has joined #sailfishos20:17
m4g0gfuck. How to downgrade to previouse update?20:18
Armadilloalso also experienced this behaviour20:18
Armadilloand it didn't matter if the device was recently rebooted or not20:18
faenilthe thing I dislike the most is when I tap on a telegram notification20:19
faeniland I see the telegram window closing20:19
faenilthat really *sucks*20:19
faenil(and the app *obviously* is not even restarted!)20:19
*** Sail0r has joined #sailfishos20:20
TemeVm4g0g: there is instructions on together and how to calm the oom killer down20:21
sandsmarkfaenil: sure the app isn't just crashing?20:21
*** martyone_ has quit IRC20:21
faenilsandsmark, nope, not sure (re: my particular case)20:22
sandsmarkI don't really think the oom killer is involved when an app closes when you interact with it...20:22
*** arcean has quit IRC20:22
faenilwell, maybe it closes before but then window is only deleted when you go to the homescreen :) due to a bug maybe, who knows20:23
faenilI'll make sure to check the log when it happens again20:23
sandsmarkdo it20:23
faenil"when it happens again"20:23
*** Bernte_ has quit IRC20:23
faenilit doesn't always happen20:23
sandsmarkor just look in dmesg, the oomkiller puts a lot of stuff in dmesg when it does its work20:23
TemeVor maybe the app is killed right before being called, when the thing that calls the app needs some memory20:24
faenilthat could also be20:24
*** Bernte has joined #sailfishos20:24
sandsmarkTemeV: what thing?20:24
TemeVsome middle ware or something20:25
sandsmarkeh, like dbus?20:25
TemeVfor example20:25
*** arcean has joined #sailfishos20:25
TemeVI don't know if it is realistic scenario20:26
sandsmarkit isn't20:26
*** tat has joined #sailfishos20:26
sandsmarksaidinesh5: but hmm, you want to give hunspell a list of swipehints?20:27
sandsmarkand then feed it our swipes, and see what it comes up with?20:27
*** TMavica has quit IRC20:29
*** cloanta has quit IRC20:30
*** Blizzz has joined #sailfishos20:31
*** cmazieri has quit IRC20:31
*** slate has quit IRC20:31
*** slate has joined #sailfishos20:31
*** M4rtinK has joined #sailfishos20:31
*** faenil has quit IRC20:32
*** faenil has joined #sailfishos20:33
*** gogeta has joined #sailfishos20:34
*** rm_work is now known as rm_work|away20:34
*** cloanta has joined #sailfishos20:34
*** Sail0r has quit IRC20:39
faenilsandsmark, nothing in dmesg, apparantely hasn't happened yet since reboot20:40
sandsmarkyeah, the improvements in the latest upgrade should have improved memory usage across the board20:40
m4g0gTemeV: - this?20:41
faenilsandsmark, actually I think I didn't have this notifaction issue before u1020:41
sandsmarkfaenil: but it doesn't sound like it has anything to do with the oomkiller20:42
*** rm_work|away is now known as rm_work20:42
faenilprobably..we'll see20:42
TemeVm4g0g: I'm not really sure. I haven't tried those20:42
*** cmazieri has joined #sailfishos20:43
*** hasdf has quit IRC20:43
*** corecomic has quit IRC20:45
*** Nc_ has joined #sailfishos20:47
*** Finlod has quit IRC20:47
*** Dotti has quit IRC20:51
*** corecomic has joined #sailfishos20:52
*** corecomic has quit IRC20:53
*** corecomic has joined #sailfishos20:53
*** s5pik3 has quit IRC20:55
*** jjanvier has joined #sailfishos20:55
saidinesh5sandsmark: yes, use 2 hunspellmatcher objects.. one working on the wordList and one working on the swipeHints20:59
*** s1gk1ll_ has quit IRC20:59
*** corecomic has quit IRC21:00
saidinesh5but not sure how to map swipeHints to words using hunspell21:00
*** s1gk1ll has joined #sailfishos21:00
saidinesh5cleanly i mean21:00
sandsmarkwe can use hunspell to find the most likely hunspell, and just look up the corresponding word21:01
sandsmarkmost likely swipehint21:02
saidinesh5so that means hunspell keeps a copy of swipehints, words in memory, and we keep a mapping of swipehints words in memory :P21:02
*** corecomic has joined #sailfishos21:02
sandsmarkI'm also not sure if it is a good idea, these aren't the kind of "spelling errors" hunspell is made for :P21:02
*** AlmAck has joined #sailfishos21:03
*** Nightmare__ has quit IRC21:03
*** gogeta has quit IRC21:03
saidinesh5mhm.. although since hunspell takes care of so many languages21:03
saidinesh5i think21:03
saidinesh5it can take care of this21:03
saidinesh5the only reason this is a problem is cuz of the unclean architecture and the memory21:03
saidinesh5btw. implemented the currentWord in engine21:04
saidinesh5so now thinking about how to bring it to maliitplugin21:05
sandsmarkjust set it as preedit?21:05
saidinesh5yeah having to read about it21:05
sandsmarkif I understand correctly, just connect it to SkeyerInputMethod::onSuggestionUpdated(21:06
saidinesh5yeah i had to remove that :P21:06
sandsmarkmy beautiful method21:06
saidinesh5the method is still there21:06
saidinesh5the signal is gone :P21:06
saidinesh5so basically here is my dilemma21:06
saidinesh5on some places21:06
saidinesh5like say terminal etc...21:06
saidinesh5you want to forward the keypresses directly21:07
saidinesh5no "word matching" stuff has to happen there21:07
sandsmarkwell, I had that :P21:07
saidinesh5you did?21:07
sandsmarkoh, no21:07
sandsmarkwell, not completely21:07
sandsmarkbut backspace, for example21:07
*** corecomic has left #sailfishos21:08
saidinesh5yeah i know21:08
saidinesh5basically engine needs a parameter too21:08
saidinesh5to preedit words21:08
faenilskeyer? cool stuff, good luck with it :)21:08
*** zalan_ has joined #sailfishos21:08
saidinesh5thanks faenil :)21:09
saidinesh5sandsmark: could you git pull?21:09
saidinesh5and run the demo now..?21:09
sandsmarkone sec21:09
*** zalan has quit IRC21:09
*** s5pik3 has joined #sailfishos21:10
*** Kabouik has quit IRC21:11
Stskeepsindeed, cool work you guys21:11
*** Kabouik has joined #sailfishos21:12
sandsmarksaidinesh5: ok, it runs21:13
saidinesh5so you see how it works right?21:13
saidinesh5Engine::currentword is what changes21:14
saidinesh5and then it updates Engine::matches21:14
saidinesh5as currentWord changes21:14
Stskeepsooi, do you have your efforts on github anywhere?21:14
Stskeepsor git21:14
saidinesh5Stskeeps: its currently in a private repo on git, will soon opensource it as soon as we have something more than.... "a toy"21:14
Stskeepsor you're bought out for 1 billion dollars21:15
faenilor you're sued :D21:15
faenilnah, I hope the best for you :D21:15
saidinesh5thatss actually one reason it is still in private tbh, dont want to worry about the legal issues at least till its done :P21:17
sandsmarkI don't live in a crazy country with software patents21:17
sandsmarkand I know good lawyers :p21:18
saidinesh5lol i m pretty sure lawyers is one less thing i want to worry about during the job hunt21:19
sandsmarkwell, let me handle the lawyers, then21:20
saidinesh5aye aye21:20
sandsmarkhmm, I don't have family in the patent office anymore, though21:21
sandsmarksaidinesh5: but hmm, what is the Engine::wordSelected signal?21:22
sandsmarkor rather, why does it have the path21:24
sandsmarkand input21:24
sandsmarkand not just the word :D21:24
*** Lipevakala has joined #sailfishos21:27
saidinesh5sandsmark: so that the wordMatchers can learn too...21:27
saidinesh5remember there was a messed up curvematcher algorithm too? :P21:28
sandsmarkah, true21:28
saidinesh5sandsmark: so i think i should make your BKtree work with an mmaped allocator first21:28
saidinesh5that seems the most fun21:28
saidinesh5and useful21:28
sandsmarkdo it!21:29
saidinesh5fallback would be making a hunspellmatcher that uses 3x the memory21:29
*** phaeron has joined #sailfishos21:29
saidinesh5reading through the code now..21:29
sandsmarksaidinesh5: something like this okay?:
* saidinesh5 git resets --hard21:34
saidinesh5sandsmark: btw. yeah before you implement this, basically the idea is to make Engine support maliit's modes21:34
sandsmarkidunno what I'm implementing :D21:35
sandsmarkwhat am I implementing?21:35
saidinesh5i thought you were taking care of the preedit thing.. ?21:35
sandsmarkoh, yes21:35
saidinesh5enum TextContentType { FreeTextContentType, NumberContentType, PhoneNumberContentType, EmailContentType, UrlContentType, CustomContentType };21:36
saidinesh5we need to make engine aware of these...21:36
saidinesh5then it can automatically change keyboard's layouts and enable/disable word matching too21:37
saidinesh5if matches are disabled(along with swipe also being disabled), then it needs to send the keyPressed events directly21:37
saidinesh5engine just sends every keyPress and wordSelected() blindly to the skeyerinputmethod21:39
*** Kabouik has quit IRC21:39
saidinesh5and there you can call engine::setCurrentWord21:39
saidinesh5which seems cleaner now...21:39
sandsmarkit does!21:39
sandsmarkback and forth seems weird21:40
sandsmarkmaybe use skeyerview..21:40
saidinesh5SkeyerView already exposes SkeyerView::wordEngine SkeyerView::keyboardModel21:41
saidinesh5wordEngine's job is to use the currentWord/currentInput to generate matches21:42
saidinesh5it also collect's all the input from the UI21:42
saidinesh5so whether the currentWord is created in the engine or in the plugin is up to us to decide21:42
sandsmarkI was thinking that the skeyerview decides whether to send the keys directly to the maliit or to the engine21:42
saidinesh5skeyerview as in skeyerinputmethod..21:43
sandsmarkbut maybe?21:43
sandsmarkbah, my head is cloudy :P21:43
saidinesh5hehhe skeyerview is just a dumber shell than engine21:43
saidinesh5it just creates the view and exposes engine, keyboardlayout, settings to whoever needs it21:44
saidinesh5skeyerinputmethod is our interface with maliit21:44
sandsmarkok, your second suggestion makes the most sense21:44
saidinesh5so i think the engine should just sendout keyPressed() and wordSelected()21:44
*** cvp_ has quit IRC21:45
sandsmarkoh, what I meant was that instead of engine sending keyPressed, let skeyerview do it21:45
sandsmarkor just connect it straight from the qml to the skeyerinputmethod21:45
saidinesh5nah, the reason engine is collecting the input is to have direct access to swipes21:45
saidinesh5because in case of swipes there is no currentWord to generate matches21:46
saidinesh5but it doesnt make much difference does it?21:47
saidinesh5SkeyerView::engine is public21:47
saidinesh5and so is SkeyerView::keyboardmodel21:47
saidinesh5the reason i m inclined to make skeyerinputmethod handle the words is because then it can directly fetch and edit any of the words typed so far in the textinput21:55
saidinesh5the only thing is this means skeyerdemo is no longer useful :P21:56
sandsmarkyeah :V22:00
sandsmarkbut it's so pretty22:00
*** Nc_ has quit IRC22:03
*** Lipevakala has quit IRC22:04
*** Sailor11736 has quit IRC22:05
*** Bernte has quit IRC22:07
saidinesh5sandsmark: yup. the currentword must be created in the inputmethod itself because user clicking in the middle of a word...22:07
saidinesh5and then backspaces22:08
saidinesh5okay so this means the engine becomes simpler22:08
sandsmarkit does22:08
saidinesh5also i have separated keyPresses from specialKeyPresses22:08
sandsmarkah, cool22:08
saidinesh5this was mainly to filter out the layout switching and stuff22:08
saidinesh5now i m wondering who should take care of the capitalization22:09
saidinesh5okay currentWordCapitalizationMethod...22:09
saidinesh5okay Engine::currentWordCapitalizationMethod...22:10
saidinesh5setCurrentWord(word, capitalization)22:10
saidinesh5that way it can do half the work22:11
saidinesh5the other half must be dealt at the inputMethod...22:11
*** zalan has joined #sailfishos22:12
*** zalan has quit IRC22:13
*** zalan_ has quit IRC22:16
*** ced117 has quit IRC22:18
*** corne has quit IRC22:20
*** corne has joined #sailfishos22:26
*** Morpog_PC has quit IRC22:26
*** corne is now known as Guest2917122:27
Olpehow can I access TimePickerDialog hour and minute values in the canAccept parameter. I'm trying to validate time input and only allow accept on certain time22:35
*** R-Z has quit IRC22:35
OlpeI tried like dialog.hour, hour, TimePickerDialog.hour but nothing is defined22:37
*** ndvl has quit IRC22:40
*** ahiemstra has quit IRC22:40
*** ahiemstra has joined #sailfishos22:41
sandsmarkOlpe: is dialog defined?22:41
sandsmarkOlpe: does your dialog have an id?22:42
Olpeyeah or it says it's not. I define it like dialog = pageStack.push("Sailfish.Silica.TimePickerDialog", {......22:42
Olpeno I didn't have an id on it22:43
OlpeI'll try that22:43
Olpedid not work with id there22:46
sandsmarkuh, does that work at all?22:48
sandsmarkweird, I should've used that myself :P22:48
sandsmarkOlpe: maybe make a Component?22:48
sandsmarkOlpe: the thing is that the code is now being evaluated in javascript, you want to set the expression in qml22:49
*** beidl has joined #sailfishos22:50
*** beidl_ has quit IRC22:51
sandsmarkbasically, it tries to evaluate "(((breakDialog.hour)*60 + breakDialog.minute) / 60).toFixed(2) < duration" when you create it22:51
sandsmarkwhich won't work22:51
sandsmarkyou could try with Qt.binding instead too22:51
Olpeah okey22:51
sandsmarkcanAccept: Qt.binding(function(){ return (((breakDialog.hour)*60 + breakDialog.minute) / 60).toFixed(2) < duration; })22:51
sandsmarkor something22:51
*** jua_ has quit IRC22:52
*** nomeata has quit IRC22:52
Olpeok. didn't get it working right away. Gonna try making a Component22:54
*** hasdf has joined #sailfishos22:59
*** K4-t has joined #sailfishos23:03
*** Pat_o has quit IRC23:04
*** zalan has joined #sailfishos23:04
*** faenil has quit IRC23:11
*** arcean has quit IRC23:11
*** piggz has quit IRC23:11
m4g0gchriadam_: ping23:15
*** Blizzz has quit IRC23:16
*** uvatbc has quit IRC23:17
*** nodevel has joined #sailfishos23:19
Olpesandsmark: now it works kinda, but when canAccept gets false it doesn't update again. I don't know if it meant to be used like I'm trying to23:20
sandsmarkOlpe: can you pastebin the code?23:21
Olpeit doesn't get true again even if i change the value23:21
Olpeone sec23:21
saidinesh5sandsmark: your BK tree wasnt dealing with duplicate nodes.... hence the weird result.. of 2x nodes being searched23:21
saidinesh5duplicate inserts23:22
sandsmarkI knew I had forgotten something23:22
sandsmarkwas thinking about it on my way to work today23:22
saidinesh5i m determined to make this work with mmaping today23:22
*** Kohelet has quit IRC23:22
sandsmarksaidinesh5: <323:22
sandsmarkOlpe: why the tofixed?23:24
Olpecopy paste from another place where i only wanted 2 digits23:25
sandsmarkah, but this work?: canAccept: (((breakDialog.hour)*60 + breakDialog.minute) / 60) <= duration23:25
sandsmarkI think maybe the function call might fuck up the property binding stuff23:26
*** zetaz has left #sailfishos23:28
Olpecould have been but no. Still the same23:29
sandsmarkwhat is duration in?23:30
Olpebut hey the dialog.accected.connect gets called even when the canAccept is false23:31
Olpeduration is in hours and two decimals eg. 8.52h23:31
sandsmarkeven if you just hardcode canAccept to falsE?23:31
OlpeI'll try that23:32
sandsmarkno, just wondered about the *60 blahblah /6023:32
Olpenot the prettiest way to handle it23:32
sandsmarkbut is it a string?23:33
Olpe property double duration: 823:33
Olpeno if i hardcode it to false, then accepted is not called23:34
Olpeit's probably because its true before calculated23:34
*** Venemo has quit IRC23:35
saidinesh5i have nooooo clue how it was doing editdistance so fast though23:37
sandsmarkOlpe: can you add «onCanAcceptedChanged: console.log("can accept?: " + canAccept")» as well, just to see what actually happens?23:38
sandsmarkor something like that23:38
sandsmarksaidinesh5: :D23:38
saidinesh5sandsmark: it really was calling editDistance for the 52000 nodes.. :|23:39
saidinesh5something must be off...23:39
saidinesh5nothing is off23:39
saidinesh5sandsmark: obviously edit distance for wordSize < 10 is about 100 operations.....23:39
sandsmarkhmm yeah23:40
saidinesh5but with swipeHints wordSize ~ 20-30 on average23:40
*** AlmAck has quit IRC23:40
saidinesh5but that still doesnt explain why its searching through all the nodes though...23:40
saidinesh5or maybe it does...23:41
saidinesh5search tolerance = 5...23:41
*** r0kk3rz has joined #sailfishos23:41
*** s5pik3 has quit IRC23:43
sandsmarkhaha, yeah23:43
sandsmarkforgot to turn it back down23:43
saidinesh5hmm... lets see23:44
saidinesh5weird though...its still not supposed to search through the whole dict23:44
Olpesandsmark: it seems like it doesnt change everytime. And when it gets false its impossible to get it back to true23:44
sandsmarkbut it changes sometimes?23:45
sandsmarkor only when created?23:45
Olpeyeah only when I accept and canAccept is true before swiping23:46
Olpeand then it calls accepted even if it gets false23:46
OlpeBut how about would it be possible to calculate canAccept everytime the hour or minute is changed in the dialog23:47
kimmoliOlpe: make your own timepicker-dialog23:47
kimmolithat calculation is "left" on the page, afaik it has to be in the dialog for it to work23:48
*** samikshan is now known as samikshan|afk23:48
sandsmarkbut now it is in a component, it should work, or?23:48
Olpekimmoli: hmm... where can I see the basic timepicker dialog code?23:49
OlpeThats a good idea, kimmoli. But i think i need some sleep now. Thanks sandsmark for helping me23:52
sandsmarkgoodnight :)23:52
sandsmarkI should sleep myself23:53
Olpegood night23:53
saidinesh5now let me abuse the BKTree a little......23:55
*** jjanvier has quit IRC23:56
saidinesh5sandsmark: so you were trying to look up words like "cake", "lol","love" with a search tolerance of 5? :P23:56
sandsmarkworked great23:56
saidinesh5i am actually thinking about whether or not allowing any pointer datatypes to be stored in the MMaped bktree23:57

Generated by 2.17.1 by Marius Gedminas - find it at!