TextEdit icon thumbnails: Some are "custom icons" that reveal text as it appears in file, while others are "generic" blank white icon/documents. Why?

This has always bothered me and I've been unable to figure out what causes it:


When I create a new document with TextEdit, sometimes the saved file has an icon that features a miniaturized version of what the text looks like in the document, but other times it's just a blank white generic icon with the TextEdit "corner turned down" identifying feature. (All of the documents being referred to here are "plain text," not "Rich Text Format.")


Half my TextEdit documents have the "internal text previewed" custom-icon style, and the other half have the "generic blank white TextEdit icon" style, and I can't figure out why and/or how to permanently change some kind of setting to make all future ones be consistently the same.


To illustrate what I'm talking about, I put two different icons, each of the two different icon styles, in a folder together and then took a screenshot to show how they appear -- both these documents have the exact same content:


User uploaded file

What causes these two otherwise-identical documents to appear differently (even though they are together in the same folder)?


Solutions I have investigated:


a. I thought perhaps that somehow the "blank" ones had lost their Finder icons, and the OS was substituting some kind of generic icon, so I did an old trick: In Finder, open the icon's "Info" window, then click on the icon symbol at the upper left of the Info window, and then hit the Delete key. This works in restoring the thumbnail image for jpegs that somehow lost their custom icons -- but it has no effect on these TextEdit files, which stayed as unchanged generic blank icons after my attempts.


b. Searched for some Finder Preference that allows or stipulates for newly-created files to either have or not have "custom icon thumbnail previews" or whatever the terminology would be -- but was unable to find such a preference option.


c. Search TextEdit's preferences to find a way to turn on or off the option to have "custom icon thumbnail previews," but similarly was unsuccessful in discovering such an option.


d. Tried to determine if the icons with internal text previewed all had a different "encoding" (e.g. "UTF-8" or "UTF-16" or "Western [Mac OS Roman]" or whatever) from the generic icons, but could find no way to ascertain what encoding each file even had.


I wish I could tell you under what circumstances the differing file-types were created, because obviously I must keep changing some kind of setting back and forth without really keeping track of my setting changes, but to be honest I'm so frequently and constantly creating new files dozens of times every day (as part of my work) that I've been too busy to note or care about the formats or preferences or whatever. It's only much later, in retrospect, when I'm organizing the files every now and then, that I notice that half are generic and half have textual preview custom icons. I know that at various times in the past either I or one of my colleagues either accidentally or intentionally changed the default encoding of the text files, but I couldn't tell you what it was changed from or to or why the changes were enacted.


This isn't the most significant problem in the world, but it's just mystifying and I thought I might as well get on top of the situation and finally figure out what causes this, and hopefully be able to make all future icons be all consistently the same (doesn't matter to me which way -- customized or generic -- just as long as they are consistent).


10.6.5 on a MacBook Pro, and 10.6.8 on an iMac (both computers exhibit the same behavior).


Any help or insights would be much appreciated. Thanks.

15" MacBookPro, Mac OS X (10.6.5)

Posted on Dec 20, 2012 2:12 PM

Reply
8 replies

Mar 20, 2013 8:40 PM in response to Tuffy Nicolas

I lined up two icons on the Desktop, a jpeg file and a iText Express file. When Show View Options is ticked, I see the "sneak preview" icon; when unticked I see the "Standard" icon. The jpeg is the same in both cases and shows a preview of the image.


I've only ever seen your third option, a blank interior, when I was fooling around with copying the contents of preference files: .plist files. My system defaults to TextWrangler to open those, but I wanted them to open in iText Express. Here's where it gets complicated


  1. When set to open with TextWrangler the .plist icon operated as I described above.
  2. When set to open with iText Express and Show View Options ticked, the icon shows a "sneak previdew"
  3. When set to open with iText Express and Show View Options unticked, the icon is blank – but all other icons show the "Standard" icon (as they should).


I didn't like the look of the blank icon. That's when I started my search and found your post. I've decided to leave .plists at their defaul open setting (TextWrangler) so I get a normal icon.

Mar 20, 2013 10:41 AM in response to Guy Burns

Actually, Guy, that doesn't solve the problem. One of the very first things I tried (and fiddled with many times since) is that "Show View Options" window under Finder's "View" menu (Command-J for the shortcut).


Ticking or unticking the "Show Icon Preview" box merely toggles on or off only those files which already have custom previewed icons: in other words, "Show Icon Preview" only affects half the icons in question -- the half that seem to function properly -- but does NOT affect those icons which already start out with generic icons. For those icons, tick or unticking the "Show Icon Preview" box effects no change in them whatsoever.


Secondly, since I am able to have the two different icon types together in the same folder at the same time, then the issue must be caused not by some universal setting which applies to all icons, but rather by some aspect which only affect some of them but not others.


Still searching for a solution to this question, which seems so simple and yet which seems to have baffled everyone!

Mar 20, 2013 7:33 PM in response to Guy Burns

Guy--


When you say "the icons appeared," do you mean that you become able to see...


...the system's "standard system rtf Textedit icon" (for lack of a better descriptive term) which you can see an example of here http://techblog.willshouse.com/2011/10/12/a-boy-once-lived-rtf-icon-text/) which shows a capital letter "A" at the upper left and an embedded photo at lower right...


...or do you mean that you can see an actual "sneak preview" icon which actually reveals a miniature version of your file (such as the image on the left that I pasted in my original question above)?


It's not a problem for me to toggle "Show View Options" to see that "standard system rtf Textedit icon" -- what I can't do is consistently see a individually customized icon which reflects the specfic contents of each individual file -- just as a jpeg icon is supposed to show what the photo actually depicts.


I'd like to know whether you are seeing actually individualized icons, or just the fancier-looking standard rtf icon.

Mar 21, 2013 1:35 AM in response to Guy Burns

Guy --


Well, I'm talking specifically about TextEdit files in .txt or .rtf format -- yet you seem to be talking about either .plist format files or other files in iText Express or TextWrangler. Perhaps you're experiencing things differently than I am because we are referring to different kinds of files which have different icon behaviors.


I'm not observing this problem with any other program's files other than TextEdit files (as noted in the title to this post). So if you, or anybody reading this, has had a similar issue with the icons for TextEdit files, please describe your experience or solution here.

Nov 16, 2013 4:43 PM in response to Tuffy Nicolas

yes i see the problem. in fact i did this curious experiment.

1)Take a blank file out of your /etc directory and copy it to your desktop- the 'hosts' file for example

2)do a get info on it and add '.png' - it becomes a picture type and preview cant open it

3) remove the png and it reverts back to a "plain" document


Now try the same thing with a text document

it will always revert to a text document. and never will it become a plain document.

It turns out the file properties metadata contains the fact that it is a text file where as the 'hosts' file has no entry in its metadata for "kind". this metadata is presented at the very top of the 'get info' window but is not editable. you need a file properties editor.


if you edit the file properties using a file properties editor

http://alphaomega.software.free.fr/downloads.php

you can delete the 'text' from type field

relaunch the finder and your document's icon will be plain.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

TextEdit icon thumbnails: Some are "custom icons" that reveal text as it appears in file, while others are "generic" blank white icon/documents. Why?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.