These are chat archives for abranson/rockpool

28th
Oct 2016
Andrew Branson
@abranson
Oct 28 2016 07:58
Looks like the browser embed is going to have to be switched before 2.0.5:
[W] QMozContext::GetInstance:188 - QMozContext::GetInstance() is deprecated and will be removed 1st of December 2016. Use QMozContext::instance() instead.
greHome from GRE_HOME:/usr/bin
libxul.so is not found, in /usr/bin/libxul.so
Created LOG for EmbedLite
rockpool: symbol lookup error: rockpool: undefined symbol: _ZN11QMozContext10setProfileE7QString
ruff
@rufferson
Oct 28 2016 08:00
Did they finish the gecko widget then? Because it's stalled now - existing geko embedding is broken since last GA release
and in your dev release it's broken even on API level already
Andrew Branson
@abranson
Oct 28 2016 08:01
yes I think it's pretty much there
ruff
@rufferson
Oct 28 2016 08:01
if not - we'll be forced to switch back to webkit. Or bring-your-own-browser %)
Andrew Branson
@abranson
Oct 28 2016 08:02
i think the silica webview is worth a try
i could dig out some sample code - have you had a look at it?
ruff
@rufferson
Oct 28 2016 08:03
is there any docs? I didn't see it being published. and currently sailfish docs site is completely down
Andrew Branson
@abranson
Oct 28 2016 08:09
last i saw they were adding all the widgets for listboxes etc
there's some basic docs in the readme. i think it's a lot simpler than the mozembed
actually, that's pretty poor
looks quite finished though - raine and chris have been migrating the browser, accounts UI and email client over to it.
ruff
@rufferson
Oct 28 2016 08:16
as far as I can see SilicaWebView is still webkit based (in latest qtcreator)
$ grep import mersdk/targets/SailfishOS-armv7hl/usr/lib/qt5/qml/Sailfish/Silica/SilicaWebView.qml
import QtQuick 2.0
import QtQuick.Window 2.0
import QtWebKit 3.0
import QtWebKit.experimental 1.0
import Sailfish.Silica 1.0
import Sailfish.Silica.private 1.0
import "private"
import "private/FastScrollAnimation.js" as FastScroll
import "private/Util.js" as Utils
No Qt5Mozilla import or anything like that
Andrew Branson
@abranson
Oct 28 2016 08:36
no that's the old one. this is a new plugin.
ruff
@rufferson
Oct 28 2016 08:36
Which seems to be not yet in EA or GA releases
*included
Andrew Branson
@abranson
Oct 28 2016 08:37
they've just abstracted out a webview from the sf browser so it can be used elsewhere
the package is called 'sailfish-components-webview-qt5'. i'll check the availability.
and 'sailfish-components-webview-qt5-devel'
ruff
@rufferson
Oct 28 2016 08:38
I saw some widgets packaged as part of sailfish-browser package - and was going to try them. but don't want to spend too much on it if it's not going to be mainlined and rather remain private
Andrew Branson
@abranson
Oct 28 2016 08:46
Looks like it's in the 2.0.5 repos too, so EA would be a good time to have a look at it.
I'll ask if it's stable enough in there to use in rockpool. and if not then i'll ask if they can fix QtMozEmbed until it is :)
though i guess they'll say that we were a bit crazy to use that in the first place ;)
good news is that the daemon seems to work great with bluez5
i see an LE device in the scan too...
ruff
@rufferson
Oct 28 2016 08:48
well yes, seems no one except them is using and drivinf mozembed forward so hard to blame them in using it the way mozilla has never planned
Andrew Branson
@abranson
Oct 28 2016 08:48
but katharine tells me that connecting to that will be very complicated. they've invented their own LE profile...
ruff
@rufferson
Oct 28 2016 08:49
but if mer/sailfish doesn't have LE implementation it means that you see it in compat mode and Kath is wring that P2 doesn't support it
*wrong
Or what you see is not P2 yet?
Andrew Branson
@abranson
Oct 28 2016 08:50
no it's the old one, but I see two devices - 'Pebble E340' and 'Pebble LE E340'
haven't tried to pair with the LE one though
We now get a 'Connected' subtitle under the watch too when it's connected. Gets automatically labelled as a watch too.