home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / system / 10536 < prev    next >
Encoding:
Text File  |  1992-07-30  |  2.6 KB  |  65 lines

  1. Newsgroups: comp.sys.mac.system
  2. Path: sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!fstop.csc.ti.com!usenet
  3. From: Michael Babin
  4. Subject: Finder changes alias icon
  5. Message-ID: <1992Jul30.201915.616@csc.ti.com>
  6. Sender: usenet@csc.ti.com
  7. Nntp-Posting-Host: babin
  8. Organization: Texas Instruments
  9. Date: Thu, 30 Jul 1992 20:19:15 GMT
  10. Lines: 53
  11.  
  12.  
  13. Thought I'd share an interesting piece of Finder behavior that I encountered
  14. the other day.
  15.  
  16. First, I have a disk (call it "System") which is mounted and appears on my
  17. desktop.  It's shown using its "default" B&W icon.  I select System and choose
  18. "Make Alias" from the File menu.  "System alias" now appears on my desktop with
  19. the same default B&W icon as System.  So far, so good.
  20.  
  21. Now I assign a custom icon to "System alias".  In this case, it's the colorful
  22. icon from Spaceward Ho! (a great game from Peter Commons & Delta Tao, btw).
  23. I then select "System alias" and choose "Make Alias" from the File menu.
  24. "System alias alias" now appears on my desktop with the colorful SH icon.
  25. Again, so far, so good.
  26.  
  27. Here's the strange part.  If I now double-click on "System alias alias", which
  28. opens the disk System, the colorful icon for my "alias alias" is altered.  In
  29. this particular case, it becomes the outline of the B&W icon through which I
  30. can see the clipped portion of my colorful SH icon!
  31.  
  32. OK, that's the simple, anyone can reproduce description of the problem.  At a
  33. more detailed level, it appears that the Finder is copying the icon information
  34. from the disk (the driver in this case) to the alias file using the resource ID
  35. of the "secondary custom icon", -16496.  The "secondary custom icon" ID was
  36. already
  37. used, thank you very much, by the Finder for the SH icon when it created the 
  38. "alias alias". Thus, the information gets overridden.  In this particular case,
  39.  
  40. you end up with a mismatched icon family since the icon information for the
  41. disk 
  42. is not as complete as that of the SH icon (missing members of the family, icl8,
  43.  
  44. icl4, etc.).  If the original (the System disk, in this case) had a complete
  45. icon 
  46. family, the icon for the "alias alias" would be changed to match that of the
  47. original.
  48.  
  49. I strongly suspect that this is a bug.  Why would you want to change the icon
  50. of an
  51. alias to match that of the original?  If you did want them to match, why not
  52. just
  53. assign the correct icon when the alias is created?  If this behavior is
  54. considered
  55. a "feature", could anyone explain why?
  56.  
  57. On a related note, what is the best way to bring a problem you've encountered
  58. to the
  59. attention of the proper person at Apple who can fix or explain it?
  60.  
  61. Later,
  62.  
  63. Mike Babin
  64. babin@ra.csc.ti.com
  65.