bug-gnustep
[Top][All Lists]
Advanced

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

[bug #4066] NSWorkspace launchApplicaion: misbehaved


From: nobody
Subject: [bug #4066] NSWorkspace launchApplicaion: misbehaved
Date: Sun, 22 Jun 2003 05:56:48 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030401 Debian/1.0.2-2

=================== BUG #4066: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4066&group_id=99

Changes by: Stefan Urbanek <urbanek@host.sk>
Date: Sun 06/22/03 at 11:56 (Europe/Bratislava)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Declined                  | Open


------------------ Additional Follow-up Comments ----------------------------
I disagree and I would like to open this to discussion.

Ask a question: Why would you like to launch an application in most of the 
cases?

1. Just to launch it and let it be launched ('just for fun')
or
2. Launch it and do something with it

I think that 2. is the case. Then I think if OS/X behaves same as gnustep at 
this time, then the behaviour is wrong. This method should wait until I can 
communicate with the application, that means, the method should wait until the 
application is successfully lanched.




=================== BUG #4066: FULL BUG SNAPSHOT ===================


Submitted by: stefanu                 Project: GNUstep                      
Submitted on: Sun 06/22/03 at 01:52
Category:  Gui/AppKit                 Severity:  5 - Major                  
Bug Group:  Bug                       Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  NSWorkspace launchApplicaion: misbehaved

Original Submission:  NSWorkspace launchApplication:'name' does not behave as 
it should. 

>From apple docs:

Returns YES if the application is successfully launched...

However, it seems to return immediately after running application process. I 
think that application is 'successfulyl lanchued' when all app initialisation 
priocess ends and app's delegate receives applicationDidFinishLaunching: 
notification. Or ... application is sucessfully launched when i can connect to 
it. I wouls expect this method to wait for all application initialisation and 
for some distant notification about successfull launch.

Current misbehaviour requires workarounds to make it work.


Follow-up Comments
*******************

-------------------------------------------------------
Date: Sun 06/22/03 at 11:56         By: stefanu
I disagree and I would like to open this to discussion.

Ask a question: Why would you like to launch an application in most of the 
cases?

1. Just to launch it and let it be launched ('just for fun')
or
2. Launch it and do something with it

I think that 2. is the case. Then I think if OS/X behaves same as gnustep at 
this time, then the behaviour is wrong. This method should wait until I can 
communicate with the application, that means, the method should wait until the 
application is successfully lanched.


-------------------------------------------------------
Date: Sun 06/22/03 at 11:07         By: CaS
I've just spent a couple of hours checking this.
The current GNUstep behavior appears to be the same as the MacOS-X and OpenStep 
behavior ... ie the interpretation of the word 'launched' means that a process 
was started, not that it is completely initialised/working.  I have updated the 
documentation to be (I hope) clearer about this than the MacOS-X documentation.


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4066&group_id=99

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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