bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #6056] Duplicate application launching


From: Richard Frith-Macdonald
Subject: Re: [bug #6056] Duplicate application launching
Date: Wed, 29 Oct 2003 06:40:57 +0000


On Wednesday, October 29, 2003, at 01:35 AM, Alexander Malmberg wrote:

Adam Fedor wrote:
I think if we are just discussing a bug report we could just reply via
the big mailing list  and not go to the trouble of adding entries to
the bug report itself.

I don't know if I can add a Reply-To: header to make that easier.

On the other hand, replying in the bug report keeps the information
about the bug collected in one place, so it isn't a completely pointless
exercise. :)

Richard Frith-Macdonald wrote:
So ... I see two things to be fixed:

a) activate running app if we call the api to launch it.

This is what the patch we're looking at fixes. The current working
version does so by adding a method to GSListener, and I'm still thinking
about whether doing that is a Good Thing or not.

Adding a new method like application:activateIgnoringOtherApps: to
the GSServicesManager class following the same scheme as
application:openFile: etc looks like the cleanest/simplest way to do that.
Methods named 'application:...' are already passed to the application
delegate or to the manager object.

Changing the code of the GSListener class itsself would be a little
more complex I suppose.

As the NSWorkpace class already has a connection to the application,
it seems a pity not to use it, but another approach would be to add
a new workspace notification to tell the app to activate itsself.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]