"Preview" open old files every time I'm trying to open a new file

Discussion in 'Mac OS X Lion (10.7)' started by V4705, Aug 1, 2011.

  1. V4705 macrumors 6502

    Mar 23, 2009
    Ok so thats the senario,
    I got a "PDF" file, I double click it, it open in "Preview", after few seconds this PDF file is "covered" by an old files I opened in the past. I close every one of them and close Preview, Try to open a different PDF and still the same issue.

    WTH? Nothing work normally in Lion?
    SL, I miss you :(
  2. Partron22 macrumors 68020


    Apr 13, 2011
    Restore sanity by not restoring
  3. V4705 thread starter macrumors 6502

    Mar 23, 2009
  4. aldejesus macrumors regular

    Feb 3, 2011
    Instead of cmd+Q, use cmd+opt+Q. This will prevent programs (ALL) to open previous windows(Documents, Pictures, etc.)
  5. FSMBP macrumors 68020


    Jan 22, 2009
    Useful thread! I'm glad Apple has tweaks to fix some of Lion's features that are too helpful.
  6. MDS0LDI3R macrumors newbie

    Jun 22, 2008
    Thank you! I was still getting files I viewed weeks ago in Preview when I open the application..
  7. schiotz macrumors newbie

    Aug 22, 2011
    Another possibility is to make it a habit to close Preview with Command-W instead of Command-Q.

    That will close the windows one by one, until no window is open (Preview will continue to run until the memory is needed by some other process, the side effect of this being faster startup times next time you use it). Command-Q is interpreted at "stop the application, but remember the state". Don't use Command-Q to quit applications until you have closed all windows with Command-W, otherwise old windows reappear (can be disables on a per app basis or globally).

  8. MikhailT macrumors 601

    Nov 12, 2007
    As mentioned already, "Command + Option + Q" is the keyboard shortcut for "Quit and Discard all Windows". It's much faster to do that than to close each window. This can be used on any apps that uses resume/autosave.
  9. nightowlll macrumors newbie

    Oct 18, 2011
    Osx lion

    I work as a photographer and take hundreds of pictures every day.

    OSX LION SUCKS!! I hate the auto opening of old files that preview does from prior work. I realize they may have been thinking of "helping" but whoever the idiot was that thought up that idea was a bona fide dumb ass! Now when actually "previewing" my shots, I have to close the program using three more keystrokes instead of a quick click of the mouse. I happened to forget to close the way mentioned in this thread a couple of times and preview opened literally around 50 files. annoying as HELL!

    my opinion of OSX LION is that this new operating system is a waste!

    I have no use for preview anymore. I will continue to do all of my preview and edit work in Adobe CS5.

    What a disappointment!!!
  10. Joos24 macrumors regular

    Nov 20, 2011
    Maybe it's the user that doesn't know that Apple gives he/she the OPTION to simply turn that feature off in preferences rather than wasting so much steam on a forum. :rolleyes:
  11. donsherio macrumors newbie

    Jun 15, 2009

    So I wrote a completely different response for you about it not being obvious where this "option" was in Preferences until I realized you meant SYSTEM Preferences. It's sort of Apple's fault for calling them both the same sort of thing, but whatever. I think the reason why people DON'T look in System Preferences for this option is because not EVERY app behaves this way with restoring old windows. Because of this, it doesn't become apparent that it's a system-wide feature and so people go digging in the wrong places.

    Honestly, if Apple was thorough enough like in the past, they would do things like make notes about "If you want to adjust this setting, click here to open System Preferences" like they have with their Screen Saver/Power Usage settings.


    Hope that helped for everyone on the thread :D
  12. squeakr macrumors 68000


    Apr 22, 2010
    Another alternative, if one wants to have certain documents open at restart but not all open documents, they can hold Option while clicking the close button for that particular document and it will not open automatically the next time. I use this as in support I am usually referencing the same documents/ manuals repeatedly and this saves me from hunting for them through finder (if they happen to get cleared from my recent menu).
  13. tkermit macrumors 68040


    Feb 20, 2004
    ⌥⌘W is the keyboard shortcut to close all windows. There's no need to manually quit Preview.app anymore.
  14. Joos24 macrumors regular

    Nov 20, 2011
    Actually every app that's coded to deal with this feature of reopening apps behaves the same way. All this feature is doing is restoring the session. If you have one document open within an app such as viewing a PDF in Preview it re-opens that document. If you have Mail open at full screen it restores at full screen. Same goes for iCal and a few others. The only app I find that ignores this command is iTunes. Even with the feature turned off iTunes still opens up in full screen if it was in full screen when I quit it. iTunes has always seemed like it was a completely separate app on the Mac.

    You're saying it's Apple's fault for not putting it in the users face where they should turn off this feature?? Really? Think about it, how are they going to do that for every feature on the Mac? That's impossible. The user needs to figure some things out for themselves. It's bad enough this forum complains that Apple is dumbing down the system and making it too fool-proof so infants can understand it, yet you're saying they make it too difficult to figure out how to turn off "automatically restore windows".

    Have you ever took a good look at Windows 7's Control Panel? Even the most astute geek tends to get confused. It's very hard to figure out half the functionality in Windows 7.

    Restoring Windows is a "System-Wide" feature. Not to put you or anyone down but that should be pretty obvious. The place to always start is System Preferences-General. I don't think you needed to place that in BOLD text. I'm inclined to believe that more people know to go System Preferences than you think.
  15. thundersteele macrumors 68030

    Oct 19, 2011
    It's funny how after so many years, people still don't get how OSX apps work.

    There's no need to ever quit preview. If you're done looking at one document, you close it (Cmd-W).

    The resume feature just builds on the above. It's actually quite convenient because you can reboot without closing apps, and you can exactly restore the session where you left off.
  16. gmrvt macrumors newbie

    Jan 17, 2012
    tried all the suggestions

    my check box is unchecked in System Pref. I've tried the commands in Terminal. Still opens every @#$## pdf preview I've ever looked at. Very frustrating....
  17. fsroghani macrumors newbie

    Jan 27, 2012
    Thank you very much for your help, I tried everything to fix this damn problem but non of them worked, even Command+Option+Q, but I tried Command-w and its fixed now
  18. thestickman macrumors regular

    Nov 21, 2010
    Jacksonville, FL
    Same issue here. The windows ALWAYS reopen when I boot back up. Very annoying.
  19. Icy1007 macrumors 65816


    Feb 26, 2011
    Cleveland, OH
    Wirelessly posted (iPhone 4: Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3)

    You're doing it wrong then.
  20. CodeBreaker macrumors 6502

    Nov 5, 2010
    Sea of Tranquility
    Pressing SHIFT and launching an app prevents it from opening previously opened documents.
  21. macuser3334 macrumors newbie

    Apr 7, 2012
    Similar Problem

    Hi -- I notice a slightly different problem with the new version of preview. I have my trackpad set up so that when I swipe down with four fingers, I see the App Expose. When I open a .pdf in Preview, and then swipe down to view the App Expose, I see all of the .pdfs I've opened in the past, even though these files are no longer open. I have turned off the setting in my system preferences which causes applications to resume old windows when you open an application, so this can't be the problem. This is a very annoying feature. Any suggestions?
  22. Mal macrumors 603


    Jan 6, 2002
    It's not a GUI preference, but those are pulled from ~/Library/Preferences/com.apple.Preview.LSSharedFileList.plist. If you were to delete the contents of that file, and then lock it so it couldn't be changed, you should be able to prevent that behavior. Haven't tested it, but in theory it should work.

  23. funkyrimpler macrumors newbie

    Mar 30, 2012
    The worst part is opening up an image to show somebody, and Preview so helpfully opening up 250 porn images....mu girlfriend thought it was funny the first time...
  24. Mal macrumors 603


    Jan 6, 2002
    That's your own fault, btw, not Apple's. There are multiple documented and easy ways to avoid this (although the easiest way to avoid the above problem is to not view porn, but I know many people here seem to think that it's absurd to even consider that level of self-control), so learn how to use the computer you're sitting in front of and you won't have those problems.

  25. blow45 macrumors 68000

    Jan 18, 2011
    What a nasty condescending reply on all counts. :mad: Who do you think you are to tell him what content he should or shouldn't be viewing on his computer just so you make a point that apple's system isn't broken and buggy. We've read everything here from shift to open the app, option when shutting down a window, system prefs and terminal commands and still the system creates obvious problems for users.

    And what's your answer to showing ones full history of opened files within in app expose? Since you are so well versed in exercising self control, you know how to "how to use the computer you're sitting in front of", can you then tell us what a user should do in a scenario where he goes to in app expose and exposes some (non porn) recently used item that he'd rather not show for privacy reasons to the person they are using their mac with? Say in a car delearship that you've been opening competitors brochurers, or with your boss that you been looking at mags or private expenses, or in any scenario where you simply do not want your recently opened files to show up upon an app expose. Is there an option for the average user (without editing and locking plist files, I can do this, but not many are or should be able to go to that level of complexity) for this or is the os in the "computer you are sitting in front of" rather bs in several of its ui choices these days?

    The op who said that whoever chose this ui modification must have been a "bona fide dumb ass" seems to be rather young and not so delicate in expressing their view, but he was absolutely right.

    It just works, has become yeah well it works, sometimes it has a bug and when you close all windows in safari (one by one) and log out and log back in and start safari, it reopens all windows upon re-opening, and there's also the option and cmd keys when shutting down windows in preview and terminal command and system preference choice, and yeah well as for showing all your recent history every time you do an expose for a couple of windows, there's not really an option for this but you can edit a plist file...

    What is all that garbage? Is that it just works? Or is it, it works like crap. And we are supposed to be insulted as well by your likes that we don't know how to use the "computer (we) are sitting in front of"? For crying out loud...:rolleyes: It's that kind of sickening mixture of arrogance and ignorance that you have that's probably shared by the people responsible for lion that have created such a **** ui out of the world's best designed os a few years ago.

    Btw, the only thing absurd is the level of condescension in your reply. Maybe you should be viewing porn I guess instead, all that exercise in self control isn't helping all that much apparently.

Share This Page