[maemo-developers] Possible libosso bug?

From: David Hazel david.hazel at enchaine.com
Date: Mon Sep 10 12:00:57 EEST 2007
I encountered the following unexpected behaviour while testing my
application, and I wanted to run it past the people on this list to see
if this is a known "feature".

My application opens the browser as part of its normal operation. On
application exit, the browser is closed. The call used to do this is:

osso_rpc_run_with_defaults(mvarAppCtx, "osso_browser",
OSSO_BROWSER_EXIT, NULL, DBUS_TYPE_INVALID);

Now, if the browser is open when this call runs, it closes down exactly
as expected. However, if it has already been closed by the user, the
above call OPENS it!

Given that the call is telling the browser to exit, I would expect one
of two things to happen if the browser is not open:

1) The call is ignored, because it is asking for a browser state that
already exists

2) The call fires up the browser and immediately closes it (because the
OSSO_BROWSER_EXIT request has to be dealt with by the browser itself).

Instead, what actually happens is that the browser opens and stays open
(on its default home page).

Is this a known "feature" of libosso or the Browser? If not, should I
report it as a bug?


David Hazel



More information about the maemo-developers mailing list