orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
40 stars 3 forks source link

Mac OS X file association bug #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Download and open:
http://www.cs.utexas.edu/~quark/orc-0.9.8-app.tgz
http://www.cs.utexas.edu/~quark/orchard-0.9.8-app.tgz

2. Start Orchard

3. Double-click a .orc file

Expected: it opens in Orc
Actual: Orchard gets focus and nothing happens

If you're not running Orchard, everything works correctly. John, can you
look at the Info.plists and figure out what's wrong? Also, is there any way
to disable the "preview icon view" for .orc files in Finder by default? It
looks bad at small sizes.

Original issue reported on code.google.com by adrianqu...@gmail.com on 23 Apr 2009 at 8:38

GoogleCodeExporter commented 9 years ago
Here's the Info.plist file for Orchard:
http://code.google.com/p/orc/source/browse/trunk/Orchard/app-skeleton/Contents/I
nfo.plist

Original comment by adrianqu...@gmail.com on 4 Feb 2010 at 3:38

GoogleCodeExporter commented 9 years ago
It appears that both Orc's and Orchard's application information property lists 
(Info.plist) had the same "Bundle 
creator OS Type codes", which would lead Mac OS X to conclude they both operate 
on the same file types.  Fixed 
in r1517, but need to verify.

Not sure about the icon question -- they look OK to me.  Is this the Orc 
bundle-supplied ICNS or the 
QuickLook-generated preview?

Original comment by jthywissen on 7 Feb 2010 at 3:35

GoogleCodeExporter commented 9 years ago
It's not the bundled ICNS, so I guess it's the QuickLook generated preview.  
But it's
the smallest icon size, so it's not actually previewing the content.  If I 
remember
correctly, it just shows a blurry document icon with ".orc" on it.  
Unfortunately I
don't have access to a Mac anymore to check.

Original comment by adrianqu...@gmail.com on 8 Feb 2010 at 6:19

GoogleCodeExporter commented 9 years ago
The tiny preview is normal Mac OS X behavior, and is consistent with how OS X 
displays other source code files 
(C, C++, Java, etc.), so I think it's best to leave as-is.

Original comment by jthywissen on 19 Feb 2010 at 5:12

GoogleCodeExporter commented 9 years ago
Original problem sequence verified fixed.

Original comment by jthywissen on 3 Mar 2010 at 10:46