Community
    • Login

    Open/Save File Dialog - Session

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 4 Posters 843 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Sandro RosaS Offline
      Sandro Rosa
      last edited by

      Hi,
      it would be good that the File Dialog devoted to opening / saving the sessions would record the last visited folder.

      Thank you!

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Sandro Rosa
        last edited by

        @Sandro-Rosa

        See USER MANUAL.

        mkupperM 1 Reply Last reply Reply Quote 4
        • mkupperM Offline
          mkupper @Alan Kilborn
          last edited by

          @Sandro-Rosa

          The USER MANUAL link that @Alan-Kilborn provided did not jump to the right section of the web page for me. You may need to search on that page for Remember last used directory which likely is what you are asking for.

          The link https://npp-user-manual.org/docs/preferences/#default-directory gets close to the stuff about Remember last used directory

          Alan KilbornA 1 Reply Last reply Reply Quote 2
          • Alan KilbornA Offline
            Alan Kilborn @mkupper
            last edited by

            @mkupper said in Open/Save File Dialog - Session:

            did not jump to the right section of the web page for me

            Jumped here for me:

            7b05cd7c-ad2e-4147-be3d-8101102bba2a-image.png

            I guess mileage varies.

            mkupperM 1 Reply Last reply Reply Quote 0
            • Mark OlsonM Offline
              Mark Olson
              last edited by

              Note that prior to 8.5.5, this “last used directory” was not remembered across sessions. I.e., if you opened a file in directory A, then closed the session, then started a new session, the open/save file dialog would probably not start in directory A.

              1 Reply Last reply Reply Quote 1
              • mkupperM Offline
                mkupper @Alan Kilborn
                last edited by

                @Alan-Kilborn Apparently it’s Scroll To Text Fragment. It works on Chrome and Microsoft Edge which uses the Chromium engine. Unfortunately, Firefox both does not support it and using the feature causes undesirable behavior.

                With Chrome and Microsoft Edge the URL
                https://npp-user-manual.org/docs/preferences/#default-directory:~:text=Remember last used directory
                both scrolls or jumps to the selected text “Remember last used directory” and highlights that text.

                Firefox is interpreting the entire string “default-directory:~:text=Remember%20last%20used%20directory” as the label or ID to look for and as there is no such thing Firefox leaves people at the top of the page.

                The URL https://npp-user-manual.org/docs/preferences/#default-directory works in both Chrome and Firefox but then you don’t get the highlighting and it does not jump to the exact place.

                Firefox developers have been resisting implementation of Scroll To Text Fragment. https://github.com/mozilla/standards-positions/issues/194

                I tried, without success, to form a URL that allowed for the #default-directory jump in all browsers while also supporting the more focused Scroll To Text Fragment jump for those browsers that support it.

                Alan KilbornA 1 Reply Last reply Reply Quote 1
                • Alan KilbornA Offline
                  Alan Kilborn @mkupper
                  last edited by Alan Kilborn

                  @mkupper

                  Thanks for the info. I’ll probably keep linking that way, though, as it is expedient for a lot of people (using other browsers) and is also fast for me to supply.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors