View Single Post
jukey's Avatar
Posts: 246 | Thanked: 204 times | Joined on Jun 2007 @ Potsdam (Germany)
#37
My preparation:

1. Install browser switchboard and firefox
2. reboot
3. Switching default browser to firefox

I always used the option "faster browser start".

Originally Posted by steven676 View Post
So you're saying all of the following is true:
  • The default browser is set to Fennec (or anything other than MicroB, really).
Yes, this happens immediately. After switching The first desktop bookmark short cut was starting firefox.

I closed firefox and did a reboot using the hardware button.

Originally Posted by steven676 View Post
  • Immediately after booting the device, no MicroB "browser" processes are seen.
I got this:
Code:
~ $ pidof browser
~ $ ps|grep browser
 1186 user     37980 S    /usr/sbin/browserd -d 
 1534 user      2092 S    grep browser
Originally Posted by steven676 View Post
  • Immediately after booting the device and before opening MicroB for the first time, links in applications open in the chosen default browser (not MicroB).
Yes the default browser already is firefox and links in applications are starting firefox only.
The pidof and ps command are showing:
Code:
~ $ pidof browser
~ $ ps|grep browser
 1186 user     40232 S    /usr/sbin/browserd -d 
 1713 user      3336 S    /usr/bin/browser-switchboard 
 1803 user     60132 S    /usr/sbin/browserd -s 1803 -n RTComMessagingServer
Now I closed firefox.
I started the browser switchboard dialogue again and set the default browser back to microb.
Than I was clicking onto a bookmark on my desktop and microb was starting instead of firefox. The page the bookmark was for was opened AND the bookmark page of microb too (Thats a little differece to the "normal2 behavior of microb: Without switchboard installed only the requested website would be shown, not the bookmark/start page of microb in a second window).

Output of pidof and ps:
Code:
~ $ pidof browser
1853 1852
~ $ ps|grep browser
 1186 user     40232 S    /usr/sbin/browserd -d 
 1713 user      3336 S    /usr/bin/browser-switchboard 
 1803 user     60132 S    /usr/sbin/browserd -s 1803 -n RTComMessagingServer 
 1851 user     40232 S    /usr/sbin/browserd -d -b 
 1852 user      3936 S    browser 
 1853 user     39312 S    browser                                              
 1854 user     71336 S    /usr/sbin/browserd -s 1854 -n browserui 
 1880 user      2092 S    grep browser
Originally Posted by steven676 View Post
  • MicroB opens when you select the Web entry in the menu. Two "browser" processes are seen.
Yes I can open bookmarked websites from microb's boookmark page. And yes, now there are running two processes as you can see in the xterm output above (PID 1852 and 1853).

Now I am closing all open microb windows.

Originally Posted by steven676 View Post
  • When you close MicroB, the two "browser" processes remain running.
The xterm output is nearly the same as in the step before:
Code:
~ $ pidof browser
1853 1852
~ $ ps|grep browser
 1186 user     40232 S    /usr/sbin/browserd -d 
 1713 user      3336 S    /usr/bin/browser-switchboard 
 1803 user     60132 S    /usr/sbin/browserd -s 1803 -n RTComMessagingServer 
 1851 user     40232 S    /usr/sbin/browserd -d -b 
 1852 user      3936 S    browser 
 1853 user     30640 S    browser                                              
 1887 user     55716 S    /usr/sbin/browserd -s 1887 -n browserui 
 1894 user      2092 S    grep browser
Originally Posted by steven676 View Post
  • After having opened and closed MicroB, links in applications open in MicroB, not the selected default browser. (This is a bug in Browser Switchboard, if true)
Yes. Links from applications again are routed to microb.

Did I understand you correctly?
I hope I could help you providing the information above.

I have to remark that from the users point of view everything works like desired. From the systems point of view I can not estimate exactly because I'm not sure when and how much processes should run.

Again thanks for your effort! Feel free to request more information whenever you need.

Ciao jukey
__________________
-> Join the SailfishOS Meetup Berlin - every first Monday a month <-

Me on twitter
 

The Following User Says Thank You to jukey For This Useful Post: