On 1 Aug 2007, at 21:58, Andreas Höschler wrote:
Hi all,
as the name implies launchedApplications is supposed to return only
launched applications. On MacOSX this works as expected. Under
GNUstep (also with the latest release) I get the full set of
installed applications (whether they are running or not).
I don't think so ... what you are probably seeing is a list of all
crashed/killed applications.
Is there a workaround for this bug? Is see that determining this
list is no easy task since it requires some kind of registration
mechanism. What's the current approach in GNUstep for doing that?
I just found some GSDock sources that work ok on MacOSX but not at
all under GNUstep, mainly because GSDock is based on this
launchedApplications method of NSWorkspace which seems to be broken
in GNUstep.
Hints are greatly appreciated!
Probably you are not running a workspace manager (eg GWorkspace)
which launches and controls apps for you.
If there is no workspace manager, then we don't know if an app has
crashed or been killed ... so it persists in the launched apps
database until some other app tries to contact it and (upon finding
that it can't be reached) removes it from the database, or the app
is run again.
You can clean up a the record for an app simply by running it again
and shutting it down cleanly.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep