How can I disable macOS Finder’s tree view from remembering open leafs












2














When I open macOS Finder an for e.g. open in the tree view the folder Documents the tree view automatically opens all subfolders I opened the last time when I visited that folder. This is annoying as I have to close those folders before I can see where I want to go.



On my old MacBook, the behaviour is different, and Finder seem not to remember which folder I opened before. This is much faster and comfortable.



How can I adjust this behavior on my new setup?










share|improve this question
























  • What's odd about this is that your new Mac is displaying correct behaviour. I'm at a loss as to how the old Mac is achieving this. Do you have some script/cron task etc running that will delete .DS_Store files?
    – Tetsujin
    Jun 28 at 17:34










  • @Tetsujin No script or task to manipulate .DS_Store files. In my darkest corner of my brain I remember that I did something to change the behaviour but I cannot remember what as it was six years ago. Even searching within my old laptop does not reveal anything. The problem is, once you are used to the behaviour I wish, the default behaviour seems uttermost stupid.
    – Martin Schlott
    Jul 4 at 7:21










  • You can opt/click to close all in a hierarchy, as a temp solution.
    – Tetsujin
    Jul 4 at 7:24










  • Please edit your question to add some more details: What version of macOS was your old MacBook running? And what version of macOS are you running now?
    – JakeGould
    Jul 5 at 3:32


















2














When I open macOS Finder an for e.g. open in the tree view the folder Documents the tree view automatically opens all subfolders I opened the last time when I visited that folder. This is annoying as I have to close those folders before I can see where I want to go.



On my old MacBook, the behaviour is different, and Finder seem not to remember which folder I opened before. This is much faster and comfortable.



How can I adjust this behavior on my new setup?










share|improve this question
























  • What's odd about this is that your new Mac is displaying correct behaviour. I'm at a loss as to how the old Mac is achieving this. Do you have some script/cron task etc running that will delete .DS_Store files?
    – Tetsujin
    Jun 28 at 17:34










  • @Tetsujin No script or task to manipulate .DS_Store files. In my darkest corner of my brain I remember that I did something to change the behaviour but I cannot remember what as it was six years ago. Even searching within my old laptop does not reveal anything. The problem is, once you are used to the behaviour I wish, the default behaviour seems uttermost stupid.
    – Martin Schlott
    Jul 4 at 7:21










  • You can opt/click to close all in a hierarchy, as a temp solution.
    – Tetsujin
    Jul 4 at 7:24










  • Please edit your question to add some more details: What version of macOS was your old MacBook running? And what version of macOS are you running now?
    – JakeGould
    Jul 5 at 3:32
















2












2








2







When I open macOS Finder an for e.g. open in the tree view the folder Documents the tree view automatically opens all subfolders I opened the last time when I visited that folder. This is annoying as I have to close those folders before I can see where I want to go.



On my old MacBook, the behaviour is different, and Finder seem not to remember which folder I opened before. This is much faster and comfortable.



How can I adjust this behavior on my new setup?










share|improve this question















When I open macOS Finder an for e.g. open in the tree view the folder Documents the tree view automatically opens all subfolders I opened the last time when I visited that folder. This is annoying as I have to close those folders before I can see where I want to go.



On my old MacBook, the behaviour is different, and Finder seem not to remember which folder I opened before. This is much faster and comfortable.



How can I adjust this behavior on my new setup?







macos mac finder






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 5 at 3:31









JakeGould

31k1093137




31k1093137










asked Jun 26 at 6:13









Martin Schlott

136




136












  • What's odd about this is that your new Mac is displaying correct behaviour. I'm at a loss as to how the old Mac is achieving this. Do you have some script/cron task etc running that will delete .DS_Store files?
    – Tetsujin
    Jun 28 at 17:34










  • @Tetsujin No script or task to manipulate .DS_Store files. In my darkest corner of my brain I remember that I did something to change the behaviour but I cannot remember what as it was six years ago. Even searching within my old laptop does not reveal anything. The problem is, once you are used to the behaviour I wish, the default behaviour seems uttermost stupid.
    – Martin Schlott
    Jul 4 at 7:21










  • You can opt/click to close all in a hierarchy, as a temp solution.
    – Tetsujin
    Jul 4 at 7:24










  • Please edit your question to add some more details: What version of macOS was your old MacBook running? And what version of macOS are you running now?
    – JakeGould
    Jul 5 at 3:32




















  • What's odd about this is that your new Mac is displaying correct behaviour. I'm at a loss as to how the old Mac is achieving this. Do you have some script/cron task etc running that will delete .DS_Store files?
    – Tetsujin
    Jun 28 at 17:34










  • @Tetsujin No script or task to manipulate .DS_Store files. In my darkest corner of my brain I remember that I did something to change the behaviour but I cannot remember what as it was six years ago. Even searching within my old laptop does not reveal anything. The problem is, once you are used to the behaviour I wish, the default behaviour seems uttermost stupid.
    – Martin Schlott
    Jul 4 at 7:21










  • You can opt/click to close all in a hierarchy, as a temp solution.
    – Tetsujin
    Jul 4 at 7:24










  • Please edit your question to add some more details: What version of macOS was your old MacBook running? And what version of macOS are you running now?
    – JakeGould
    Jul 5 at 3:32


















What's odd about this is that your new Mac is displaying correct behaviour. I'm at a loss as to how the old Mac is achieving this. Do you have some script/cron task etc running that will delete .DS_Store files?
– Tetsujin
Jun 28 at 17:34




What's odd about this is that your new Mac is displaying correct behaviour. I'm at a loss as to how the old Mac is achieving this. Do you have some script/cron task etc running that will delete .DS_Store files?
– Tetsujin
Jun 28 at 17:34












@Tetsujin No script or task to manipulate .DS_Store files. In my darkest corner of my brain I remember that I did something to change the behaviour but I cannot remember what as it was six years ago. Even searching within my old laptop does not reveal anything. The problem is, once you are used to the behaviour I wish, the default behaviour seems uttermost stupid.
– Martin Schlott
Jul 4 at 7:21




@Tetsujin No script or task to manipulate .DS_Store files. In my darkest corner of my brain I remember that I did something to change the behaviour but I cannot remember what as it was six years ago. Even searching within my old laptop does not reveal anything. The problem is, once you are used to the behaviour I wish, the default behaviour seems uttermost stupid.
– Martin Schlott
Jul 4 at 7:21












You can opt/click to close all in a hierarchy, as a temp solution.
– Tetsujin
Jul 4 at 7:24




You can opt/click to close all in a hierarchy, as a temp solution.
– Tetsujin
Jul 4 at 7:24












Please edit your question to add some more details: What version of macOS was your old MacBook running? And what version of macOS are you running now?
– JakeGould
Jul 5 at 3:32






Please edit your question to add some more details: What version of macOS was your old MacBook running? And what version of macOS are you running now?
– JakeGould
Jul 5 at 3:32












2 Answers
2






active

oldest

votes


















0














There is currently no way to change this behaviour through Finder Preferences (at least as of macOS 10.13.5). The easiest way to achieve the desired outcome in Finder is to:





  • Cmd+A (selects all objects in the window)


  • Cmd+ (collapses all open folders)


Unfortunately, this is a keyboard fix but it is fairly quick and given that you are navigating Finder it seems to follow your able to quickly engage keyboard commands.



There is hope, while investigating how one could do this using AppleScript I found these references to Containers in the AppleScript Editor Dictionary for Finder Objects:





  • entire contents (specifier, r/o) : the entire contents of the container, including the contents of its children


  • expandable (boolean, r/o) : (NOT AVAILABLE YET) Is the container capable of being expanded as an outline?


  • expanded (boolean) : (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists)



  • completely expanded (boolean) : (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists)


It appears that Apple may be providing the ability to do what your asking for through a supported interface in the future.






share|improve this answer































    0














    As often with Mac, it is easier than you think:



    In list view Up and Down arrows will move up respectively down in list.



    Left and Right arrows will close respectively open a folder in the list, as it was viewed last time.



    In combination with Option, Left and Right arrows will collapse respectively expand selected folder.



    If a folder was collapsed with Option + Left arrow, it will open like that if opened with Left arrow (only).



    The same goes for entire folder content - the whole hierarchy with all subfolders expands and collapses with the Option key held down. And all subfolder will be collapsed (closed) next time they are viewed.



    ...
    more:



    Option + Up and Down arrow will travel to the last respectively the first object in the list view, like Home and End.



    Command + Up and Down arrow will travel (open) to parent respectively current folder.



    Combination of Option + Command + Arrow may give some unexpected behaviours, mostly it will be alright, sometimes one key too many will cancel out what you wanted to do.



    Selecting many folders (like when doing Command + A and then Arrow) may also give some unexpected behaviours.






    share|improve this answer

















    • 1




      Welcome to Super User. Your answer would be much more helpful if it focused on answering the original question. Consider putting that part at the top and the rest as a separate section at the end.
      – Twisty Impersonator
      Dec 9 at 2:08











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1334232%2fhow-can-i-disable-macos-finder-s-tree-view-from-remembering-open-leafs%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    There is currently no way to change this behaviour through Finder Preferences (at least as of macOS 10.13.5). The easiest way to achieve the desired outcome in Finder is to:





    • Cmd+A (selects all objects in the window)


    • Cmd+ (collapses all open folders)


    Unfortunately, this is a keyboard fix but it is fairly quick and given that you are navigating Finder it seems to follow your able to quickly engage keyboard commands.



    There is hope, while investigating how one could do this using AppleScript I found these references to Containers in the AppleScript Editor Dictionary for Finder Objects:





    • entire contents (specifier, r/o) : the entire contents of the container, including the contents of its children


    • expandable (boolean, r/o) : (NOT AVAILABLE YET) Is the container capable of being expanded as an outline?


    • expanded (boolean) : (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists)



    • completely expanded (boolean) : (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists)


    It appears that Apple may be providing the ability to do what your asking for through a supported interface in the future.






    share|improve this answer




























      0














      There is currently no way to change this behaviour through Finder Preferences (at least as of macOS 10.13.5). The easiest way to achieve the desired outcome in Finder is to:





      • Cmd+A (selects all objects in the window)


      • Cmd+ (collapses all open folders)


      Unfortunately, this is a keyboard fix but it is fairly quick and given that you are navigating Finder it seems to follow your able to quickly engage keyboard commands.



      There is hope, while investigating how one could do this using AppleScript I found these references to Containers in the AppleScript Editor Dictionary for Finder Objects:





      • entire contents (specifier, r/o) : the entire contents of the container, including the contents of its children


      • expandable (boolean, r/o) : (NOT AVAILABLE YET) Is the container capable of being expanded as an outline?


      • expanded (boolean) : (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists)



      • completely expanded (boolean) : (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists)


      It appears that Apple may be providing the ability to do what your asking for through a supported interface in the future.






      share|improve this answer


























        0












        0








        0






        There is currently no way to change this behaviour through Finder Preferences (at least as of macOS 10.13.5). The easiest way to achieve the desired outcome in Finder is to:





        • Cmd+A (selects all objects in the window)


        • Cmd+ (collapses all open folders)


        Unfortunately, this is a keyboard fix but it is fairly quick and given that you are navigating Finder it seems to follow your able to quickly engage keyboard commands.



        There is hope, while investigating how one could do this using AppleScript I found these references to Containers in the AppleScript Editor Dictionary for Finder Objects:





        • entire contents (specifier, r/o) : the entire contents of the container, including the contents of its children


        • expandable (boolean, r/o) : (NOT AVAILABLE YET) Is the container capable of being expanded as an outline?


        • expanded (boolean) : (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists)



        • completely expanded (boolean) : (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists)


        It appears that Apple may be providing the ability to do what your asking for through a supported interface in the future.






        share|improve this answer














        There is currently no way to change this behaviour through Finder Preferences (at least as of macOS 10.13.5). The easiest way to achieve the desired outcome in Finder is to:





        • Cmd+A (selects all objects in the window)


        • Cmd+ (collapses all open folders)


        Unfortunately, this is a keyboard fix but it is fairly quick and given that you are navigating Finder it seems to follow your able to quickly engage keyboard commands.



        There is hope, while investigating how one could do this using AppleScript I found these references to Containers in the AppleScript Editor Dictionary for Finder Objects:





        • entire contents (specifier, r/o) : the entire contents of the container, including the contents of its children


        • expandable (boolean, r/o) : (NOT AVAILABLE YET) Is the container capable of being expanded as an outline?


        • expanded (boolean) : (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists)



        • completely expanded (boolean) : (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists)


        It appears that Apple may be providing the ability to do what your asking for through a supported interface in the future.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jul 5 at 3:34









        JakeGould

        31k1093137




        31k1093137










        answered Jul 5 at 3:18









        Hogstrom

        1,1561121




        1,1561121

























            0














            As often with Mac, it is easier than you think:



            In list view Up and Down arrows will move up respectively down in list.



            Left and Right arrows will close respectively open a folder in the list, as it was viewed last time.



            In combination with Option, Left and Right arrows will collapse respectively expand selected folder.



            If a folder was collapsed with Option + Left arrow, it will open like that if opened with Left arrow (only).



            The same goes for entire folder content - the whole hierarchy with all subfolders expands and collapses with the Option key held down. And all subfolder will be collapsed (closed) next time they are viewed.



            ...
            more:



            Option + Up and Down arrow will travel to the last respectively the first object in the list view, like Home and End.



            Command + Up and Down arrow will travel (open) to parent respectively current folder.



            Combination of Option + Command + Arrow may give some unexpected behaviours, mostly it will be alright, sometimes one key too many will cancel out what you wanted to do.



            Selecting many folders (like when doing Command + A and then Arrow) may also give some unexpected behaviours.






            share|improve this answer

















            • 1




              Welcome to Super User. Your answer would be much more helpful if it focused on answering the original question. Consider putting that part at the top and the rest as a separate section at the end.
              – Twisty Impersonator
              Dec 9 at 2:08
















            0














            As often with Mac, it is easier than you think:



            In list view Up and Down arrows will move up respectively down in list.



            Left and Right arrows will close respectively open a folder in the list, as it was viewed last time.



            In combination with Option, Left and Right arrows will collapse respectively expand selected folder.



            If a folder was collapsed with Option + Left arrow, it will open like that if opened with Left arrow (only).



            The same goes for entire folder content - the whole hierarchy with all subfolders expands and collapses with the Option key held down. And all subfolder will be collapsed (closed) next time they are viewed.



            ...
            more:



            Option + Up and Down arrow will travel to the last respectively the first object in the list view, like Home and End.



            Command + Up and Down arrow will travel (open) to parent respectively current folder.



            Combination of Option + Command + Arrow may give some unexpected behaviours, mostly it will be alright, sometimes one key too many will cancel out what you wanted to do.



            Selecting many folders (like when doing Command + A and then Arrow) may also give some unexpected behaviours.






            share|improve this answer

















            • 1




              Welcome to Super User. Your answer would be much more helpful if it focused on answering the original question. Consider putting that part at the top and the rest as a separate section at the end.
              – Twisty Impersonator
              Dec 9 at 2:08














            0












            0








            0






            As often with Mac, it is easier than you think:



            In list view Up and Down arrows will move up respectively down in list.



            Left and Right arrows will close respectively open a folder in the list, as it was viewed last time.



            In combination with Option, Left and Right arrows will collapse respectively expand selected folder.



            If a folder was collapsed with Option + Left arrow, it will open like that if opened with Left arrow (only).



            The same goes for entire folder content - the whole hierarchy with all subfolders expands and collapses with the Option key held down. And all subfolder will be collapsed (closed) next time they are viewed.



            ...
            more:



            Option + Up and Down arrow will travel to the last respectively the first object in the list view, like Home and End.



            Command + Up and Down arrow will travel (open) to parent respectively current folder.



            Combination of Option + Command + Arrow may give some unexpected behaviours, mostly it will be alright, sometimes one key too many will cancel out what you wanted to do.



            Selecting many folders (like when doing Command + A and then Arrow) may also give some unexpected behaviours.






            share|improve this answer












            As often with Mac, it is easier than you think:



            In list view Up and Down arrows will move up respectively down in list.



            Left and Right arrows will close respectively open a folder in the list, as it was viewed last time.



            In combination with Option, Left and Right arrows will collapse respectively expand selected folder.



            If a folder was collapsed with Option + Left arrow, it will open like that if opened with Left arrow (only).



            The same goes for entire folder content - the whole hierarchy with all subfolders expands and collapses with the Option key held down. And all subfolder will be collapsed (closed) next time they are viewed.



            ...
            more:



            Option + Up and Down arrow will travel to the last respectively the first object in the list view, like Home and End.



            Command + Up and Down arrow will travel (open) to parent respectively current folder.



            Combination of Option + Command + Arrow may give some unexpected behaviours, mostly it will be alright, sometimes one key too many will cancel out what you wanted to do.



            Selecting many folders (like when doing Command + A and then Arrow) may also give some unexpected behaviours.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 9 at 0:50









            user312276

            1




            1








            • 1




              Welcome to Super User. Your answer would be much more helpful if it focused on answering the original question. Consider putting that part at the top and the rest as a separate section at the end.
              – Twisty Impersonator
              Dec 9 at 2:08














            • 1




              Welcome to Super User. Your answer would be much more helpful if it focused on answering the original question. Consider putting that part at the top and the rest as a separate section at the end.
              – Twisty Impersonator
              Dec 9 at 2:08








            1




            1




            Welcome to Super User. Your answer would be much more helpful if it focused on answering the original question. Consider putting that part at the top and the rest as a separate section at the end.
            – Twisty Impersonator
            Dec 9 at 2:08




            Welcome to Super User. Your answer would be much more helpful if it focused on answering the original question. Consider putting that part at the top and the rest as a separate section at the end.
            – Twisty Impersonator
            Dec 9 at 2:08


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1334232%2fhow-can-i-disable-macos-finder-s-tree-view-from-remembering-open-leafs%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Plaza Victoria

            Puebla de Zaragoza

            Musa