Unchecking "Restore windows when quitting and re-opening apps" doesn't work Unchecking "Restore windows when quitting and re-opening apps" under
System Preferences -&gt; General doesn't work - for example, when I re-open an app (e.g. Preview) it restores a window (call it 'PDF 1') I had open before quitting that app. (At least when I quit it by logging out, even with 'Reopen windows when logging back in' unchecked.) Any pointers?

I've found people describing similar problems, around the web and on StackExchange (in answers/comments, but not dedicated questions). But no answers that work for me. I've tried the solutions suggested at Disable resume for all apps in Daniel's answer (after which ~/Library/Saved Application State/ has stayed empty) and joelseph's comment on his answer.
It's a bug. According to the release notes, it was fixed by 10.7.4 which came out a few days ago:


  The OS X Lion v10.7.4 Update includes fixes that:
  
  
  Resolve an issue in which the "Reopen windows when logging back in" setting is always enabled.