Active Topics

 


Reply
Thread Tools
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#1
I think it's good to open up a dedicated thread about it.

Last edited by shmerl; 2013-11-29 at 20:09.
 
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#2
Someone asked whether it's possible to set DuckDuckGo as a preferred search engine in the default browser. While I don't have a device yet, it can be possible in theory. Can anyone please test this scenario:

1. Find your Mozilla profile directory. Usually it should be $HOME/.mozilla/firefox/<profile-dir> but I have no clue if it's the same on Sailfish.
2. Create searchplugins subdiretcory in there.
3. Create duckduckgo.xml search plugin in there, using the following: http://pastie.org/8517520
4. Open about:config and set:
Code:
browser.search.defaultenginename = DuckDuckGo
browser.search.selectedEngine = DuckDuckGo
5. Try searching anything and see what happens.

Last edited by shmerl; 2013-11-29 at 19:23.
 

The Following User Says Thank You to shmerl For This Useful Post:
wow23's Avatar
Posts: 45 | Thanked: 56 times | Joined on Aug 2011 @ Sevastopol, Cremea, Ukraine
#3
is there firefox sync support in browser for now, or in future?

i think it reasonable to have it built in, because jolla do not have ecosystem (like apple have safari and desktop and mobile, google have chrome..etc), so support for third party services would be useful..
 
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#4
Originally Posted by wow23 View Post
is there firefox sync support in browser for now, or in future?
The engine can support it in theory, but UI for setting it up is probably lacking. I'll try to figure out how to set up sync without the UI.

So, no one managed to make DuckDuckGo working?

Last edited by shmerl; 2013-12-01 at 00:53.
 
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#5
The engine requires some work still, but if you hardcode your keys, it can work:
https://github.com/tmeshkova/embedli...Service.js#L56
It's not a secure way of keys storage however. Thanks to Romaxa for the tip.

Last edited by shmerl; 2013-12-01 at 01:00.
 

The Following 2 Users Say Thank You to shmerl For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#6
Shmerl, is the rendering engine hardware accelerated? The performance of CSS transforms/transitions is almost unusable. Can't say the same for the Android Firefox (not tested on a Jolla yet though, only on N950).
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.

Last edited by Bundyo; 2013-12-05 at 19:41.
 
w00t's Avatar
Posts: 1,055 | Thanked: 4,107 times | Joined on Oct 2009 @ Norway
#7
Originally Posted by Bundyo View Post
Shmerl, is the rendering engine hardware accelerated? The performance of CSS transforms/transitions is almost unusable. Can't say the same for the Android Firefox (not tested on a Jolla yet though, only on N950).
AFAIU Hardware acceleration is there, but I think there are some workarounds/slow paths in use at the moment as not everything was working in time, due to e.g. https://github.com/libhybris/libhybris/pull/174

NB: I am not a browser expert, I may be completely wrong, I just happen to overhear conversations from time to time
__________________
i'm a Qt expert and former Jolla sailor (forever sailing, in spirit).
if you like, read more about me.
if you find me entertaining, or useful, thank me. if you don't, then tell me why.
 

The Following 5 Users Say Thank You to w00t For This Useful Post:
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#8
Bundyo: That's not a question to me I.e. I can't verify it, since I don't even have a device yet (and it's not going to come too soon - US isn't targeted yet). However in theory, the engine supports it but whether it can work depends on the underlying drivers, and like w00t noted it can have issues.

How does about:support identify the driver?

Also, what is set in about:config to these keys:

layers.accelerate-all
layers.acceleration.disabled
layers.acceleration.force-enabled
webgl.force-enabled
webgl.disabled

Even if drivers allow it, but those keys are set to disable acceleration, it naturally won't work. And the other way around, even if they are set to enable it but drivers are bad, you won't get a good result (and probably get a crash altogether).

How many FPS do you get in this test?

https://developer.mozilla.org/media/...ckage/HWACCEL/

Last edited by shmerl; 2013-12-06 at 00:12.
 

The Following 2 Users Say Thank You to shmerl For This Useful Post:
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#9
Also, try some webgl page, to see how to fares.

For example:
http://hellorun.helloenjoy.com/
http://www.littleworkshop.fr/landscapes/
 
Posts: 466 | Thanked: 335 times | Joined on Jan 2010 @ Vienna, Austria
#10
Originally Posted by shmerl View Post
Someone asked whether it's possible to set DuckDuckGo as a preferred search engine in the default browser. While I don't have a device yet, it can be possible in theory. Can anyone please test this scenario:

1. Find your Mozilla profile directory. Usually it should be $HOME/.mozilla/firefox/<profile-dir> but I have no clue if it's the same on Sailfish.
2. Create searchplugins subdiretcory in there.
3. Create duckduckgo.xml search plugin in there, using the following: http://pastie.org/8517520
4. Open about:config and set:
Code:
browser.search.defaultenginename = DuckDuckGo
browser.search.selectedEngine = DuckDuckGo
5. Try searching anything and see what happens.
I try to follow this discussion (unfortunately I can't contribute), but
it's kinda not clear (well maybe guessable) whether what you're saying is about Firefox or the Sailfish browser (how about we call it Sailbro! I'm gonna do that now).
In the first paragraph you are referring to a question about Sailbro, then you're answering it about Firefox? Other than both using Gecko, do they have enough in common for that?
I gather the question is: can we, and if yes, how can we get things that work in FF to also work in Sailbro? E.g. make Sailbro sync with Firefox (that would be so cool), or set a custom default search engine. Is that the topic here?
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:14.