Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Lion Keeps Re-arranging my Folders

In Snow Leopard I used to make my folders simply snap to grid and I used to arrange them into an order that suited me.


In Lion when I do this, be it on the desktop, downloads folder or simply my user home, after a few times of accessing, the folders move randomly or get sorted by lion.


Any ideas why this is happeneing and how I can stop it from happening?

162 replies

Yes this is happening to me too and its really annoying the way snow leopard handled the arrange icons was fine now its all messed up.

I'm also having this problem.

I like the clutter on my desktop.

I use a few folders and files all the time, and archive them when I'm finished with them.

I know where everything is!


Then comes this big Lion who keeps moving everything.

I don't want tidy - I want clutter!


Is there any way to turn off this annoying practice? I've searched just about everywhere.

Yay, I'm not the only one. I have all my files arranged in a very intential order in various groups around my desktop. I'm way to busy to have to rearrange this every time I long on. I really need this to stop. Please give us a solution!

Found this in another thread:


Open an ordinary Finder window, Go up to View > Show View Options > Arrange by: NONE


Worked for me!

Found this in another thread:


Open an ordinary Finder window, Go up to View > Show View Options > Arrange by: NONE


Worked for me!



I have it sent like that Sort by: snap to grid

arrange by: NONE


And after a while It will arrange by name on its own and I have to clean up by Kind to put it back to how i want it. Some folders are pain and clean up by kind is not waht i want and it will CLean up on its own to name. and not kep the way I had it befor

here a example of what i'm talking about


http://www.youtube.com/watch?v=mQp5kraLL8M&feature=youtube_gdata_player

I have the desktop right click-> sort by None

desktop right click clean up by -> nothing checked

show view option -> sort by None selected

what's up? it's still re-arranging my desktop?

Was that only for desktop tho mines doing it in finder folders. heres a example


http://www.youtube.com/watch?v=iRhfKPwTKXs&feature=youtube_gdata_player

yes it was only the desktop that was doing that

the file that was deleted that solved the problem was com.apple.desktop.plist

maybe there's one for the finder or windows? Someone care to jump in ;-)

I had the problem, sorted it in Finder>View>Show View Options and everything was OK.

But... take a long weekend away, back today, and the re-arranging is back too!


Another thread suggested trashing the Library>Preferences>com.apple.desktop.plist file.

I've not got one!

Spotlight (with everything selected) cant find it. It doesnt exist.

See alphabetical list in Library>PreferencesUser uploaded file

it should be there between CoreRAID and dockfixup.


Any suggestions?

And any suggestions why on an Apple-hosted discussion forum, someone from Apple cant just spare a couple of minutes to provide an answer?

Yes, you have such a plist. It's in Your Home Folder>Library>Preferences. This folder is now hidden in Lion - do a search on this forum to find out how to make it visible. BTW, a cluttered desktop, one with many icons/folders, can significantly slow down your machine. It's related to how your Mac works with desktop files. It is better to have only a few icons/folders on your desktop and place your files in them, nested as you wish.


Frank


edit: Apple doesn't live here - we're all just Mac users.

Thanks Frank -

Much easier than all the Terminal and Apple Script stuff (I dont want to have to do all that - thats why I've been using Macs since 1992) is the Finder's [ Go > Go to Folder > ~/Library ] line - every hidden file is there to be seen!


Discarded the com.apple.desktop.plist and (for the moment) everything seems to be back to normal (It did lose my desktop picture setting but thats easy to replace)


While I'm working on various tasks I do like to have the various files on the desktop - maybe slows down the Mac a tad, but saves me more time searching, using and re-placing files that I need constantly. When finished, there're archived properly!


My point was that this an Apple-hosted site. It is inexcusable that when many people on many different threads are tearing their hair out seeking an answer to the same 'icon-rearrangement in Lion' problem, no-one from Apple software can comment. Don't tell me they dont read them! I know for a fact that they do.

I have removed My finder plisf and desktop plist and it doesnt fix it.

My icons are also moving around. I do note that saving a file will move icons around. I have only a few folders where the icon location is important. After ensuring the icons in a folder are positioned correctly, I go to that folder in terminal and type


sudo cp .DS_Store DS_Store


I provide my password and the command makes a copy of the .DS_Store file into DS_Store. Now when the icons move around, I can easily restore the desired locations. It is a pain but it works for me.

My partner is very visual. He will clump files together based on a common theme. The files can be photos, text, e-mail clippings, etc. Lion rearranges everything in a near random timeframe.


What I founf works is:


1) I have Finder show the folder's hidden file, specifically the DS_Store file. Other places on the web will detail this.

2) I use Time Machine to go back to a time when the icons were still in order.

3) I restore just the DS_Store file.

4) I cloae the window and reopen and everything is back to the way it was.


I hate this work around. Apple Care was useless.

Thanks to everyone!


I'm having the same problem. It is really devastating to my work patterns. As long as I can remember --back to my Mac 512KE, circa 1986-- I have been able to depend on "icon view" positioning stability to arrange my work. This is fundamental to the Mac's desktop metaphor.


I'm trying the fix quoted by Eddie Prior1 in this thread: Set View --> View Options to Arrange by: NONE. I'll report back my results in a few days.


In the meantime, has anyone characterized the re-arrangement? Is th 00004000 e rearrangement always the same? (I seem to see an alphabetic sequence and evenly-spaced rows-and-columns result.) If you don't have this problem, can you create similar icon rearrangements by a specific Finder setting or sequence? (Probably, but not necessarily, involving the View Options window.)


I note that the linked-to videos seem to indicate that using a Save dialog seems to be the trigger for icon re-arrangement. It might be helpful to discover more details. Is this the only trigger anyone has noticed? Is it sufficient to use a Save dialog, or is it necessary to change views (say, from list to icon view) within the Save dialog? Or what?


Keeping the "View Options" window open, I note that the View Options window shows settings for the current window. (I had not noticed this before -- historically, I have rarely needed to change these settings.) Looking now at a folder that's been mal-rearranged in the last day or so, I note that the Sort By and Arrange By selections are both "NONE". But that's the suggested "fix" setting per the above. Can anyone comment on the scope of these settings? Can changing the value for a given folder in any case change the value for subfolders? Someone suggested making the the change to "NONE" with no windows open at all. Is this documented as the way of achieving a global change?


I think it is risky to fool around with invisible files like .DS_Store. (That's one good reason they are invisible!) That said, I tried renaming the file (to "foo") to see if this led to the mal-rearrangement. I found that MacOS (probably Finder) seems to instantly re-create .DS_Store, identical or close-to the previous one. Finding that the system is so interested in maintaining this file, I'm even more reluctant to mess with it.


Wild speculations: (1) Since I've installed 10.7, I've noticed a few strange permissions problems. Could mal-rearrangement be a result of such an issue? (2) Could slight corruption of .DS_Store files be the issue?

I have seen some constancy in the rearrangements but have not learned anything from it. I have reworked several folders testing the theory that some of my folders are corrupted. A long time back, I could not get my Applications icons to sit still. I solved the problem by booting up in another drive, creating a new folder next to the original Applications folder, moving my applications to the new folder, renaming the original Applications folder and finally renaming the new folder to Applications. A number of passwords were required. The icon locations in the new Applications folder stayed where they were I put them. I am doing this with some folders in my Lion OS. Time will tell if this works this time. A corrupted folder in this circumstance is more than a bad .DS_Store file. For the record, icon locations and other properties are stored in the .DS_Store file.

Thanks for sharing your experience.


I am not quite sure what you mean by a corrupted folder. Long time back or recently: Did you run the MacOS Disk Utility Verify, or Unix fsck? If so, what indications of problems did you see? Did you attempt repairing with either? I very recently ran the MacOS Disk Utility Verify and it didn't find any significant errors. I guess I could haul out my copy of DiskWarrior and see what it says. But my gut feeling is that the filesystem is not corrupted in the current cases. As I recall, the 10.7 install program does a target disk verification first. I would hope it would find any corruption.


As the icon locations are stored in .DS_Store in each folder, it might be useful to imagine what might be going on with it.


Some process --for example, the standard file Save dialog-- might be stepping on .DS_Store files. I can't imagine why the Save dialog would have any reason to write to .DS_Store files while tree-traversing. Maybe there's an obscure case in which that ends up modifying and possibly corrupting .DS_Store files. The next step is finding a method of validating particular .DS_Store files. I haven't found one yet. (I did find an Applescript that reads and saves the current desktop icon positions --and is capable of restoring them-- said by the developer to be easily modifiable t 00004000 o apply to any folder.)


My hunch: the .DS_Store files aren't being stepped on -- not directly, anyway. I'm guessing that the process that ordinarily updates .DS_Store when one modifiies the View Options window is being triggered erronously, with default parameters, which are very unlikely to be what any particular person wants. The mal-rearranged windows seem entirely consistent, though, so I'm guessing that the .DS_Store files were properly updated -- with wrong data.


This is no more than wild guesswork on my part! But in the absence of more information, and with the importance of finding a way past this problem for those of us affected by it...

I don't know what a "corrupted" folder is in detail except that it goes beyond just something to do with the .DS_Store file. I have seen the issue with the Save, Save as and Open dialogue boxes when I want to find a location. I typically use the column view in these dialogue boxes when navigating around. I will know in a day or so if recreating the folder has had any effect on keeping icon locations fixes.

My work around is to keep a copy of the .DS_Store file and use it to restore icon positions by overwriting the bad .DS_Store file.

Thanks for your reply.


As far as I know, fundamentally, a MacOS "folder" is 100% equivalent to a Unix "directory". (The .DS_Store mechanism is added on top of all this to support the added features of MacOS.) Corruption could occur at this level, but it seems very very very unlikely -- Unix is time-tested, well-characterized, and about as solid as one can get.


I don't have enough experience yet to see any pattern. I'd like to discover more about what navigating around --and changing views-- in Save, Save As, and Open dialogs might do. You aren't the only one who suspects these triggering mal-reorganization of icons.


Hmmm, speculating again: We all installed 10.7 recently. If 10.7 changed the format of .DS_Store, the install procedure might go through all directories at install time and adjust all of these files accordingly. Or, I think more likely, at the first user access of a particular folder after installing 10.7, MacOS could detect "old-style .DS_Store" and update at that time. I'm wondering if there is a glitch with the installation that, say, poorly translates the old-style icon arrangement specification and somehow interferes with correct adjustment.


The question is: Once you find a directory that's been mal-reorganized, is there anything that you can do to permanently fix it? Some posts here and elsehwere seem to offer hope, while others say the problem returns later. (It isn't clear if the problem returns to the same directory, or simply shows up in other directories later.) Who knows, maybe there's a sequence of settings you can do in the View Options window that works more permanently than simply setting both "Arrange by" and "Sort by" to "None"?


My root HD window got mal-rearranged twice already. I've applied the "Arrange by" and "Sort by" to "None" fix and I will try to get back to doing normal work, re-opening and checking that window often. Let's see what happens...

As near as I can remember, folders opened correctly after I installed 10.7 over 10.6.8. After problems occurred, I did a clean install but that did not fix anything as the problem likely occurred when I read my old stuff into the new OS. So far, I have not found a fix. I have recreated folders by renaming the old folder, making a new folder with the old name and copying the folder contents from old to new. I do the last step by dragging folders inside the old folder to the new. I don't try to drag them all at once. This should create a new folder structure and .DS_Store folder with whatever new formats are required. This has not solved the problem. I tentatively conclude that the new 10.7 finder may have a bug or two. Maybe not, read on....

I just did an experiment. I opened my system hard drive and my icons were ok. The "Always open in icon view" is also set. I opened Adobe Photoshop and browsed to a file in my Pictures folder using column view. I opened the file and closed it. When I reopened my system hard drive by double clicking it, it was in list view. "Always open in list view" was set. I changed it to icon view and the locations were correct and "Always open in icon view" was reinstated without any help from me.

I repeated the experiment using BBEdit, a text editor. Everything worked ok. Icon view stayed icon view and my hard disk folder icons did not move. Thus, the problem is application dependent. OS 10.7 has introduced automatic saves for applications that want to. Perhaps, some applications that use the old system calls in the old ways are not quite doing things correctly when they use system calls to save, etc. files. It might not be an Apple problem but a compatibility problem with some applications. Of course, there is no rule that there is only one cause. With all the changes in OS 10.7, there could be multiple issues.

For the record, I always use arrange by none and sort by none and the problem remains.

Thanks for your post. It is upsetting that "Always open in …" changes without help from the user. That should simply NOT be possible.


I think the problem must be in the 10.7 Finder, mostly because, commonsensically because there should be no way an application can affect icon placement. That's the Finder's job.


The system calls used by applications _should_ be exactly the same as before. It is difficult to accept that the pros at Apple wouldn't be very careful to maintain backward compatibility.


Here's an experiment I started yesterday: I left my HD root folder set for icon view with Arrange By… and Sort By… both set to "none" and I arranged the icons in my customary way, which puts the System folder at upper left. I closed it and I've been checking it periodically since then. At least once, maybe twice, I've found the System folder displaced all the way to top right of the window. All other icons seemed unaffected.


I tried to do some work yesterday and today, besides exploring this issue (<very sad grin>,) and here's what I observed, as briefly as I can:


Yesterday I opened a folder deep in my HD hierarchy, call it "Sam", a folder I have not opened for many months. "Sam" is part of a s/w app support library and it opened in icon view, apparently just as it was installed, no special icon arrangement, just a single row across the top of the window. I copied some files to "Sam" from another directory, "Fred". "Fred" was in icon view arranged according to my customary scheme. I noted that the copied file icons retained their exact source arrangement in "Sam". In other words, when I closed "Sam" yesterday, it was "correctly" arranged in icon view, two new rows below the original top row.


Today I navigated to "Sam" and found it was still "correctly" arranged in three rows just as when I did the copy yesterday. No problem.


I closed "Sam" and then a few seconds later, I re-opened it. The ONLY operation I did in the meantime is that I navigated to the next most enclosing folder, i.e., two levels up from "Sam", by using Go --> Enclosing Folder. Since I've got Finder set to "Always open folders in new window", both windows stayed open.


What I found in "Sam": Strangeness, as if .DS_Store has been corrupted. In icon view only some of the files were visible and I could neither resize or scroll up/down or left/right to view them all. In list view the left-hand column --the filenames-- was invisible, off-window to the left, and I could find nothing to correct this. After playing around for a while with no success I closed "Sam" and used Terminal to rename Sam's .DS_Store to "old.DS_Store". Then I re-opened "Sam" and all seemed OK… uncorrupted. In icon view my arrangement was gone. I tried several different views, leaving it in list view.


Minor additional strangeness: I noticed the renamed .DS_Store file wasn't visible. "old.DS_Store" should have been visible in the MacOS window but wasn't. I made a copy named "foo" -- no help. I copied it to "aaaaaa" on the desktop -- still invisible. Conclusion: there's more than meets the eye here, maybe an obscure or new "invisible" file attribute on top of the leading dot to make files invisible. Probably this isn't relevant to the current discussion.


Really 00004000 staggering strangeness: After all this, I was preparing to try to reproduce the problem. Just for grins, one last time, I decided to check "Sam" in icon view. Yesterday's "correct" icon arrangement was back! Three rows and spacing, to the best of my recollection, just as I left it yesterday.


Yesterday's icon arrangement should not have survived my renaming of .DS_Store in that directory. And I did a lot of experimenting with the View Options settings first, which almost certainly changed the organization. Incredible! I cannot think of any reasonable explanation for the reappearance of the correct icon arrangement.


Here's a completely off-the-wall possibility: 1) 10.7 automatically saves backups of .DS_Store files, often. 2) The .DS_Store in "Sam" _was_ corrupted between the first and second time I viewed that folder today. 3) 10.7 is now capable of detecting the corruption and restoring .DS_Store from the last non-corrupt version.


If this is so (ha!) then people experiencing mal-rearrangement should be able to recover by immediately deleting (renaming) .DS_Store, but that doesn't seem to be what you or anyone else observes.


I can't even argue that the window problems I observed today are related to the icon mal-rearrangement issue at all, since the icons I could see were correctly arranged.


Sheesh.

I'm experiencing this apparently random problem too, but have no theories on its cause. It's very annoying!


I'm just trying to be patient in the hope that Lion 10.7.1 fixes it.


Bill

We have partitioned our i7 8Gb 2011 Mini and installed Snow Leopard on it because Lion is useless to us as it really destroys our workflow. When it gets fixed we will migrate back.

I had a long conversation with Apple support and tried a lot of things, including reinstalling lion. Still the same problem: icons changes positions and size. The support people I talked to, had never heard about it.

It makes you wonder where Apple support is coming from. There have been quite a number of messages about this issue. Of course, this could be an active issue in the development community. It does likely speak to a lack of communication within Apple. Of course, no one likes to admit to or talk about serious problems particularly when there is likely no current fix.

I couldn't agree more.

Tage

I commented earlier that I think it is inexcusable that on an Apple-hosted forum there is never a comment from Apple.

They must (and they do) read these comments - if it is a problem, would it be so bad to actually admit that it is happening, and that perhaps they are working on a fix? Long term Apple users (like most of us) would actually respect Apple more if they were to show that they cared.


This is a problem, Apple - you created it, you fix it!


Having said that, my earlier post on removing the com.apple.desktop.plist worked for a week, failed once, and has worked all week since. With different people noticing different effects it could be conflicts with different installed software. (But thats Lion conflicting with them, and not they other way around, because Leopard and Snow Leopard were OK)

Just another thought.

There seems to be a myriad of ways to arrange the desktop, and if there are different settings, the system may get confused. Take a look at this:

In a desktop folder window, on the far left solumn, "favourites" the top item is desktop. The icons on the top bar include ACTION. Clicking this gives yet another access to ARRANGE BY... This should be set to NONE. I know that altering one setting somewhere should change every instance but ....

Then go down to ALL MY FILES.....ARRANGE BY.. the default would appear to KIND - try setting this to NONE as well (After all, who would ever want to list All the Files on their computer)

Thanks for your post.


There _are_ a lot of ways of arranging the desktop, as there definitely should be, and a number of ways of controlling the arrangement. And the mechanisms are obscure to the typical user. All of which can lead us to develop superstitions about the cause and how to fix this problem.


What triggers icon mal-rearrangement? The only suggestions I've seen is that navigating in Save dialogs or similar is a trigger. Since I can't imagine any way exercising those dialogs affect icon arrangements, I'm classifying this as a superstition for the time being.


Fixes? People have suggested removing com.apple.desktop.plist and/or .DS_Store as a fix. This prompts the Finder to recreate these files.


I find the content of com.apple.desktop.plist is visible in a generally understandable format if I double-click this file with the developer tools loaded. The file opens in XCODE and I can browse through the various keys (preference items) and their value (current setting). There's some interesting stuff there, as far as I can understand the information, but I haven't seen anything related to icon arrangement. Based on this, it seems that removing this file can be classified as a superstitious solution.


All the information I've seen points at icon arrangement being controlled solely by the contents of .DS_Store. I'm guessing that .DS_Store is cached in memory to speed up Finder operations. As I've posted earlier in this thread, I've seen some evidence that in 10.7 .DS_Store is autosaved and restored, say, when the current version is detected as inconsistent. Again, I think these factors promote superstitious solutions.


Based on what I've seen so far, I'm thinking that there may be some cases in which the settings we users see and the actual settings acted upon by the Finder to arrange the icons are different. This could occur as a result of installing 10.7 00004000 if the options and/or the methods of making the settings changed, requiring conversion(s) to .DS_Store contents. It seems possible that some of our settings in 10.6 didn't get properly converted to the new 10.7 internal representation. Or, conversion or not, with all these alternatives, it seems quite possible that some combinations don't get properly represented. In sum: either internal or external inconsistencies occur.


Here's what I'm going to do in the day few days: I'm going to _try_ to work normally while keeping an eye out for mal-rearranged windows. I might get some new ideas about triggers. I'm going to test the "inconsistency" theory by making some quick adjustments to windows I find mal-rearranged: First, I'm going to use the View Options settings, particularly "Arrange by" and "Sort by" to display the window in some radically different format to what I usually use. Then I'm going to return the settings to the ones I want: "none" and "none". Next, I'll quickly rearrange the icons to roughly the way I want them. Then I'll close that window. Later on, periodically, I'll reopen and check the icon arrangement in that folder.


In other words, I'm not going to trust the settings I find in View Options, especially if I find a mal-rearranged window with "none" and "none" settings. I can hope that first entering completely different settings and then entering "none" and "none" has a chance of making these settings completely consistent.


I'm also going to look for new information to prove myself wrong. For example, I should not be so quick to regard Save-dialog triggering as a superstition. When I save a _new _file to a folder that is set to appear in icon view,the new file icon appears somewhere "new" and not overlapping an existing icon, right? Presumably that changes the information .DS_Store. Could this disrupt the locations of other icons or the internal settings for "Arrange by" and "Sort by"? Could be. If so, then I can think of an awkward work-around that might serve until the problem is fixed.

Exactly same thing here with my two different Macs!


Usually this happens if I open or save something through a program (where documents are sorted by list instead of folders - I mean text). Next time after this when I go to Documents f.ex. everything is alphabetically arranged again - not in MY order. Yes. I tried all of the options of cmd+j and the finder window selections too - it's a bug.

This all is a puzzlement. There is one thing I can repeat. I normally have my system drive in icon view format with a particular arrangement. "Always open in icon view" is set.

I open Photoshop (CS5) and go to File/Open. I use column view.

I click on my system drive in the side bar and any entry in the first column.

I then double click on the hard disk icon on the desktop and it comes up in column view and "Always open in column view" is now set. The column view is not quite right. It is has the items in my hard drive on the left of the window. Other columns do not appear unless I click on an entry.

I change the column view to icon view. The "Always save..." automatically reverts to the original value and I am back where I started.

I return to PS and click a first column entry in the Open window and double clicking on the system disk agains shows the column view.

When I leave PS, the column view for my system drive persists until I change it back to icon view. The icon positions are preserved.

A similar PS experiment where I actually open something and then Save or Save as will typically scramble the hard drive icons in addition to going to column view.

Even stranger, if I repeat the experiment with BBEdit, a text editor, everything works properly.

Another simple text editor, TextEdit, did not seem to cause any problems.

Finally, I tried the same tests with Page, an Apple application. The behavior was the same as PS including scrambling icon locations if I did a Save.

Microsoft Word did not change views with just browsing but some icons were moved after saving a file.

I postulate that it is the browsing during an Open, Save, Save As, etc. that does unexpected things to folder icon settings. I can say with certainty, that 00004000 the .DS_Store folder is changed even in cases where I merely look around and not actually save anything. After things go bad, I just restore my .DS_Store files from previously saved copies.

I would also conclude that the association of browsing with odd behavior is likely more than a superstition since a single click in a browser can change the appearance of the icons in a folder. This varies with applications so some applications may have not been fixed to work with Lion. The scrambling of icon locations with a Save occurred with all applications except for two small text editors.

Thanks for your post.


As far as I know, you are the only one who has come up with a repeatable demo of this issue. Definitely worth following-up: I'll try to duplicate your results of shifting views due to simple browsing in Open dialogs. We can call this "Save Dialog View Instability" (SDVI) until someone comes up with a better term. (This term doesn't clearly cover Open dialogs for example.)


Trying TextEdit [v1.7 (288)]… Yes, I see it. (I use my HD root directory as a test case, too.) Here's the procedure and results:


0. Finder: View --> "Show View Options".

1. Finder: Open HD root folder, observe "icon view", my customary icon arrangement, and "aways open to icon view" in "View Options"

2. Finder: Close HD root folder.

3. TextEdit: File--> Open

4. Open Dialog: Click on HD at left

5. Open Dialog: Click on "Column View" at top

6. Open Dialog: Click on some folder in HD

7. Finder: Open HD root folder. SDVI: The view is now columns and "always open" is set to column view.


I note:


o Step #2 is necessary; the issue doesn't affect an already-open window.

o If I skip step #6 there is no change.

o This only occurs with respect to column view. Can't get a change to Cover Flow, for example.

o Clicking the icon view in the open HD root folder restores my customary icon arrangement and checks "always open in icon view". (So this is only part-way to icon mal-rearrangement.)

o Strange that it occurs for me in Text Edit and not for you. Maybe a version difference.?


Checking with some other versions and apps:

--A quick, similar experiment with TextEdit [v1.5 (244)] on a 10.5.8 system: no problem.

--A quick, similar experiment with TextEdit [v1.6 (264)] pm a 10.6.8 system: no problem.

--A quick, similar experiment with Pages [old: v1.7 (288)] on 10.7 : partly rearranged the icons, but I can't seem to repeat this.


I think it is slightly arguable that changing the view of a folder in an open dialog actually _ought_ to change the view when the folder is opened in Finder. ("Save Dialog View Consistency"?) In other words, this is a feature. But I'd expect this to be consistent and reversible with all the view types, which I did not find. So, yes, this looks like a bug.


The second step is reproducing icon mal-rearrangement. Probably it would be best if we could identify a piece of software distributed as part of 10.7 that invariably triggers mal-rearrangement. So far, I haven't found one. Second best: the current latest version of a very commonly used app. No luck so far on that, either.


Now that I've seen a repeatable error that almost certainly is due problems with .DS_Store, it seems very likely to me that we will eventually find an app that reliably triggers icon mal-reorganization. What's going on? I'll speculate wildly: Maybe the 10.7 implementors had a goal of coordinating view control in Finder windows with view control in Save Dialogs, but they didn't finish the job. Or, the two viewing situations were uncoordinated and were intended to continue being uncoordinated, but someone slipped and --maybe making something as simple as a naming error--partially coordinated the two.


Do either explanations suggest a workaround? Maybe. Possibly it will help to use only the simple, unexpanded Save dialogs, accepting the default directory or picking one from the Where: list. If the Mac doesn't try to display directory contents in one of the four views, maybe that will be enough. Open dialogs unavoidably display all the files in the selected directory, but… it might be effective to never use Open dialogs for existing files. Instead, navigate in the Finder to view a file you want to open, and simply drag-and-drop the file icon to the app's icon, or an alias of it, or the app's dock icon. Another approach: Are there OS add-ins that provide alternate Open and Save dialogs? (Anyone?)

I wouldn't waste your time fighting with this, it's almost certainly a 10.7 bug with the file system. They are not corrupted folders, corrupted .DS_Store files, or group/permission problems. It's simply that saving a file into a folder appears to wipe the .DS_Store clean, and then the folder is rearranged alphbetically.


I've also seen a save action wipe the .DS_Store for an enclosing folder and the folder above that. I'm also pretty sure I've seen a folder dragged into another, inherit the enclosing folder's view attributes (changing from icon to list and closing the tool and side bars).

I've filed an official bug with Apple's bug reporting system.

Thank you, Jyri. Best news yet! I agree it's simply a bug, and I'm sure Apple is aware of it from their own testing. It does seem to be be related to saving files. And it usually wipes out folder settings for a number of other folders when it occurs. From a test I did today, it does not change the modification date of the enclosed .DS_Store files though. I've run into something like this in the past (maybe Leopard) when installing/updating a certain application, which was eventiually corrected. I'd love to know which settings file(s) is/are being corrupted so I could keep backups.


Bill

Thanks for your post and for filing an official bug report.


You seem very confident in your analysis. Might I ask for a few more details why you are certain this is a 10.7 filesystem bug, as opposed to damage to the structure/content of .DS_Store? The evidence I've seen could indicate variable/incremental damage to .DS_Store. How do you account for the view-change problem we've been discussing that occurs with no save at all, just browsing?


If you are correct, the implications are pretty scary, especially if there's no fix right away. Unless you have evidence that this bug is clearly specific to wiping out .DS_Store ONLY (how would that work?) maybe all of us experiencing this problem ought to fall back to 10.6.x immediately.

By "10.7 file system bug" I mean that everyone seeing it is using 10.7, and it seems pretty clear that the act of saving something - or even moving something - in the file system is causing some sort of write to the .DS_Store files. The write may be "normal" except that whatever code is doing the writing now is likely doing it wrong.


I've seen the view-change problem occur to a folder that is enclosing one two layers down in which something changed. Note that merely browsing alters the "Last opened" metadata which I assume is also in the DS_Store.


In 10.7 there's a whole new facility for document management that occurs transparently, including autosave. With all these things going on, it's likely that lots of things are getting altered when we are seemingly doing nothing to the file system. If these all touch DS_Store files in some way, like writing some default everyplace that is touched, it would manifest in all these troubles.


Fingers-crossed, I don't think this puts data at risk, but it sure is annoying for those of us that depend on specific layouts of folders for workflow. I'm not upgrading my desktop machine until this is fixed, that's for sure. There are way too many things in particular arrangement there.


On a related topic, who else is annoyed by the fact that new folders are always sized slightly too small, if the sidebar is there by default? I wish there was a global setting for "all new windows this wide." Not that OS X would be able to remember it right now. But with the lost settings, I'm seeing a lot of windows revert back to that default size. Ugh.

I am not sure if this is related, but in Lion 10.7, if you rename a file by capitalising any letter then the file size becomes Zero bytes and the file is corrupted!


For example, rename "my file.rtf" to "My file.rtf"


It does this only if the file has existed for say 10 minutes, and not if you create it new and then change it immediately.


This kind of bug is a serious worry, can we trust this new filesystem?

Wow! Holy bleep I can confirm that here on an RTF test file I created last night. That's frightening.


I've also registered a bug report on this one.

coolas wrote:


I am not sure if this is related, but in Lion 10.7, if you rename a file by capitalising any letter then the file size becomes Zero bytes and the file is corrupted!


I've experienced the same bug, but don't believe the file is corrupted. Do a Get Info on the file and you will see it's true size.

Get Info on the file confirms the file size is zero bytes. Also, opening the file reveals the data is gone!


Further, it is not a Finder issue, if you use mv to rename a file in Terminal, it also zaps the file to zero bytes.


Looks like I'm back on my Windows XP PC until Apple fix Lion's filesystem 😟

Here's a theory. Perhaps the same mechanism that is zero-ing out these test files, in some form is doing the same to .DS_Store files, which are then replaced by brand new files with system defaults. Then icon placement, views, and everything are instantly changed.

A question to everyone experiencing these various problems. Are you using File Vault 2, or no encryption? I'm using FV2 here.

I'm having this problem too.


Jyri - it's doesn't seem related to Filevault2 encryption - I saw it happening without FV2 encryption, and I just turned on encryption over the weekend and the problem still occurs.


as I discovered after seeing @Whiteman007's video post (thanks!) - at least in my case the messed up icons are triggered whenever I save a file from some app and the Save/Save-As dialog box pops up, as I mentioned in this other thread


if you have this problem and it seems to occur randomly, try doing a Save-As and see if the problem occurs. it's definitely repeatable every time when I do a save-as.


I've tried deleting my Finder and desktop preference files, but the problem still occurs. I'm guessing we'll have to wait for Apple to fix the bug in some future update to Lion

I am not using any encryption. My OS usage is pretty vanilla with few extra non-Apple add ons. I do use Dropbox and Carbon Copy Cloner, both of which are intimate of the system. The latter I've used for years so that is not likely a problem. My Dropbox usage is recent.

coolas wrote:


Get Info on the file confirms the file size is zero bytes. Also, opening the file reveals the data is gone!


Yikes! I haven't run into that one (and hope I don't).

OS X 10.7.1 update is out and in case you're wondering.... I just ran the update and the problem still occurs 😟

Brett C,


To which problem? The rearrangement of the icons or the renaming of the files being corrupted?

sorry, I meant the rearrangement of the icons still happens with 10.7.1

for the record:


i updated one macbook pro to lion (from snow leopard) and i bought a macbook air last week (with lion pre-installed):


and they're both exhibiting the random re-setting of icon arrangement.


so, for sure, it's not isolated to migration / upgrading etc.

Same problem and more for me, shame on Apple, the new finder is terrible !

@BrettC


"as I discovered after seeing @Whiteman007's video post (thanks!) - at least in my case the messed up icons are triggered whenever I save a file from some app and the Save/Save-As dialog box pops up, as I mentioned"


Yup, I notice the most annoying Finder re-arrangement happens to my certain folders in my Documents folder and Downloads folder. Usually it is after *something* has written to it. Eg. saving a document, or downloading something.


The Save/Save-As dialog box messes up some Finder settings for that folders that you navigate through. It is not the only culprit though, just downloaded Chicken Of The VNC for example, dragged it to Applications etc, and viola, Downloads folder was messed up this morning even though there was no "Save/Save-As" prompt since Safari puts it in Downloads automatically.


At least I think we narrowed down the bug a little. Hopefully anyone with Developer accounts reading this and trying out 10.7.2 can test this out further.


Personally, somewhat dissapointed that the Finder has gone "off" after doing so well in Snow Leopard particularly with the Cocoa rewrite in SL.


Edit: Don't get me wrong, I think the two options of "Arrange By" and "Sort By" are good. It's just that these settings seem to be messed up when something "touches" the folder.


Tip: Cmd-Option-1 or Cmd-Option-2 (Clean Up By...) keyboard shortcuts. The best thing to do for now if you see a folder in which you don't like the arrangement. Just hit those keyboard shortcuts and the pain goes away for a while 🙂

@nvidia_nvidia - yes, I've also noticed when downloading files vis Safari that this triggers the bug too.


as a temporary cleanup shortcut, I'm using the tip posted earlier in this thread (or maybe another similar thread, I forget...) - i.e. with my home folder in a known good state, I go to Terminal and save a copy of the .DS_Store file. then any time the home folder gets messed up, I restore the .DS_Store file from the saved copy. saves manually rearranging everything again for the hundredth time...


meanwhile I hope a proper bug fix comes from Apple soon.

Does anyone know the link to report a Lion Bug?

I reported the bug, along with details how to reproduce it, to:


http://www.apple.com/feedback/macosx.html


not sure if that's the best place to report it, or not.

if someone knows another place I'd be interested too.

hate to sound like an old AOL noob user here 😁 but ME TOO! Lion just randomly rearranges my icons on my machine all over the place (especially after rebooting) it makes the View Options settings pretty much moot at this point for me .... I've deleted .DS_store files galore (that used to cure those types of problems in the pre-Lion days if they became corrupt) but to no avail ... Lion truly has a mind of its own ... HAL??


yes, this is a repeat post that I put in a slightly older thread .... but the problem remains the same ... every single one of my Mac user friends have complained about this as well

I had the same annoying problem for 2 days in 10.7.1 but just solved it by copying a .DS_Store file from another disk using @BinaryNights Forklift.


I use SuperDuper to mirror my disk once a week, so that procedure came to my rescue ! 🙂


btw it is the .DS_Store file from my root folder ℹ

Hi people,


So Im not to technical with the 'under the hood' bits and bobs. Could somebody tell how I go about copying and restoring the DS_Store file?


It would be greatly appreciated.

There is a hidden .DS_Store file in every directory. This is where all the attributes of that folder/directory are stored. You'd have to be familiar with using Terminal, and if you can navigate to the directory, you could see the file by typing 'ls -la'. Unless you just want to fix one directory, you're going to be painstakingly copying hundreds or thousands of these.


Personally, I don't see this as a viable solution. I have not tried it, but I'm not convinced that this will solve the problem, even though this was someone's experience. Just in pure speculation, copying one of these from another drive might have resulted in a file with a different owner/group or permissions. If this is the case, then it might be that the system is simply unable to write to this file, and thus it cannot break it, but yet it can still read it. Just a thought.

It's not just icons that are moving for me, it is whole windows. I like my windows to open in set places on the s 00004000 creen, some with nice background images, and with the icons within in the order that I set. Invariably now when I close a window and reopen it, it opens in a different place, a different size, icons rearranged and picture gone. It's driving me mad and making life very difficult.


10.7.1 didn't solve anything, and neither have any bug reports I've sent to Apple. I've also reinstalled, but it didn't help.

Yup, all these things are saved in the .DS-Store files. I also filed a bug directly into Apple's bug report system (different than the feedback page). By now they must be aware of this because it is widespread. Even with the knowledge of the problem, it can take months to get a fix out. It has to go through a careful vetting process, is seeded out to developers, and once everyone is happy that they didn't inadvertently create some new disaster with the fix, then it will be released to the general public. It's a problem that really *****, but it's not losing your data, just annoying. They don't want to rush a fix out that makes the situation worse. We all jsut need to hang in there for now. It will be fixed.

restoring the .DS_Store file in a particular directory doesn't actually "solve" the problem - it merely cleans things up in a particular directory by restoring to a previous state. so if you save a known good "clean" state before the problem occurs, you can easily get back to that clean state by restoring a copy of the .DS_Store file.


but the bug WILL still happen again, this is simply a convenience to mop up the mess until the bug is actually fixed.


I'm not sure what copying one from another drive or another directory to another will do. In my case,I am only concerned about one directory - my home directory. It is the only one that I keep organized in a visual icon-view (maybe strange, but for whatever reason I've been doing it that way all these years 🙂


@Cheese21Cheese


this temporary cleanup tip was posted either in this thread or another similar one, I forget, but I will repeat what I do, for your reference. Again, I use this only to clean up a single directory, my home folder. If you have a lot of folders you like to keep organized, maybe you need to do it for each one (not practical for more than one or two, IMO)


1. manually clean up the folder you like to keep organized

2. go to Terminal

3. navigate to the folder you just cleaned up. in my case it is my home folder, so: cd ~

4. copy the .DS_Store file to a saved known-good copy of the file, e.g:

sudo cp .DS_Store DS_Store.save

The sudo command will then ask for your password to execute the command

Now you have a known-good copy of the .DS_Store file for this directory


then next time when the bug occurs, go back to the Terminal

sudo cp DS_Store.save .DS_Store

then enter your password

This copies your good .DS_Store file back over the now-corrupted one.

Go to the finder. if the messed up window in question was already open, you may need to close it then reopen. it should be restored to the cleaned up state.

I tried the Terminal workaround but it didn't seem to do anything. I rarely use Terminal though, so it wouldn't surprise me if I was doing something wrong!


I have a lot of windows that need to be set in place, so I guess I would have to do this workaround for each window?


Might be simpler if I just switch everything to list view. And I hate list view.


Been using Macs for 25 years but have never seen a problem with the basics like this.

I don't use terminal to restore. My workaround is:


1) I unhide my hidden fles. There is a program: Lion Tweaks that will do it.


2) In icon view, I will go into Time Machine and locate when the folder had the correct placement.


3) I locate the DS_Store file in the folder and restore it.




Also, Jyri, what is the link to report a bug?

The best method is to register and report them here:


https://bugreport.apple.com/


You can continue to add more info later if you uncover more detail.


The quick and dirty is as follows, but I am unsure if you can look back over your submissions or see a status.


http://developer.apple.com/bugreporter/bugrptform.html


For anyone that uses either of these, please follow all the instructions and submit a useful and thorough analysis, sticking to the facts. This is the Developer channel, not the consumer end, and they'll likely ignore anything that comes across as whining or where they have to work to find out what you are trying to say.

This problem is seriously disruptive to those of us who depend on stable folder views!


(I'd assume virtually every Mac user depends on stable views to at least some extent, and yet --compared to other 10.7 issues-- this issue seems to have generated relatively few complaints here and on other forums. Are just a few unlucky people like us affected, or are there many more who don't notice or care?)


From what I've seen and heard, once affected, there's apparently no escape and any folder may be affected. Exceptions: some folders seem relatively, not completely, immune, but I can't see any pattern. Sometimes only a few icons are displaced. Complaints about desktop rearrangement are rare. I've observed rearrangement to and from icon view. The only common factor I see is a tendency for the new view to be arranged alphabetically.


- - -


This may be incredibly obvious, but the rearrangement never occurs to a particular folder unless you close and then later re-open the folder, right? This suggests a partial workaround:


By carefully partitioning my various tasks into different virtual workspaces using 10.7's Mission Control I find I can minimize my need to close folders. Instead of closing a currently open folder that's in my way, I can often switch to another workspace. Presto! the folder is invisible -- but not closed.


Problems with this approach I've found so far:

  • Sometimes I forget and close a key folder anyway. D'oh!
  • There are some practical reasons to shut-down periodically.
  • Some tasks are difficult to partition.
  • I find Mission Control is, ummmm, subject to awkwardnesses and glitches.


Still, this approach has decreased my stress at losing my vital icon arrangements and allowed me to get on with my work.


- - -


I encourage others suffering from this problem to observe as carefully as possible, seek alternative workarounds, and post these. Shouting at Apple is not productive. It is possible that Apple doesn't know enough to do anything about this issue. I hope I'm wrong and there's a fix already in the works! But just in case, let's do our best to help Apple help us.


Maybe someone would collect links to all the different threads here and elsewhere? Lots of different names for this issue, leading to different threads. It could be useful to see all the postings, maybe merge some threads.


- - -


Tekkie corner: It seems generally agreed that this issue is due to corruption of .DS_Store file content. As far as I can tell, the .DS_Store mechanism is not publicly documented. (Anyone know different?) Can we tekkie users help characterize the issue by observing .DS_Store files, say, by running shell scripts or for-purpose faceless apps? Can we tell when the corrupt occurs? Sometime just after the window is closed, possibly due to the Finder writing in-memory data for the window to disk? Instrumenting this would be easier if we had a never-fail method of triggering the corruption. Some postings state that navigating an Open dialog (or similar) is reliable, but I've not been able to duplicate. Anyone?

Hen3ry, I agree with everything you say and like you, I too am using multiple spaces to keep folders open. But it is clearly problematic.


What's more: I am experiencing icon re-arrangement in Launchpad as well. Given that Launchpad is supposed to emulate mobile ios - and ios doesn't randomly re-arrange - I wonder how it is that Apple managed to let this happen.


It is the most fundamental flaw/ bug in the Apple operating system I have experienced since I started using Macs (and I started using Macs in 1992). It's not like an incompatibility between two open apps - it strikes at the very heart of the apple user interface, and it is radically affecting my work-flow.


For the record: I am using two MacBooks: a MacBook Pro with Lion installed over Snow Leopard, and a new MacBook Air with Lion pre-installed, and they are both exhibiting the re-arrangement.


At least 5 people (with 8 Macs between them) is experiencing this, and we are constantly cursing on the phone to each other.


I have raised it on the phone with AppleCare, and also with a in-store genius. Unfortunately, I couldn't trigger re-arrangemen when i was in the store, but the genius did say that he would send my observations "up the chain".


FIngers crossed...

Just posted this in another discussion on the same issue:


Just bought and downloaded Desktop Saver for Icon Positions from the app store. It's the only thing I've found that will save the position of my icons (all 60 of them as I have a 30" monitor). Imagine restarting your computer, or restarting your dock or finder, only to find your icons all over the place. It doesn't respect the Finder view options (mine are snap to grid) as I like to keep certain files/folders in certain columns.

User uploaded file

Once you "Save Profile (1,2 or 3)", you can quit the app. When the icons rearrange themselves for no other reason than lazy programming, simply launch the app and click "Restore Profile" (using the same number as the saved profile). Stack Items will pile all your icons onto each other in one stack and give you a clean desktop, but you can restore your icons back by using the respective "Restore Profile #". BTW, I have no affiliation with this company and a friend turned me onto this app as he was ready to downgrade to SL as it was driving us both batty.

yes, it seems clear that somehow the .DS_Store file is getting corrupted.


a further observation, and question to those of you experiencing this problem


I just noticed that (it seems) every time my home folder gets messed up, it is exactly the same particular icons that get moved around AND they get moved to the same (wrong) locations. even icons that are moved so they end up overlapping other icons end up overlapping the same amount as last time.


when the problem first started, I did a Cmd-Shift-4 screen capture of my folder window before/after the problem, so I could put everything back in its place quickly (before I heard about restoring an old copy of .DS_Store)


but I just looked at the "after" screen cap again while playing around with various Finder setting and triggering the problem and notice I'm getting the exact same after-effect, ie identical icons moved. now I'm not sure i 00004000 f I've ever seen any different wrong-rearrangement of my icons...


Q: anybody else notice this?

I think it is simply that it arranges the folder alphabetically each time, and they land in the same place.

at least in my case, they are definitely not being arranged alphabetically when they get messed up


some icons don't move from their manually placed location

some icons move completely off-grid, some partially overlapping other icons

other icons are on-grid, but in wrong locations

none of them, before or after, are in alphabetic or any other standard view-options order

but when the problem occurs, exactly the same ones move to exactly the same place

This bug is slowly driving me crazy! I've used Macs for 20 years and this has got to be the single most annoying interface glitch I've ever come across.


I can't get a single customized folder view to stay put. Two to three times per day, at random it seems, all my customized views will re-set to list view with side bar showing, centered in the middle of the screen, adjusted to the same 'default' window size. I lose all my icon arrangements and background photos etc.


I've tried re-installing Lion twice, and performing all kinds of cache emptying, .DS_Store deletions and restores, permissions fixes, setting the customized views for my folders within a root user account, ticking the "always use" setting manually for each and every folder. Nothing helps.


All my time spent meticulously setting up all my folder views is just a complete and utter waste of time in Lion.

Exactly what I've been experiencing, and you're right - no amount of workarounds and fixes are solving it. It is very disheartening that Apple seems to be disregarding such a major bug in their software. Yes, Lion does all sorts of fancy stuff now, but if it can't even get the basics of a graphics orientated environment correct, then I don't want to use it anymore.

I have the impression that the Finder simply does not save any changes to icon positions. So after a certain time the arrangement is reverted to some old state that is basically never changed.


I am also experiencing problems with Mail settings that are not saved or are reverted after restarting Mail. I am beginning to think that both symptoms are part of a global problem (a not only Finder-related problem). Maybe this is related to the new file saving mechanisms (Autosave, Versions).

I keep Finder View Options open at all times.


Observing a few folders containing icons I arranged before installing 10.7 which have remained relatively stable, I feel like I may be seeing a correlation: For those folders, "Open in Icon View" and "Browse in Icon View" are unchecked, while "Arrange By" and "Sort By" are both set to "None". I don't believe I've modified these since installing 10.7. This suggests: "don't fool with these settings, and the next time you open that folder your icons may be the way you left them".


Or, I'm getting a bit crazy trying to analyze and work around this issue and I'm imagining patterns that aren't there.

hopefully Apple won't just completely ignore this issue like they did with the blurry/pixelated icon issue that was introduced with Snow Leopard

Hen3ry wrote:


This suggests: "don't fool with these settings, and the next time you open that folder your icons may be the way you left them".

In my observations (or imaginings?) thus far, the same thought has occurred to me. 😝


In any case, Apple is aware of the issue, and it will almost definitely be fixed in 10.7.2.

In any case, Apple is aware of the issue, and it will almost definitely be fixed in 10.7.2.


somehow I don't think that fixing this issue is among Apple's highest priorities in the upcoming 10.7.2 "upgrade" since everything seems to be focused around the release of iCloud and iTunes 10.5 ... I'll be surprised if they actually address this issue at all, imho ... I hate to be a negative nancy but sweeping things under the rug seems to be Apple's only policy these days


I really hope I'm wrong, but I'll take any bets that it won't be fixed ... take a look at the amount of users that were affected by the blurry/pixelated icon issue throughout the entire lifespan of Snow Leopard and it was NEVER addressed by Apple


as Apple has continued to dumb-down the user experience on OSX to match the near downs syndrome equated iOS they have introduced more bugs to OSX than a herd of unbathed water buffalos ... all in the name of "simplifying" the user experience ... dear apple, I'd like to have my computer back please!, you know, the one that "works for me" not the one that "I must work for" ... phew, stepping of the soapbox now 😠😁

Preliminary reports regarding the 10.7.2 beta on other forums are saying that this issue hasn't been addressed. If that's true it will be a massive disappointment. Honestly, who cares about iCloud etc. when the Finder doesn't work?


The new features are useless if the desktop itself is malfunctioning.

billearl wrote:


In any case, Apple is aware of the issue, and it will almost definitely be fixed in 10.7.2.

Don't be naive :

- First it is not a priority for Apple (minor issue, few victims)

- Second this is a deep OSX's contradiction, not a simple bug.


Even if for us, here, it is the most annoying Lion's issue 😢

Well, it looks like its back to Snow Leopard...


Never gone backwards on a OS before. Theres a first time for everything I guess.

I've already given up and gone back to Snow Leopard.

I've written to Apple requesting my money back, as the product is faulty, but of course, no reply.

I'm not holding my breath.

I'm not sure how viable it would be for me to go back to Snow Leopard, even though I want to, as I've paid such a lot to upgrade a bunch of apps and I'm afraid of losing my settings etc.


This will teach me to adopt new technology.


Come on Apple - please make my stuff stay where I put it!

iandack wrote:


Honestly, who cares about iCloud etc. when the Finder doesn't work?


The new features are useless if the desktop itself is malfunctioning.

Precisely my point for believing Apple will address this soon. They have to.

not to be a p-rick ... but what proof do you have that Apple is even aware of this issue as you claimed? just curious


MaestroCreep3k wrote:


not to be a p-rick ... but what proof do you have that Apple is even aware of this issue as you claimed? just curious

A number of people on this forum have sent feedback to Apple about this problem, this is Apple's forum and they do monitor it, 27 years as a Mac user, and common sense. The alternative would be creating a reputation for buggy software, Lion = Vista, etc. Getting the fundamentals right is the foundation for featues like iCloud. They have to maintain the foundation first. I do agree such a widespread bug should not have made it into the Lion release, but it did, and appeared too late to fix in 10.7.1. Apple has seeded 10.7.2 betas out to many more people than previous updates, including me. They are serious about fixing any and all bugs, especially annoying ones like this.

Potentially useful advice has been posted here:

http://reviews.cnet.com/8301-13727_7-20104006-263/icon-and-window-positions-shif ting-in-os-x


In short, ".DS_Store file settings and Finder view behavior can depend on more than one .DS_Store file, so while people may assume removing the .DS_Store file from a directory that is showing view problems is the way to fix the issue, doing so may not actually fix the issue. Do try to remove the file for one directory, but if not then the next step would be to remove the .DS_Store files for the whole filesystem to prevent odd settings inheritance problems from persisting."


Links to several utilities are provided.

@knutsen - I think you may be onto something there with that article...


I had not tried deleting multiple .DS_Store files before - only just the one in my home directory. So this time I tried deleting several (though not all of them, as the article suggests). And now my home folder *seems* to behave properly...


here's what I tried:


- in Terminal, delete .DS_Store file in home folder, and in a couple other folders (Downloads, email attachments...)

Those other folders are where I save attachments from Mail, downloads from Safari, etc

- log out, then log back in

- manually reorganize home folder in Icon View to the way I like it. Clean up, snap to grid, arrange by none, sort by none, always open in list view

- set Downloads, email attachments and a few other folders to always open in List View, sort by Date Modified, arrange by none

- close all the Finder windows


then I tried to trigger the problem that would ALWAYS mess up the icons in my home folders, namely

- find an email message in Mail with an attachment.

- click/hold the Save button for the attachment, to do a Save-As in some folder (e.g. email attachments folder)

- go back to the Finder, open home folder


I've been saving attachments repeatedly and so far I cannot reproduce the original problem. (knock on wood) So far, my home folder icons remain exactly where I placed them. Even if I Save-As to a folder where I didn't delete the .DS_Store file, my home folder now does not (yet) get messed up.


before deleting the several .DS_Store files, I could regularly cause the problem on 1st or at most 2nd try when doing a Save-As.

but now the problem seems to be gone...

I read the above CNET article and Brett C's post with interest. So I thought I'd give this another shot.


Perhaps it really is related to entire hierarchies of .DS_Store corruption and not just individual folders?


I actually went full-bottle and deleted every single .DS_Store file on my 2TB hard drive with a utility application, which took about an hour! Anyway, I saw all my folders had re-set. I spent about another half hour getting all my folders back to just the way I like them.


Alas, after one evening of stability (and hope) after 5 minutes work on my iMac this morning I found almost all of my folders reset back to the usual "default" : a small window centered in the middle of my 27 inch screen with side bar showing and in list view.


I might not mind this bug if I had an 11 inch MacBook Air, but after spending so much time carefully arranging all my folders just as I like them..seeing Lion do this almost every day is disheartening to say the least. And it seems there's no hope in sight for 10.7.2 based on previous comments.


😢

followup to my previous post


well, I guess it was too good to be true.


for a couple days I was enjoying a trouble-free non-messed-up home folder, even with many many many Save-As attempts. I was optimistic that deleting the few .DS_Store files as I described actually somehow cleared out whatever was causing the folders views to get messed up.


but the problem has returned. 😢

The same problems over here. This has started with 10.6., but with Lion it is really bad. Keeping icons and windows EXACTLY the way the user sets it should be easy (each folder has its own .DS_Store file), but now all my sorting is lost on a daily basis.


Apple, this is really annoying! Forget all your pseudo-improvements (Launchpad etc.); I need a stable topology of icons for my workflows.


Apple, do something now!

here's a quote from the MacRumors forum regarding this problem ... note this is from someone thats using 10.7.2 build 11C55 ... so don't be surprised if Apple ignores this issue as I predicted they would earlier


So that's what has been happening to my Finder in Lion: it seems that every time I use the open/save dialogue box, the Finder will reset my folders from my normal Icon view into list/column view. This is a very annoying bug and it is still present in 10.7.2 build 11C55, so more than likely it will not be addressed in 10.7.2.

Tremendously frustrating. I've always kept my folders and files organized to enhance my workflow. I like seeing where things are and organizing them hierarchically, and I don't WANT to switch to using Spotlight- or iTunes-like systems to manage my electronic world. I spent an hour re-arranging and re-organizing the folders and files on the top level of my hard drive (not my desktop) only to have them randomized an hour later. I haven't opened a sub-folder for over a month since switching to Lion for fear that I'll lose all that organization, too. Not happy working in list mode.


This totally destroys OS X's credibility as a good user interface, and I can't recommend people buy a new Mac with this kind of problem. Can't believe it hasn't been addressed by Apple. Another sign they truly are becoming MS.

Thank God I found this thread... and many others too! I thought I was the only one having the problem and just didn't know how to set up my Mac correctly. When I think back, I had a similar issue with Snow Leopard but I eventually got it working.


I think Mac OS X's instructions for workflow organization is non existent. They need to teach new users how to set default views. At least in Windows the settings actually listened. Either they should make it simple and have, like windows, a default view say Icon Views and have defaulted to all folders, or they should fix the **** bug!! There are probably countless hours of productivity wasted by the total number of users experiencing this problem. The large majority of people don't know that the bug actually exists and thinks it's normal (bad UI). I want my Snow Leopard back, I was happy with it! Just put Mail V5 in Snow Leopard and I'll be in bliss!

Same problem here on a new Mac Mini running Lion! First time I'm this disappointed from a OS X release.

Above-mentioned Desktop Saver For Icon Positions is a nice solution but it only works for Desktop items and not any other Folder content.

I consider this a major flaw and I'm surprised Apple hasn't addressed it yet. I may just reinstall Snow Leopard on that machine.

Hi,


I may have a solution. I tried all the tricks suggested (not external software). Still, often the icons re-arranged randomly to the right side after re-start. Since 10.7 about every time. 😠


A few weeks ago I started fiddling 00004000 with the icon size. Everytime I just touched the icon size control all my icons at the far left of my desktop moved to right side. As if there wasn't room for them at the desktop. Trying to reduce their size didn't make then jump back. I tried different sizes, but no matter sizes the icons close to the left border would just jump to the right side and stay there. Hm, I thought... Is this what trigger the re-arranging after re-start...


So. I tried moving them in, about 100 pixels from left border, restarted and YES they stayed in place. Then I moved them back to about 50 pixels from the left side and re-started, and sure they jumped to the right. Tried 100 pixels from the left again and YES, they do stay in place and did so for several weeks now and about 10 re-starts.


I may have found a way around the bug. A bug that has annoyed with me for years. 10.4-10.7 (but not in 10.5), but only occational before 10.7. With 10.7 it re-arranged every time after re-start. (=dissasterous)



-So try to keep the deskop empty atleast 0-100pixels to the left and see if it helps.

This problem may be resolution dependent, I suspect.


All the best, Roger

(Mac mini 2.7 GHz i7, screen resolution 1600x1200)





/

Pretty bad, that Apple hasn't done something about it yet. How hard can it be to just save the positions of a few icons. Since this is not a new bug, maybe we could atleast have gotten a backup file to reset the desktop, when this happens. Or why not save the positions to a backup file and compare the positions after restart and trigger a patch, for the bug they don't seen to be able to fix. Crap like this sure makes OS X feel like a glossy shell over a pile of mess, now that would be fine, if the mess never showed. -But it does...

Last. How the heck do I report a bug, with a possible workaround to test, to fort Apple? Do I have to pay to help them? 😟

Unfortunately it's not just the desktop that's affected, but every other folder, window and icon as well.

Well, as long as I stay in icon mode only, it seems to remember icon positions in every window as well. If I toggle between icon and list, the icons are still in the same place when back in icon mode.

The problem is that you can't no longer mix icon, list, column views freely and make it stick in individual windows. That was limitation decided by Apple in 10.6?


Yes, this took away a great deal of the genuine mac-feel, usabillity and control. I have been pretty dissappointed since and have more or less been forced to work in list mode only. I can't stand it when the looks of the content of a window changes more or less at random. If I stay in one mode (listview) it stays permanent. It isn't good, but its bareable util something else comes along.

10.7 didn't bring control back, rather the contraordinary. I guess this in line with Apples strategy, of some sort. Much of what feels like bugs probably aren't.

I used to be an Mac fan, but I lost it on the way due to limitating design desicions like this.

I'm so glad to read the pages and pages of comments of people experiencing the same desktop icons issue where they are always rearranging themselves and know that I'm not the only person extremely frustrated by this!


I really hope Apple addresses and comes up with a fix - there are enough other annoying things in Lion already.


I've been an Apple fan for decades but this O/S upgrade has been brutal. I've given up on iCal and switched to BusyCal, I'm trying to find some useability in Address Book, fighting with the search feature in Mail that doesn't seem to find e-mails that I end up having to manually search for, etc.


Looking forward to solutions!

Very good observation! Since you posted, I tried your suggestion on two key folders. I arranged icons in each according to my usual practices, leaving a generous frame of empty space between the outermost icons and the window edges on all four sides. Then I close the folder.


Folder #1: The top-level internal HD folder, which was one of the first I noticed being rearranged. "View Options" set to "always open on icon view"


Folder #2: an "old" folder, possibly dating back to 10.5 on an earlier machine, stored on the desktop, which has always seemed resistant to re-arrangement. No "View Options" setting, just manually set to icon view each time.


The results, opening each folder "sometime later" :


Folder #1 "View Options" setting "Always Open in Icon View " is preserved, but the icons are now arranged in alpha-sort order. (View Options "sort by" and "arrange by" are still set to "none".)


Folder #2 On re-open, the folder now comes up in list view. When I switch to icon view, my previous icon arrangement is preserved.


For Folder #1, then, your suggestion seems to have no effect. For Folder #2, icon positions are preserved, but it isn't clear that this is due to leaving a frame of empty space, because this folder has been much less susceptible to rearrangement anyway, possibly due to its longevity.

Thanks for this discussion -- the bug is driving me crazy. It interferes horribly with my work flow.


Additional info on the bug: it's not just icon placement and size that is corrupted and not just icon view. It is all the folder view options

-- background color is reset to default [I use folder background color to identity similar groups of files at a quick glance]

-- always display in list view is reset

-- browse by icon or list view is reset


Additional info on what causes the bug: It's not just saving a file that causes the bug to appear.

Nearly every time I change view options in a save or search window (for example, when I attach a file in MAIL), many of my folder view options are lost.

Even if I just do a search for a file and don't save or attach it, the folder view info is destroyed.


Clearly Apple does not recognize/care how serious a bug this is . . . my sense is that it actually got worse in 7.1


I think a little "social action" is called for: we should all submit bug reports and feedbacks regularly until the bug is dealt with!


Janet

What's the best/fastest way to report this bug to Apple?

Ok, this is not a "fix" - only Apple can provide that. However, I have discovered a viable work-around that doesn't stop the windows re-arranging themselves in the first place, but makes it a whole lot quicker and easier to restore all your windows to exactly the way you had them before the problem occurs.


There is a $15 shareware program called Finder Window Manager (FWM) that has been around for a while. What it does is let you create any number of "window sets" and them restore them from a drop-down menu should any windows in the set become re-arranged for any reason.


Once the program is running (and I recommend making it a "Login item") you just have to set your windows to the exact way you want to view them, with the proviso that you cannot close any of them until they are all ready - so you may have a very cluttered desktop while you're conducting this first step. Once all the windows are ready, you save them as a 'set', which is then listed in FWM's drop-down menu in the Finder menu bar.


If Lion re-sets any windows in the relevant set, you just go to the drop-down menu and select to restore the set. All the windows in that set are re-opened at once and configured in the exact way you saved them. Although you are then left with all your restored windows open at once, I just press command-w as many times as required to close them all, which only takes a few seconds.


And there you have it. Instead of painstakingly re-setting all your windows manually, you have the peace of mind that they are always saved and ready to restore within a few seconds.


If you have a very large number of windows that Lion re-arranges, you can create multiple sets which can be restored separately fom the FWM drop-down menu. For example, I have a set that fixes all my folders in the root directory of my hard drive, and a second set to restore folders in my User account and all the folders on my desktop, which Lion seems to re-arrange more frequently than the others.


Note that because this program fixes folder views by restoring and re-opening all the windows, it will not fix the desktop icon re-arrangement bug. For that problem there is a program called DIM (version 2.0.2) which works perfectly for me.


Lastly, FWM seems to have a feature that can monitor all your open windows in real-time and keep them fixed to the view settings that you have saved.


Well, these two programs have taken the pain out of the desktop and folder re-arrangement bug and have made life tolerable for me while I wait for 00004000 Apple to fix the underlying problems in the Finder.


I hope this advice is helpful. 😀

I stopped syncing iDisk in Mobile Me and that fixed the problem.

Hmmm, I don't use iDIsk in Mobile Me: and I still suffer under the random re-arrangement.


I do however use "DropBox" for the synching of a couple of documents.


I wonder: do we have any users that use neither iDisk nor DropBox, and still suffer the re-arrangement?

I don't use either iDisk or DropBox.


I observe rearrangement of icons everytime I perform a file operation not in icon mode [for eaxple searching for a fiel in list mode in the Mail attach window]. Others say it happens everytime they save a file.


Also,

It's importnat to note that the bug affects all the folder desplay options (not just icon position)

-- icon size

-- background color

-- always display in list mode

etc.


Janet

I don't use iDisk syncing, and I turned off DropBox and rebooted.


My main folder is set for "Snap to Grid" and "Arrange by None."


I set a group of folders in a particular arrangement, and closed the window. Opening and closing that window several times had no effect.


I then opened Word, saved a one-word document (.docx), closed it, selected "Open," opened the same document, closed it, and quit Word.


When I opened my main folder, everything was completely scrambled. Not just out of order but still in a grid -- icons on top of icons, icons outside the oversized window pane. Basically just a jumble.


View Options hadn't changed. They just weren't working.

P.S. But everything on my Desktop stays in place.

My "solution" of turning off iDisk syncing lasted a few days, but alas my icons are rearranging again. Something in iDisk syncing must trigger the change but must not be exclusive in doing it. Waiting for Apple to fix this hideous bug, I guess. Worst experience with an OS upgrade for me, by far. Lots of things broken, Apple too busy trying to sell iPhones to get OS updates out, it seems. Very frustrating for a long time Apple user.

I have the same problem, and this is very irritating. As I do a lot of art/photo works, it is far better to display the folders with a dark grey background, but this is near impossible in Lion. The only choice is to have the folder view as 'none' in which case the folders are all jumpled up, or view by any other option, i.e 'display by date', which leaves the background colour option shaded and unavailable.

Did today's update improve anything? I am also getting my folders rearranged periodically with no solution in sight...

SunnyvalePGA wrote:


What's the best/fastest way to report this bug to Apple?


http://www.apple.com/feedback/macosx.html

arctophile wrote:


Did today's update improve anything? I am also getting my folders rearranged periodically with no solution in sight...

Not for me, View Options are still the random mess it was pre-10.7.2, just that now I have the ability to backup the random mess to the cloud .... yay!


I hate to say (to billearl) I told you so but, well you know the routine

MaestroCreep3k wrote:


Not for me, View Options are still the random mess it was pre-10.7.2, just that now I have the ability to backup the random mess to the cloud .... yay!


I hate to say (to billearl) I told you so but, well you know the routine

Well, that's disappointing 😟. I've been beta-testing 10.7.2 for the last six weeks, and this problem completely stopped for me with the first 10.7.2 build I tried. So it looked to me like 10.7.2 would be the answer for others too.

and I was honestly hoping to be wrong


you said that it went away for you with the first build you tried ... did it stay fixed with later builds for you as well?

MaestroCreep3k wrote:


you said that it went away for you with the first build you tried ... did it stay fixed with later builds for you as well?

Yes, totally fixed on my system. It's been fine for the last six weeks, including now.


Prior to that, the problem wasn't quite as severe on my machine as some people reported, but many folders frequently forgot their settings and my desktop was messed up several times, enough to be extremely annoying.

well I'm going to have to eat my own words and a huge heaping pile of them at that .... it actually appears to be fixed after all on my machine ... I was comparing 2 different folders entirely ... in other words a very lazy mistake on my part ... time to own up and recieve my public flogging😢

Let's not break out the chanpaign quite yet.


10.7.2 does indeed appear to remember all my folder view option settings (position, background color, etc.)


BUT


In Mail/Attach file, when I use column mode to search for a file and then return to the Finder, my folder appears in colum mode.

I click icon mode and all is well.


Minor annoyance, true, but it means that the bug is not totally erradicated.


Janet

Total disaster for me. At first I saw that icons were staying where they should be, but now I find that whenever I save a file from any app, the app crashes, then the finder crashes, and I have to restart. Well done Apple, you have rendered my computer inoperable, and I need to earn a living by using it. Help - what can I do?

Dackman, could you be moe specific describing your problem.


I'm having no difficulty opening/saving/moving files.


Check out the Console log -- maybe there's an 00004000 error message that will explain the problem.

Sorry - I don't want to hijack this thread into a different topic. I don't really understand the console log, but there are a ton of 'sandboxd' errors in there:


13/10/2011 11:57:33.201 sandboxd: ([509]) WebProcess(509) deny mach-lookup ATS Query Port 365

and some of these

13/10/2011 11:58:02.000 kernel: IOSurface: buffer allocation size is zero

Should I start a new topic with this, and leave this one to the moving icons?

Yes, this sounds like an entirely different problem -- I'd guess some combination of disk curruption and/or an old utilitiy that can't handle the upgrade.


Good luck finding the problem!


[as a first step, you might run Disk Utility/Repair permissions]


Janet

Until now, my desktop has been unaffected by the problem. Just folder icons were scrambled. I just installed 10.7.2, and now all my desktop icons are scrambled.

Yes, I think you're right. On the plus side, despite all my forced restarts my icons are all still in the right place!

So is the general consensus that it has been resolved? Ive rolled back to SL and dont want to reinstall if theres still a chance the folders wont stay put?

My desktop icon problem (decribed on page 7) still persists in 10.7.2.


If I have an icon on the desktop closer than about 100 pixels to the left border, the icons sometimes gets scrambled after restart. After finding this problem in 10.7.1 all icons on the desktop has stayed put, until I tried to move one today...


If I use the shortcut command-J in the finder and try to adjust the icon size, all icons closer than about 100pixels to the left border jumps to the right and wont come back. It doesn't matter if I reduce the size or increase it. These icons still end up on the right side.

All the other icons stay put. -Not like a restart, when all positions gets scrambled.

Mac OS X 10.7.2 seems to have solved my problems. The Finder remembers icon positions correctly and Mail remembers account settings correctly. Knock on wood.

Same here, 10.7.2 corrected the problem. I originally wrote on page 3 of this post. Now my folders are were I left them, and the icons (I use icon view) stay were I left them. Even if I use "save as" in programs everything stays as should. Phew.

10.7.2 seems to have solved it for me.


I've been trying to reproduce the problem for a couple days now since updating and so far my home folder icons are still nicely arranged where I left them. prior to 10.7.1 I could trigger the problem almost every time I saved an attachment in Mail. but not under 10.7.2

According to MacFixit's article "OSX 10.7.2: What if fixed and what it didn't"


the problem with Finder Icon Arrangement "...appears to have been addressed".


Fingers crossed...

On this thread:


https://discussions.apple.com/thread/3364108?tstart=120


"ellegant" posts an account working out with Tech Support a solution that may explain some or all of this issue, or at least why only some of us experienced it, or why 10.7.2 did not help some people: permission problems. The fix: make sure everything on the HD is properly owned and privileged.


It stands to reason that view options of a folder you set while it is open won't be preserved if permissions to write .DS_Store at the time you close the folder are insufficient. It never occurred me to check that. (D'oh!) I more or less consciously assumed that .DS_Store was owned by the System and could always be written by whatever process needed to do that housekeeping. As I observe on my correctly working view-options-saving 10.7.2 system, I own .DS_Store files --at least in the folders I checked-- and Finder is running as a process under my user name, so ... everything is cool. In the process of transferring from an older machine to a new one running 10.7, or installing 10.7 over 10.6.x, permissions and ownership might get scrambled.


HTH

I have not had problems since 10.7.2, except for the root of the hard drive where I deleted the .DS_Store and it never came back (because my user doesn't have permission to write there). But I have now copied one from backup and changed the ownership, and it appears to work.


I read that thread, and it does make sense, but I think the problem is actually simpler. At the command line if you do 'ls -la' in a driectory you will notice that each file has permissions (reflecting those for owner, group, everyone), followed by the owner of the file and the group it belongs to.


I've noticed that the group has been all over, "admin" "staff" and "wheel." One or all of these corresponds to the Administrators group. I suspect that they changed the Admin group in 10.7, so suddenly the process that wrotes the .DS_store was locked out. They may have fixed this in 10.7.2. If that's the case, it's not that you don't own these files, but that the group that would allow you to write does not match. The likely proper fix (which may have happened) was to change the Admin group associated with the userid, not change permissions on the whole drive.

In a reply to myself: "My desktop icon problem (decribed on page 7) still persists in 10.7.2."


It happened only once. The icons have, after re-bootings, stayed put since.





This problem (not much of a problem really, just annoying) still persists:

If I use the shortcut command-J in the finder and try to adjust the icon size, all icons closer than about 100pixels to the left border jumps to the right and wont come back. It doesn't matter if I reduce the size or increase it. These icons still end up on the right side. All the other icons stay put.

Has anyone had any lingering rearrangement problems since upgrading to 10.7.2?


Specifically:


Are the placement of icons maintaining their place and size with 00004000 in folders viewed in icon view?

Are the placement of icons maintaining their place and size on the desktop?

Are the finder windows maintaining their size?


My partner who organizes everything using icon mode in project based clusters of icons. I finally convinced him to make the switch to 10.7 from 10.4 when his iMac G5 started to die. We got him the latest (2011) Mac Mini with Lion. When his workflow was being shaken up by the Lion rearrangement, I partitioned his hard drive and downgraded him to 10.6.8 in order to wait for the fix. Apparently the fix came in 10.7.2. We are hesitating on upgrading. I told him that I will wait for any comments from the boards.


So, are you still having problems?

MathGeekRob wrote:


Has anyone had any lingering rearrangement problems since upgrading to 10.7.2?

10.7.2 completely fixed it for me. Zero problems now...

For me, there is good news and bad news. The icon locations in icon view no longer move around. That was the most serious problem. Unfortunately, Finder still does not honor the "Always open in..." settings. Saving images frequently leaves windows in list view when the "Always open in icon view" is set.

I can confirm this same behavior. The problem is fixed but on occasion windows change views. At least changing them back finds all the icons in the same order. It hasn't been a huge annoyance. If anything it triggers a little PTSD, "Oh no! My meticulous rearrangment! Not again!" 🙂

So far 10.7.2 seems to have solved the problem for me. Icon arrangements are again rock-solid.


Whew!


It is _possible_ that occasionally, I've needed to update the "Always open in..." setting because it has been forgotten. I really haven't taken the time to keep track.

Sorry, not rock-solid


Lion loses the "Always open in icon view." setting everytime I use a non-icon view to search for a file in Mail/Attach (which, for me, can be as many as ten times a day)


As others have said, this is not a big deal -- the fix is fast and simple -- but it does indicate that implementation of view options is still not bug-free.


Janet

Still not happy even if 10.7.2 is clearly better. I cannot keep background color, cannot keep always the same view, cannot get my favorite sorting... The Lion's Finder do what HE want, not what I want, it's a shame !

Interesting.


I have had no problems losing background color -- once I flip back to icon view, all my backgrounds, positionings, etc. are correct.


Can you identify what specific activity causes your system to lose the view parameters?

I'm replying to the OP:


Same here (or similar). This is one of the 30 reasons why I simply cannot adopt Lion as my main OS. No matter how many times I reset my Finder prefs, Lion constantly puts my desktop items in the wrong place, or fails completely to organise them. Having to do it myself 100 times a day is a royal PITA.

Sorry to hear you are still having issues.


Hmmm... What I've experienced and read, plus your observations, suggest:


1) View Options settings take effect and seem to "stick" because they are kept inside the Finder for some period of time.


2) That search operation from Mail causes the Finder to try to store the View Options in a special file -- a normally invisible one called ".DS_Store" associated that particular folder. That's the place View Options are kept long-term.


3) You have a permissions problem preventing you from updating that file. I believe I've heard --and observed myself-- that the process of updating to 10.7 sometimes causes such problems.


If this seems like tekkie-babble to you, I apologize. I'm thinking out loud about a way of explaining what's happening in your case. And I'm struggling to figure out a way you can test this theory.


Hmmmm... if this happens with respect to a particular folder, but not in other cases, that would support an "update-caused permissions problem", because as far as I know that issue occurs randomly and rarely. If this issue occurs for every folder you test --including new ones you create for testing-- consistently, then... D'oh, I have no idea what's going on.


Take a look and post back. Does this issue occur with every folder, including new ones? Or just isolated folders, ones that existed before you updated to 10.7?


HTH

Tom in London wrote:


No matter how many times I reset my Finder prefs, Lion constantly puts my desktop items in the wrong place, or fails completely to organise them.

Maybe a corrupt .DS_Store file. Have you tried deleting the .DS_Store files from your Home folder and Desktop folder?

For Henry:

the problem has zero to do with which folder I'm in and everything to do with what operation I'm performing

and

it's totally consistent, not random.


In Mail, everytime I switch to column view in order to search for a file I wish to attach to an email and then select the Finder button, my folder shows up in column view. I clcik icon view and all is restored. Finder continues to behave correctly until I perform another attach.


For Tom:

You are discribing what we all experienced with 10.7.0 and 10.7.1

10.7.2 corrected nearly much of the problem only a few small bugs remain

Hen3ry wrote:


It is _possible_ that occasionally, I've needed to update the "Always open in..." setting because it has been forgotten. I really haven't taken the time to keep track.

Same here. I think Snow Leopard did this too. Hopefully fixed in a future update.

MathGeekRob wrote:


Has anyone had any lingering rearrangement problems since upgrading to 10.7.2?



10.7.2 fixed the problem for me. none of these icon arrangement problems since updating ~4wks ago


prior to updating, when the problem was still occuring for me, I had been periodically deleting the .DS_Store file in my home folder and restoring a known good copy saved with home folder icons arranged as I wanted. I had this "good" copy of the .DS_Store in place just before I updated to 10.7.2


perhaps those of you still having problems after 10.7.2 might try deleting the .DS_Store file in problem directories and seeing if things are fine after that??

jannus:


I have no doubt that the Mail.app search operation you are performing is the trigger. That trigger has been widely reported.


I am trying to understand if some folders are more likely --or certain-- to suffer View Settings loss, while others are relatively --or completely-- immune. (That is what I observed before the 10.7.2 update.)


If the trigger always causes View Settings loss to all folders, then we users have little hope of fixing the problem. In this case, we should concentrate on reporting the conditions and symptoms as clearly as possible to Apple at http://www.apple.com/feedback/macosx.html. I'm sure some Apple people read this forum, but that doesn't guarantee the issue will be noticed; it is much better to use the official reporting link directly.


However, if the trigger only causes loss to some folders, we have some hope. If that is what you are seeing, then we can look at what is different about those folders. If so, it is at least possible that we users can do something to change those folders that are affected. I've seen some evidence of this possibility.


So, again, please tell us if the trigger affects all your folders or only some of them. I assume that you are referring to folders that are open at the time you do the Mail.app search trigger, but please confirm this and tell us about any other conditions that might be relevant.

I have multiple hard drives, each of which are partitioned into two volumes. One of the volumes in each hard drive is used to store photographic images. I routinely store images from Photoshop CS5 to folders in my hard drives. I use the column view when navigating to find the correct folder for an image. After the store is complete, I almost invaribly find that the top level of the volume is in list view. The lower levels usually are in the view set in "Always open in..." Fortunately, when I go to icon view, the icon locations are correct. Lion still does not honor the "Always open in..." setting after browsing in a Photoshop "save as" operation in comumn view.

I've come across what I suspect is a new aspect of the same old Finder-loses-folder-settings problem:


When I restart my computer (for Software Update, for example), in Finder/Preferences/General the "New Finder Window shows" option is reset to the default.


I have to restore my setting everytime I restart.


Hardly a major problem, but yet another indication that the code for the Finder is still full of bugs.


Note: I've reported the problem with Apple Feddback


Janet

I found that the 10.7.2 update essentially fixed the problem of folders reverting to the default view type.


However, I was experiencing some lingering problems with some folders located in my User folder.


Following system restarts or relaunches of the Finder, folders located inside the User folder would still revert to default.


I found that resetting the "Home Folder Permissions and ACLs" was the answer to this problem. Since booting of my Lion DVD and running this process, I have not experienced any folder view resets.


http://osxdaily.com/2011/11/15/repair-user-permissions-in-mac-os-x-lion/

I managed to pull the wrong usb drive, one that was still mounted (while mac mini running 10.7.2 was sleeping). A third of my desktop was again resorted to the right side of the desktop, some folders that was on the right side jumped a bit to the right or up/down. A mess.

Sigh.

This *STILL* isn't sorted out in 10.7.4. W-T-F?

I have found that my folder locations inside of another folder have been remembered since 10.7.3. 10.7.4 still does not honor the "Always open in icon view" and similar settings after I do an "Open" command and browse for a file. It is a nuisance but it would be nice to have it fixed.

I haven't installed 10.7.4, but speaking for 10.7.3...


It seems to me likely that Apple's side of the problem has been mostly sorted out. To review:


Some of us were affected after we installed 10.7.0. In some cases our previous view settings for specific folders were scrambled, and MacOS ignored our attempts to set those per our needs using "Finder-->View-->Show View Options". (I nearly always want unsorted icon views, for example, so I can arrange the icons according to my workflows.)


Thinking about it, this really seems to describe two fairly distinct issues: 1) scrambling, which clearly was a bug --almost certainly in the Finder-- and 2) not saving new settings.


From the reports I've seen on this forum and others, scrambling was eventually fixed, by 10.7.2, if I recall correctly. But a small number of people reported problems afterward. I didn't systematically examine those reports, but it is my strong impression that most of them could be explained by a failure to save new settings.


If Adam Meath's post of 2 Jan 2012, above, is correct --and I believe that's very likely-- not saving could be explained by permissions problems. Here's my theory: it is not clearly documented, but almost universally agreed out here in user-land that view settings are stored in each folder in an invisible file called .DS_Store. If the permissions for this file were garbled, then it is possible view settings couldn't be changed. In 10.7.x (at least) the Finder runs at the current user's privilege level. There's no hope that an all-powerful system (Root!) could simply override. According to the referenced OSXDaily article, the hidden option in Disk Utility resets only home directory permissions and ACLs, but I'm guessing it has the indirect effect of correcting permissions and ACLs on .DS_Store files generally -- for files belonging to the current user, anyway.


How does this happen? I think there's a third issue: 3) When migrating to a new MacOS, file permissions sometimes get mangled. Verfy difficult to prove, but that's my impression.


In addition, I imagine that it doesn't help that the not-publicly-documented format of .DS_Store files was very likely updated to support new 10.7.x features. So update-time or at the point of first-opening each .DS_Store file under 10.7, there was yet another opportunity for glitches.


It could be really helpful if someone using 10.7.3 or 10.7.4 and experiencing this problem repeatably could take the time to examine the full permission settings of the .DS_Store file in the affected directory. Compare them to the settings of the same file in an unaffected directory, and then apply those settings to "failing" .DS_Store file. It would be really nice to nail this down. Or, disprove my theory -- that would be helpful, too.


I think this would require using the Terminal to reveal the all the permissions for these files, including the ACLs. Other than their existence and the fact that ACLs can affect file access, I must admit this area of the OS is beyond my knowledge. Someone more tekkie than me...?


HTH

Contrary to my message, I may have solved my problems. Let's say that I am in Photoshop and I want to save an image to a disk drive. I would navigate to the disk drive in column view (I have several) and folder and store the image. I would then find that folders set for "Always open in icon view" would open in list view when double clicked. This navigation would typically begin by double clicking a disk icon on the desktop and successively double clicking folder until I got where I want. Somewhat by change I realized that while I had set the "Always open in icon view" in "all" my windows, I had not so set the desktop to that setting. I have done so and have not had any problems so far. This is tentative as I have thought that the problem was solved before. Perhaps an unset state can propagate forward while double clicking and override the setting on inner folders. My recommendation is to endure that all folders have the desired opening state set. I set "Always set in icon view" but do not set "Browse in .... " I am not at all clear what this latter option is. Anyways, it is worth a try for those who still have some problems.

Still bad sometimes, even under 10.7.4


It is pitiful and the most annoying bug on Mac ever.

Same issue for me on 2 machines (iMac & MacBook Air) both on 10.8.4. Driving me nuts !! 😠

Even when I have a look at a messed up folder and try to restore the .DS_Store file some days in time it is ok some other days it is all messed up). Impossible issue, real annoying.