🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #2865

Workspace Disk Eject bug: Workaround available from NeXT

#2865
From: Matt_Watson
Date: Fri, 09 Oct 1992 19:17
26 lines
1664 bytes
NeXT has made available an RTFD document containing a brief description  
along with a workaround for a 3.0 Workspace bug affecting the Disk->eject  
menu.  It is available via anonymous FTP at NeXT.COM (129.18.1.2) in the  
/pub/Binaries directory as DiskEjectFix.compressed.  It will uncompress  
into an RTFD document which includes the executable program, and a  
description of how to install it.  A checksum (using /usr/bin/sum) of  
DiskEjectFix.compressed returns:

64183   8

Briefly, it is an executable that installs itself in the (undocumented)  
Workspace LaunchPaths default the first time it is launched.  Subsequent  
logins will cause this daemon to be executed, tickling the Workspace to  
initialize data which, when uninitialized, leads to this bug.

If you are writing an application that requests icons from the Workspace,  
and don't want to depend on this workaround, you can use the  
NXWorkspaceRequest protocol (as described in  
/NextLibrary/NextDev/GeneralRef/02_ApplicationKit/Protocols/
NXWorkspaceRequestProtocol.rtf) and send a "getInfoForFileSystemAt:
isRemovable:isWritable:isUnmountable:description:type:" message to  
[Application workspace] in or after the appDidInit: method.

--
Matt Watson
NeXT Computer, Inc.
Technical Details
Message-ID: <5369@rosie.NeXT.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!rosie!next.com!Matt_Watson

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!rosie!next.com!Matt_Watson
From: Matt_Watson@next.com
Newsgroups: comp.sys.next.misc,comp.sys.next.sysadmin,comp.sys.next.programmer
Subject: Workspace Disk Eject bug: Workaround available from NeXT
Message-ID: <5369@rosie.NeXT.COM>
Date: 9 Oct 92 19:17:08 GMT
Sender: news@NeXT.COM
Reply-To: Matt_Watson@next.com
Followup-To: comp.sys.next.misc
Lines: 26