Saturday, 2017-05-13

*** Nokius_ <Nokius_!~Nokius@p5DDB4283.dip0.t-ipconnect.de> has joined #sailfishos00:03
*** Nokius <Nokius!~Nokius@93.219.90.79> has quit IRC (Ping timeout: 240 seconds)00:06
*** fledermaus <fledermaus!~vivek@2001:4d48:ad56:3000:659f:1500:614a:d545> has joined #sailfishos00:33
*** kido <kido!uid142953@gateway/web/irccloud.com/x-hflzeoiwuuhifsqu> has quit IRC (Quit: Connection closed for inactivity)00:37
*** zhxt_ <zhxt_!~zhxt@1.180.212.217> has joined #sailfishos00:45
*** Kabouik <Kabouik!~quassel@32.232.202.84.customer.cdi.no> has quit IRC (Remote host closed the connection)01:00
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-gpupbcgxwfyzitcz> has joined #sailfishos02:01
*** zeigerpuppy_ <zeigerpuppy_!~sailfish@r49-3-94-153.cpe.vividwireless.net.au> has joined #sailfishos02:08
*** zhxt_ <zhxt_!~zhxt@1.180.212.217> has quit IRC (Ping timeout: 260 seconds)02:09
*** zeigerpuppy <zeigerpuppy!~sailfish@1.152.96.236> has quit IRC (Ping timeout: 240 seconds)02:10
*** fledermaus <fledermaus!~vivek@2001:4d48:ad56:3000:659f:1500:614a:d545> has quit IRC (Ping timeout: 260 seconds)02:15
*** zeigerpuppy_ is now known as zeigerpuppy02:52
*** Coolgeek <Coolgeek!~coolgeek@unaffiliated/coolgeek> has quit IRC (Ping timeout: 246 seconds)02:59
*** Coolgeek <Coolgeek!~coolgeek@unaffiliated/coolgeek> has joined #sailfishos03:04
*** frinring_ <frinring_!~frinring@x4db34495.dyn.telefonica.de> has joined #sailfishos03:24
*** frinring <frinring!~frinring@x5ce3203c.dyn.telefonica.de> has quit IRC (Disconnected by services)03:24
*** mhall119 <mhall119!~mhall@ubuntu/member/mhall119> has quit IRC (Ping timeout: 245 seconds)03:31
*** nomeata <nomeata!~jojo@nomeata.de> has joined #sailfishos03:52
*** nomeata <nomeata!~jojo@nomeata.de> has quit IRC (Ping timeout: 272 seconds)04:03
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-gpupbcgxwfyzitcz> has quit IRC (Quit: Connection closed for inactivity)04:11
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has quit IRC (Quit: Leaving)04:20
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has joined #sailfishos04:24
*** zeigerpuppy <zeigerpuppy!~sailfish@r49-3-94-153.cpe.vividwireless.net.au> has quit IRC (Ping timeout: 268 seconds)04:26
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-ryctjvahrlbonluh> has joined #sailfishos04:36
*** olafh <olafh!~olafh@93.237.247.223> has joined #sailfishos04:47
*** DylanVanAssche <DylanVanAssche!d9882d84@gateway/web/freenode/ip.217.136.45.132> has joined #sailfishos05:47
*** DylanVanAssche <DylanVanAssche!d9882d84@gateway/web/freenode/ip.217.136.45.132> has quit IRC (Ping timeout: 260 seconds)06:22
*** jeaye <jeaye!~jeaye@unaffiliated/jeaye> has left #sailfishos ("WeeChat 1.7.1")06:37
*** leinir <leinir!~leinir@amarok/usability/leinir> has quit IRC (Ping timeout: 240 seconds)06:50
*** Juhi24_ <Juhi24_!~Juhi24@89-27-52-234.bb.dnainternet.fi> has joined #sailfishos07:02
*** phdeswer <phdeswer!~phdeswer@91.155.169.231> has joined #sailfishos07:03
*** Vojtaeus <Vojtaeus!~vojta@opensuse/member/vojtaeus> has joined #sailfishos07:10
*** Juhi24_ <Juhi24_!~Juhi24@89-27-52-234.bb.dnainternet.fi> has quit IRC (Quit: Juhi24_)07:21
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has quit IRC (Ping timeout: 260 seconds)07:22
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has joined #sailfishos07:26
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has quit IRC (Excess Flood)07:27
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has joined #sailfishos07:30
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has quit IRC (Excess Flood)07:30
*** Nokius_ is now known as Nokius07:32
*** Nc_ <Nc_!~nc@109.129.188.243> has joined #sailfishos07:41
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has joined #sailfishos07:50
*** phdeswer <phdeswer!~phdeswer@91.155.169.231> has quit IRC (Read error: Connection reset by peer)07:51
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has quit IRC (Excess Flood)07:54
*** Vojtaeus <Vojtaeus!~vojta@opensuse/member/vojtaeus> has quit IRC (Quit: Odcházím...)07:58
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has joined #sailfishos07:59
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has quit IRC (Excess Flood)07:59
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has joined #sailfishos07:59
*** phdeswer <phdeswer!~phdeswer@a91-155-169-231.elisa-laajakaista.fi> has joined #sailfishos08:09
*** NeKit <NeKit!~nekit@178.45.144.138> has joined #sailfishos08:12
*** NeKit <NeKit!~nekit@178.45.144.138> has quit IRC (Ping timeout: 240 seconds)08:17
*** piggz <piggz!~piggz@95.147.209.146> has quit IRC (Quit: Konversation terminated!)08:24
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sailfishos08:24
*** Juhi24_ <Juhi24_!~Juhi24@89-27-52-234.bb.dnainternet.fi> has joined #sailfishos08:55
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-56.play-internet.pl> has joined #sailfishos08:58
*** Blizzz <Blizzz!~blizzz@ubuntu/member/blizzz> has joined #sailfishos09:05
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 260 seconds)09:08
*** louisbob <louisbob!52f0d7b6@gateway/web/freenode/ip.82.240.215.182> has joined #sailfishos09:14
louisbobMy Jolla is not booting up anymore. I made the log persistent in recovery mode and rebooted my device, I spotted these 2 errors:09:15
louisbobMay 13 09:57:49 Sailfish aliensensorserver[5438]: Cannot mix incompatible Qt library (version 0x50202) with this library (version 0x50602)09:15
louisbobMay 13 09:57:46 Sailfish mce[536]: modules/display.c: mdy_stm_step(): no compositor; going to logical off09:16
louisbobAny clue to solve this problem?09:16
*** Mister_Magister_ <Mister_Magister_!~foidbgen@94.254.164.56> has joined #sailfishos09:22
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-56.play-internet.pl> has quit IRC (Ping timeout: 258 seconds)09:22
louisbobI think I have to reinstall Qt5 package that is in 5.6.2 back to 5.2.2. Does anyone now how to do such thing in recovery mode with chroot?09:30
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-56.play-internet.pl> has joined #sailfishos09:32
*** Mister_Magister_ <Mister_Magister_!~foidbgen@94.254.164.56> has quit IRC (Ping timeout: 240 seconds)09:35
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has joined #sailfishos09:41
*** Juhi24_ <Juhi24_!~Juhi24@89-27-52-234.bb.dnainternet.fi> has quit IRC (Quit: Juhi24_)09:42
*** Nc_ <Nc_!~nc@109.129.188.243> has quit IRC (Quit: This computer has gone to sleep)09:44
*** louisbob <louisbob!52f0d7b6@gateway/web/freenode/ip.82.240.215.182> has quit IRC (Ping timeout: 260 seconds)09:46
*** louisbob <louisbob!52f0d7b6@gateway/web/freenode/ip.82.240.215.182> has joined #sailfishos09:56
*** nutellazwerg <nutellazwerg!~nutellazw@p5B2FEE79.dip0.t-ipconnect.de> has joined #sailfishos10:05
*** dafox <dafox!~dafox@2a02:a448:c25a:1:7061:3b2a:37df:ded3> has joined #sailfishos10:14
*** Nc_ <Nc_!~nc@109.129.188.243> has joined #sailfishos10:35
*** kido <kido!uid142953@gateway/web/irccloud.com/x-yjbrawsiwqteqldw> has joined #sailfishos10:49
*** carepack_ <carepack_!~carepack@p549AA909.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 268 seconds)11:04
*** louisbob <louisbob!52f0d7b6@gateway/web/freenode/ip.82.240.215.182> has quit IRC (Ping timeout: 260 seconds)11:06
*** carepack <carepack!~carepack@p3E9E8578.dip0.t-ipconnect.de> has joined #sailfishos11:06
*** kelvan <kelvan!~quassel@mail.merlin1991.at> has quit IRC (Remote host closed the connection)11:12
*** merlin1991 <merlin1991!~merlin@Maemo/community/cssu/merlin1991> has quit IRC (Remote host closed the connection)11:12
*** merlin1991 <merlin1991!~merlin@Maemo/community/cssu/merlin1991> has joined #sailfishos11:12
*** kelvan <kelvan!~quassel@mail.merlin1991.at> has joined #sailfishos11:12
*** corvinux <corvinux!~corvinux@unaffiliated/corvinux> has joined #sailfishos11:17
*** phdeswer <phdeswer!~phdeswer@a91-155-169-231.elisa-laajakaista.fi> has quit IRC (Ping timeout: 255 seconds)11:29
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has joined #sailfishos11:39
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has quit IRC (Client Quit)11:39
*** louisbob <louisbob!52f0d7b6@gateway/web/freenode/ip.82.240.215.182> has joined #sailfishos11:45
*** Juhi24_ <Juhi24_!~Juhi24@89-27-52-234.bb.dnainternet.fi> has joined #sailfishos11:53
*** Blizzz <Blizzz!~blizzz@ubuntu/member/blizzz> has quit IRC (Ping timeout: 255 seconds)11:54
*** Piece_Maker <Piece_Maker!~Acou_Bass@host-89-241-242-228.as13285.net> has joined #sailfishos11:57
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-78-144-154-80.as13285.net> has quit IRC (Ping timeout: 260 seconds)11:59
*** Piece_Maker is now known as Acou_Bass11:59
*** corvinux <corvinux!~corvinux@unaffiliated/corvinux> has quit IRC (Quit: IRC for Sailfish 0.9)12:02
*** Juhi24_ <Juhi24_!~Juhi24@89-27-52-234.bb.dnainternet.fi> has quit IRC (Quit: Juhi24_)12:19
*** phdeswer <phdeswer!~phdeswer@a91-155-169-231.elisa-laajakaista.fi> has joined #sailfishos12:19
*** nib <nib!~nib@109.110.95.115> has joined #sailfishos12:22
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sailfishos12:23
Mister_MagisterHow can i check if the app is in the front? Because i want to send notification only when app is in background12:27
*** m0hm0h <m0hm0h!m0hm0h@kapsi.fi> has joined #sailfishos12:28
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 260 seconds)12:33
kimmolihttps://sailfishos.org/develop/docs/silica/sailfish-application-features.html/12:34
Mister_Magisterkimmoli: thanks, and in c++?12:44
Mister_Magisterkimmoli: and how can i bring app to the front using notification?12:48
kimmoli1) maybe this http://doc.qt.io/qt-5/qguiapplication.html#applicationState12:49
kimmoli2) dbus12:49
kimmoliyou need to set remoteAction property, and add DBusAdaptor to listen that12:50
kimmolihttps://sailfishos.org/develop/docs/nemo-qml-plugin-dbus/qml-org-nemomobile-dbus-dbusadaptor.html/12:50
kimmolihttps://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/qml-org-nemomobile-notifications-notification.html/12:51
kimmoliqml side12:51
Mister_Magisterand how can i bring app back? Set Qt.application.state property or what?12:55
kimmoliin qml activate()13:01
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-56.play-internet.pl> has quit IRC (Ping timeout: 268 seconds)13:01
*** Mister_Magister_ <Mister_Magister_!~foidbgen@94.254.164.56> has joined #sailfishos13:01
kimmoliin ApplicationWindow13:02
kimmolifrom c++, just emit a signal to your qml, and onThatSignal { activate() }13:02
Mister_Magister_kimmoli: thanks and how can i make notification don't replace old one?13:03
*** Mister_Magister_ is now known as Mister_Magister13:04
kimmolisetReplacesId(0);13:06
kimmolisee the docs above13:07
*** Mister_Magister <Mister_Magister!~foidbgen@94.254.164.56> has quit IRC (Ping timeout: 240 seconds)13:10
*** zhxt_ <zhxt_!~zhxt@1.180.212.217> has joined #sailfishos13:11
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-56.play-internet.pl> has joined #sailfishos13:13
Mister_Magisterkimmoli: and how can i make my notification visable on lockscreen and trigger notification light13:13
Mister_Magisterhmm TypeError: Property 'setReplacesId' of object Notification(0xb7228a20) is not a function13:14
*** fledermaus <fledermaus!~vivek@2001:4d48:ad56:3000:659f:1500:614a:d545> has joined #sailfishos13:15
kimmolithat was from c++. qml is replacesId13:16
kimmoliyou need to set notificatin category13:17
Mister_Magisteroh okay13:17
Mister_Magisterkimmoli: where i can find all categories?13:20
kimmoli/usr/share/lipstick/notificationcategories/13:20
Mister_Magisterwhoa i don't have to care about notification sound now :D13:23
Mister_Magisterkimmoli: thanks alot :)13:23
Mister_Magisterkimmoli: but the notification is still replaced :'C13:24
coderusjust yse same Notification item aint it will *MAGICALLY* replace old notification,13:29
Mister_Magisterthat make sense13:29
coderuss\aint\and then :D13:29
Mister_Magistercoderus: thanks for explanation :D13:30
*** Vojtaeus <Vojtaeus!~vojta@opensuse/member/vojtaeus> has joined #sailfishos13:43
*** leinir <leinir!~leinir@amarok/usability/leinir> has joined #sailfishos13:47
Mister_Magisterkimmoli: do you have a link for dbus in c++ example to handle signals?13:47
*** Blizzz <Blizzz!~blizzz@ubuntu/member/blizzz> has joined #sailfishos13:58
*** loicm <loicm!~bballizli@LMontsouris-657-1-230-91.w80-15.abo.wanadoo.fr> has quit IRC (Ping timeout: 268 seconds)14:02
kimmoliyes14:08
Mister_Magisterkimmoli: can you share it with me?14:08
kimmolibrowse my github14:09
Mister_Magisterokay14:10
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-ryctjvahrlbonluh> has quit IRC (Quit: Connection closed for inactivity)14:21
*** frinring_ is now known as frinring14:22
*** Vojtaeus <Vojtaeus!~vojta@opensuse/member/vojtaeus> has quit IRC (Quit: Odcházím...)14:24
*** Vojtaeus <Vojtaeus!~vojta@opensuse/member/vojtaeus> has joined #sailfishos14:25
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-llfubakqcboflakv> has joined #sailfishos14:43
*** Nc_ <Nc_!~nc@109.129.188.243> has quit IRC (Quit: This computer has gone to sleep)14:57
*** RoKenn <RoKenn!~RoKenn@2001:a61:345b:500:4cc3:5ee8:60ef:1083> has joined #sailfishos15:03
*** zhxt_ is now known as zhxt15:06
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-56.play-internet.pl> has quit IRC (Remote host closed the connection)15:11
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-56.play-internet.pl> has joined #sailfishos15:11
*** loicm <loicm!~bballizli@LMontsouris-657-1-230-91.w80-15.abo.wanadoo.fr> has joined #sailfishos15:21
*** RoKenn <RoKenn!~RoKenn@2001:a61:345b:500:4cc3:5ee8:60ef:1083> has quit IRC (Quit: NSA proxy service interrupted)15:34
*** Nc_ <Nc_!~nc@2a02:a03f:2a1c:7e00:38de:71d7:62c:a049> has joined #sailfishos15:41
*** leinir <leinir!~leinir@amarok/usability/leinir> has quit IRC (Remote host closed the connection)15:51
*** leinir <leinir!~leinir@amarok/usability/leinir> has joined #sailfishos15:51
*** nib <nib!~nib@109.110.95.115> has quit IRC (Ping timeout: 240 seconds)15:57
*** __pv <__pv!~pv@bipbee.be> has quit IRC (Quit: leaving)15:57
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has quit IRC (Ping timeout: 255 seconds)16:02
*** RoKenn <RoKenn!~RoKenn@2001:a61:345b:500:7c0a:48a5:8226:15d1> has joined #sailfishos16:24
*** Blizzz <Blizzz!~blizzz@ubuntu/member/blizzz> has quit IRC (Ping timeout: 240 seconds)16:25
*** phdeswer <phdeswer!~phdeswer@a91-155-169-231.elisa-laajakaista.fi> has quit IRC (Ping timeout: 240 seconds)16:26
*** RoKenn <RoKenn!~RoKenn@2001:a61:345b:500:7c0a:48a5:8226:15d1> has quit IRC (Quit: NSA proxy service interrupted)16:30
*** Nc_ <Nc_!~nc@2a02:a03f:2a1c:7e00:38de:71d7:62c:a049> has quit IRC (Read error: No route to host)16:32
*** Nc_ <Nc_!~nc@109.129.188.243> has joined #sailfishos16:32
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sailfishos16:34
*** louisbob <louisbob!52f0d7b6@gateway/web/freenode/ip.82.240.215.182> has quit IRC (Ping timeout: 260 seconds)16:42
*** mhall119 <mhall119!~mhall@ubuntu/member/mhall119> has joined #sailfishos16:43
*** SfietKonstantin <SfietKonstantin!~sk@37.165.66.50> has joined #sailfishos16:43
*** nomeata <nomeata!~jojo@nomeata.de> has joined #sailfishos16:48
*** SfietKonstantin <SfietKonstantin!~sk@37.165.66.50> has quit IRC (Ping timeout: 240 seconds)16:49
*** Juhi24_ <Juhi24_!~Juhi24@89-27-52-234.bb.dnainternet.fi> has joined #sailfishos16:52
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Quit: Konversation terminated!)17:08
*** mhall119 <mhall119!~mhall@ubuntu/member/mhall119> has quit IRC (Ping timeout: 258 seconds)17:10
*** corvinux <corvinux!~corvinux@unaffiliated/corvinux> has joined #sailfishos17:11
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has joined #sailfishos17:21
*** Nc_ <Nc_!~nc@109.129.188.243> has quit IRC (Quit: This computer has gone to sleep)17:21
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has quit IRC (Quit: WeeChat 1.0.1)17:26
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has joined #sailfishos17:26
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has quit IRC (Client Quit)17:27
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has joined #sailfishos17:27
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has quit IRC (Client Quit)17:29
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-164-56.play-internet.pl> has joined #sailfishos17:32
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-56.play-internet.pl> has quit IRC (Ping timeout: 260 seconds)17:33
*** Nc_ <Nc_!~nc@2a02:a03f:2a1c:7e00:98ec:6cb2:498b:853c> has joined #sailfishos17:40
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-56.play-internet.pl> has joined #sailfishos17:47
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-164-56.play-internet.pl> has quit IRC (Ping timeout: 272 seconds)17:48
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-56.play-internet.pl> has quit IRC (Ping timeout: 240 seconds)17:59
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-115.play-internet.pl> has joined #sailfishos17:59
*** Nc_ <Nc_!~nc@2a02:a03f:2a1c:7e00:98ec:6cb2:498b:853c> has quit IRC (Quit: This computer has gone to sleep)18:00
*** tango_ <tango_!~tex_vim@151.54.21.237> has quit IRC (Ping timeout: 240 seconds)18:03
*** Nc_ <Nc_!~nc@109.129.188.243> has joined #sailfishos18:04
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-115.play-internet.pl> has joined #sailfishos18:26
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-115.play-internet.pl> has quit IRC (Ping timeout: 246 seconds)18:27
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has joined #sailfishos18:32
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has quit IRC (Client Quit)18:34
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has joined #sailfishos18:38
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has quit IRC (Client Quit)18:40
*** Blizzz <Blizzz!~blizzz@ubuntu/member/blizzz> has joined #sailfishos18:44
*** Juhi24_ <Juhi24_!~Juhi24@89-27-52-234.bb.dnainternet.fi> has quit IRC (Quit: Juhi24_)19:07
*** mhall119 <mhall119!~mhall@ubuntu/member/mhall119> has joined #sailfishos19:09
*** nib <nib!~nib@109.110.95.115> has joined #sailfishos19:11
*** tango_ <tango_!~tex_vim@151.54.223.181> has joined #sailfishos19:20
*** Vojtaeus <Vojtaeus!~vojta@opensuse/member/vojtaeus> has quit IRC (Quit: Odcházím...)19:20
*** nib <nib!~nib@109.110.95.115> has quit IRC (Ping timeout: 240 seconds)19:21
*** piggz <piggz!~piggz@95.147.209.146> has joined #sailfishos19:35
*** fledermaus <fledermaus!~vivek@2001:4d48:ad56:3000:659f:1500:614a:d545> has quit IRC (Ping timeout: 272 seconds)19:39
*** Moo-Crumpus <Moo-Crumpus!~Moo-Crump@2a02:908:df54:d240:2507:6fa:4d91:b62a> has joined #sailfishos19:45
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos19:57
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)19:57
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos20:04
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)20:05
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos20:08
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)20:08
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos20:10
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Remote host closed the connection)20:10
saidinesh5so Mister_Magister, what you https://github.com/saidinesh5/harbour-droplet/blob/master/src/appletview.h basically gives you is a fullscreen overlay window, which makes use of the applet layer patch if possible and runs your qmlscene ..20:11
saidinesh5activeArea is the property you need to set to specify which part of the screen you want to grab the touch events from..20:12
saidinesh5https://github.com/saidinesh5/harbour-droplet/blob/master/qml/components/BubbleStack.qml is a thin wrapper over a QML Repeater element, which takes a model and a delegte to instantiate .. and instantiates it..20:13
saidinesh5so a delegate here can be a Rectangle with a person's profile picture...20:14
saidinesh5https://github.com/saidinesh5/harbour-droplet/blob/master/qml/droplet-browser-overlay.qml#L108 gives you an example of the functionality20:15
saidinesh5droplet-browser-overlay is the overlay window running in fullscreen which has basically BubbleStack and a TabView tied to that BubbleStack..20:16
saidinesh5so what you want is probably a ChatBubble delegate which when activated gives  a user a little list view and a little textedit, that lets a user reply.. and when inactive just collapses to a bubble with a profile picture..20:17
Mister_Magisteri can change delegate: Bubble { to change bubble look?20:18
Mister_Magisteri think i'm getting this :D20:19
saidinesh5Also Mister_Magister, do notice how BubbleStack sets the window's activeArea on expanded changed.. onContentAreaChanged: thisWindow.activeArea = contentArea https://github.com/saidinesh5/harbour-droplet/blob/master/qml/droplet-browser-overlay.qml#L11520:19
saidinesh5well you can use any QtQuickItem as a delegate20:19
Mister_Magisteryeah i have noticed this. if it's expanded then content area is whole content but if it's not expanded it's only bubble20:19
saidinesh5so delegate: Rectangle {  width: 100; height: 100; radius: 50; Text {  anchors.centerIn: parent; text: "Hello There" }  }20:20
*** SfietKonstantin <SfietKonstantin!~sk@2a01cb0404e66200a634d9fffebf744e.ipv6.abo.wanadoo.fr> has joined #sailfishos20:20
saidinesh5that should give you a circular rectangle with just text "Hello there" inside the bubble.. although such long text is a bad idea.. and instead just 1-2 alphabets is what you can afford20:20
Mister_Magistersaidinesh5: but you have delegate: Bubble  with many options. They are not required?20:21
Mister_Magistersaidinesh5: i'll put rounded profile picture ;)20:21
saidinesh5that's a delegate i created to display a tab favicon, number of unread messages and all that: https://github.com/saidinesh5/harbour-droplet/blob/master/qml/components/Bubble.qml20:22
saidinesh5i set all thsoe values where I instantiate a delegate: https://github.com/saidinesh5/harbour-droplet/blob/master/qml/droplet-browser-overlay.qml#L14120:23
*** nutellazwerg <nutellazwerg!~nutellazw@p5B2FEE79.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving)20:23
Mister_Magisteroh okay so i can make ChatBubble with rounded profile picture and additional unread messages20:23
saidinesh5yup. sounds good.20:24
saidinesh5if all you have is a picture and a number, you can directly use that Bubble.qml itself then20:24
Mister_Magistersaidinesh5: but.. how can i put this into code?20:24
Mister_Magistersaidinesh5: i want to profile picutre fill up bubble20:25
Mister_Magisterhmmm DBusAdaptor that sounds good20:25
Mister_Magisteri'm using signals and slots by now so adding dbus send code will be easy af20:26
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos20:26
*** dafox <dafox!~dafox@2a02:a448:c25a:1:7061:3b2a:37df:ded3> has quit IRC (Ping timeout: 258 seconds)20:26
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)20:27
Mister_Magisteror... can i use signals and slots?20:27
saidinesh5Ahh.. basically if you have a ListModel { id: chatListModel;  ListElement{ profilePictureSource: "blah"; unreadCount: 5; chatId: "blah" } }; then you can have BubbleStack{  model: chatListModel; delegate: ChatBubble { image: profilePictureSource; number: unreadCount } }20:27
saidinesh5how you populate your ListModel is up to you..20:27
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos20:28
Mister_Magisterokaaayy20:28
saidinesh5and ChatBubble is probably similar to the Bubble.qml that simply fills up the image fully20:28
Mister_Magisterso i can use Connections?20:29
saidinesh5Connections for?20:29
Mister_Magisteradding new bubble20:29
Mister_Magisterif somebody writes20:29
Mister_Magisteror sending messges to window20:29
*** mhall119 <mhall119!~mhall@ubuntu/member/mhall119> has quit IRC (Ping timeout: 260 seconds)20:29
Mister_Magisteror ihave to use dbus20:29
saidinesh5I had to use dbus because the droplet-browser-overlay ran as  a separate process..20:30
Mister_Magisteroh okay so if my droplet will be in the same process then i can use connetions?20:30
saidinesh5if you create an AppletView in the same process, you can simply use signals and slots to share the data20:31
saidinesh5yup20:31
Mister_Magisterand where i can set window content?20:31
saidinesh5AppletView is just another QQuickView. so it has a source property...20:31
saidinesh5sourceUrl i think20:31
* saidinesh5 checks20:31
saidinesh5source: http://doc.qt.io/qt-5/qquickview.html#source-prop20:32
Mister_Magisterokay but... i see how can i manage bubbles but how can i set conent of window after opening bubble20:32
saidinesh5so if you want, you can register the AppletView to your QML engine and then do an AppletView {  source: /path/to/source.. }20:33
saidinesh5so your AppletView is acctually a fullscreen transparent window20:33
Mister_Magisteryeah20:33
Mister_Magisterand?20:33
saidinesh5so upon BubbleStack.expanded = true, you can simply display a new rectangle with the "content of your window"20:34
saidinesh5oor you can make your ChatBubble delegate morrph into a ListView.. up to you20:34
saidinesh5"morph into" .. / "expand" / etc..20:34
saidinesh5so do you have a ChatListModel ?20:35
Mister_Magisterwait wait i'm lost20:35
saidinesh5which part?20:35
Mister_Magisterhttps://github.com/saidinesh5/harbour-droplet/blob/master/qml/droplet-browser-overlay.qml i see i can manage bubble here but where is the content of that bubbles?20:37
saidinesh5https://github.com/saidinesh5/harbour-droplet/blob/master/qml/droplet-browser-overlay.qml#L65 the tabContainer actually has the content of tabs. upon BubbleStack.expanded = true, tabContainer's y position changes so it is visible. otherwise it is below the screen20:38
saidinesh5 y: bubbleStack.expanded? bubbleStack.bubbleWidth : root.height20:40
Mister_MagistertabLoader index matches BubbleStack index20:40
saidinesh5yep20:40
Mister_Magisterso if is select bubble number 2 then tabloader repeater will change to 220:40
saidinesh5more like that tab is made visible: visible: bubbleStack.currentIndex === index && bubbleStack.expanded20:41
Mister_Magistersure20:41
Mister_Magisterhmmmm okay so how can i put this in my code? :D20:42
saidinesh5first make sure your code has all the models ready20:42
saidinesh5like a ChatListModel that contains a list of active chats maybe?20:42
saidinesh5and then ChatModel, which contains the content of an actual Chat?20:42
saidinesh5then you can use ChatListModel as a model to BubbleStack20:43
saidinesh5that way all you have to do is update the ChatListModel...20:43
Mister_Magisteri shouldn't use silica right?20:43
saidinesh5inside the AppletView - nope20:43
Mister_Magisterokay20:43
Mister_Magistermaking that two models from actual models will not be hard20:44
saidinesh5what are the models you currently have?20:44
Mister_Magisterbasically20:44
Mister_Magistermodel: ListModel {20:44
Mister_Magister            id: chatModel20:45
Mister_Magister        }20:45
saidinesh5that is the model for a chat?20:45
Mister_Magisterfor both20:45
Mister_Magistercontacts and chat20:45
*** corvinux <corvinux!~corvinux@unaffiliated/corvinux> has quit IRC (Quit: IRC for Sailfish 0.9)20:46
saidinesh5how do you store chat in the same model?20:46
Mister_Magisterid is different20:47
saidinesh5hmm? i mean how do you store the content of your chat?20:47
Mister_Magisterin delegate20:47
saidinesh5you will have to create proper models..20:48
saidinesh5then you can reuse the same models..20:48
saidinesh5you can share the same models between your main window..20:48
saidinesh5and an appletView20:48
Mister_Magistersaidinesh5: hahahaha okay :D20:48
Mister_Magistersaidinesh5: wait i'll send you source maybe20:48
*** SfietKonstantin <SfietKonstantin!~sk@2a01cb0404e66200a634d9fffebf744e.ipv6.abo.wanadoo.fr> has quit IRC (Ping timeout: 245 seconds)20:49
saidinesh5basically if you have proper models.. then you can use the same models between your actual window and the appletview20:49
saidinesh5that way all you have to do is update the model upon your libpurple events.. and both windows get updated..20:49
Mister_Magistersaidinesh5: look https://pastebin.com/k9TD2yL720:50
saidinesh5Ahh.. you havent created that chatModel yet right?20:51
Mister_Magistermaybe i'm doing something wrong. i have to?20:51
Mister_Magisterit's working20:51
saidinesh5but how is it getting updated?20:52
saidinesh5with actual data from facebook etc.. ?20:52
Mister_MagisterchatModel.append({"name": name, "message": message, "time": addZero(d.getHours()) + ":" + addZero(d.getMinutes()), "align": "left"})20:52
Mister_Magisterfrom slot20:53
saidinesh5Ahh and where is the signal for that slot coming from?20:53
Mister_Magisterc++ side20:53
saidinesh5Ahh20:53
saidinesh5so better make good models from your C++ side itself then20:54
Mister_Magisterif i'm doing something wrong tell me. i'm new in qml you kno20:54
Mister_Magistersaidinesh5: okay can you explain it to me tomorrow? i have to go :/20:54
saidinesh5nah basically you could have an class ChatModel: QAbstractListModel {} in C++ side itself20:54
saidinesh5Ah sure20:54
Mister_Magisternight then ;)20:55
saidinesh5basically once you have models for this, your code becomes a lot simpler/smaller ... and you wont have to connect signals and slots in 10 placces20:55
saidinesh5aye nighters20:55
* Mister_Magister is wondering why everybody uses "night" when in shool he learned "good night"20:56
saidinesh5heh well20:56
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Quit: Communi 3.5.0 - http://communi.github.com)20:57
*** paulvt <paulvt!~paul@target.luon.net> has left #sailfishos20:57
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-115.play-internet.pl> has quit IRC (Ping timeout: 264 seconds)21:01
*** paulvt <paulvt!~paul@target.luon.net> has joined #sailfishos21:48
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-llfubakqcboflakv> has quit IRC (Quit: Connection closed for inactivity)22:21
*** Nc_ <Nc_!~nc@109.129.188.243> has quit IRC (Quit: This computer has gone to sleep)22:46
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos22:54
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)22:54
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos22:55
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)22:56
*** Blizzz <Blizzz!~blizzz@ubuntu/member/blizzz> has quit IRC (Ping timeout: 272 seconds)23:02
*** nomeata <nomeata!~jojo@nomeata.de> has quit IRC (Ping timeout: 260 seconds)23:03
*** olafh <olafh!~olafh@93.237.247.223> has quit IRC (Ping timeout: 240 seconds)23:35
*** lystra <lystra!~lystra@d53-64-11-169.nap.wideopenwest.com> has joined #sailfishos23:48
*** RoKenn <RoKenn!~RoKenn@2001:a61:345b:500:b44d:7070:aa7d:3589> has joined #sailfishos23:48

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!