The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-02-15
, 03:15
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#72
|
~ $ browser-switchboard
continuous_mode: 0
default_browser: 'tear'
other_browser_cmd: 'NULL'
Starting main loop
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
~ $ ps | grep bro
1225 user 39964 S /usr/sbin/browserd -d
3328 user 65160 S /usr/sbin/browserd -s 3328 -n RTComMessagingServer
3362 user 3936 S browser
3363 user 28656 S browser
3385 user 81092 S /usr/sbin/browserd -s 3385 -n browserui
3420 user 3336 S browser-switchboard [the one I've started manually]
3449 user 3936 S browser
3450 user 28652 S browser
3478 user 2092 S grep bro
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-02-15
, 03:44
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#73
|
This was my ps output:
Code:~ $ ps | grep bro 1225 user 39964 S /usr/sbin/browserd -d 3328 user 65160 S /usr/sbin/browserd -s 3328 -n RTComMessagingServer 3362 user 3936 S browser 3363 user 28656 S browser 3385 user 81092 S /usr/sbin/browserd -s 3385 -n browserui 3420 user 3336 S browser-switchboard [the one I've started manually] 3449 user 3936 S browser 3450 user 28652 S browser 3478 user 2092 S grep bro
But when I did "killall browser", launching the Browser from the menu worked fine again.
The Following User Says Thank You to steven676 For This Useful Post: | ||
![]() |
2010-02-15
, 06:10
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#74
|
After doing the above steps once, opening the Browser from the menu again and noticing that oddity above, I closed the browser. When I went to open the Browser using the menu entry, Tear popped up so I closed it.
$ dbus-monitor [snip] method call sender=:1.35 -> dest=org.freedesktop.DBus serial=291 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName string "com.nokia.osso_browser" uint32 0 [snip] $ dbus-send --session --print-reply --type=method_call --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID string:":1.35" method return sender=org.freedesktop.DBus -> dest=:1.535 reply_serial=2 uint32 1123 $ ps -ef | grep 1123 1123 user 108m S /usr/bin/hildon-desktop
The Following User Says Thank You to steven676 For This Useful Post: | ||
![]() |
2010-02-15
, 07:42
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#75
|
Not sure how to stop this from happening, but I suppose we could use some form of locking to make sure that the second browser-switchboard doesn't get in the way.
The Following User Says Thank You to steven676 For This Useful Post: | ||
![]() |
2010-02-15
, 10:20
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#76
|
Okay, let's try this: try to acquire org.maemo.garage.browser-switchboard from D-Bus and quit if someone already owns it.
Is the Tear-launching behavior reproducible with the attached patch? (Again, I'll cut a release tomorrow with this patch, but feedback would be nice.)
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-02-16
, 06:29
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#77
|
The Following User Says Thank You to steven676 For This Useful Post: | ||
![]() |
2010-02-16
, 10:10
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#78
|
- 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).
Please let me know whether this works consistently now or not, and whether or not you notice any other inconsistent or strange behaviors. If anything doesn't work as expected along the way, please let me know; if you can, open an xterm, run "killall browser-switchboard; browser-switchboard", go through the sequence of steps, and then provide the output that browser-switchboard produces in the terminal when reporting your problem.
Also, please report any problems you have with MicroB losing bookmarks, history, or settings when it's closed; a change to more heavy-handed measures for killing MicroB in a previous release may have introduced such bugs.
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-02-16
, 10:15
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#79
|
- Make the Web menu entry launch the user's selected default browser.
- Make running "browser" from the shell launch the user's selected default browser.
- Install a new menu item labeled "MicroB" that can be used to launch MicroB no matter what the default browser is set to.
- Install a new "microb" script that can be used to launch MicroB no matter what the default browser is set to.
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-02-17
, 09:40
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#80
|
The Following User Says Thank You to steven676 For This Useful Post: | ||
Last edited by qwerty12; 2010-02-15 at 02:47.