• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSWorkspaceDidTerminateApplicationNotification bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWorkspaceDidTerminateApplicationNotification bug?


  • Subject: Re: NSWorkspaceDidTerminateApplicationNotification bug?
  • From: Vince DeMarco <email@hidden>
  • Date: Tue, 15 Jan 2002 10:06:22 -0800

On Monday, January 14, 2002, at 08:27 PM, Mike Davis wrote:

On Monday, January 14, 2002, at 11:09 PM, cocoa-dev-
email@hidden wrote:

Date: Mon, 14 Jan 2002 20:07:24 -0800
Subject: Re: NSWorkspaceDidTerminateApplicationNotification bug?
From: David Rehring <email@hidden>
To: Cocoa Dev <email@hidden>

On 1/14/02 7:18 PM, Vince DeMarco at email@hidden wrote:


Welcome to the wonderful world of filename extensions.... :-(

This has nothing to do with extensions, it just a bug, Have you filed a
bug????

Are you sure?

From the examples quoted, it would appear to be stripping off everything
after the period. If I was having this problem, I would run some more
files
through this to verify it, but it appears to be treating '.7' and '.0X' as
filename extensions and stripping them off.


Yes i just looked at the code and i filed the bug a few minutes ago. The
code is too aggressive in removing the extensions.What it is supposed to
do is remove the .app extension, but if the program doesn't have one it
should not remove it.

I want to know what you do when you instantiate two instances of the same process name, which is easy to do. Does NSWorkspace mess up again?

You should deliver the path of the process, including any extension really. It's a bit late now, however though you could add it into the dictionary along with other useful information like the pid that's terminated.

For example...

@"NSApplication" = @"foo2.3.2"
@"NSApplicationPath" = @"/Applications/foo2.3.2.app"
@"NSApplicationPID" = 666 (NSNumber)


This sounds like a great idea, why don't you file a bug (http://bugreporter.apple.com) and list it as an enhancement request.

Posting requests on this list doesn't really mean anything we are all really busy working on a bunch of stuff.

vince


So, it does have to do with filename extensions. We wouldn't have to bother
with this hiding/showing/appending/removal stuff if Apple wasn't trying to
switch from type/creator to only using extensions...

It has nothing to do with file extensions... just programming. It's probably old OpenSTEP code.


Later,
--
David Rehring Psychos do not explode when light hits
Senior Software Engineer them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: NSWorkspaceDidTerminateApplicationNotification bug?
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: NSWorkspaceDidTerminateApplicationNotification bug? (From: Mike Davis <email@hidden>)

  • Prev by Date: Re: Dock icon position
  • Next by Date: resizing a NSView
  • Previous by thread: Re: NSWorkspaceDidTerminateApplicationNotification bug?
  • Next by thread: Re: NSWorkspaceDidTerminateApplicationNotification bug?
  • Index(es):
    • Date
    • Thread