The Following User Says Thank You to jlacombe For This Useful Post: | ||
|
2010-02-07
, 02:17
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#52
|
|
2010-02-07
, 03:55
|
Posts: 2 |
Thanked: 1 time |
Joined on Feb 2010
@ Phoenix, AZ, United States
|
#53
|
I can't thank you enough for browser-switchboard, but at the same time I cannot forget that on a sane platform all this contortions shouldn't be necessary.
The Following User Says Thank You to kansei For This Useful Post: | ||
|
2010-02-08
, 14:33
|
|
Posts: 246 |
Thanked: 204 times |
Joined on Jun 2007
@ Potsdam (Germany)
|
#54
|
Hopefully the following should now work 100% of the time:
1. Configure Browser Switchboard with any default browser other than MicroB.
2. Restart the device.
3. Open a link from an application or a desktop widget; the link should open in the default browser you configured.
4. Open MicroB by using the Web menu entry (you don't need to change the default browser setting or restart the device).
5. Open a link from an application or a desktop widget; the link should open in MicroB.
6. Close all the MicroB browser windows.
7. Open a link from an application or a desktop widget; the link should open in the default browser you configured.
8. Open MicroB by using the Web menu entry (it should come up).
~ $ killall browser-switchboard ~ $ browser-switchboard continuous_mode: 1 default_browser: 'fennec' other_browser_cmd: 'NULL' Starting main loop open_address 'http://maemo.org/packages/repository/qa/fremantle_extras-testing/' launch_other_browser with uri 'http://maemo.org/packages/repository/qa/fremantle_extras-testing/' command: 'fennec 'http://maemo.org/packages/repository/qa/fremantle_extras-testing/'' Waited for a zombie launch_microb with uri 'new_window' Waiting for MicroB to start Checking to see if MicroB is ready Message has only 0 arguments, but more were expected
|
2010-02-09
, 08:45
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#55
|
I repeated the produce step by step after "killall browser-switchboard; browser-switchboard" but without a complete restart of the device. This time after step 4 again only the initial bookmark page is shown. No empty page.
This is the output:
Code:~ $ killall browser-switchboard ~ $ browser-switchboard continuous_mode: 1 default_browser: 'fennec' other_browser_cmd: 'NULL' Starting main loop open_address 'http://maemo.org/packages/repository/qa/fremantle_extras-testing/' launch_other_browser with uri 'http://maemo.org/packages/repository/qa/fremantle_extras-testing/' command: 'fennec 'http://maemo.org/packages/repository/qa/fremantle_extras-testing/'' Waited for a zombie launch_microb with uri 'new_window' Waiting for MicroB to start Checking to see if MicroB is ready Message has only 0 arguments, but more were expected
|
2010-02-10
, 18:19
|
|
Posts: 246 |
Thanked: 204 times |
Joined on Jun 2007
@ Potsdam (Germany)
|
#56
|
Okay, I'm not 100% sure I understand what happened here, but I am pretty sure it starts from a state which Browser Switchboard shouldn't end up in (MicroB running, but not handling com.nokia.osso_browser). Can you please try this again with a freshly restarted device?
- Configure Browser Switchboard with any default browser other than MicroB.
- Restart the device.
- Open a link from an application or a desktop widget; the link should open in the default browser you configured.
- Open MicroB by using the Web menu entry (you don't need to change the default browser setting or restart the device).
- Open a link from an application or a desktop widget; the link should open in MicroB.
- Close all the MicroB browser windows.
- Open a link from an application or a desktop widget; the link should open in the default browser you configured.
- Open MicroB by using the Web menu entry (it should come up).
~ $ killall browser-switchboard killall: browser-switchboard: no process killed ~ $ browser-switchboard continuous_mode: 1 default_browser: 'fennec' other_browser_cmd: 'NULL' Starting main loop open_address 'https://bugs.maemo.org/index.cgi?GoAheadAndLogIn=1' launch_other_browser with uri 'https://bugs.maemo.org/index.cgi?GoAheadAndLogIn=1' command: 'fennec 'https://bugs.maemo.org/index.cgi?GoAheadAndLogIn=1'' launch_microb with uri 'new_window' 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
|
2010-02-11
, 12:14
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#57
|
The problem seems to be that you are not killing the microb browserdeamon after the last microb window is closed.
Checking to see if we should kill MicroB Checking to see if we should kill MicroB Closing MicroB
Is a system message (don't know the correct word for that) sent if the last browser windwo closed?
|
2010-02-11
, 16:28
|
|
Posts: 246 |
Thanked: 204 times |
Joined on Jun 2007
@ Potsdam (Germany)
|
#58
|
If steps 1-8 outlined in my previous post actually work correctly 100% of the time for anyone on Fremantle, could you please speak up with your firmware version? (Failure reports would be appreciated as well, but success reports would be more puzzling.)
Bingo. What we're supposed to see after "MicroB ready" is this:
(which has been observed at least once in the wild -- which makes this report rather troubling).Code:Checking to see if we should kill MicroB Checking to see if we should kill MicroB Closing MicroB
Is any documented signal sent when the last window closes? Not that I know of. I'm relying on behavior gleaned from tracing MicroB in the SDK to determine when the last browser window closes. Clearly, at least in your case, that behavior is not happening.
Can you repeat steps 1 to 6, and this time, find the PIDs for browserd ("ps -ef | grep browserd") before step 4
~ $ ps -ef |grep browserd 1205 user 40232 S /usr/sbin/browserd -d 1616 user 60128 S /usr/sbin/browserd -s 1616 -n RTComMessagingServer 1692 user 2092 S grep browserd
, after step 4,
~ $ ps -ef |grep browserd 1205 user 40232 S /usr/sbin/browserd -d 1616 user 60128 S /usr/sbin/browserd -s 1616 -n RTComMessagingServer 1706 user 81260 S /usr/sbin/browserd -s 1706 -n browserui 1723 user 2092 S grep browserd
and after step 6?
~ $ ps -ef |grep browserd 1205 user 40232 S /usr/sbin/browserd -d 1616 user 60128 S /usr/sbin/browserd -s 1616 -n RTComMessagingServer 1737 user 55720 S /usr/sbin/browserd -s 1737 -n browserui 1743 user 2092 S grep browserd
(In the SDK, there are two browserds after step 4, and one of them closes and is replaced after step 6; it's this change that I have several ways of looking for. If this isn't happening consistently on the device, we're back to square 1 ...)
|
2010-02-12
, 01:03
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#59
|
|
2010-02-14
, 07:56
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#60
|
The Following User Says Thank You to steven676 For This Useful Post: | ||
continuous_mode: 1
default_browser: 'fennec'
other_browser_cmd: 'NULL'
Couldn't acquire name com.nokia.osso_browser
JL