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.

How do keep folder icons from rearranging?

Since upgrading to Lion, icons in various folders keep rearranging themselves. I arrange them manually but the arrangements don't always stick. Some folders are ok and some are not. Deleting the .DS_Store folder does not seem to help. Ideas?

121 replies

I can only assume you already set the Finder preferences>View>ViewOptions>Arrange Sort By to None

Yes, I set "Sort By" to None and "Arrange By" also to None. I just rebooted and things are ok so far but that has happened before. This may not be a Lion thing as the management of icons has been flaky in the past. I will see how it goes.

Have you tried "Use as Defaults"?


Open a Finder window > View > Show View Options > Set your view preferences > Use as Defaults (at the bottom)? You can set you preferences for each view (List, Icon, etc..)


Now, whenever you use that view, it will set that Finder window to your preferences.

I've been having this problem too since upgrading to Lion - never had it before. The icons rearrange themselves alphabetically despite the settings. I've had to put them back where I want them twice in the past couple of days, and they've just rearranged themselves again - it's driving me crazy. I'll try your suggestion, Bruced, and hope it works!

Ok. Assuming that folder 1 contains folder 2 contains folder 3 and 4. It is my understanding that if I set "Use as Defaults" for folder 2 that all subfolders like folder 3 with icon view will be set to the same view options as the original folder. Is this true? Also if a subfolder like folder 4 is in list view, it will not be affected. Also true? Finally, I assume that the "Use as Defaults" does not affect folder 1 containing the folder 2. Also true? Thanks in advance.

I've had this exact same problem. It is definitely one of the many buggy problems in Lion right now. I rearranged several times. It would be OK for a while, and then they would get rearranged again. I couldn't find any way to fix it. It was one of the many reasons that I decided to throw out Lion and go back to Snow Leopard. Lion is just terrible. Of course, I won't even try to get my $29 back. 😠


At this point you have three choices: Get used to an arbitrary change you don't like (a helpful attitude for any Mac owner, LOL), wait 6 months for an upgrade and hope they fix it, or pull out Time Machine and revert to Snow Leopard.


Good luck.

No, whatever default you set the parent folder will not be applied to the subfolder; you can have different views for different folders.


The preference for that view is what 'Use as defaults' is all about (e.g My preference for Icon View is: icon size as 128x128, grid spacing max, text size 13, arrange by Name).


So whenever I choose icon view for a folder, it will use those choices as the Icon View default.

Sorry to report that 'Use as Defaults' doesn't help. My icons have rearranged themselves twice again despite setting None as the sorting default.

I have the same problem. I have a bulletin board of project cards, each card is business card size. I also have a folder on my system, that I keep in icon view. The placement of the icons mirrors the placement of the bulletin board. So when I move a card, I also move that same icon.


Now, the system is all messed up because all of the icons move. Nothing has been able to fix it. Frustrating.

Beginning with the system folder, I have set to icon view, arrange on none, sort on none and set for default all folders that contain things that I want to stay put. So far, after a couple of days, things have stayed put. I do remember that I have had similar issues in the past and with patience, the issue seemed to go away with patience. I have no clue what is happening, that is my emperical observation.

I do thing that Apple has likely changed how this all works do maybe it takes some time for things to clean up in my system. This is likely caused by upgrading an older system (OS 10.6.8) rather than a clean install and perhaps the use of older applications that may also affect things. Time will tell.

I also think Lion has a new feature, where the icons will move as you resize the window, so no of the icons get hidden.


I don't know a way to keep one folder window the same size all the time, so if the window size has changed, then the icons will likely be rearranged.

The icons are not rearranging because the window size changed (my icons are happy to be hidden off the edge of a window), they are rearranging for no discernable reason. Despite the default settings, they have just put themselves in list view (which I never use) - that's a new variation.

Same for me, many many problems despite my clean up install 😠

Snow Leopard had also many issues with 512 pixels icons and random rearranging, Apple did bad job about this.

This behavior is absolutely infuriating. If it weren't such an epic hassle, I'd revert to Snow Leopard just so that I could view my files the way I want, rather than the random way that Lion's buggy Finder wants. To the people on this page offering helpful troubleshooting suggestions, this is not a settings issue, or a permissions problem. Bad coding is the cause, and good coding in some future release of Lion will be the only cure.

When you put many new pictures in folders, (may be hundreds, not yet counted) the Finder crash, and reboot. So you lost all your finder settings.

It was the same under Snow Leopard. The only progress under Lion is, after crash, most icon still appear correct (512 pixels, but not all), under SnowLeopard most icon appeared 32x32 pixels !

Most icon come back to correct (not all) after close and reopen session. Restart seem more efficient... sometimes...



So I agree withe "unpeople" there is a real coding problem !

Come on Apple The new spluttered king of the desktop is just pathetic !

I don't think thats what were talking about here and i have found how to make the icons randomly change here the video explaining


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

Yep, Same here and it's driving me nutts. I have my icons scambled several times a day.

Here is a reference I found that tells a lot. I'm not sure it solves all issues but it is illuminating.


http://arstechnica.com/apple/reviews/2007/10/mac-os-x-10-5.ars/12#divided

Thats is 3 years old and this wasn's a issue with 10.5 or 10.6 but it is with 10.7

I had the same problems with 10.6. I don't remember about 10.5. The problems went away in 10.6 presumeably since I kept setting the "Always..." flag in the appropriate way. I am now seeing if this works in 10.7. So far, things have improved significantly. I also have always set the second browser flag. This new setting implies that the format of the .DS_Store file may have changed. Time will tell if any of this really works.

I have a work around for the few folders where the icon positions are ve 00004000 ry important. When I know they are opening correctly, I save the .DS_Store file in the folder with the command


sudo cp .DS_Store DS_Store


in the appropriate location. When my icons go south in a folder, copying the stored file back saves a lot of work.

I should have mentioned that the reference I found was part of a review of Lion so I assumed that the discussion applied also to Lion. Here is the URL for the more current article.


http://arstechnica.com/apple/reviews/2011/07/mac-os-x-10-7.ars

Heres a video of what i'm talkign about not sure if this what your saying or not


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

That is similar but I never use the browser view so I don't know the correspondence between what I see and the movie. I always use the "spatial" view and icon or list withing that view. Spatial in this context means non-browser (non-tool bar and non-side bar). I just open and close disk drive and directory windows. In this context, I sometimes find that the icons have moved when a folder or disk drive is reopened. Actually, I recently opened all my key folders where the icon position is important, opened "show view options," set "Always open in icon view," set in "Browse in icon view" and close the view options window. Things have been stable for a while. We will see.

This was such a nightmare that I have reverted to Snow Leopard. Lion has some nice features but I simply can't work with my icons rearranging themselves. I need to know where to find folders, and I don't think it's unreasonable to expect them to stay where I put them.

So frustrating. I'd like to add that I also experience this bug. Icons has never rearranged themselves like this.

@leonfromalexandria - has that worked? Have the icons rearranged? I have had to redo my main folder up to 5 times in one day and its driving me nuts!!!

Nothing has worked so far. I have stored the correct .DS_Store files and rewrite them when necessary. Hopefully, Apple will fix this problem soon.

I tried the .DS_Store files, but haven't been able to successfully make the restore work. Do you have to be logged in as root in order for the replacement file to actually take effect?


I ended up taking one of my folders and just sorting it by "Label" and using the silly color labels. Its not perfect, but at least its not rearranging them every 30 minutes.

Generally, I have to use


sudo cp .DS_Store DS_Store


and provide my password to store a good file. To restore, I use


sudo cp DS_Store .DS_Store


and a password. In the above, you have to be in the directory involved. Otherwise, you have to do something like


sudo cp /Volumes/data.b/.DS_Store cp /Volumes/data.b/DS_Store


for backing up where data.b is one of my volumes. Longer paths would be necessary for more deeply nested directories. Hope this helps.

I can chime in here as having the same issue the moment I upgraded from SL to Lion. I have some project folders that I have very carefully managed in icon view that are getting shuffled inconsistently throught the day. Initally, I moved all the folder items and got everythigng layed out as it was, but stopped doing this once they kept getting scrabbled over and over. I also noticed that sometimes the view options removed the checked boxes for "View by Icon"- really weird. I REALLY hope that this issue is fixed in an OS update soon. Has anyone heard if this is being recognized by Apple and planned on being addressed?

I'm having this problem too.

I have a bunch of files and folders in my home folder, arranged manually. They get messed up randomly by OS X Lion Finder.


the triggering cause seems to be when I Save a file in some app, via the Save/Save-As dialog box that pops up.


first, here's my setup:


My home folder's view options (Cmd-J) are set to:

- always open in icon view

- browse in icon view UNchecked

- arrange by None (i.e. manually arranged)

- snap to grid

- icon size 32x32


normally every time I open my home folder, all the icons are just where I left them (as they've always been for every other version of Mac OS I've used!)


now, here's how to reproduce the problem, at least in my case:


- open home folder in icon view - all icons are neatly arranged where I put them manually

- select all icons, do a View/Clean up selection, just to make sure they're all on-grid

- close the home folder

- open Mail app

- choose an email with an attachment

- save the attachment to the home folder, via the dialog box that pops up

- go back to the Finder, open the home folder

- now all the icons are messed up, many moved to different/random locations, many of them off grid, some of them overlapping other icons



perhaps others experience this problem can confirm if the Save dialog box is the triggering action in their case.

definitely a bug in Lion. very annoying.

Brett C wrote:


perhaps others experience this problem can confirm if the Save dialog box is the triggering action in their case.


Yes, that's what triggers it for me, too. It happens most frequently whenever I save an image from Photoshop to the Desktop.

I agree that the Save dialog box does somehow scramble icon arrangements. Also the Save As also seems to cause difficulties. I also find that icons are sometimes scrambled in directories starting at the the hard drive and going to the folder where a file is saved to. In other words, folders in the chain from the hard drive to the destination folder can also be affected. I have experimented with different settings in the Show View Options dialog box but nothing seems to make any difference. This would certainly seem to be a bug of some sort. Does anyone know what the "Browse in icon view" button does? I have become confused as to the distinction between "browsing" and just opening successive folders. Any 00004000 ideas?

Since upgrading to Lion, icons in various folders keep rearranging themselves. I arrange them manually but the arrangements don't always stick. Some folders are ok and some are not.


I've got the exact same problem. And even worse: I often loose the Spotlight Comments of many recently saved files.

I, too, have found that OSX Lion thinks it is smarter that my iMac or me. I arrange my desktop to my liking and it will be fine for a day or two, sometimes a week and then it will arbitrarily and randomly rearrange the icons to an inverse alpha order. Frustrating. I have reloaded Lion to no avail. The problem does NOT occur on my other Macs. Just the iMac. Any suggestions?

Add my name to the list of those who are experiencing this problem...on both my MacPro and MacBookPro. This is very frustrating. I hope Apple fixes this soon!

I feel like Apple silently tabulates the furor of a mistake until a tipping point is reached. Then, and only then is there even an acknowledgement that they are considering a remedy.


I very much like the product. What I don't like is the "we are God and answer to nobody" attitude, until that tipping point is attained.


Until then, it's a "feature", right? Call it "Lion Diversity Finder Array Displacement".

I don't know if it will do any good, but I did submit this issue as a bug with Apple. Hopefully, they will have it fixed with one of the next updates to Lion.


In the meantime, I do know that leonfromalexandria's solution using a terminal window and the sudo cp .DS_Store DS_Store does work to quickly restore your icons.

Not quite. When I am sure that a window is opening correctly, I use


sudo cp .DS_Store DS_Store


to make a backup of the .DS_Store file. To fix scrambled icons, I do the reverse command.


sudo cp DS_Store .DS_Store


You have to be in the particular folder for the above. In reality, I have set up an executable script that simultaneously restores a bunch of folders executable from my home directory. That is where Terminal starts from.

Same problem; it is annoying. Haven't been able to solve it. Fortunately, it doesn't affect me much. But, I can see how it might cause some to tear their hair out.

Same here. But only in my "Home Folder"..

Pretty annoying.

Knock on wood, but it appears that today's update to 10.7.1 has done the trick for me. I resorted dozens of folders that have consistently scrambled since upgrading to Lion, and all of my icons have maintained their positions so far, despite my doing all the sorts of things that have previously triggered a scramble, including logging out and restarting. Has the update fixed the problem for anyone else — or, conversely, is anyone still having the problem under 10.7.1?

I'm on 10.7.1. Still have the same problem. It even seems as if it occurs more often now..

Running 10.7.1, no joy. Icons still loose their positions.

Same problem here. :-( Really hoping this gets fixed soon.

Still experiencing the same problem despite the 10.7.1 update. I just don't get it. How could such an obvious issue get past the launch and the first update. I really don't want to resign to view by list for the nature of organization of my projects.

updated to 10.7.1 and the problem still occurs


every time I do a Save As from some application like Mail or Safari, when I re-open my Home folder the icons are all messed up again.

unpeople wrote:


Has the update fixed the problem for anyone else — or, conversely, is anyone still having the problem under 10.7.1?


Seems to be fixed for me so far (keeping fingers crossed). There's always the possibility a software conflict may be contributing to this problem too. The process of updating Parallels used to cause similar problems for me a couple cats ago. Just a thought.

as noted elsewhere, this seems to be caused by opening a save as dialog from another app. whatever the cause, this really needs a fix, it's becoming increasingly annoying, 10.6 was fine in keeping folder views as set, lion just seems to have a mind of its own. the set as defaults is only good if you want all folders to look a particular way when opened. 10.7.1 didn't fix this.

This is happening for me too, in 10.7 and 10.7.1. I don't need to do a 'save as' either. Sometimes I just close a window and when I open it the icons have rearranged. Often the whole window is moved and resized too - very frustrating. Not only that, but whenever I restart, any folders that had image backgrounds lose the images.

unpeople wrote:


Knock on wood, but it appears that today's update to 10.7.1 has done the trick for me.


It turns out that my success with the 10.7.1 update was short-lived, and as of yesterday, I am back to regretting ever having "upgraded" to Lion.

unpeople wrote:


It turns out that my success with the 10.7.1 update was short-lived, and as of yesterday, I am back to regretting ever having "upgraded" to Lion.


Happening again here too, but not as frequently under 10.7.1. Apple obviously has to fix this quickly.


Some of the new "features" need rethinking too. I can't recommend Lion to anybody yet.

I think it is a fundamental problem that does not only affect the Finder. Now Mail does not save account behaviour either. So maybe it is a bug related to this new save state feature. However it is a very annoying problem that makes Lion feel like a very buggy OS!

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 ℹ

this problem has existed since installing lion 10.7.0, i haven't attempted to trash the .ds_store file in the root folder, has this worked for anyone else?

I had opened a separate thread on this which had no replies.


After trying a few things I have found a workaround which works for me: save to desktop and the folders stay the way I put them. Then drag the document into where you want it. The next time you open 'save as' it will offer desktop as the first choice, and not rearrange the folders.


For me it seems to be the act of saving rather than the opening of the 'save as' window which rearranges them.


I'm glad it's not just me, but the search in this forum didn't get me to either of these threads so I've been very puzzled.

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.

A possible cause.


I had not had this problem until Lion 10.7.1.


I discovered that in a separate log-in the "all my files" view was set differently. I reset it, logged out of there, and tried saving documents and from Mail - so far so good.


I'll let you all know whether this is a solution in a few weeks.

interesting observation re: All My Files view possibly having something to do with it


in my case, I only have my 1 userid. and the problem has happened ever since 10.7.0 for me. However I gave your idea a try anyhow. my All My Files view was set to "arrange by Date Last Opened (meanwhile Home folder set to Arrange by None)


I changed view settings for All My Files to Arrange by None, logged out then logged back in again


then I tried my usual trigger for the problem, i.e. Mail, save-as an attachment to some folder.


but the problem still occurs for me. if I get a chance I'll try some other setting combinations, in case there is some kind of effect with the All My Files view...



an aside: I notice that every time my home folder gets messed up, it's the same identical icons that get moved, and they all get moved to exactly the same place. anybody else notice this too?

to clarify the problem on my end, which, incidentally, i don't think is linked to 'all my files', seemingly at random, when the mac feels like it, a given folder, when opened, reverts to another view and/or sort by order.


so, for example, let's imagine all finder windows are closed across the system. then move over to the dock and click the finder icon to open the home folder. set the view to list and sort by name. close the window, so no finder windows are open.


some time passes, you go back to the dock and click the finder icon. the home folder opens, only now it is in column view, not list view as it was set earlier.


this behaviour is repeated across all windows, but only the home folder when accessed via the dock finder icon, reverts to column view. other folders are re-sorted by other fields, and all field views are reset, i.e. if i had set a folder to show the label column in list view, and sorted it by date modified, when i go back to that folder at a later time, the folder is now sorted by name and the label column is gone from view.


the set as defaults option makes all finder window views the same, and even then the problem occurs after a time.


this is a major problem that desperately needs a solution.

I thought this trouble is caused by Total Finder. I even disabled it for a week now. But... now I read here it is the OSX Lion that does it. I even updated to 10.7.1 hoping it would change antything. It did not. Always when I save as into a folder (in my case from MS Word 2011), the finder looses file and icons arrangements. I am a visual kind of person, so I've been so lucky for past 4 years since move to Mac with 10.4.11 Tiger and then with 10.6 Snow Leopard that wherever I put a file, it stays, rock solid. So I find it afterwards. Now imagine my PhD research thesis materials that were sorted in that way for 4 years... F***!!! Everything in my file order is messed up, uhm.. well okey.. set alphabetically. What the h***? Now that issue is a MAJOR problem in Lion. Please fix it soon!

Same problem here. Per Apple: let your frustration be know at www.apple.com/feedback

Thanks you Yvess. I did just that. This is a major bug and has created a lot of problems!

You would think that Apple might read this and do something about this annoying problem. I have had the same root directory since 10.1 (more or less) always organized by icons. Never had this problem before Lion. Now it happens all the time and I am on 10.7.1. PLEASE Apple, fix this rediculous error!

It is unbelievable that a new system would be released (by Apple) with an issue so glaring, unresolved!


From Microsoft I expect this, not so from Apple.


If the next iteration does not fix this, it's back to Snow Leopard for me too......

My sentiments exactly. If the next release does not fix it, I'm reverting to Snow Leopard. I will miss some of the newer features but, at least it worked properly.

Well said, and important to be patient until 10.7.2, which will be soon.

I think I may have found something that is a factor in my experience of this problem. I use ClamXav Sentry to scan my Downloads folder and my Desktop automatically whenever a file changes in either folder. Well, I noticed that it was scanning the .DS_Store files, too. It occurred to me that this might be corrupting the file or confusing the Finder. So, I configured this antivirus app to ignore .DS_Store files. This seems to have resolved part of my problem. It appears that the Finder no longer forgets the placement of the icons in these windows.


However, I still have the separate problem of certain windows not remembering the kind of view I've chosen in the "View Options" (i.e., icon, list, column, cover-flow). The finder still seems to forget this setting randomly on certain folders.

This usually involves corruption of the .DS_Store files. Deleting only one in the folder with the problem usually won't fix the problem as it derives it's defaults from the parent folder, so if it's corrupted the issues will continue. Best bet is to delete all you .DS_Store files, spend a few minutes readying your preferred views and be done with it. At least that's how it used to work. No telling what Lion might have done to complicate things.

right then,


in an attempt to resolve this issue, i have taken the step of wiping every .ds_store file from the system.


apparently, there are third party apps to do this but i used terminal with the following command



sudo find / -name ".DS_Store" -depth -exec rm {} \;


i will report back with results when i see them.


should you want to use terminal, and do what i did, you do so at your own risk. also, you might want to turn time machine off completely before you go ahead with the above and turn it back on after.

I wish you best of luck. But I am afraid this won’t help. I have already tried deleting several .DS_Store files without positive results.


I suspect the whole thing is a more general problem, i.e. Lion does not only forget Finder settings but all kinds of preferences.


http://www.google.de/search?q=mac+os+x+lion+preferences+not+saved


So probably only a fix by Apple will help solve the problem.

not to be a downer but I tried this a couple weeks ago to no avail ... but if it works for you then I'll be even more confused 😁

FWIW you can easily delete all the .DS_Store files on your hard drive, or just those in any selected directory path using the free utility OnyX



not to rain on your parade, but I have done this before, but can confirm in my case it does NOT fix this problem.


Actually, just for kicks, I just deleted them all again, rebooted, and now a few minutes later my icons are messed up again.


as I've noted earlier in this thread, or perhaps other similar threads about this problem, simply doing some file Save-As from Mail or Safari eventually messes up my home folder icon placement. It's very repeatable. and extremely annoying.


Somewhere, OS X Lion is probably corrupting the .DS_Store files, and clearing them all out does nothing to solve the root problem 😟

so far, so good, though whether i've spoken too soon remains to be seen.


for clarity, the actual process i followed was this;


close all instances of finder.


open terminal.


type in the command as above in my previous post, take heed of the warning about the sudo command.


type in the admin password.


sit back.


now, here is the bit that raises a question or two.


when i did this, i had time machine turned on, but no backup drive connected.


in the terminal window, meanwhile, a prompt repeatedly appears on occasion asking whether to override the permissions on certain .ds_store files, all of which reside in directories found in the mobile backups folder. i said no to each prompt each time.


then, after waiting an age, while the process in terminal was still running, i turned time machine off completely, risky. the terminal process promptly finished, while it responded to no time machine with a repeated message along the lines of directory not found.


expected, as i'd effectively deleted the mobile backups folder.


restarted.


opened a few finder windows, changed the view options, did NOT click set as default anywhere.


turned time machine back on.


that was about 5 hours ago, and no finder view has changed yet.


this is making me think that perhaps the local backups, in particular the local preference backups, have something to do with the view preferences being messed up. or the fact that i left remember windows checked when i restarted.


i'll wait and see some more.

To repeat what I posted earlier, I would suggest waiting for 10.7.2 (which I am testing) rather than inflicting additional pain on yourself by mass-deleting .DS_Store files.

ok, all was well until i restarted. back to square one and waiting for apple to fix this.

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

I don't use iDisk or Mobile Me and still have the problem.

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.

There is a free applescript studio app called Desktop Icon Memorizer (DIM) v2.0.2 that works in Lion. It has two functions: It remembers the positions of your desktop icons. It restores them when they get messed up by Lion.


You can get it here:

http://parker9.com/desktopIconManager2.0.html#d


User uploaded file

It also includes the original applescript in the download for people curious on what it was built on, as well as the xcode project. It's donationware and not crippled. I'm not affiliated with DIM or the coder but always looking for easy solutions to problems that will probably get solved in an OS X update or two. 😉

That is great, and the xtools files are a bonus, but the desktop icons are the only ones that stay where I put them, it's the icons in the folders that move around uncontrollably....

ditto that .... my desktop icons are the only stability I have as well, its everything else that doesn't maintain view option settings that I set ... also I do not, and never have, used MobileMe or iDisk syncing, as stated in the earlier posts


has everyone made sure to send a bug report to Apple? http://www.apple.com/feedback/macosx.html

after updating to 10.7.2, the problem remains. any further ideas?

mrsuki wrote:


after updating to 10.7.2, the problem remains. any further ideas?

Sorry to read that 😟. 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 and has remained fixed ever since. So it appeared 10.7.2 would be the answer for most others too.


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.


Only idea I have at the moment is feedback to Apple.

10.7.2 update may have fixed it for me.


I've tested by creating Pages and Numbers documents and saving them, and by either saving or opening then saving Mail attachments, seems ok.


I took the precaution of setting the folder arrangement before updating though, in case that made a difference.

so far, the only folder that has the problem is the home folder which randomly switches back to column view instead of list view. all other folders are sticking to list view for the moment.

10.7.2 appears (so far) to have fixed the problem for me too.

nickfran wrote:


10.7.2 appears (so far) to have fixed the problem for me too.


same here, 10.7.2 seems to have solved it. (knock on wood)

The Icon issue appears fixed so far, now if I could just get my external drives (firewire and USB) to mount every time without a struggle, I'd be back to a good place!

Not perfect but finaly acceptable.

I still have some troubles sometimes, lost color back-ground or icon size...



New item arrangement options are annoying and uncoherant. Especialy under french translation who is too bad.

I hope Apple still work on the problem



10.7.2 should be the first release, we spent 3 month with a good beta, but beta anyway, I cannot be happy about this.

Seems better here, too. I used to have the rearranging icon problem upon saving an edit in QT 7. It's interesting that QT 7 now saves vids more appropriately (it now changes the mp4 file you're editing, and saves as an mp4; before it changed it to a .mov file).

Still lots of problems with the finder for me. Funky stuff. Wrong folders open when trying to use spring loaded folders to move items, Finder froze while drag copying items a couple of times, QuickLook still usually opens a big grey window until I hit the space bar again and then again to get it to reopen correctly, etc.

10.7.2 has NOT solved this problem in total. I continue to consistently get some of my desktop icons thrown over to the right side of my desktop after restarts. This problem is specific to Mac OS X 10.7. I note a partial prevention of the problem in 10.7.2 but NOT a cure.


The bug remains, if somewhat attenuated.

Upgrading to 10.7.2 fixed the problem for a couple of days, but today the Finder reverted back to its maddening new "normal" again. The only thing preventing me from putting my fist through my 30" Cinema Display is the thought of my cat hurting herself on the small pieces of broken glass.


I hate using my Mac now.

I started this thread oh so long ago. 10.7.2 seems to have solved my icons loosing their positions in my folders. There are a couple of other issues that I can live with. If you are still having trouble with folder locations, then you might remove the .DS_Store file in the offending folder and reset the icon locations. That might work now. The other work around that I have been using is to store correct versions of some .DS_Store files and restore them when necessary on the Terminal.

I think I covered this earlier, but .DS_Store files initially inherit their settings from the parent directory (folder). If the parent directory's .DS_Store file is also corrupt, deleting only the problem one won't permanently solve the problem. Either delete them all or delete them all the way to the root directory.

While we wait some more for a full solution, hopefully in 10.7.3, here are two workarounds:


hacintosh has previously suggested the free AppleScript app Desktop Icon Memorizer (DIM).

http://parker9.com/desktopIconManager2.0.html#d


Desktop Saver from Piero Garzotto is an alternative AppleScript app, one I now keep permanently aliased on my desktop. It is dead simple. Run it, Save your desktop. The next time Lion mangles your desktop, run it, Restore your desktop. I works perfectly.

http://usemac.altervista.org/ds.zip


User uploaded file

This just keeps getting worse and worse. Now, when I try to change the view settings of a folder, its parent folder's view settings change simultaneously. I can literally drag the icon size adjust slider for one of the windows, and watch both windows' icons scale in tandem. In fact, I can't alter either window without one reflecting the other's changes. On top of that, somehow all of my icons for those windows are squeezed together as if I had a very tight grid spacing, even though the grid spacing slider is maxed out.


{ Insert every foul epithet you can imagine, screamed through a bullhorn, here. }


Also, with all due respect to the many thoughtful people who have posted workarounds here, saving a backup of invisible .DS_Store files and using the Terminal to restore them, or running an AppleScript to automate the process, is not a reasonable solution. If I'm going to be doing that sort of thing, I might as well be operating entirely from the command line, or running DOS. The simple fact is, Lion's Finder is very poorly programmed, and the only real solution is for better programmers to fix its many problems.

I posted the following previously and it ended up under multi-monitors. I repeat it here and have added to it:


I posted this with OSX 10.7.1


One of the reasons I hated Win XP was that this brain dead OS kept throwing my desktop icons from my second monitor on to my main monitor. Since moving to Lion, my icons periodically get tossed from my external Dell monitor to my iMac's screen. This is INCREDIBLY ANNOYING. Does anyone know why this is happening and/or how to stop it? Up to now I have had a 100% satisfaction rate with Mac OS. This problem drops that rating considerably.


What about OSX 10.7.2:


Same bloody annoying problem. Have not figured out the trigger yet. Someone mentioned it was triggered by going into full screen with an app. I have avoided that at all costs but my icons still go wanding. The MOST annoying part is that the icons from the second monitor get mixed up in a seemingly random order when they are tossed to my iMac's screen. It is a big job to sift through the mess and place the wandering icons back on the second monitor.


My short term solution - put all my icons from my Dell monitor into a folder named "f#$king lion" - even that one ended up being tossed to the iMac's monitor a few days later. Now I only have to rearrange the icons on my iMacs screen every day or two. Aaaaaaaaaaagh!!!!!!

I think I may have found the fix for this issue.

First - I am running the latest version of Apple Operating system.


Here's what I do

- while working on my computer during the day I set the preference on desktop icons to: snap to grid

- before I shut my computer off for the evening I set the preference on the desktop icons to: none


This has worked all week for solving the rearranging desktop icon issue.

Is anyone else still having file or folder rearranging problems? I've crossgraded to Mountain Lion (wasn't an upgrade; still have same problems) and still have problems with files and folders spontaneously rearranging themselves, primarily in the downloads folders of all user accounts. Additionally, it now changes my Finder pref for the downloads folder to "show Item Info", no matter how many times I change it back. See post at https://discussions.apple.com/thread/3305449?answerId=19338544022#19338544022

Q: Is anyone else still having file or folder rearranging problems?


A: Absolutely. But it is only intermittent, caused by something related to user account cache file changes. That is my current perception. The bad code, written into 10.6 that started this problem, still remains with particular triggers causing it to occur at the time of system restarts.


The problem is the Finder. The Finder in 10.7 was further SEVERELY damaged by bad coding and then almost entirely neglected in subsequent 10.7 updates.


Thankfully, after a lot of ranting from at least me, Apple has made some significant repairs to the Finder f 00004000 or 10.7.5 , which I am currently beta testing. Spurred by your post, I am going to do some major bashing on the 10.7.5 Finder today to see if I can reproduce this old, decrepit Finder bug. If I discover any useful information, I will be forwarding it to Apple. You'll have to wait for the 10.7.5 update release to learn if the problem has been stopped permanently.


I am also beta testing 10.8.2 and will perform the same bashing on that version of the Finder...

Derek,

Thanks for the reply! I can be very patient if I know someone is working on the problem. Appreciate your comments very much! I'm using the most recent version, 10.8.1.


CC

By not using Stacks, Spotlight, or Search, and not changing the drop-down menus, I had reached a state where my Finder windows opened in my custom arrangement when I opened them, and when the system opened them they were alphabetical.


After getting Mountain Lion I foolishly decided to try Stacks again - this rearranged the folders into alphabetical. I used Time Machine to restore Finder, and all was stable again (not using Stacks).


Not having learned my lesson, when this thread was re-opened I tried the drop-down menus without changing anything and the folders snapped to grid, re-arranging themselves in the process!


I'd like to see a choice of Custom in those drop-downs, which would save my preferences in a stable way. Thanks to Derek Currie and anyone else working towards a solution.

Sorry for my bad english. ^^


I think I know the (or one) cause. My DStore-Files will be overwritten when I open or save a file with another program (Text-Edit, Photoshop or anything else). You know a window appears when you save or open a file. This window has a different view than the finder window and it seem to corrupt the DStore-File.


Very strange is the fact, that this problem only attack my pictures-folder and the root-directory of my hard-drive. All other folders are resistent.


Cheers, Alex

arentsch,

I think you're right. I notice this more when I use FireFox than anything else, although it happens when not using FireFox as well.

I have been able to re 00004000 produce the problem on 10.7.5 by deleting all of the System cache files. I am performing this using the utility MainMenu Pro. It is not clear to me whether clearing just the user account cache can cause the problem. If that is the case, it is intermittent.


When I cause the problem to start again, I have had it persist through three reboots of the system. After that point the problem stops. This could specifically be due to the rewriting of the cache file that is causing the problem, whichever that may be.


At the moment I am burned out from beta testing and have a couple malware articles to write. But I will try to do some further testing this coming weekend.


Anyone else interested in trying this out, please do. Onyx is a free utility that I believe does much the same thing if you use the 'Cleaning' tab and check ON everything in the list. OR, go under the 'Automation' tab, check ON "Cleaning: System Cache". Give "User Cache" a try as well. Be sure to reboot after cleaning either or both of them in order for the bug to show itself.


:-Derek

I have same issue


10.8.2


2011 i7 macbook pro early 15 inch.


using thunderbolt display and normal samsung displays. 24 inch to 27 inch.

OSX 10.8.2 Retina Display The photo folders get blasted like this several times a day

Still trying to confirm the trigger.

User uploaded file

Same issue here on 10.8.4. Two issues mainly on the desktop folder as well as the documents folder which is the most used, for that last one. Driving me nuts.


When the folders are properly arranged, having a look back in time with Time Machine and I can see that the folders are completely rearranged. This is proof some corruption is happening. Going back some time with Time Machine I can see on some days things icons placement is right, But Most days they are incorrect. Something is wrong?


Has anybody found the solution to this. Thank you.

Luds

This might be linked to another issue, that of continuously 'fetching' admin permissions in the Get Info panel (see https://discussions.apple.com/thread/5171668?start=0&tstart=0). I had icon problems with all iterations of 10.8.x. In my case, for some folders such as ~/Documents (but not the Desktop), icon sizes (but not their placement) would reset to some default when I saved a document into these folders using 'Save as...' from an application. Deleting or restoring .DS_store or Finder preferences from a back up did not change this behaviour.


I did the following:

1. Repaired permissions using disk utility (did not fix the problem).

2. Typed "id" (without the quotes) at the command line in Terminal. In the output, Group 20 (staff) was not present.

3. Typed "sudo dscl . append /Groups/staff GroupMembership `whoami`" (again without the quotes) on the command line, and entered my password when prompted and rebooted (this did not fix the icon or the 'fetching' problem).

4. Rebooted into Repair Utilities mode (by holding the command and R keys). Mounted my HD using Disk Utility (it is Filevault encrypted), then opened Terminal from the Utilities menu and typed "resetpassword" at the prompt (again, no quotes). This does not reset your password, but opens an app. In this app, I selected the HD and select 'Reset Home Directory Permissions and ACLs' from the drop down menu at the bottom and clicked the Reset button. This reset permissions for my user account, see here. Then I rebooted normally (this fixed the 'fetching' problem, but not the icon problem).

5. Finally, I changed permissions for my ~/Documents folder (and all subfolders) using the Get Info panel by deleting the Staff permissions entirely, and changing the others to User (me): Read & Write; everyone: no access (this fixed the icon problem). This was done to match the existing permissions on my (unaffected) Desktop folder and has not affected usage of documents in these folders.


I haven't tested it, but step 5 on its own (deleting the 'fetching' permission, rather than 'staff') may resolve the problem with icon settings resetting or altering.


This is most likely a hangover from migrating my user account through several versions of OS X over the years (I've used OS X since 10.0). My current Mountain Lion user account was migrated from Snow Leopard.


Hope this is of use to someone!

@john-durham. Thank you for posting this very useful information… very comprehensive. 🙂 Just getting confused on one thing on point 5.


When you reset your permissions for your ~/Documents folder (and all subfolders), I understand you did, quoting: « deleting the Staff permissions entirely, and changing the others to User (me): Read & Write; everyone: no access ».


Ok for the folder ~/Documents itself but what about the subfolders inside as well as the documents inside too ? Shouldn't the permissions be set to :

  • - Me : Read and Write,
  • - Staff: Read only,
  • - Everyone: Read only ?


Upon creating a dummy account the permissions seem to be those I have just quoted above. Any reason you changed the whole thing (~/Documents + subfolders + documents inside) all the same way ? Just confused. I may have missed something... Thanks for confirming.

I, for one, was so sick of files and folders re-arranging arbitrarily that I bought a new iMac. It has fairly minimal applications installed, has not been through a bunch of migrations and, dang, if it hasn't started doing the same thing my old iMac does! The downloads folder was always the first to start moving files, usually to alphabetical order and that's where's it's starting on the new iMac. My old iMac is absolutely awful. It rearranges files throughout the computer, sometimes alphabetically, sometimes moving a single file waaaaaay down, creating a giant window in which you have to scroll down, retrieve the file and move it back up with the others. On my older iMac, I have to restart the Finder after about two days of light use because I get the spinning ball and can't get anything done. Restarting the finder then improves things for a brief period and then I have to restart the computer. I have deleted prefs, fixed permissions, etc., without any benefit. The fact that the new iMac is starting to do the same thing with minimal hours of use is very discouraging. I was hoping I could migrate my work to the new iMac, keeping it at a bare bones configuration, and then re-install the OS on my old iMac. Don't believe that will solve anything now. I have thousands of files I've organized and all that work is placed at jeopardy.

@Couchcowboy Thank you so much for the precious feedback ! So incredible to read yo 00004000 u are having the same issue we're all having, with a brand new machine. By the sound of it and your testimony, the evidence seems to be that there is a flaw in the operating system itself... Not good news... Hum, what to do ?

Hello, anybody has find out a solution? It makes me crazy many times a day! None of mentioned above did not help... :-(

Apparently there is no solution. I have noticed that using the "back" arrow seems to cause the folders to re-arrange. I can sometimes hit the "back" arrow again, returning to the previous folder and then go "back" again and the files/folders sometimes go back to the place they're supposed to be. I have started using the path bar to go back and forth, rather than the back and forth arrows in the title bar. Still happens sometimes anyway. Very arbitrary at times. Makes things very, very frustrating!!!!

RedmannSk wrote:


Hellooo, somebody from Apple!

Apple rarely posts any responses in the forum, which is meant for user to user support, and probably has not even have seen your question. You will either need to use AppleCare, visit a Genius bar or send feedback to get an answer from Apple.

This is still happening for me in 10.9.3. Every time I download or save something, it rearranges my icons in the Downloads folder. I was blaming Default Folder X, especially since my Documents folder kept doing it too even when it wasn't the destination of the save or download (Documents is it's default save folder), but I tried disabling that and even uninstalling. Problem persists. Tried on a work computer without it, same issue. Was blaming FireFox too, but it also happens in Safari, TextEdit, and Word from what I can tell. Others maybe too, but that's what I save from. As long as that Save Window pops up, the folder reverts to default view. Doesn't happen when Safari is set to automatically download to a subfolder in Downloads though.


Tried fixing permissions mutliple times, reseting that folders settings after deleting the .DS_Store, reseting the Finder's settings, even deleting ALL .DS-Store files via Onyx. Still reverts back. I even tried a trick that had worked in the past where you show all hidden files, manually delete the .DS_Store, change the view settings, then lock the new .DS_Store thats recreated. Rebooted, seemed to work, resets again when I download or save. Nothing works. Getting frustrating Apple. Support did nothing to help me, so I'm hoping it's a bug that someone eventually fixes. Given how old these threads are and that it still keeps popping up though... doubtful.