View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#47
Originally Posted by steven676 View Post
Even more strangely, we now have "browser" processes -- I'm guessing if you change the default browser back to something other than MicroB, links still open in MicroB?
Bingo.

Here's my ps output whilst this is happening:
1186 user 39964 S /usr/sbin/browserd -d
1722 user 65320 S /usr/sbin/browserd -s 1722 -n RTComMessagingServer
1952 user 39964 S /usr/sbin/browserd -d -b
1953 user 3936 S browser
1954 user 29604 S browser
2119 user 65808 D /usr/sbin/browserd -s 2119 -n browserui
After running "dbus-send --session --type=method_call --print-reply --dest="com.nokia.osso_browser" /com/nokia/osso_browser/request com.nokia.osso_browser.exit_browser":
Nokia-N900-51-1:~# dbus-send --session --type=method_call --print-reply --dest="com.nokia.osso_browser" /com/nokia/osso_browser/request com.nokia.osso_browser.exit_browser
Error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Nokia-N900-51-1:~# ps | grep browser
1186 user 39964 S /usr/sbin/browserd -d
1722 user 65320 S /usr/sbin/browserd -s 1722 -n RTComMessagingServer
1952 user 39964 S /usr/sbin/browserd -d -b
2593 user 3336 S /usr/bin/browser-switchboard
2595 root 2092 S grep browser
Nokia-N900-51-1:~#
Originally Posted by steven676 View Post
Any chance you can reproduce this (having browser processes open after launching MicroB with Browser Switchboard and then closing the browser windows) starting from a freshly booted device, and provide the debug output coming from browser-switchboard along the way?
------------------------------------

OK, trying after rebooting and browser-switchboard running in the X Terminal...

Just rebooted; no attempts to open any browser:

Nokia-N900-51-1:~# ps | grep browser
1252 user 37712 S /usr/sbin/browserd -d
1692 user 3336 S browser-switchboard
1694 root 2088 S grep browser

~ $ browser-switchboard
continuous_mode: 0
default_browser: 'microb'
other_browser_cmd: 'NULL'
Starting main loop
Opening link from MaePad's about dialog (link opens in MicroB sucessfully):
~ $ browser-switchboard
continuous_mode: 0
default_browser: 'microb'
other_browser_cmd: 'NULL'
Starting main loop
open_address 'http://thpinfo.com/2010/maepad/'
launch_microb with uri 'http://thpinfo.com/2010/maepad/'
Waiting for MicroB to start
Checking to see if MicroB is ready
Message has only 0 arguments, but more were expected
Checking to see if MicroB is ready
MicroB ready
Checking to see if we should kill MicroB
Checking to see if we should kill MicroB


Nokia-N900-51-1:~# ps | grep browser
1252 user 37712 S /usr/sbin/browserd -d
1698 user 3336 S browser-switchboard
1735 user 45976 S /usr/sbin/browserd -d -b
1736 user 3936 S browser
1737 user 30772 S browser
1738 user 104m R /usr/sbin/browserd -s 1738 -n browserui
1749 root 2088 S grep browser
With the windows closed:
~ $ browser-switchboard
continuous_mode: 0
default_browser: 'microb'
other_browser_cmd: 'NULL'
Starting main loop
open_address 'http://thpinfo.com/2010/maepad/'
launch_microb with uri 'http://thpinfo.com/2010/maepad/'
Waiting for MicroB to start
Checking to see if MicroB is ready
Message has only 0 arguments, but more were expected
Checking to see if MicroB is ready
MicroB ready
Checking to see if we should kill MicroB
Checking to see if we should kill MicroB
Closing MicroB
sh: you need to specify whom to kill [It was Ctrl-C'd by me]

Nokia-N900-51-1:~# ps | grep browser
1252 user 37712 S /usr/sbin/browserd -d
1735 user 46104 S /usr/sbin/browserd -d -b
OK, so I couldn't reproduce it again. So I then opened the link again (in the same Browser Switchboard session). Success!

~ $ browser-switchboard
continuous_mode: 0
default_browser: 'microb'
other_browser_cmd: 'NULL'
Starting main loop
open_address 'http://thpinfo.com/2010/maepad/'
launch_microb with uri 'http://thpinfo.com/2010/maepad/'
Waiting for MicroB to start
Checking to see if MicroB is ready
Message has only 0 arguments, but more were expected
Checking to see if MicroB is ready
MicroB ready
Checking to see if we should kill MicroB
Checking to see if we should kill MicroB
Closing MicroB
sh: you need to specify whom to kill [I didn't Ctrl-C it; Browser Switchboard closed of its own accord]
~ $

Nokia-N900-51-1:~# ps | grep browser
1255 user 37712 S /usr/sbin/browserd -d
1762 user 46108 S /usr/sbin/browserd -d -b
1820 user 3336 S /usr/bin/browser-switchboard
1825 user 39832 S /usr/sbin/browserd -d -b
1826 user 3936 S browser
1827 user 29368 D browser
1828 user 66096 R /usr/sbin/browserd -s 1828 -n browserui
1852 root 2088 S grep browser
 

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