{"id":96246,"date":"2017-05-30T07:00:00","date_gmt":"2017-05-30T21:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/?p=96246"},"modified":"2019-03-13T01:12:17","modified_gmt":"2019-03-13T08:12:17","slug":"20170530-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20170530-00\/?p=96246","title":{"rendered":"Why isn&#8217;t the original window order always preserved when you undo an Aero Shake?"},"content":{"rendered":"<p>A customer reported that when they used Aero Shake to minimize all the windows on their desktop, and then used it again to restore all the windows, the restored windows didn&#8217;t always have exactly the same z-order as they did originally. The customer wanted to know whether this was expected. <\/p>\n<p>It&#8217;s not expected, but it&#8217;s not unexpected either. <\/p>\n<p>Aero Shake is a shortcut for the <i>Minimize All<\/i> and <i>Undo Minimize All<\/i> commands, and consequently it is subject to all the same constraints as those commands. In particular, <a HREF=\"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/20040909-00\/?p=37913\">it makes a best-effort attempt to restore the windows in the correct order<\/a>, but if there&#8217;s a window that is slow to restore, Explorer doesn&#8217;t sit around and wait for the window to finish restoring. It just moves ahead and restores the next window. That way, a hung app doesn&#8217;t prevent Explorer from restoring your windows. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Acts the same way as undoing a Minimize All, since that&#8217;s basically what it is.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[25],"class_list":["post-96246","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code"],"acf":[],"blog_post_summary":"<p>Acts the same way as undoing a Minimize All, since that&#8217;s basically what it is.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/96246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=96246"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/96246\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=96246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=96246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=96246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}