*** zetaz has left #sailfishos | 00:06 | |
*** Blizzz has quit IRC | 00:10 | |
*** zetaz has joined #sailfishos | 00:14 | |
zetaz | Doesn't Sailfish follow freedesktop.notifications standard ? | 00:15 |
---|---|---|
zetaz | If 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 |
zetaz | I get a "No such method 'Notify' in interface 'org.freedesktop.Notifications'" | 00:15 |
zetaz | but I see it if I call the introspect method on the Notifications interface.... | 00:16 |
zetaz | What am I missing ? | 00:16 |
zetaz | Any DBus expert around ? | 00:18 |
zetaz | nobody ? ^ | 00:26 |
*** _CvP_ has joined #sailfishos | 00:26 | |
zetaz | Interestingly, removing the "--dest" arguments returns the better error : Method "Notify" with signature "" on interface "org.freedesktop.Notifications" doesn't exist | 00:31 |
zetaz | which is normal as I didn't gave it parameters | 00:31 |
zetaz | so 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 IRC | 00:35 | |
*** olafh has quit IRC | 00:35 | |
zetaz | I don't get it. Will try again tommorow... | 00:39 |
sandsmark | it doesn't work under kde either | 00:39 |
sandsmark | so looks like some non-xdg and gnome-specific thing? | 00:39 |
sandsmark | but there is a xdg standard for notifications, try finding that? | 00:40 |
zetaz | sandsmark: 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 IRC | 00:40 | |
sandsmark | which app? | 00:40 |
zetaz | I called myself for example, to have a notification of missed call, will looking at dbus-monitor | 00:41 |
zetaz | it gives this trace : method call sender=:1.38 -> dest=org.freedesktop.Notifications serial=820 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify | 00:41 |
*** zalan has quit IRC | 00:42 | |
*** zalan has joined #sailfishos | 00:42 | |
zetaz | The 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 |
zetaz | but it shouldn't answer that the method don't exist when poking it without parameters | 00:43 |
zetaz | I'm still a young padawan when it comes to DBus, so I must be missing something obvious... | 00:44 |
sandsmark | hmm, I'm not good at dbus myself | 00:44 |
sandsmark | I miss dcop, it was so much simpler :P | 00:44 |
zetaz | sandsmark: thanks for having taken a look ! | 00:45 |
*** Zian has quit IRC | 00:45 | |
sandsmark | zetaz: ah, dbus-send needs arguments as well | 00:45 |
sandsmark | dbus-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:10 | 00:45 |
sandsmark | doesn't error out at least | 00:45 |
sandsmark | from https://bbs.archlinux.org/viewtopic.php?pid=900140#p900140 | 00:46 |
*** zalan has quit IRC | 00:47 | |
sandsmark | oh, no | 00:47 |
sandsmark | forgot the print-reply | 00:47 |
sandsmark | hmm | 00:47 |
zetaz | signature is not ok | 00:48 |
zetaz | but interesting | 00:48 |
sandsmark | ok, I could call the interface manually with qdbusviewer | 00:48 |
zetaz | in 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 |
zetaz | so looks like the dbus implementations are really different between both system as even dbus-monitor don't return the same error messages ... | 00:50 |
sandsmark | no, I think the error is from the notification daemon | 00:50 |
zetaz | so maybe I should compare them too closely like I have done | 00:50 |
sandsmark | or, hmm | 00:50 |
zetaz | should not* | 00:50 |
zetaz | That will not be for today... | 00:52 |
sandsmark | muh | 00:52 |
zetaz | going to get some sleep and will try again tommorow | 00:52 |
sandsmark | unknown type variant | 00:52 |
sandsmark | ok | 00:52 |
sandsmark | goodnight | 00:52 |
zetaz | sandsmark: thanks for the help ! | 00:52 |
sandsmark | np | 00:52 |
sandsmark | zetaz: oh | 00:53 |
sandsmark | it's a bug in dbus-send | 00:53 |
sandsmark | it doesn't support dict:string:variant | 00:53 |
sandsmark | zetaz: http://lists.freedesktop.org/archives/dbus/2007-September/008385.html | 00:53 |
zetaz | I 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 |
sandsmark | the arguments changed recently, it seems | 00:55 |
sandsmark | the second-to-last argument went from a dict:string:string to dict:string:variant | 00:55 |
zetaz | damn, I may have found something stupid ! | 00:58 |
*** inte_away has joined #sailfishos | 00:59 | |
*** inte_away has quit IRC | 00:59 | |
*** inte_away has joined #sailfishos | 00:59 | |
zetaz | comparing 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 |
zetaz | trying with a cast to see if it is better... | 00:59 |
zetaz | sandsmark: Yeah !!! | 01:00 |
sandsmark | :D | 01:00 |
zetaz | It was this stupid unsigned missing ! | 01:00 |
sandsmark | haha, ok | 01:00 |
sandsmark | well, now you can sleep | 01:01 |
sandsmark | with a clean conscience | 01:01 |
zetaz | I knew I was missing something obvious. But didn't look at the simplest thing in this whole chain : the 0 integer ;) | 01:01 |
zetaz | My first notification ! ;) | 01:01 |
sandsmark | :D | 01:01 |
*** inte_awa` has quit IRC | 01:01 | |
zetaz | sandsmark: thanks for having kept me alive searching ! | 01:02 |
sandsmark | haha, np | 01:02 |
zetaz | alive -> awake | 01:02 |
sandsmark | what are you making? | 01:02 |
zetaz | a 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 |
sandsmark | ah, nice | 01:03 |
sandsmark | well, goodnight :) | 01:03 |
zetaz | goal is to then put that in phonebot, to have a rule to get the weather report each morning when I wake up | 01:03 |
zetaz | goodnight ! | 01:04 |
meekygeek | Hi All, managed to compile firefox (v30) for jolla. The build was successfull after a good ordeal. | 01:05 |
meekygeek | 7:55.03 firefox | 01:06 |
meekygeek | 7:57.70 plugin-container | 01:06 |
meekygeek | 7:57.70 xpcshell | 01:06 |
meekygeek | 8:40.13 Packaging quitter@mozilla.org.xpi... | 01:06 |
meekygeek | 8:41.19 607 compiler warnings present. | 01:06 |
meekygeek | Your build was successful! | 01:06 |
meekygeek | To take your build for a test drive, run: /home/nemo/Downloads/mozilla-central/objdir/dist/bin/firefox | 01:06 |
meekygeek | For more information on what to do now, see https://developer.mozilla.org/docs/Developer_Guide/So_You_Just_Built_Firefox | 01:06 |
meekygeek | [nemo@Jolla mozilla-central-83c9853e1364]$ cd ../objdir/dist | 01:06 |
meekygeek | [nemo@Jolla bin]$ ./firefox -v | 01:06 |
meekygeek | Mozilla Firefox 30.0a1 | 01:06 |
*** uvatbc has quit IRC | 01:07 | |
sandsmark | meekygeek: nice! | 01:07 |
sandsmark | built with wayland support, or? | 01:07 |
meekygeek | however, 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 #sailfishos | 01:08 | |
meekygeek | just a minute, shall check my mozconfig. I know for sure enabled cairo-qt and EGL | 01:08 |
*** qqK has quit IRC | 01:10 | |
meekygeek | yeah, the mozconfig entries are | 01:14 |
meekygeek | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir | 01:15 |
meekygeek | ac_add_options --enable-application=browser | 01:15 |
meekygeek | ac_add_options --disable-tests | 01:15 |
meekygeek | ac_add_options --disable-debug | 01:15 |
meekygeek | ac_add_options --disable-debug-symbols | 01:15 |
meekygeek | ac_add_options --enable-default-toolkit=cairo-qt | 01:15 |
meekygeek | ac_add_options --enable-mobile-optimize | 01:15 |
meekygeek | ac_add_options --disable-necko-wifi | 01:15 |
meekygeek | ac_add_options --disable-printing | 01:15 |
meekygeek | ac_add_options --enable-skia | 01:15 |
meekygeek | ac_add_options --disable-gstreamer | 01:15 |
meekygeek | ac_add_options --without-x | 01:15 |
meekygeek | ac_add_options --enable-tree-freetype | 01:15 |
meekygeek | ac_add_options --disable-xft | 01:15 |
meekygeek | ac_add_options --with-system-zlib | 01:15 |
meekygeek | #ac_add_options --with-system-cairo | 01:15 |
meekygeek | ac_add_options --with-gl-provider=EGL | 01:15 |
meekygeek | ac_add_options --without-x | 01:15 |
meekygeek | cairo-qt as the default toolkit, EGL as GL Provider and saying —without-x would build for wayland I guess. | 01:16 |
*** zalan has joined #sailfishos | 01:20 | |
sandsmark | hmm | 01:24 |
sandsmark | meekygeek: I'm not sure if it actually would | 01:24 |
sandsmark | this is apparently what is needed: https://bug635134.bugzilla.mozilla.org/attachment.cgi?id=8445763 | 01:25 |
sandsmark | from https://bugzilla.mozilla.org/show_bug.cgi?id=635134 | 01:25 |
merbot` | Mozilla bug 635134 in Graphics "Make Firefox work as well with Wayland (without X) as with just X" [Enhancement,New] | 01:25 |
DevBot | Bug 635134: was not found. | 01:25 |
DevBot | Bug https://bugs.merproject.org/show_bug.cgi?id=635134 was not found. | 01:25 |
meekygeek | oh is it. let me have a look | 01:27 |
meekygeek | however, gfx has got support for many backends, including cairo. | 01:27 |
meekygeek | let me study a bit more and try poking in #firefox. | 01:28 |
*** jcbjoe has joined #sailfishos | 01:28 | |
sandsmark | oki | 01:31 |
*** raimue is now known as Raim | 01:31 | |
*** Morpog_PC has quit IRC | 01:31 | |
meekygeek | apparently, that room isnt as “friendly” as this. Need a bit more energy to get answer from there. :-) | 01:34 |
*** meekygeek has quit IRC | 02:09 | |
*** meekygeek has joined #sailfishos | 02:10 | |
jcbjoe | anyone awake ? | 02:11 |
tadzik | yep | 02:11 |
jcbjoe | tadzik: you got a jolla ? | 02:11 |
tadzik | yep | 02:11 |
jcbjoe | cool just got mine in the mail and unboxed it | 02:12 |
tadzik | welcome :) | 02:12 |
tadzik | oh, you were asking about updates on #jollamobile | 02:12 |
jcbjoe | yep i'm excited no more nexus4 lol | 02:12 |
jcbjoe | yea | 02:12 |
tadzik | my advice is, get the latest one there is | 02:12 |
jcbjoe | no body answering | 02:12 |
tadzik | you may need to opt-in still | 02:12 |
jcbjoe | yea its nagging me already | 02:12 |
jcbjoe | for 1.1.1.27 | 02:12 |
jcbjoe | whats opt-in mean ? | 02:12 |
tadzik | hmm, at some point you needed to send an email to declare that you want the latest update | 02:13 |
tadzik | because things | 02:13 |
tadzik | 1.1.1.27 is the one I have | 02:14 |
tadzik | so go for it :) | 02:14 |
jcbjoe | so since its nagging for 1.1.1.27 just try it ? | 02:14 |
tadzik | it's nagging for a reason :) | 02:15 |
jcbjoe | i held it for the first time and thought i was giong to break it lmao | 02:15 |
tadzik | naah :) | 02:16 |
jcbjoe | the battery helped with teh weight | 02:16 |
tadzik | aah, in that sense | 02:16 |
tadzik | it's surprisingly durable in my experience | 02:17 |
jcbjoe | wow 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 on | 02:18 |
tadzik | did you have sailfish on it? | 02:19 |
jcbjoe | yep | 02:19 |
jcbjoe | been using it for like 2 months | 02:19 |
jcbjoe | thats why i got the jolla cause of the nexus4 with sailfish os on it | 02:19 |
meekygeek | sandsmark: atlast got some message in the console :-). WARN: Update manifest for {} did not contain updates property | 02:26 |
meekygeek | sandsmark: WARN: Exception running bootstrap method uninstall on firefox-hotfix@mozilla.org | 02:26 |
meekygeek | think it is a bit slow. | 02:27 |
meekygeek | got 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 |
meekygeek | also mentioned, romaxa was looking after the meego port who might be able to help | 02:29 |
locusf | hey jcbjoe | 02:39 |
jcbjoe | yo | 02:39 |
jcbjoe | locusf: finally got it | 02:40 |
locusf | jcbjoe: great :) | 02:40 |
jcbjoe | aren't you guys suppose to be sleep | 02:41 |
locusf | congrats, should give you a lot more satisfaction than n4 | 02:41 |
locusf | I should yes but coulsn't sleep longer :/ | 02:41 |
*** uvatdesk has quit IRC | 02:43 | |
*** Kabouik has quit IRC | 02:45 | |
*** triggerhappy has joined #sailfishos | 02:53 | |
*** pigletto has quit IRC | 02:56 | |
*** zhxt has quit IRC | 03:01 | |
*** pigletto has joined #sailfishos | 03:05 | |
*** zhxt has joined #sailfishos | 03:13 | |
*** SCVgeo has joined #sailfishos | 03:20 | |
*** zhxt has quit IRC | 03:28 | |
*** mhall119 has quit IRC | 03:30 | |
*** mhall119 has joined #sailfishos | 03:30 | |
*** Morpog_PC has joined #sailfishos | 03:44 | |
*** zhxt has joined #sailfishos | 03:48 | |
*** Shinryuu has joined #sailfishos | 03:51 | |
* ryukafalz likes his N4 :P | 04:02 | |
jcbjoe | :P | 04:04 |
*** rm_work|away is now known as rm_work | 04:18 | |
*** rm_work is now known as rm_work|away | 04:24 | |
*** flash1 has joined #sailfishos | 04:31 | |
*** flash1 has quit IRC | 04:31 | |
*** dpurgin has joined #sailfishos | 04:43 | |
*** martyone_ has joined #sailfishos | 04:49 | |
*** hge has joined #sailfishos | 04:51 | |
*** furikku has joined #sailfishos | 04:58 | |
*** hge_ has joined #sailfishos | 04:59 | |
*** hge has quit IRC | 05:03 | |
*** hge__ has joined #sailfishos | 05:10 | |
*** hge_ has quit IRC | 05:12 | |
*** flywheel has joined #sailfishos | 05:20 | |
*** hge_ has joined #sailfishos | 05:30 | |
*** Pat_o has joined #sailfishos | 05:30 | |
*** hge__ has quit IRC | 05:33 | |
*** spiiroin has quit IRC | 05:42 | |
*** hge__ has joined #sailfishos | 05:46 | |
*** olafh has joined #sailfishos | 05:47 | |
*** Jef91 has quit IRC | 05:48 | |
*** VDVsx has quit IRC | 05:48 | |
*** hge_ has quit IRC | 05:49 | |
*** Sequenced has quit IRC | 05:51 | |
*** VDVsx has joined #sailfishos | 05:59 | |
*** hge_ has joined #sailfishos | 06:02 | |
*** Morpog_PC has quit IRC | 06:03 | |
*** filippz has joined #sailfishos | 06:05 | |
*** hge__ has quit IRC | 06:06 | |
*** Shinryuu has quit IRC | 06:07 | |
*** ced117 has joined #sailfishos | 06:08 | |
*** N-Mi has quit IRC | 06:15 | |
*** spiiroin has joined #sailfishos | 06:19 | |
*** JoshStrobl has joined #sailfishos | 06:21 | |
*** spiiroin has quit IRC | 06:28 | |
*** Lipevakala has joined #sailfishos | 06:31 | |
*** sletta has joined #sailfishos | 06:34 | |
*** spiiroin has joined #sailfishos | 06:40 | |
*** Sail0r has joined #sailfishos | 06:41 | |
*** flx has quit IRC | 06:42 | |
*** marxistvegan has quit IRC | 06:44 | |
*** hge_ has quit IRC | 06:46 | |
*** samikshan is now known as samikshan|afk | 06:50 | |
*** samikshan|afk is now known as samikshan | 06:50 | |
ndvl | hey, i'm having problem with audio playback in my apps. i'm using qtmultimedia (Audio or MediaPlayer element) to play (for example) this song https://storage-new.newjamendo.com?trackid=242&format=mp31 and it stops every few seconds (even with different formats - ogg/flac). any idea? | 07:00 |
*** K4-t has left #sailfishos | 07:00 | |
ndvl | what 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 issue | 07:01 |
*** aboyer has joined #sailfishos | 07:08 | |
*** phaeron has joined #sailfishos | 07:10 | |
*** Lipevakala_ has joined #sailfishos | 07:17 | |
*** Lipevakala has quit IRC | 07:19 | |
*** radekp has joined #sailfishos | 07:20 | |
*** Venemo has joined #sailfishos | 07:21 | |
*** susundbe1g has quit IRC | 07:27 | |
*** supauli has joined #sailfishos | 07:27 | |
*** roboro has joined #sailfishos | 07:31 | |
*** disharmonic has quit IRC | 07:33 | |
*** Venemo has quit IRC | 07:41 | |
*** Lipevakala_ has quit IRC | 07:44 | |
*** Nc_ has joined #sailfishos | 07:44 | |
*** hge has joined #sailfishos | 07:51 | |
*** daitheflu has joined #sailfishos | 07:59 | |
*** phaeron has quit IRC | 08:03 | |
*** rainemak has joined #sailfishos | 08:03 | |
*** ParkerR has quit IRC | 08:06 | |
*** zGrr has joined #sailfishos | 08:07 | |
*** tuukkah has joined #sailfishos | 08:07 | |
*** ParkerR has joined #sailfishos | 08:09 | |
*** ParkerR has quit IRC | 08:09 | |
*** ParkerR has joined #sailfishos | 08:09 | |
*** vakkov has quit IRC | 08:12 | |
*** daitheflu has quit IRC | 08:16 | |
*** hge_ has joined #sailfishos | 08:16 | |
*** gexc has joined #sailfishos | 08:16 | |
*** hge has quit IRC | 08:17 | |
*** hge_ has quit IRC | 08:23 | |
*** vakkov has joined #sailfishos | 08:27 | |
*** jmlich has joined #sailfishos | 08:27 | |
*** jjanvier has joined #sailfishos | 08:28 | |
*** vakkov has quit IRC | 08:30 | |
*** billtux has joined #sailfishos | 08:34 | |
*** zGrr has quit IRC | 08:37 | |
*** arcean has joined #sailfishos | 08:39 | |
*** tat has quit IRC | 08:41 | |
*** m4g0g has joined #sailfishos | 08:43 | |
Olpe | what is the sqlite version in sailfish? | 08:45 |
*** tanty_off is now known as tanty | 08:45 | |
m4g0g | 3 | 08:46 |
Olpe | more precise? | 08:46 |
*** vakkov has joined #sailfishos | 08:46 | |
Olpe | I'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 |
dpurgin | it's 3.8.5 on the latest update | 08:48 |
dpurgin | just run sqlite3 --version | 08:48 |
Olpe | Ok. So it should be safe then. Thx | 08:48 |
*** tanty has quit IRC | 08:49 | |
*** tanty has joined #sailfishos | 08:50 | |
Olpe | What 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 once | 08:50 |
Olpe | or is there a better way | 08:50 |
*** zGrr has joined #sailfishos | 08:52 | |
Nicd- | by running it just once... I don't understand the problem | 08:55 |
*** vakkov has quit IRC | 08:55 | |
Olpe | like It does not need to be run every time the app is launched but just once after adding a new column to the table | 08:56 |
Nicd- | check if the column already exists. or save some value in the database stating the version it is in | 08:57 |
Olpe | yeah that would do the trick. Thx | 08:57 |
zGrr | moin :) | 09:00 |
dpurgin | Olpe, you may use either pragma table_info or pragma user_version | 09:02 |
dpurgin | see https://www.sqlite.org/pragma.html#pragma_table_info and https://www.sqlite.org/pragma.html#pragma_schema_version | 09:02 |
Olpe | nice dpurgin thanks | 09:07 |
Nicd- | dpurgin: nice, I'll have to remember that when I make updates | 09:08 |
dpurgin | you're all welcome :) | 09:10 |
*** vakkov has joined #sailfishos | 09:10 | |
Olpe | that pragma schema version looks really simple to use and worked nice when testing in console | 09:14 |
*** daitheflu has joined #sailfishos | 09:16 | |
dpurgin | the docs state that we should use user_version though | 09:17 |
Nicd- | yeah, use user_version | 09:17 |
*** tat has joined #sailfishos | 09:19 | |
*** rainemak has quit IRC | 09:19 | |
*** spiiroin has quit IRC | 09:19 | |
Olpe | oh. sure there is a reason for that... but it does not increment automatically | 09:19 |
*** rubdos has joined #sailfishos | 09:19 | |
*** rainemak has joined #sailfishos | 09:19 | |
coderus | daitheflu: hm, it should really work. are you trying on device or in emulator? | 09:22 |
daitheflu | coderus: hey thanks for your answer :)) I'm trying in emulator | 09:23 |
coderus | dpurgin: callrecorder fix working | 09:23 |
daitheflu | coderus: the weirdest thing is that I'm doing exactly the same thing in another project, and it works well there | 09:23 |
coderus | daitheflu: you should first try on device, it can be emulator bug | 09:23 |
coderus | code looks ok, so it should work fine | 09:23 |
dpurgin | Olpe, user_version isn't expected to be incremented automatically | 09:23 |
dpurgin | coderus, thanks for checking | 09:24 |
daitheflu | coderus: anyway, thanks a lot for your time and help | 09:24 |
m4g0g | Are there any way to test accounts in emulator? | 09:25 |
Olpe | dpurgin: yeah i know | 09:26 |
*** roboro has quit IRC | 09:27 | |
*** Venemo has joined #sailfishos | 09:28 | |
*** Venemo has quit IRC | 09:28 | |
coderus | m4g0g: i don't think so | 09:29 |
m4g0g | coderus: argh | 09:30 |
*** roboro has joined #sailfishos | 09:32 | |
coderus | m4g0g: why using emulator if have real device? i don't undrestand %) | 09:32 |
m4g0g | because I am afraid of breaking device | 09:33 |
*** roboro has quit IRC | 09:33 | |
coderus | lol | 09:33 |
coderus | until you not changing system files you okay | 09:33 |
*** roboro has joined #sailfishos | 09:33 | |
*** tigeli has quit IRC | 09:38 | |
*** kunev has joined #sailfishos | 09:39 | |
*** rashm2k has quit IRC | 09:42 | |
*** pvuorela has quit IRC | 09:43 | |
*** Lipevakala_ has joined #sailfishos | 09:43 | |
*** spiiroin has joined #sailfishos | 09:44 | |
*** Ishmayeck has quit IRC | 09:50 | |
*** Ishmayeck has joined #sailfishos | 09:52 | |
SK_work | coderus: question | 09:55 |
SK_work | how do you get contacts without being privileged on mitakuluu | 09:55 |
SK_work | I have seen no trace of privileged code in there | 09:56 |
*** Lipevakala_ has quit IRC | 10:00 | |
*** Lipevakala_ has joined #sailfishos | 10:02 | |
*** hge has joined #sailfishos | 10:02 | |
*** tigeli has joined #sailfishos | 10:04 | |
*** flywheel has quit IRC | 10:10 | |
*** Blizzz has joined #sailfishos | 10:10 | |
*** hge has quit IRC | 10:14 | |
*** meekygeek has left #sailfishos | 10:16 | |
*** dr_gogeta86 has joined #sailfishos | 10:22 | |
*** flash1 has joined #sailfishos | 10:25 | |
*** flash1 has quit IRC | 10:28 | |
coderus | SK_work: mitakuuluu is privileged using suid | 10:30 |
daitheflu | coderus: 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 properly | 10:30 |
coderus | daitheflu: oh | 10:31 |
SK_work | coderus: I have not seen this in the code, it's weired | 10:31 |
SK_work | where do you set the suid | 10:31 |
SK_work | ? | 10:31 |
SK_work | when building rpm ? | 10:31 |
coderus | https://github.com/CODeRUS/mitakuuluu2/blob/master/client/src/main.cpp#L99 | 10:31 |
coderus | same in server | 10:32 |
SK_work | coderus: haha | 10:32 |
SK_work | I see | 10:32 |
SK_work | thanks | 10:32 |
m4g0g | coderus: oh lol | 10:35 |
m4g0g | security! More security to the security god | 10:35 |
SK_work | indeed | 10:35 |
SK_work | :D | 10:35 |
m4g0g | why nobody wants to develop social networks applications and all uses android applications ( | 10:37 |
daitheflu | I wonder if a WorkerScript could fix my issue | 10:37 |
coderus | daitheflu: why you updating your model with timer? | 10:37 |
SK_work | m4g0g: did you see the API most social network provides ? | 10:38 |
m4g0g | SK_work: yes | 10:38 |
SK_work | they are ugly | 10:38 |
daitheflu | coderus: 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 |
m4g0g | vk.com, facebook, linkedin, goodreads, livejournal, | 10:39 |
m4g0g | foursqaure | 10:39 |
SK_work | daitheflu: beware of this: timer won't put your phone to sleep | 10:40 |
coderus | daitheflu: you don't mind creating model in c++? | 10:40 |
SK_work | better use something like nemo-keepalive | 10:40 |
daitheflu | oh F!CK | 10:40 |
coderus | SK_work: actually timer is ignored by sleep. when sleeping all timers are freezing | 10:40 |
SK_work | coderus: ha | 10:40 |
coderus | SK_work: timers not preventing phone from sleeping | 10:41 |
daitheflu | coderus: I don't know C++ and I'd like to avoid diving in it | 10:41 |
SK_work | well, what I wanted to say is that timers are resource consuming | 10:41 |
SK_work | well, daitheflu, you won't escape it | 10:41 |
coderus | live applications are always resource consuming, so | 10:41 |
*** gexc has quit IRC | 10:43 | |
*** faenil has joined #sailfishos | 10:44 | |
SK_work | coderus: if you make them sleep carefully, it should work | 10:46 |
*** flash1 has joined #sailfishos | 10:46 | |
SK_work | but indeed, stuff like instant messenging and co or apps that always pulls data are more resource consuming | 10:46 |
*** flash1 has quit IRC | 10:46 | |
daitheflu | coderus: so, what are you suggesting precisely ? | 10:46 |
*** phaeron has joined #sailfishos | 10:49 | |
*** gexc has joined #sailfishos | 10:50 | |
m4g0g | SK_work: ping. | 10:54 |
m4g0g | You are the main developer of libsocialcache? | 10:54 |
SK_work | m4g0g: no | 10:54 |
SK_work | well I initiated it | 10:54 |
*** gexc has quit IRC | 10:55 | |
m4g0g | I have added google images support. With whome I can speak about it or I should only send pull request? | 10:55 |
SK_work | m4g0g: send it to the nemo repository | 10:55 |
SK_work | we will review it :) | 10:55 |
m4g0g | ok | 10:55 |
m4g0g | thx | 10:56 |
*** gexc has joined #sailfishos | 10:56 | |
* daitheflu needs some fresh air | 10:58 | |
coderus | daitheflu: i'm always suggesting use c++ power for models :) | 11:03 |
coderus | i just updated better qmltypes for 1412 sdk. Grab it here: https://github.com/CODeRUS/better-sailfishos-qmltypes | 11:04 |
coderus | kimmoli: ^ | 11:04 |
m4g0g | fresh air for dweebs | 11:04 |
kimmoli | coderus: ok | 11:04 |
*** N-Mi_ has joined #sailfishos | 11:08 | |
*** N-Mi_ has joined #sailfishos | 11:08 | |
*** dhbiker has joined #sailfishos | 11:13 | |
daitheflu | m4g0g: thanks for your support | 11:17 |
m4g0g | =) | 11:17 |
dpurgin | coderus, did you try relocating recordings in the call recorder btw? | 11:20 |
daitheflu | coderus: once I get my c++ model working (in about 5-6 monthes), how do I get it updated regularly ? | 11:25 |
SK_work | daitheflu: use a timer / keepalive and connect the signal to some "update" method in your model | 11:26 |
daitheflu | SK_work: you mean a QTimer (c++) ? | 11:27 |
*** Sequenced has joined #sailfishos | 11:31 | |
*** plfiorini has quit IRC | 11:35 | |
*** Behold has joined #sailfishos | 11:36 | |
*** Guest35968 is now known as mord | 11:38 | |
coderus | dpurgin: no. do you need test? | 11:43 |
dpurgin | yes please, if it won't trouble you much | 11:44 |
dpurgin | it always works for me but I know there are Jollas in the outside world that just don't work as expected... | 11:44 |
coderus | daitheflu: just use model methods dataChanged/rowsAdded/rowsRemoved with any way you choose. QTimer or web sockets or etc. | 11:44 |
*** Trizt has quit IRC | 11:44 | |
daitheflu | coderus, SK_work : thanks :) | 11:46 |
coderus | daitheflu: ok i'm relocating to sdcard now | 11:46 |
*** Trizt has joined #sailfishos | 11:46 | |
coderus | daitheflu: just updating/resetting whole model is bad. using model methods is best choice | 11:48 |
*** plfiorini has joined #sailfishos | 11:48 | |
daitheflu | coderus: yep I understand that :) | 11:48 |
coderus | daitheflu: relocated ok | 11:49 |
*** qqK has joined #sailfishos | 11:49 | |
coderus | dpurgin: ^ | 11:49 |
coderus | dpurgin: i didn't checked playback before relocation | 11:49 |
coderus | but now after relocation when i'm playing recording it playing ok, but position not updated | 11:50 |
coderus | seeking working ok it seems | 11:50 |
dpurgin | yeah, it happens sometimes, I didn't look into it yet | 11:50 |
dpurgin | it can stuck on a long recording btw | 11:51 |
dpurgin | thx for checking | 11:51 |
coderus | it's just 0:59 | 11:51 |
*** Trizt has quit IRC | 11:51 | |
dpurgin | I'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 fault | 11:52 |
*** Trizt has joined #sailfishos | 11:52 | |
dpurgin | the file itself is ok, but it has something to do with these QML stuff | 11:52 |
*** kunev has quit IRC | 11:55 | |
*** kunev has joined #sailfishos | 11:58 | |
*** Lipevakala_ has quit IRC | 11:59 | |
coderus | dpurgin: seeking is working | 12:00 |
coderus | just progress not updated | 12:00 |
coderus | old recordings are ok, all new recordings don't update progress bar while playing | 12:02 |
*** adherry has joined #sailfishos | 12:03 | |
*** Lipevakala_ has joined #sailfishos | 12:04 | |
dpurgin | hmm. seems to be the sampling rate | 12:06 |
dpurgin | I changed it to 22 kHz | 12:07 |
*** Lipevakala has joined #sailfishos | 12:11 | |
*** Lipevakala_ has quit IRC | 12:11 | |
coderus | dpurgin: yes | 12:16 |
*** twixx has joined #sailfishos | 12:16 | |
*** gexc has quit IRC | 12:16 | |
coderus | with 16 its ok | 12:17 |
coderus | when i recorded 10 secs with 22 it only showed 00:02 at 00:09 once | 12:17 |
*** gexc has joined #sailfishos | 12:17 | |
*** Trizt has quit IRC | 12:18 | |
*** plfiorini has quit IRC | 12:18 | |
*** gexc has quit IRC | 12:19 | |
dpurgin | thanks for testing, I'll set it to 16 by default then | 12:20 |
m4g0g | hmm. How to install custom packages to mersdk? | 12:22 |
*** Lipevakala has quit IRC | 12:22 | |
*** jmlich has quit IRC | 12:22 | |
m4g0g | I try to install modified libsocialcache, but it requests packages, which akready instolled | 12:23 |
*** Lipevakala_ has joined #sailfishos | 12:23 | |
*** jmlich has joined #sailfishos | 12:25 | |
*** faenil has quit IRC | 12:31 | |
*** faenil has joined #sailfishos | 12:31 | |
*** Trizt has joined #sailfishos | 12:32 | |
*** Lipevakala_ has quit IRC | 12:37 | |
dpurgin | m4g0g, ssh to build machine and use zypper or add build dependencies to yaml/spec | 12:38 |
*** Trizt has quit IRC | 12:39 | |
*** roboro has quit IRC | 12:39 | |
coderus | m4g0g: mersdk is just sdk | 12:39 |
coderus | install packages to sb2 | 12:39 |
*** roboro has joined #sailfishos | 12:40 | |
*** Trizt has joined #sailfishos | 12:41 | |
*** SCVgeo has quit IRC | 12:46 | |
*** jmlich has quit IRC | 13:00 | |
*** Algolkm_ has joined #sailfishos | 13:05 | |
*** hge has joined #sailfishos | 13:07 | |
m4g0g | what arch of sdk? | 13:11 |
*** SpeedEvil has quit IRC | 13:13 | |
*** SpeedEvil has joined #sailfishos | 13:14 | |
*** SpeedEvil has quit IRC | 13:14 | |
*** SpeedEvil has joined #sailfishos | 13:14 | |
*** twixx has quit IRC | 13:15 | |
*** Algolkm_ has quit IRC | 13:16 | |
*** Sequenced has quit IRC | 13:19 | |
*** Sequenced has joined #sailfishos | 13:23 | |
*** marxistvegan has joined #sailfishos | 13:29 | |
*** Nc_ has quit IRC | 13:30 | |
*** anandrkris has joined #sailfishos | 13:31 | |
*** flash1 has joined #sailfishos | 13:35 | |
*** jjanvier has quit IRC | 13:37 | |
m4g0g | coderus: pls,. help me. I have installed package in mersdk. Now there is /usr/include/socialcache/googleimagesdatabase.h | 13:43 |
m4g0g | but fatal error: socialcache/googleimagesdatabase.h: No such file or directory | 13:43 |
*** Finlod has joined #sailfishos | 13:45 | |
*** jjanvier has joined #sailfishos | 13:47 | |
*** roboro has quit IRC | 13:48 | |
*** roboro has joined #sailfishos | 13:48 | |
*** roboro has quit IRC | 13:51 | |
*** roboro has joined #sailfishos | 13:51 | |
*** Jef91 has joined #sailfishos | 13:54 | |
*** Jef91 has joined #sailfishos | 13:54 | |
*** flash1 has quit IRC | 13:54 | |
*** SpeedEvil has quit IRC | 13:55 | |
dpurgin | m4g0g, 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 #sailfishos | 13:56 | |
*** Shinryuu has joined #sailfishos | 13:56 | |
*** roboro has quit IRC | 13:58 | |
*** roboro has joined #sailfishos | 13:58 | |
*** Nc_ has joined #sailfishos | 13:59 | |
*** sikakraa has joined #sailfishos | 14:02 | |
*** anandrkris has quit IRC | 14:03 | |
*** Sailor11736 has joined #sailfishos | 14:03 | |
m4g0g | yes, resync, restart - all the same | 14:04 |
m4g0g | may be I did something wrong? | 14:05 |
*** adherry has quit IRC | 14:06 | |
*** spider-mario has joined #sailfishos | 14:08 | |
*** TMavica has joined #sailfishos | 14:09 | |
*** filippz has quit IRC | 14:16 | |
*** tigeli has quit IRC | 14:16 | |
*** tigeli has joined #sailfishos | 14:17 | |
*** roboro has quit IRC | 14:21 | |
*** roboro has joined #sailfishos | 14:21 | |
*** roboro has quit IRC | 14:22 | |
*** roboro has joined #sailfishos | 14:23 | |
m4g0g | argh | 14:23 |
m4g0g | I already add this include in SailfishOS/mersdk/targets/SailfishOS-i486/usr/include/socialcache but it doesn't help too | 14:24 |
*** R-Z has joined #sailfishos | 14:27 | |
*** Venemo has joined #sailfishos | 14:30 | |
*** meekygeek has joined #sailfishos | 14:32 | |
*** TMavica has quit IRC | 14:33 | |
*** roboro has quit IRC | 14:34 | |
*** TMavica has joined #sailfishos | 14:34 | |
*** roboro has joined #sailfishos | 14:34 | |
*** marxistvegan has quit IRC | 14:35 | |
*** marxistvegan has joined #sailfishos | 14:35 | |
*** roboro has quit IRC | 14:41 | |
*** roboro has joined #sailfishos | 14:41 | |
*** Shinryuu has quit IRC | 14:42 | |
SK_work | m4g0g: weired | 14:46 |
*** phaeron has quit IRC | 14:46 | |
SK_work | m4g0g: did you installed it in the sb2 targets ? | 14:46 |
*** zalan has quit IRC | 14:46 | |
SK_work | sb2 -t SailfishOS-i486 -R zypper in <your.rpm> | 14:46 |
SK_work | inside the mer vm | 14:46 |
m4g0g | тщц | 14:46 |
*** Nc_ has quit IRC | 14:47 | |
m4g0g | nnow | 14:47 |
m4g0g | not | 14:47 |
m4g0g | i copy rpm to mersdk and do zypper in rpm | 14:47 |
SK_work | m4g0g: this don't work | 14:47 |
m4g0g | ok | 14:47 |
m4g0g | I will try | 14:47 |
SK_work | you need to install them inside sb2 targets | 14:47 |
m4g0g | thx | 14:47 |
SK_work | sb2 are used to compile | 14:48 |
*** Sailor11736 has quit IRC | 14:48 | |
*** twixx has joined #sailfishos | 14:53 | |
*** phaeron has joined #sailfishos | 14:55 | |
iekku | community meeting starting soon | 15:00 |
*** VDVsx has quit IRC | 15:01 | |
sledges | sailfishos community collaboration @ #mer-meeting now | 15:01 |
sledges | PSA ^ | 15:02 |
*** Sailor11736 has joined #sailfishos | 15:03 | |
*** prplmnky has joined #sailfishos | 15:03 | |
*** roboro has quit IRC | 15:06 | |
*** roboro has joined #sailfishos | 15:06 | |
*** prplmnky has quit IRC | 15:06 | |
*** prplmnky has joined #sailfishos | 15:08 | |
*** sletta has quit IRC | 15:09 | |
*** martyone_ has quit IRC | 15:09 | |
*** tanty is now known as tanty_off | 15:09 | |
*** sletta has joined #sailfishos | 15:09 | |
*** sletta has quit IRC | 15:09 | |
*** phaeron has quit IRC | 15:10 | |
*** M4rtinK_jolla_ has joined #sailfishos | 15:11 | |
*** Sail0r has quit IRC | 15:12 | |
*** Nc_ has joined #sailfishos | 15:13 | |
*** zalan has joined #sailfishos | 15:16 | |
*** hasdf_ has quit IRC | 15:17 | |
*** hasdf has joined #sailfishos | 15:18 | |
*** sandy_locke has quit IRC | 15:22 | |
*** sandy_locke has joined #sailfishos | 15:22 | |
*** sandy_locke has joined #sailfishos | 15:22 | |
meekygeek | *sigh*. firefox build for jolla successfull. executable launches, not error and no window visible !!! | 15:26 |
*** sandy_locke has quit IRC | 15:27 | |
*** Trizt has quit IRC | 15:27 | |
meekygeek | sandsmark: guess the qt port support wayland. when launched with ./firefox -platform xcb I get a list of supported platforms. | 15:27 |
meekygeek | nemo@Jolla bin]$ ./firefox -platform xcb | 15: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 |
meekygeek | Available platform plugins are: hwcomposer, minimal, wayland-egl, wayland. | 15:28 |
SK_work | firefox ? | 15:28 |
SK_work | or sailfish-browser ? | 15:28 |
meekygeek | managed to build firefox from mozilla central yesterday | 15:28 |
sandsmark | meekygeek: so, what happens if you run with -platform wayland or -platform wayland-egl? | 15:29 |
sandsmark | actually, I don't know if any old wayland app will work, or if the sailfishapp stuff does something more... | 15:29 |
SK_work | sandsmark: sailfishapp is just boosting | 15:30 |
SK_work | nothing interesting | 15:30 |
meekygeek | okay. tried that | 15:30 |
SK_work | should try with -platform wayland | 15:30 |
meekygeek | [nemo@Jolla bin]$ ./firefox -platform wayland | 15:30 |
meekygeek | ^C | 15:30 |
meekygeek | [nemo@Jolla bin]$ ./firefox -platform wayland-egl | 15:30 |
meekygeek | [D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL | 15:30 |
sandsmark | SK_work: ok | 15:30 |
SK_work | problem about this is that maybe the window is not shown fullscreen | 15:30 |
SK_work | meekygeek: know where the Qt code is called ? | 15:30 |
sandsmark | doesn't it fullscreen everything? | 15:30 |
SK_work | need to do a showFullscreen ? | 15:30 |
*** sandy_locke has joined #sailfishos | 15:30 | |
*** sandy_locke has joined #sailfishos | 15:30 | |
SK_work | sandsmark: actually true indeed, show() calls showFullscreen | 15:30 |
sandsmark | I thought the compositor fullscreened everything | 15:30 |
meekygeek | -platform wayland was waiting there for sometime. killed it… | 15:31 |
sandsmark | ok | 15:31 |
sandsmark | wayland-egl is better? | 15:31 |
sandsmark | firefox probably takes some time to load, though... | 15:31 |
meekygeek | wayland-egl gives a [D] debug message and waits there. a bit improvement | 15:31 |
meekygeek | but no window shows up | 15:31 |
sandsmark | how long do you wait? | 15:32 |
meekygeek | some time to load, yeah true. but cant take 4 hours. Have waited for atleast 4 hours on this :-P | 15:32 |
*** Lipevakala has joined #sailfishos | 15:32 | |
meekygeek | the good thing is hwcompositor | 15:32 |
meekygeek | [nemo@Jolla bin]$ ./firefox -platform hwcomposer | 15:33 |
meekygeek | [D] HwComposerScreenInfo::HwComposerScreenInfo:251 - EGLFS: Screen Info | 15: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 IRC | 15:33 | |
meekygeek | [D] HwComposerScreenInfo::HwComposerScreenInfo:254 - - Screen depth: 32 | 15:33 |
meekygeek | == hwcomposer module == | 15:33 |
meekygeek | * Address: 0x46fa5000 | 15:33 |
meekygeek | * Module API Version: 2 | 15:33 |
meekygeek | * HAL API Version: 0 | 15:33 |
meekygeek | * Identifier: hwcomposer | 15:33 |
meekygeek | * Name: Qualcomm Hardware Composer Module | 15:33 |
meekygeek | * Author: CodeAurora Forum | 15:33 |
meekygeek | == hwcomposer module == | 15:33 |
meekygeek | == hwcomposer device == | 15:33 |
meekygeek | * Version: 3 (interpreted as 30001) | 15:33 |
meekygeek | * Module: 0x46fa5000 | 15:33 |
meekygeek | == hwcomposer device == | 15:33 |
sandsmark | that's an android thing, I think? | 15:33 |
SK_work | meekygeek: use pastebin | 15:33 |
meekygeek | [D] HwComposerBackend_v0::refreshRate:118 - VSync: 17543859ns, 57.000000fps | 15:33 |
SK_work | don't spam | 15:33 |
meekygeek | [W] QEglFSScreen::QEglFSScreen:56 - QEglScreen 0x40c9f280 | 15:33 |
meekygeek | [W] QEglFSWindow::QEglFSWindow:58 - QEglWindow 0x4963ad00: 0x49634f60 0x0 | 15:33 |
meekygeek | Segmentation fault | 15:33 |
meekygeek | atleast there is a core dump :-) | 15:33 |
SK_work | meekygeek: hein | 15:33 |
SK_work | use pastebin ! | 15:33 |
Nicd- | don't paste here | 15:33 |
meekygeek | allright | 15:33 |
meekygeek | sorry about it | 15:33 |
SK_work | egl shouldn't work | 15:33 |
Nicd- | https://gist.github.com/ is good :) | 15:34 |
SK_work | as lipstick is already shown with egl | 15:34 |
SK_work | maybe | 15:34 |
meekygeek | SK_work: but what did you mean by showFullScreen() | 15:34 |
sandsmark | yeah | 15:34 |
meekygeek | didnt get that | 15:34 |
SK_work | meekygeek: nothing interesting actually | 15:34 |
SK_work | should work ... | 15:34 |
sandsmark | hmm, someone has ported xwayland | 15:35 |
meekygeek | folks at #firefox were quite helpfull today morning and advised on it. They suspected it might be due to desktop version built. | 15:36 |
sandsmark | ah | 15:36 |
sandsmark | hum | 15:36 |
sandsmark | meekygeek: what if you pass an url as well? :) | 15:36 |
sandsmark | just wild shot | 15:36 |
meekygeek | lemme try | 15:36 |
meekygeek | its just the same old behaviour :-(. why cant it just say that it is an error and just halt it. *sigh* | 15:38 |
sandsmark | there isn't any environment variables to get debug output from it? | 15:38 |
meekygeek | btw, #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 |
sandsmark | meekygeek: hmm, try running it in gdb? | 15:40 |
sandsmark | gdb --args ./foo/firefox -platform wayland-egl | 15:41 |
sandsmark | or something like that | 15:41 |
sandsmark | and then wait for a while when hanging (give five minutes or so), ctrl+c, and type bt to see what it is doing | 15:41 |
meekygeek | okay | 15:41 |
*** Trizt has joined #sailfishos | 15:41 | |
sandsmark | or "thread apply all bt" to see for all threads | 15:42 |
*** Lipevakala_ has joined #sailfishos | 15:44 | |
*** Lipevakala has quit IRC | 15:46 | |
*** N-Mi_ has quit IRC | 15:48 | |
meekygeek | just getting No Stack. output. Had disabled-debug-symbols while building | 15:51 |
*** Sailor11736 has quit IRC | 15:51 | |
meekygeek | perhaps shall try once again and keep you guys posted. | 15:51 |
sandsmark | hmm, it should still have a stack | 15:51 |
sandsmark | how about running "strace ./foo/firefox -platform wayland-egl"? | 15:52 |
SK_work | sandsmark: no stack if built as release | 15:52 |
SK_work | only garbadge ? | 15:52 |
sandsmark | ? | 15:53 |
sandsmark | it still has a stack | 15:53 |
sandsmark | it just won't have pretty symbols for everything | 15:53 |
*** aboyer has quit IRC | 15:54 | |
meekygeek | ah a bunch of lines is going through the screen | 15:55 |
*** N-Mi_ has joined #sailfishos | 15:55 | |
sandsmark | meekygeek: yeah, but does it stop? | 15:55 |
sandsmark | like waiting for something | 15:55 |
sandsmark | strace prints all system calls an application does | 15:56 |
meekygeek | yes | 15:56 |
meekygeek | it waits at a poll system call | 15:56 |
sandsmark | hmm | 15:57 |
sandsmark | ok, doesn't really help much, sorry | 15:57 |
sandsmark | but yeah, did the #firefox people say anything about how to make sure you didn't build the desktop version? | 15:57 |
*** prplmnky has quit IRC | 15:59 | |
meekygeek | not 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 |
sandsmark | hmm, ok | 16:03 |
meekygeek | but 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 |
meekygeek | the poll happens, waits for sometime and then triggers again. guess, there is a resource locking or something. | 16:04 |
meekygeek | SK_work, sandsmark: thanks for suggesting it. Will study a bit more. | 16:06 |
sandsmark | oki | 16:06 |
sandsmark | meekygeek: you could try saving the strace to a file, and then trying to read upwards to find what it is polling on | 16:07 |
meekygeek | allright sure. about to close for the day. shall get back tomorrow? | 16:08 |
sandsmark | suresure | 16:09 |
sandsmark | good luck! | 16:09 |
sandsmark | :D | 16:09 |
meekygeek | with the preliminary study, looks like something to do with TelemetryStopwatch.jsm file in toolkit/components/telemetry | 16:11 |
meekygeek | not sure might need some more time. | 16:11 |
meekygeek | thanks sandsmark. Have a nice day !!! | 16:11 |
sandsmark | you to! | 16:11 |
sandsmark | too | 16:11 |
sandsmark | even | 16:11 |
*** meekygeek has left #sailfishos | 16:12 | |
*** nsa-rep has joined #sailfishos | 16:15 | |
*** nsa-rep has left #sailfishos | 16:15 | |
*** kunev has quit IRC | 16:17 | |
*** Sailor11736 has joined #sailfishos | 16:17 | |
*** Lipevakala_ has quit IRC | 16:17 | |
*** Lipevakala has joined #sailfishos | 16:19 | |
*** Lipevakala has quit IRC | 16:24 | |
*** Nightmare__ has joined #sailfishos | 16:27 | |
*** zGrr has quit IRC | 16:28 | |
*** Morpog_PC has joined #sailfishos | 16:30 | |
*** Sail0r has joined #sailfishos | 16:32 | |
*** Sail0r has quit IRC | 16:32 | |
*** billtux has quit IRC | 16:34 | |
*** Venemo has quit IRC | 16:44 | |
*** dpurgin has quit IRC | 16:44 | |
*** tanty_off is now known as tanty | 16:52 | |
*** Sailor11736 has quit IRC | 16:52 | |
*** pasik has quit IRC | 16:55 | |
*** jjarven has quit IRC | 16:55 | |
*** jjarven has joined #sailfishos | 16:55 | |
*** pasik has joined #sailfishos | 16:56 | |
*** VDVsx has joined #sailfishos | 16:56 | |
*** rm_work|away is now known as rm_work | 17:00 | |
*** corecomic has joined #sailfishos | 17:00 | |
*** VDVsx has quit IRC | 17:06 | |
*** VDVsx has joined #sailfishos | 17:06 | |
*** twixx has quit IRC | 17:09 | |
*** rm_work is now known as rm_work|away | 17:09 | |
*** Sailor11736 has joined #sailfishos | 17:16 | |
*** nomeata has joined #sailfishos | 17:18 | |
saidinesh5 | sandsmark: btw. i m taking look at that state machine and the other task that is assigned to me on trello | 17:21 |
*** cloanta has joined #sailfishos | 17:21 | |
*** ottulonen is now known as ottulo | 17:22 | |
*** daitheflu has quit IRC | 17:23 | |
*** Nekron_dev has joined #sailfishos | 17:28 | |
*** tat has quit IRC | 17:32 | |
*** dr_gogeta86 has quit IRC | 17:32 | |
*** ndvl has quit IRC | 17:36 | |
*** Nokius_ has joined #sailfishos | 17:40 | |
*** Blizzz has quit IRC | 17:42 | |
*** flywheel has joined #sailfishos | 17:42 | |
*** Nokius__ has quit IRC | 17:43 | |
*** Nekron_ has joined #sailfishos | 17:43 | |
*** Nekron_dev has quit IRC | 17:45 | |
*** Nekron_ has quit IRC | 17:48 | |
*** sandy_locke has quit IRC | 17:48 | |
*** sandy_locke has joined #sailfishos | 17:49 | |
*** sandy_locke has joined #sailfishos | 17:49 | |
*** uvatbc has joined #sailfishos | 17:50 | |
*** r0kk3rz has joined #sailfishos | 17:50 | |
*** iskatu has quit IRC | 17:54 | |
*** jua_ has joined #sailfishos | 17:56 | |
stephg | hey guys | 17:59 |
*** ndvl has joined #sailfishos | 18:01 | |
*** iskatu has joined #sailfishos | 18:01 | |
*** jjanvier_ has joined #sailfishos | 18:03 | |
*** Shinryuu has joined #sailfishos | 18:06 | |
*** jjanvier has quit IRC | 18:06 | |
*** zetaz has joined #sailfishos | 18:13 | |
*** jjanvier_ has quit IRC | 18:14 | |
sandsmark | saidinesh5: okok | 18:17 |
saidinesh5 | sandsmark: what are you upto? | 18:17 |
sandsmark | I'm not sure what kind of statemachine that is | 18:17 |
sandsmark | just got home :D | 18:17 |
saidinesh5 | lol you know.. the punctuation | 18:18 |
saidinesh5 | and capitalization | 18:18 |
sandsmark | ah, yeah | 18:18 |
saidinesh5 | thing | 18:18 |
sandsmark | :V | 18:18 |
sandsmark | I'm not completely sure we need a statemachine for that? | 18:18 |
saidinesh5 | i originally thought we would need one | 18:18 |
saidinesh5 | now i m just implementing normal rules | 18:18 |
sandsmark | yeah | 18:18 |
saidinesh5 | originally the plan was to do all that inside skeyer itself | 18:18 |
saidinesh5 | but with maliit plugin's surrounding text | 18:19 |
saidinesh5 | we wont need that | 18:19 |
sandsmark | yeah | 18:19 |
*** flywheel has quit IRC | 18:19 | |
saidinesh5 | looks like while "cleaning up" the swipeable key yesterday i introduced a few bugs | 18:19 |
sandsmark | well, that always happens when one cleans up :P | 18:20 |
saidinesh5 | mhm | 18:20 |
*** flywheel has joined #sailfishos | 18:21 | |
*** phaeron has joined #sailfishos | 18:25 | |
*** Shinryuu has quit IRC | 18:31 | |
*** hge has quit IRC | 18:32 | |
*** s5pik3 has joined #sailfishos | 18:32 | |
*** phaeron has quit IRC | 18:36 | |
*** SpeedEvil has quit IRC | 18:38 | |
*** SpeedEvil has joined #sailfishos | 18:38 | |
*** Kabouik has joined #sailfishos | 18:49 | |
*** sletta has joined #sailfishos | 18:51 | |
*** r0kk3rz has quit IRC | 18:52 | |
*** N-Mi_ has quit IRC | 18:52 | |
*** furikku has quit IRC | 19:00 | |
*** spider-mario has quit IRC | 19:00 | |
*** spider-mario_ has joined #sailfishos | 19:00 | |
*** crazy_imp has quit IRC | 19:01 | |
*** spider-mario_ is now known as spider-mario | 19:01 | |
*** N-Mi_ has joined #sailfishos | 19:04 | |
*** N-Mi_ has quit IRC | 19:04 | |
*** N-Mi_ has joined #sailfishos | 19:04 | |
*** crazy_imp has joined #sailfishos | 19:07 | |
*** crazy_imp has joined #sailfishos | 19:07 | |
*** hasdf has quit IRC | 19:09 | |
*** Lipevakala has joined #sailfishos | 19:10 | |
*** Lipevakala has quit IRC | 19:11 | |
*** SpeedEvil has quit IRC | 19:18 | |
*** rubdos has quit IRC | 19:18 | |
*** nomeata has quit IRC | 19:19 | |
*** nomeata has joined #sailfishos | 19:19 | |
*** cvp_ has joined #sailfishos | 19:25 | |
*** SpeedEvil has joined #sailfishos | 19:25 | |
*** hasdf has joined #sailfishos | 19:26 | |
saidinesh5 | sandsmark: 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 matchers | 19:26 |
saidinesh5 | or even for passwords.. | 19:26 |
saidinesh5 | so might have to rewrite the preedit code.. | 19:26 |
saidinesh5 | hmm... so hunspellmatcher vs. that... | 19:28 |
*** Venemo has joined #sailfishos | 19:33 | |
*** M4rtinK_jolla_ has quit IRC | 19:33 | |
*** Lipevakala has joined #sailfishos | 19:37 | |
*** piggz has joined #sailfishos | 19:38 | |
*** inta has joined #sailfishos | 19:40 | |
*** Lipevakala_ has joined #sailfishos | 19:40 | |
*** Lipevakala has quit IRC | 19:41 | |
*** sletta has quit IRC | 19:42 | |
*** martyone_ has joined #sailfishos | 19:47 | |
*** inta has quit IRC | 19:48 | |
*** Lipevakala_ has quit IRC | 19:55 | |
*** beidl_ has joined #sailfishos | 19:56 | |
*** N-Mi_ has quit IRC | 19:56 | |
*** beidl has quit IRC | 19:58 | |
saidinesh5 | sandsmark: also for mmaping we can request same addresses as we got the last time... | 20:00 |
saidinesh5 | so tempted to fix your BK tree that way | 20:00 |
*** rm_work|away is now known as rm_work | 20:01 | |
*** cloanta has quit IRC | 20:02 | |
*** hasdf has quit IRC | 20:03 | |
*** cloanta has joined #sailfishos | 20:03 | |
m4g0g | in u10 there is oom killer, is there? | 20:05 |
faenil | oom is everywhere | 20:06 |
faenil | +killer | 20:06 |
m4g0g | I don't understand why after u10 very often some my applications begin to close. There wasn't such behavior before u10 | 20:11 |
*** Nc_ has quit IRC | 20:14 | |
faenil | because oom killer now works *better*...this is the official explanation | 20: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 #sailfishos | 20:17 | |
m4g0g | fuck. How to downgrade to previouse update? | 20:18 |
Armadillo | also also experienced this behaviour | 20:18 |
Armadillo | and it didn't matter if the device was recently rebooted or not | 20:18 |
faenil | the thing I dislike the most is when I tap on a telegram notification | 20:19 |
faenil | and I see the telegram window closing | 20:19 |
faenil | that really *sucks* | 20:19 |
faenil | (and the app *obviously* is not even restarted!) | 20:19 |
*** Sail0r has joined #sailfishos | 20:20 | |
TemeV | m4g0g: there is instructions on together and talk.maemo.org how to calm the oom killer down | 20:21 |
sandsmark | faenil: sure the app isn't just crashing? | 20:21 |
*** martyone_ has quit IRC | 20:21 | |
faenil | sandsmark, nope, not sure (re: my particular case) | 20:22 |
sandsmark | I don't really think the oom killer is involved when an app closes when you interact with it... | 20:22 |
*** arcean has quit IRC | 20:22 | |
faenil | well, maybe it closes before but then window is only deleted when you go to the homescreen :) due to a bug maybe, who knows | 20:23 |
faenil | I'll make sure to check the log when it happens again | 20:23 |
sandsmark | do it | 20:23 |
faenil | "when it happens again" | 20:23 |
*** Bernte_ has quit IRC | 20:23 | |
faenil | it doesn't always happen | 20:23 |
sandsmark | or just look in dmesg, the oomkiller puts a lot of stuff in dmesg when it does its work | 20:23 |
TemeV | or maybe the app is killed right before being called, when the thing that calls the app needs some memory | 20:24 |
faenil | that could also be | 20:24 |
*** Bernte has joined #sailfishos | 20:24 | |
sandsmark | TemeV: what thing? | 20:24 |
TemeV | some middle ware or something | 20:25 |
sandsmark | o.O | 20:25 |
sandsmark | eh, like dbus? | 20:25 |
TemeV | for example | 20:25 |
*** arcean has joined #sailfishos | 20:25 | |
TemeV | I don't know if it is realistic scenario | 20:26 |
sandsmark | it isn't | 20:26 |
*** tat has joined #sailfishos | 20:26 | |
sandsmark | saidinesh5: but hmm, you want to give hunspell a list of swipehints? | 20:27 |
sandsmark | and then feed it our swipes, and see what it comes up with? | 20:27 |
*** TMavica has quit IRC | 20:29 | |
*** cloanta has quit IRC | 20:30 | |
*** Blizzz has joined #sailfishos | 20:31 | |
*** cmazieri has quit IRC | 20:31 | |
*** slate has quit IRC | 20:31 | |
*** slate has joined #sailfishos | 20:31 | |
*** M4rtinK has joined #sailfishos | 20:31 | |
*** faenil has quit IRC | 20:32 | |
*** faenil has joined #sailfishos | 20:33 | |
*** gogeta has joined #sailfishos | 20:34 | |
*** rm_work is now known as rm_work|away | 20:34 | |
*** cloanta has joined #sailfishos | 20:34 | |
*** Sail0r has quit IRC | 20:39 | |
faenil | sandsmark, nothing in dmesg, apparantely hasn't happened yet since reboot | 20:40 |
sandsmark | yeah, the improvements in the latest upgrade should have improved memory usage across the board | 20:40 |
m4g0g | TemeV: https://together.jolla.com/question/73432/discussion-oom-killer-fine-tuning-overcommit_ratio-value/ - this? | 20:41 |
faenil | sandsmark, actually I think I didn't have this notifaction issue before u10 | 20:41 |
sandsmark | faenil: but it doesn't sound like it has anything to do with the oomkiller | 20:42 |
*** rm_work|away is now known as rm_work | 20:42 | |
faenil | probably..we'll see | 20:42 |
TemeV | m4g0g: I'm not really sure. I haven't tried those | 20:42 |
*** cmazieri has joined #sailfishos | 20:43 | |
*** hasdf has quit IRC | 20:43 | |
*** corecomic has quit IRC | 20:45 | |
*** Nc_ has joined #sailfishos | 20:47 | |
*** Finlod has quit IRC | 20:47 | |
*** Dotti has quit IRC | 20:51 | |
*** corecomic has joined #sailfishos | 20:52 | |
*** corecomic has quit IRC | 20:53 | |
*** corecomic has joined #sailfishos | 20:53 | |
*** s5pik3 has quit IRC | 20:55 | |
*** jjanvier has joined #sailfishos | 20:55 | |
saidinesh5 | sandsmark: yes, use 2 hunspellmatcher objects.. one working on the wordList and one working on the swipeHints | 20:59 |
*** s1gk1ll_ has quit IRC | 20:59 | |
*** corecomic has quit IRC | 21:00 | |
saidinesh5 | but not sure how to map swipeHints to words using hunspell | 21:00 |
*** s1gk1ll has joined #sailfishos | 21:00 | |
saidinesh5 | cleanly i mean | 21:00 |
sandsmark | hmm? | 21:01 |
sandsmark | we can use hunspell to find the most likely hunspell, and just look up the corresponding word | 21:01 |
sandsmark | eh | 21:02 |
sandsmark | most likely swipehint | 21:02 |
saidinesh5 | so that means hunspell keeps a copy of swipehints, words in memory, and we keep a mapping of swipehints words in memory :P | 21:02 |
*** corecomic has joined #sailfishos | 21:02 | |
sandsmark | yeah | 21:02 |
sandsmark | I'm also not sure if it is a good idea, these aren't the kind of "spelling errors" hunspell is made for :P | 21:02 |
*** AlmAck has joined #sailfishos | 21:03 | |
*** Nightmare__ has quit IRC | 21:03 | |
*** gogeta has quit IRC | 21:03 | |
saidinesh5 | mhm.. although since hunspell takes care of so many languages | 21:03 |
saidinesh5 | i think | 21:03 |
saidinesh5 | it can take care of this | 21:03 |
saidinesh5 | the only reason this is a problem is cuz of the unclean architecture and the memory | 21:03 |
sandsmark | hmhm | 21:04 |
saidinesh5 | btw. implemented the currentWord in engine | 21:04 |
saidinesh5 | so now thinking about how to bring it to maliitplugin | 21:05 |
sandsmark | just set it as preedit? | 21:05 |
saidinesh5 | yeah having to read about it | 21:05 |
sandsmark | if I understand correctly, just connect it to SkeyerInputMethod::onSuggestionUpdated( | 21:06 |
saidinesh5 | yeah i had to remove that :P | 21:06 |
sandsmark | :( | 21:06 |
sandsmark | my beautiful method | 21:06 |
saidinesh5 | the method is still there | 21:06 |
saidinesh5 | the signal is gone :P | 21:06 |
saidinesh5 | so basically here is my dilemma | 21:06 |
saidinesh5 | on some places | 21:06 |
saidinesh5 | like say terminal etc... | 21:06 |
saidinesh5 | you want to forward the keypresses directly | 21:07 |
saidinesh5 | no "word matching" stuff has to happen there | 21:07 |
sandsmark | well, I had that :P | 21:07 |
saidinesh5 | you did? | 21:07 |
saidinesh5 | Ahh | 21:07 |
sandsmark | oh, no | 21:07 |
sandsmark | well, not completely | 21:07 |
sandsmark | but backspace, for example | 21:07 |
*** corecomic has left #sailfishos | 21:08 | |
saidinesh5 | yeah i know | 21:08 |
saidinesh5 | basically engine needs a parameter too | 21:08 |
saidinesh5 | to preedit words | 21:08 |
faenil | skeyer? cool stuff, good luck with it :) | 21:08 |
*** zalan_ has joined #sailfishos | 21:08 | |
saidinesh5 | thanks faenil :) | 21:09 |
saidinesh5 | sandsmark: could you git pull? | 21:09 |
saidinesh5 | and run the demo now..? | 21:09 |
sandsmark | one sec | 21:09 |
*** zalan has quit IRC | 21:09 | |
*** s5pik3 has joined #sailfishos | 21:10 | |
*** Kabouik has quit IRC | 21:11 | |
Stskeeps | indeed, cool work you guys | 21:11 |
saidinesh5 | :) | 21:11 |
*** Kabouik has joined #sailfishos | 21:12 | |
sandsmark | saidinesh5: ok, it runs | 21:13 |
saidinesh5 | so you see how it works right? | 21:13 |
saidinesh5 | Engine::currentword is what changes | 21:14 |
saidinesh5 | and then it updates Engine::matches | 21:14 |
saidinesh5 | as currentWord changes | 21:14 |
Stskeeps | ooi, do you have your efforts on github anywhere? | 21:14 |
Stskeeps | or git | 21:14 |
saidinesh5 | Stskeeps: its currently in a private repo on git, will soon opensource it as soon as we have something more than.... "a toy" | 21:14 |
Stskeeps | nod | 21:14 |
saidinesh5 | *bitbucket | 21:15 |
Stskeeps | or you're bought out for 1 billion dollars | 21:15 |
Stskeeps | :P | 21:15 |
faenil | or you're sued :D | 21:15 |
faenil | nah, I hope the best for you :D | 21:15 |
sandsmark | haha | 21:15 |
saidinesh5 | lol | 21:16 |
saidinesh5 | thatss actually one reason it is still in private tbh, dont want to worry about the legal issues at least till its done :P | 21:17 |
sandsmark | meh | 21:17 |
sandsmark | I don't live in a crazy country with software patents | 21:17 |
sandsmark | and I know good lawyers :p | 21:18 |
saidinesh5 | lol i m pretty sure lawyers is one less thing i want to worry about during the job hunt | 21:19 |
sandsmark | :D | 21:19 |
sandsmark | well, let me handle the lawyers, then | 21:20 |
saidinesh5 | aye aye | 21:20 |
sandsmark | hmm, I don't have family in the patent office anymore, though | 21:21 |
sandsmark | saidinesh5: but hmm, what is the Engine::wordSelected signal? | 21:22 |
sandsmark | or rather, why does it have the path | 21:24 |
sandsmark | and input | 21:24 |
sandsmark | and not just the word :D | 21:24 |
*** Lipevakala has joined #sailfishos | 21:27 | |
saidinesh5 | sandsmark: so that the wordMatchers can learn too... | 21:27 |
saidinesh5 | remember there was a messed up curvematcher algorithm too? :P | 21:28 |
sandsmark | ah, true | 21:28 |
saidinesh5 | sandsmark: so i think i should make your BKtree work with an mmaped allocator first | 21:28 |
saidinesh5 | that seems the most fun | 21:28 |
saidinesh5 | and useful | 21:28 |
sandsmark | do it! | 21:29 |
saidinesh5 | fallback would be making a hunspellmatcher that uses 3x the memory | 21:29 |
saidinesh5 | yup | 21:29 |
*** phaeron has joined #sailfishos | 21:29 | |
saidinesh5 | reading through the code now.. | 21:29 |
sandsmark | saidinesh5: something like this okay?: http://sprunge.us/UYBU | 21:33 |
saidinesh5 | sure | 21:33 |
* saidinesh5 git resets --hard | 21:34 | |
saidinesh5 | :P | 21:34 |
saidinesh5 | sandsmark: btw. yeah before you implement this, basically the idea is to make Engine support maliit's modes | 21:34 |
sandsmark | idunno what I'm implementing :D | 21:35 |
sandsmark | what am I implementing? | 21:35 |
saidinesh5 | i thought you were taking care of the preedit thing.. ? | 21:35 |
sandsmark | oh, yes | 21:35 |
sandsmark | :D | 21:35 |
saidinesh5 | enum TextContentType { FreeTextContentType, NumberContentType, PhoneNumberContentType, EmailContentType, UrlContentType, CustomContentType }; | 21:36 |
saidinesh5 | we need to make engine aware of these... | 21:36 |
saidinesh5 | then it can automatically change keyboard's layouts and enable/disable word matching too | 21:37 |
sandsmark | ah | 21:37 |
sandsmark | yeah | 21:37 |
saidinesh5 | if matches are disabled(along with swipe also being disabled), then it needs to send the keyPressed events directly | 21:37 |
saidinesh5 | oooooooor | 21:38 |
saidinesh5 | engine just sends every keyPress and wordSelected() blindly to the skeyerinputmethod | 21:39 |
*** Kabouik has quit IRC | 21:39 | |
saidinesh5 | and there you can call engine::setCurrentWord | 21:39 |
saidinesh5 | which seems cleaner now... | 21:39 |
sandsmark | it does! | 21:39 |
sandsmark | or | 21:39 |
sandsmark | ehm | 21:39 |
sandsmark | back and forth seems weird | 21:40 |
sandsmark | maybe use skeyerview.. | 21:40 |
saidinesh5 | hmm? | 21:40 |
saidinesh5 | SkeyerView already exposes SkeyerView::wordEngine SkeyerView::keyboardModel | 21:41 |
saidinesh5 | wordEngine's job is to use the currentWord/currentInput to generate matches | 21:42 |
sandsmark | yes | 21:42 |
saidinesh5 | it also collect's all the input from the UI | 21:42 |
saidinesh5 | so whether the currentWord is created in the engine or in the plugin is up to us to decide | 21:42 |
sandsmark | I was thinking that the skeyerview decides whether to send the keys directly to the maliit or to the engine | 21:42 |
saidinesh5 | skeyerview as in skeyerinputmethod.. | 21:43 |
saidinesh5 | right? | 21:43 |
sandsmark | no | 21:43 |
sandsmark | but maybe? | 21:43 |
sandsmark | bah, my head is cloudy :P | 21:43 |
saidinesh5 | hehhe skeyerview is just a dumber shell than engine | 21:43 |
saidinesh5 | it just creates the view and exposes engine, keyboardlayout, settings to whoever needs it | 21:44 |
saidinesh5 | skeyerinputmethod is our interface with maliit | 21:44 |
sandsmark | yeah | 21:44 |
sandsmark | ok, your second suggestion makes the most sense | 21:44 |
saidinesh5 | so i think the engine should just sendout keyPressed() and wordSelected() | 21:44 |
*** cvp_ has quit IRC | 21:45 | |
sandsmark | oh, what I meant was that instead of engine sending keyPressed, let skeyerview do it | 21:45 |
sandsmark | or just connect it straight from the qml to the skeyerinputmethod | 21:45 |
saidinesh5 | nah, the reason engine is collecting the input is to have direct access to swipes | 21:45 |
saidinesh5 | because in case of swipes there is no currentWord to generate matches | 21:46 |
sandsmark | hmm | 21:47 |
saidinesh5 | but it doesnt make much difference does it? | 21:47 |
sandsmark | nope | 21:47 |
saidinesh5 | SkeyerView::engine is public | 21:47 |
saidinesh5 | and so is SkeyerView::keyboardmodel | 21:47 |
saidinesh5 | the 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 textinput | 21:55 |
saidinesh5 | the only thing is this means skeyerdemo is no longer useful :P | 21:56 |
sandsmark | yeah :V | 22:00 |
sandsmark | but it's so pretty | 22:00 |
*** Nc_ has quit IRC | 22:03 | |
*** Lipevakala has quit IRC | 22:04 | |
*** Sailor11736 has quit IRC | 22:05 | |
*** Bernte has quit IRC | 22:07 | |
saidinesh5 | sandsmark: yup. the currentword must be created in the inputmethod itself because user clicking in the middle of a word... | 22:07 |
sandsmark | yah | 22:08 |
saidinesh5 | and then backspaces | 22:08 |
saidinesh5 | okay so this means the engine becomes simpler | 22:08 |
sandsmark | it does | 22:08 |
saidinesh5 | also i have separated keyPresses from specialKeyPresses | 22:08 |
sandsmark | ah, cool | 22:08 |
saidinesh5 | this was mainly to filter out the layout switching and stuff | 22:08 |
sandsmark | yeah | 22:09 |
saidinesh5 | now i m wondering who should take care of the capitalization | 22:09 |
sandsmark | hmm | 22:09 |
saidinesh5 | okay currentWordCapitalizationMethod... | 22:09 |
saidinesh5 | okay Engine::currentWordCapitalizationMethod... | 22:10 |
saidinesh5 | setCurrentWord(word, capitalization) | 22:10 |
saidinesh5 | that way it can do half the work | 22:11 |
saidinesh5 | the other half must be dealt at the inputMethod... | 22:11 |
sandsmark | hmmmmm | 22:12 |
*** zalan has joined #sailfishos | 22:12 | |
*** zalan has quit IRC | 22:13 | |
*** zalan_ has quit IRC | 22:16 | |
*** ced117 has quit IRC | 22:18 | |
*** corne has quit IRC | 22:20 | |
*** corne has joined #sailfishos | 22:26 | |
*** Morpog_PC has quit IRC | 22:26 | |
*** corne is now known as Guest29171 | 22:27 | |
Olpe | how 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 time | 22:35 |
*** R-Z has quit IRC | 22:35 | |
Olpe | I tried like dialog.hour, hour, TimePickerDialog.hour but nothing is defined | 22:37 |
*** ndvl has quit IRC | 22:40 | |
*** ahiemstra has quit IRC | 22:40 | |
*** ahiemstra has joined #sailfishos | 22:41 | |
sandsmark | Olpe: is dialog defined? | 22:41 |
sandsmark | Olpe: does your dialog have an id? | 22:42 |
Olpe | yeah or it says it's not. I define it like dialog = pageStack.push("Sailfish.Silica.TimePickerDialog", {...... | 22:42 |
Olpe | no I didn't have an id on it | 22:43 |
Olpe | I'll try that | 22:43 |
Olpe | http://paste.ubuntu.com/9690067/ | 22:45 |
Olpe | did not work with id there | 22:46 |
sandsmark | uh, does that work at all? | 22:48 |
sandsmark | weird, I should've used that myself :P | 22:48 |
sandsmark | Olpe: maybe make a Component? | 22:48 |
sandsmark | Olpe: the thing is that the code is now being evaluated in javascript, you want to set the expression in qml | 22:49 |
Olpe | hmm | 22:50 |
*** beidl has joined #sailfishos | 22:50 | |
*** beidl_ has quit IRC | 22:51 | |
sandsmark | basically, it tries to evaluate "(((breakDialog.hour)*60 + breakDialog.minute) / 60).toFixed(2) < duration" when you create it | 22:51 |
sandsmark | which won't work | 22:51 |
sandsmark | you could try with Qt.binding instead too | 22:51 |
Olpe | ah okey | 22:51 |
sandsmark | canAccept: Qt.binding(function(){ return (((breakDialog.hour)*60 + breakDialog.minute) / 60).toFixed(2) < duration; }) | 22:51 |
sandsmark | or something | 22:51 |
*** jua_ has quit IRC | 22:52 | |
*** nomeata has quit IRC | 22:52 | |
Olpe | ok. didn't get it working right away. Gonna try making a Component | 22:54 |
*** hasdf has joined #sailfishos | 22:59 | |
*** K4-t has joined #sailfishos | 23:03 | |
*** Pat_o has quit IRC | 23:04 | |
*** zalan has joined #sailfishos | 23:04 | |
*** faenil has quit IRC | 23:11 | |
*** arcean has quit IRC | 23:11 | |
*** piggz has quit IRC | 23:11 | |
m4g0g | chriadam_: ping | 23:15 |
*** Blizzz has quit IRC | 23:16 | |
*** uvatbc has quit IRC | 23:17 | |
*** nodevel has joined #sailfishos | 23:19 | |
Olpe | sandsmark: 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 to | 23:20 |
sandsmark | Olpe: can you pastebin the code? | 23:21 |
Olpe | it doesn't get true again even if i change the value | 23:21 |
Olpe | one sec | 23:21 |
saidinesh5 | sandsmark: your BK tree wasnt dealing with duplicate nodes.... hence the weird result.. of 2x nodes being searched | 23:21 |
sandsmark | oooooooooooooooh... | 23:22 |
saidinesh5 | duplicate inserts | 23:22 |
sandsmark | I knew I had forgotten something | 23:22 |
sandsmark | :< | 23:22 |
saidinesh5 | lol | 23:22 |
sandsmark | was thinking about it on my way to work today | 23:22 |
Olpe | sandsmark: http://paste.ubuntu.com/9690198/ | 23:22 |
saidinesh5 | i m determined to make this work with mmaping today | 23:22 |
*** Kohelet has quit IRC | 23:22 | |
sandsmark | saidinesh5: <3 | 23:22 |
saidinesh5 | :) | 23:22 |
sandsmark | Olpe: why the tofixed? | 23:24 |
Olpe | copy paste from another place where i only wanted 2 digits | 23:25 |
Olpe | *decimals | 23:25 |
sandsmark | ah, but this work?: canAccept: (((breakDialog.hour)*60 + breakDialog.minute) / 60) <= duration | 23:25 |
sandsmark | I think maybe the function call might fuck up the property binding stuff | 23:26 |
*** zetaz has left #sailfishos | 23:28 | |
Olpe | could have been but no. Still the same | 23:29 |
sandsmark | hmpf | 23:30 |
sandsmark | hm | 23:30 |
sandsmark | what is duration in? | 23:30 |
sandsmark | hours? | 23:31 |
Olpe | but hey the dialog.accected.connect gets called even when the canAccept is false | 23:31 |
sandsmark | o.O | 23:31 |
Olpe | duration is in hours and two decimals eg. 8.52h | 23:31 |
sandsmark | even if you just hardcode canAccept to falsE? | 23:31 |
sandsmark | ah | 23:31 |
Olpe | why | 23:31 |
Olpe | I'll try that | 23:32 |
sandsmark | no, just wondered about the *60 blahblah /60 | 23:32 |
Olpe | yeah | 23:32 |
Olpe | not the prettiest way to handle it | 23:32 |
sandsmark | but is it a string? | 23:33 |
Olpe | property double duration: 8 | 23:33 |
sandsmark | okok | 23:33 |
Olpe | no if i hardcode it to false, then accepted is not called | 23:34 |
Olpe | it's probably because its true before calculated | 23:34 |
*** Venemo has quit IRC | 23:35 | |
saidinesh5 | i have nooooo clue how it was doing editdistance so fast though | 23:37 |
sandsmark | Olpe: can you add «onCanAcceptedChanged: console.log("can accept?: " + canAccept")» as well, just to see what actually happens? | 23:38 |
sandsmark | or something like that | 23:38 |
sandsmark | saidinesh5: :D | 23:38 |
Olpe | :) | 23:39 |
saidinesh5 | sandsmark: it really was calling editDistance for the 52000 nodes.. :| | 23:39 |
saidinesh5 | something must be off... | 23:39 |
saidinesh5 | Aaaaaaaaahhhhhh | 23:39 |
saidinesh5 | nothing is off | 23:39 |
saidinesh5 | sandsmark: obviously edit distance for wordSize < 10 is about 100 operations..... | 23:39 |
sandsmark | hmm yeah | 23:40 |
saidinesh5 | but with swipeHints wordSize ~ 20-30 on average | 23:40 |
*** AlmAck has quit IRC | 23:40 | |
saidinesh5 | but that still doesnt explain why its searching through all the nodes though... | 23:40 |
saidinesh5 | or maybe it does... | 23:41 |
saidinesh5 | search tolerance = 5... | 23:41 |
*** r0kk3rz has joined #sailfishos | 23:41 | |
*** s5pik3 has quit IRC | 23:43 | |
sandsmark | haha, yeah | 23:43 |
sandsmark | forgot to turn it back down | 23:43 |
saidinesh5 | hmm... lets see | 23:44 |
saidinesh5 | weird though...its still not supposed to search through the whole dict | 23:44 |
Olpe | sandsmark: it seems like it doesnt change everytime. And when it gets false its impossible to get it back to true | 23:44 |
sandsmark | but it changes sometimes? | 23:45 |
sandsmark | or only when created? | 23:45 |
Olpe | yeah only when I accept and canAccept is true before swiping | 23:46 |
Olpe | and then it calls accepted even if it gets false | 23:46 |
Olpe | But how about would it be possible to calculate canAccept everytime the hour or minute is changed in the dialog | 23:47 |
kimmoli | Olpe: make your own timepicker-dialog | 23:47 |
kimmoli | that calculation is "left" on the page, afaik it has to be in the dialog for it to work | 23:48 |
*** samikshan is now known as samikshan|afk | 23:48 | |
sandsmark | but now it is in a component, it should work, or? | 23:48 |
Olpe | kimmoli: hmm... where can I see the basic timepicker dialog code? | 23:49 |
kimmoli | /usr/lib/qt5/qml/Sailfish/Silica/TimePickerDialog.qml | 23:49 |
Olpe | ok | 23:49 |
Olpe | Thats a good idea, kimmoli. But i think i need some sleep now. Thanks sandsmark for helping me | 23:52 |
sandsmark | np | 23:52 |
sandsmark | goodnight :) | 23:52 |
sandsmark | I should sleep myself | 23:53 |
Olpe | good night | 23:53 |
kimmoli | gn | 23:53 |
saidinesh5 | now let me abuse the BKTree a little...... | 23:55 |
*** jjanvier has quit IRC | 23:56 | |
saidinesh5 | sandsmark: so you were trying to look up words like "cake", "lol","love" with a search tolerance of 5? :P | 23:56 |
sandsmark | yeah | 23:56 |
sandsmark | worked great | 23:56 |
saidinesh5 | lol | 23:56 |
saidinesh5 | i am actually thinking about whether or not allowing any pointer datatypes to be stored in the MMaped bktree | 23:57 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!