Snow Leopard Snubs Document Creator Codes
adamengst writes "In this TidBITS article, Matt Neuburg explores how Mac OS X 10.6 Snow Leopard changes how the operating system handles preferred application bindings, dropping support for the creator codes that have been part of the Mac OS from the early days. He also explains how to work around the problem, if you want, for instance, text documents created with BBEdit to open in BBEdit even when TextEdit is the default handler for text files."
While the good ol' File Type and Creator Codes served their purpose, it is finally time to put them to rest for good. I'm glad to see that it's finally happening.
On the other hand, you could argue that Apple is protecting users from developers who say, "We know what's best for you. We're making it just work. Now just sit back and drink your kool aid."
If I want my text documents to open in BBEdit, I'll set them to open in BBEdit thankyouverymuch. I set my default for them to open in something else, and that's the way I want it.
Care to explain what you mean here? Sounds like Apple is simply going the way of UNIX/Microsoft (I *think* UNIX used file extensions or part of the file itself). So how is Apple off base here?
Or were you just trying to make a snarky first post?
See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
In Soviet Russia, applications bind you!
On the other hand, you could argue that Apple is protecting users from developers who say, "We know what's best for you. We're making it just work. Now just sit back and drink your kool aid."
If I want my text documents to open in BBEdit, I'll set them to open in BBEdit thankyouverymuch. I set my default for them to open in something else, and that's the way I want it.
QFT. Overriding my choice as the end user for default application open selection is a no-no.
He also explains how to work around the problem
It's not a problem, it's a fix. This is the way it should work.
Suppose I put a Word document on a computer where OO.o is installed instead of Office. The document says "open me in MS Word". The OS says, "Word isn't installed". What happens? What originally should have happened: The OS looks at the document, says "Word document, open this with OO.o", and everything works great. The extra information was a stupid extra step. "Word document" is all the OS needs in order to figure out how to open it.
Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
Just to explain this, for me where I really think this is an issue is not text as much as graphics. I work with graphics and often enough, the application that created the graphics is Photoshop. However, I never want to actually open the file in Photoshop unless I actually want to edit it. Why open a JPEG in photoshop when it's going to take a full minute to load?
So I've set Preview to be the default application for viewing graphics, but still, any graphics I make in photoshop are set to open in Photoshop. If Snow Leopard is going to ignore that it was made in Photoshop and open it in Preview instead, as I've set the OS to do, that seems like a "bug fix" to me.
This is especially annoying with Quicktime. The new quicktime in Snow Leopard is no match in comparison with the old Quicktime 7 Pro:
The editing features are now limited to trimming for example, the export possibilities rudimentary.
Fortunately, one can still reinstall Quicktime 7 additionally in Snow Leopard, but one can not change the default application binding for Quicktime. This is a serious problem.
For me, Quicktime pro is half the reason to use a Mac. Changes like this from Leopard to Snow leopard always make me nervous and I'm glad to have Linux catching up. Even apple might screw things up in future, possibly due to pressure of the movie and music industry.
One can for example suspect that the lack of cut and paste ability or export of sound only etc is due to such industry pressure. The average user can no more cut out advertisements for example. I do not see any technical reason why the new limitations are in place if quicktime pro is ditched. An other reason for the current limitations could be that a new QT pro is in the making. I hope this is the case. Still, one should be able to change the default application binding to an old version of quicktime!
It's the developer, not the end user, that applies the creator code that's being ignored (I can't remember the last time I manually changed a creator code--it was long before OS X, anyway). The end user can always do a "Get Info" to change the default app for any individual document.
That said, I agree that it's a pain to have to do that for every specific document you want opened with a particular app; I just saw a nit that needed picking.
You save only 59 seconds over 8 miles by going 75 instead of 65. Do you really have to pass that guy? Do the Math!
(In early 2005 Apple introduced another way of specifying a file's type: the uniform type identifier, or UTI. It's invisible metadata, like a type code, but it's longer, it carries more information, and it can be part of a hierarchy. For example, a text file would typically be a "public.plain-text", which is a subclass of "public.text". File extensions are still with us, though.)
A UTI is not another piece of metadata attached to the file, it's just a unified abstract representation of a file type. The system knows that a file with the extension ".txt", a file with the MIME type "text/plain" and a file with the type code "TEXT" are all of type "public.plain-text", without adding any further metadata to the file itself.
File name extensions are definitely not the UNIX way. They are the CP/M way, copied later by DOS, then by Windows, then by UNIX graphical environments such as KDE, GNOME, and Mac OS X -- but still not by the under-the-hood UN*X running any of them; to UN*X, it's just an indiscriminate part of the filename.
It's very, very unfortunate that Mac OS X is now reverting to the primitive CP/M way. It causes a loss of essential functionality that Mac power users have always depended on: to know that a document will always be opened in the application with which you've created it.
For me, there is less and less reason to use a Mac as Apple keeps progressively emulating Microsoft. This is yet another nail in the coffin.
I'm in favor of this. I always hated when I had .png files created in fireworks that I wanted to view, and OS X tried to open fireworks up again instead of the default preview.
What's the point of making a default application if half the files will ignore it?
I think I read from the article that there's a way to set it for all existing files, although I think it's a total PITA method. More acronyms.
Maybe someone will (sadly), have to create an apple app/script that will do this every reboot, or something?
I have an old version of Word and Open Office and an older iWork. I prefer to open everything in openOffice. That is what I tell the OS when I set Open Office to be the default to open .doc files. I don't care if the original creator that emailed it to me preferred Word. I want to open it, by default by the application I choose.
Well.. maybe. Or Maybe not. But Definitely not sort of.
Apple is off-base because they had a superior technology that was robust enough to at least be able to survive something as basic as a filename change. But it seems that, as has been typical for them over the last decade or so, they've gone with cheap-over-good yet again.
This is why I got off the wagon. If I'm not going to get anything better from a Mac than anything else, then I'll at least get my money's worth out of another system.
They are going out of their way to break things for users that might have actually used this feature in the last 25 years.
This is a great example of "consistency over time" being more important than trivial details between different apps.
That said, a decent file manager makes the point moot. If you don't want to use the default file handler, you can setup others and use them as you see fit.
A Pirate and a Puritan look the same on a balance sheet.
This isn't the default application. Documents now open with the application that is set as the default, not the application that happened to be set as their creator code. This now means, for example, that the PDF manual for Final Cut Express 2 will open with Preview (because that is my default application for displaying PDFs) not with Adobe Reader (because Acrobat 5 was set as the creator code when it was produced).
I am TheRaven on Soylent News
I think I read from the article that there's a way to set it for all existing files, although I think it's a total PITA method.
Sure, but I don't want to continually set the proper application for a given file-type. I want to set one default, and have the OS respect that decision unless I manually set a different application for a particular document. I think that's the proper behavior.
He also explains how to work around the problem
It's not a problem, it's a fix. This is the way it should work.
Suppose I put a Word document on a computer where OO.o is installed instead of Office. The document says "open me in MS Word". The OS says, "Word isn't installed". What happens? What originally should have happened: The OS looks at the document, says "Word document, open this with OO.o", and everything works great. The extra information was a stupid extra step. "Word document" is all the OS needs in order to figure out how to open it.
That's always the way it worked. If you had a Word file (Type=W8BN, Creator=MSWD) on a system without Word (MSWD) installed, the system would identify any other applications capable of opening W8BN files, and open it using that app.
The extra information only came into play when there was more than one application capable of opening W8BN files. It prevented the common Windows practice of "hijacking" another application's file extensions.
You can flag a document to open with any application, regardless of the default. You can also change the default for any document type, including newly-created ones. Finally, you can right click and choose the app you want to open your doc with right there.
I think the complaint is that apps in 10.6 are not flagging their own documents to open with themselves. It should be easy to patch this in for any app that is currently being supported, but I suspect most won't care, because it's just not a huge deal.
Apparently, everyone has forgotten that UTIs have been in use since Tiger.
By the way, Slashdot, nice job not posting a link to Arstechnica's epic 23-page Snow Leopard review from last week. It's not like they put out the most detailed reviews in the industry or anything.
The trouble, and what seems to be irking the faithful, is that treating documents simply by type leaves no way to treat some documents of a given type in one way, and others of the same type in a different way.
.jpgs and a different one for viewing them you are now screwed. You can either set .jpgs to open in one, or the other; but you can no longer have ones created in photoshop open in photoshop while ones from outside are just opened in a lightweight viewer(or whatever the use case happens to be).
If, for instance, you prefer one graphics program for editing
Sort of a niche thing; but sounds like the people who relied on that class of configurations are out of luck.
My problem is that I cannot seem to set defaults for files without an extension. Some perl scripts for example that look like commands, leave off the .pl extension. My mac wants to execute them instead of opening them in a text editor.
Although it is not the change to *nix that forced extensions upon us, it certainly was a major factor, along with the desire to interact with MS Windows. In any case it is nothing sudden or disturbing, just another step along the path of leaving OS 9 behind, and arriving at the OS to come after X.
"She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
I double checked creator codes on wikipedia. They apparently also serve as a general file-type just like a filename extension. Except the file-type metadata is actually stored where it's supposed to be...with the other metadata.
So anyone know if this is just conceding to filename extensions, or if Apple is just dropping support for specific apps from claiming a _specific_ files no matter the OS wide filetype settings?
Once you start despising the jerks, you become one.
Man, there are a lot of uninformed people posting to this article. Apple has used Uniform Type Identifiers since 10.4 Tiger. Creator codes have been deprecated for years.
"Sufferin' succotash."
Clear the execute bit and it won't try to execute them.
I am TheRaven on Soylent News
So I've set Preview to be the default application for viewing graphics, but still, any graphics I make in photoshop are set to open in Photoshop. If Snow Leopard is going to ignore that it was made in Photoshop and open it in Preview instead, as I've set the OS to do, that seems like a "bug fix" to me.
Amen! I have always found this behavior annoying for exactly the reason you specify, and this new behavior seems like CORRECT behavior. Just because I edit an image in Photoshop doesn't mean I want to always open that image in Photoshop from then on out - yet that was what happened. And not all applications would reset that anyway - so it seemed to me this was more of an "Adobe being Adobe" thing than a fundamental issue with the OS (Apple's apps did seem to always honor whatever settings I'd made in terms of default apps for photos, text docs, etc.)
So now I'll be curious to see if Adobe pushes out a patch for CS4 that will automatically reassign all jpgs, tiffs, etc. to Photoshop...
BTW I didn't realize this had changed in Snow Leopard - I actually learned something from Slashdot today! Whoa, glad I was sitting down...
#DeleteChrome
Of course, in the parent post, "In Apache's case I'm actually inclined to the former" should read: "In Apache's case I'm actually inclined to the latter". Sorry about that.
Well, it all makes sense now! It's a conspiracy to sell more hardware!
At first I thought it said "Snow Leopard Snubs Documentary Creator Code"...meaning some guy was doing a documentary about a Snow Leopard and there's some code of ethics between documentary creator and animal in that the animal is not supposed to eat the Documentary Creator.
If, for instance, you prefer one graphics program for editing .jpgs and a different one for viewing them you are now screwed. You can either set .jpgs to open in one, or the other...
Well not exactly. You can still have your default jpeg viewer be Preview, and still have only particular jpegs open in Photoshop. That's easy enough to accomplish. The difference is just that jpegs saved in Photoshop are not automatically associated with Photoshop regardless of the default that the user has set.
And it's not that I fail to recognize how it might be useful to have jpegs created in photoshop always open in Photoshop, automatically. It's just that I don't think it's a very sensible way to handle things. If I really want to use Photoshop most of the time, I can set that as my default jpeg viewer. If I have particular files that I'm opening all the time and want to open them in Photoshop, I can set that manually on a per-file basis. However, when I set a default viewing application for a particular file-type, it's nice for that decision to be honored by the OS.
The easiest solution is to use the command-line to run the text editor with the script's path as the argument.
You can use Quick Look to view documents, regardless of what program would be started when opening it. If Quick Look functionality would be expanded to allow zooming and full-res viewing, the need for a 'viewer' application with filetype bindings would disappear.
Then, you could view the file by hitting space bar, and edit the file by opening it.
Creator should be part of the application selection criteria, but it doesn't have to be Creator Codes. Creator Codes would be useful for file sharing over CD-ROM or MacBinary, but an ideal solution would be more a Unix-y one that allows plenty of user configurability.
I'd like to control the contextual menu. In that top section where the default is, I'd like to have all the apps I use most for that File Type. For html, cfm, js, xml and xsd documents, I want Dreamweaver, Eclipse and 3 browsers to show up there, with the default set by me. I should even be able to drag an item up to the top of the contextual menu to make it the new default on the fly. Creator Codes can do many-to-one (files-to-app), but they can't do one-to-many (file-to-apps). Let's just lobby for creator and/or current favorite apps to be part of the application selection criteria and leave it up to Apple to come up with a easy-to-use implementation that makes sense from an OS internals point of view.
I double checked creator codes on wikipedia. They apparently also serve as a general file-type just like a filename extension. Except the file-type metadata is actually stored where it's supposed to be...with the other metadata.
So anyone know if this is just conceding to filename extensions, or if Apple is just dropping support for specific apps from claiming a _specific_ files no matter the OS wide filetype settings?
As others have mentioned, Apple has a new metadata-based method for encoding file type ("Uniform Type Identifiers")... The new scheme allows for IDs to be much larger (arbitrary size, as opposed to the four-byte Creator IDs) - and because they're based on domain names (a system which is already centrally-managed) there's no need for Apple to centrally manage the set of possible type IDs to prevent conflict.
Bow-ties are cool.
If, for instance, you prefer one graphics program for editing .jpgs and a different one for viewing them you can now right click, or drag the icon onto the dock.
Fixed that for you.
I do quite a bit of coding and graphic design, and view this as a very good thing.
There are limited use cases in which the old scheme made more sense. However, I find myself right clicking .JPGs to open in Preview more often than the other way around.
-- If you try to fail and succeed, which have you done? - Uli's moose
Actually, I found this kind of strange, but on Snow Leopard, all application executable code is compressed and stored in a resource fork. The reason it's not left in the data fork is because it apparently would confuse Leopard to have a compressed data fork in the app. So now to Leopard, all Snow Leopard apps look like 0 byte files.
See here
http://dl.getdropbox.com/u/118359/ars/snow-leopard-indexed.html
In OS-X 10.5 Leopard, files open with the app that was used to create it. A jpg created in photoshop opens with photoshop and jpg files created in gimp open with gimp. It does not have the Window's limitation of totally tying down files solely by file type.
Hopefully Apple did not break this in OS-X 10.6 Snow Leopard.
So now OS/X works just like Windows. Wow, what an advance.
"It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
From the referenced article in the story : "... The Unix approach (or what I'm calling "Unix" for purposes of this article; its history actually goes back to DEC and DOS and is in fact merely optional in Unix) is to use file extensions, which are abbreviations following a period in a document's name... " The guy who wrote the article clearly has no idea what he's talking about and probably has never seen how this is done in Unix: it uses 'magic'. :)
Creator codes are going away, but UTIs (which have been available and preferred since Tiger) are the replacement.
It's the applications that must be updated to user UTIs instead of creator codes.
"foo.pl" is a perl library. "foo.pm" is a perl module. "foo" is a perl script.
The Mac OS type system is absurdly complicated.
Determining the application takes into account:
Creator Codes (4 character codes), the file type determined, the file type code, a piece of metadata known as a UTI, the available applications, the UTI's the applications claim to support, the file extensions the application's claim to support, any application explicit bound to the file, The creator codes the applications claim to support, the version numbers of the applications, the classic/OSX status of the apps, of the app, if the app is on a local or network drive, which local drive the app is on, and a few other things.
The result was that unless you bind a file specifically, or explicitly chose a default program for a filetype, it would normally be opened with the prograqm that saved it, but not always.
One can still explicitly bind an application to a specific file, which will override all other considerations. One can still set the default applications for specific types, Which take precedence over other information, except file specific bindings. File types, UTI's, and (I think) file codes are still in use.
So now generally speaking, the preferred app is: the explictly bound app, the explict default app for the file type, or an implicit default app for the file type which is almost impossible to pre-determine, but remains consistent for all files of that type.
To specify a specific app for a specific file, use Finder's Get Info Dialog for that file. That dialog can be opened through the context menu (among other ways).
To set a default app for a file type, use the open with dialog, and check the "Always Open With" box. The open with dialog can be access from the "Other applications" option in the context menu.
When was the bug reported & why did it take so long to fix?
Thank you. I think I would have enjoyed the summary more if they put less spin on it and included what you wrote. :D
Once you start despising the jerks, you become one.
That said, I agree that it's a pain to have to do that for every specific document you want opened with a particular app; I just saw a nit that needed picking.
This is what I was speaking about in particular.
TBH, I can't say it's ever been an issue for me, but still.
I overall agree with you except that:
They are going out of their way to break things for users that might have actually used this feature in the last 25 years.
If you haven't noticed the feature in Mac OS X before it might mean only one thing: it is so well implemented that you hadn't even knew you were using it.
All what have happened in SLeopard is a clean up and making default different system, one similar to e.g. KDE.
Though most important aspect - as I'm concerned - is retained: one can still assign a different application to open the particular file.
All hope abandon ye who enter here.
Clear the execute bit and it won't try to execute them.
Correct. We wouldn't want to know anything about Unix file permissions or nothing.
I suppose xattrs are part of some specficiation, however the server software ecosystem doesn't seem to use them; you generally can't "round-trip" a file from a unix system and preserve the metadata.
Quite true. One of several reasons I don't think this change will come to Linux until it comes to Windows first, or something... But, still, I do hope we'll get there sooner than that.
I think xattrs are actually part of POSIX, but obviously at present they're not something one can rely on being present on any given server or filesystem... I suppose related features like ACLs could help drive more widespread adoption of xattrs (though in the kernel the two features are enabled separately, I believe...) - but right now it's not enabled by default because nobody uses it, and nobody uses it in part because one can't assume it'll be enabled...
I think that a lot of Unix users these days have a DOS or Windows background, though, so people tend to expect filenames to include extensions. Personally I'd like to see Linux move toward a scheme of file type identification based on xattrs, but it would be a long time before such a scheme would catch on...
Hmm. Some *nix things like *.c and *.o files go way back, however this might still reflect a DOS influence.
There certainly are times that having a visible file type is useful, and times when the old Mac "secret metadata" approach is a pain in the butt. I don't think it's a clear win either way even ignoring Windows.
The "secret" aspect of file-typing-via-metadata is really just an application problem. The fix is simply to add type identification to your file chooser dialogs, file browser, and command line tools like "ls"...
*.c and *.o are kind of an interesting problem... The compiler needs to create a new file, clearly related to the original, but with a distinct filename. File extensions do the job pretty well there, IMO - and I've wondered how one would deal with situations like those without them... I think there's no particular motivation to come up with such an alternate system - the main thing is simply that this file naming convention needn't (and, IMO, shouldn't) be tied to the file typing system...
Bow-ties are cool.
Well, it all makes sense now! It's a conspiracy to sell more hardware!
PSD is the native file format in Photoshop. JPEG is a standard output format. Photoshop or any other application like GIMP is overreaching ownership on an operating system when it is not the only application that can natively render JPEG files; hence if I want Preview.app to render them or Safari or Pixelsight, et.al then the .plist association file for that format should be configured and stored in my account's preferences.
I agree. I've usually found myself similarly annoyed when the bulky application loads when you just want to view a file and Preview loads instantly and is thus the natural default viewer.
Certainly the default opening command should be set to the system-wide setting, which by default would be a light weight viewer supplied with the operating system (Preview, Quicktime (well, maybe not lightweight), etc).
Right/ctrl-clicking should open a menu. There it should have "Open (with Preview)" (default application), "Open (with Photoshop)" (creator application), and then "Open with..." with all the other registered handler applications in a submenu.
You could extend this - "Open (to view)", "Open (to edit)" where viewer and editor are default viewer and editor, if different.
The article goes on about applications stealing other application's files. In actual fact they're MY files.
If, for instance, you prefer one graphics program for editing .jpgs and a different one for viewing them you are now screwed. You can either set .jpgs to open in one, or the other...
Well not exactly. You can still have your default jpeg viewer be Preview, and still have only particular jpegs open in Photoshop. That's easy enough to accomplish. The difference is just that jpegs saved in Photoshop are not automatically associated with Photoshop regardless of the default that the user has set.
And it's not that I fail to recognize how it might be useful to have jpegs created in photoshop always open in Photoshop, automatically. It's just that I don't think it's a very sensible way to handle things. If I really want to use Photoshop most of the time, I can set that as my default jpeg viewer. If I have particular files that I'm opening all the time and want to open them in Photoshop, I can set that manually on a per-file basis. However, when I set a default viewing application for a particular file-type, it's nice for that decision to be honored by the OS.
Another scenario is that files associated in Photoshop sent to you on your machine without Photoshop have to open in something compatible to view them, no? It makes sense to bind native application formats to that specific application and standard formats to be bound by order of precedence you set. This debate is decades old.
Man, there are a lot of uninformed people posting to this article. Apple has used Uniform Type Identifiers since 10.4 Tiger. Creator codes have been deprecated for years.
Truth to people can be a real bitch I suppose. They could always live like it was 1997.
Apple also had to do a complete overhaul of Finder to re-write it in Cocoa (among other major changes to the older-than-Quicktime Finder).
They didn't try shoving out a missing-features version of the Cocoa-based Finder back in Leopard though, so why would they rush an intentionally-incomplete Quicktime X out the door ... unless they don't plan for Quicktime X to ever regain the QT 7 Pro feature set.
It might make a lot more sense (to Apple) to re-implement the dropped functionality that FCP/FCE need inside future FCP/FCE versions.
Or, on the command-line:
open -e perlscriptname
Which will open it in your default editor (the -e option). man open for more (e.g., you can specify the application with -a). Since it is common to run scripts from the command-line, I often find open -e faster than fiddling with the mouse, especially with filename completion turned on in the shell. And, of course, depending on your shell, you can usually "source perlscriptname" to run it even if its execute bit isn't set, as long as you've done the #! thing at the top (or just feed to the interpreter).
In the GUI, drag the file onto the relevant application or right-click/control-click to bring up a menu and select the application for editing ("Open With..."). There's always a way.
Another scenario is that files associated in Photoshop sent to you on your machine without Photoshop have to open in something compatible to view them, no?
I think in those circumstances, OSX is smart enough to figure it out. Like if I created a JPEG with Photoshop and associated the file with Photoshop, and then I sent it to you and you didn't have Photoshop, it would just use whatever your default JPEG viewer was.
Drag and drop to the icon for the application you want to open the file.
Yes seriously. I have lost count of how many times I had to force quite Photoshop just to get it to stop loading when all I wanted was to bring up a picture in Preview.
Which is exactly the problem. These are different things: creating, viewing, and editing, which are all being lumped together under the default "opener".
What's really needed is a default application for each verb: the default editor, default viewer, etc., and a simple way to express which you mean to do. Something like the tabbing in blender to switch modes might work: tab to create/edit mode, your pointer changes to one with an edit motif, double-clicking opens files in your editor; tab to research/view mode, double-clicking opens files in a quick viewer.
My problem is that I cannot seem to set defaults for files without an extension. Some perl scripts for example that look like commands, leave off the .pl extension. My mac wants to execute them instead of opening them in a text editor.
Get Info works just fine for me, as does right-click "Open With"
I was thinking the same thing for video files. For Documents, the previous behaviour might have made some sense (even then, not for PDF), but for media files where simple lightweight viewers vs complex heavyweight editing programs are the norm, the new behaviour is much better.
To make this easier, you can put applications into the finder toolbar. For example, I have textedit sitting up there for when I want to force a document to open in that rather than, say, Safari for .html files.
Why open a JPEG in photoshop when it's going to take a full minute to load?
Photoshop takes a full minute to load? What year are you posting from?
... and then they built the supercollider.
On OS X 10.6 look at your custom install options. I did when I upgraded.
No big deal. Rosetta is still there too.
Killing off meta-data was a truly boneheaded move for Apple. Type & Creator were extraordinarily handy for a developer. Even if you eliminate creator codes and rely on some system preference to decide what app to launch when you double-click, three-character extensions aren't enough to distinguish files. You might as well go back to the old 31 character file name limit. Feh!
Agreed. I hate the fact that I can't seem to do anything to make VLC the default for videos on my computer.... screw quicktime!
SWM seeks new sig for a brief fling
You really don't get this, do you? The guy had a few files that'd been created in QuickTime. He wanted all such files to open in VLC, regardless of what program had created them. Whenever he'd double-click a file to open it, OS X had been cheerfully ignoring his settings of "use VLC for this filetype" and opening them with QuickTime because that's what created them.
That scenario is extremely unlikely, since QuickTime is not generally used to create AVIs. You have to actually go out and buy QuickTime Pro to even do that. And if you're the kind of person who's willing to pay $30 for an enhanced media player, you probably aren't then going to want to open it using a free/OSS player like VLC by default.
The other possible scenario (that he just happened to get an AVI file--not a native MOV file, but an AVI-- from another Mac user who was a QT Pro fan) is also unlikely, since creator codes don't usually survive downloads across the Internet. You download an AVI off the web, or through LimeWire, it picks up your preferred file associations. No creator codes involved.
Your average VLC-using Mac owner might come across a QuickTime Pro-created AVI file once in a blue moon. Nowhere near enough to cause confusion.
The simplest, most likely explanation is that he manually changed the association himself. And no amount of dumbing-down the OS is going to fix that.