Community
    • Login

    All Tabs Removed

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 3 Posters 1.9k Views
    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.
    • Kendall DeMottK
      Kendall DeMott
      last edited by

      I never used to have this issue, I would update Note ++, and when it relaunched, all my previously opened tabs would be there. Now when I update, ever tab is closed (gone), the only tab is the list of change log for the update. If this is going to be the case from now on, then can I please have a directory location where the open tabs are stored.

      Terry RT 1 Reply Last reply Reply Quote 0
      • Terry RT
        Terry R @Kendall DeMott
        last edited by

        @Kendall-DeMott said in All Tabs Removed:

        can I please have a directory location where the open tabs are stored.

        Firstly since you are on the Notepad++ forum, not another possible Note++ one, maybe you would like to call it by the correct name, or as is often used, NPP.

        There is a FAQ post here that can guide you to find those (unsaved?) tabs.

        Upgrades are not intended to “remove” tabs, however sometimes issues can arise causing problems like this. What is interesting to note is that you have no idea where your tabs are. Possibly you aren’t even saving them as real files. If so you are in dangerous territory and at very real risk of possibly losing (valuable) information if you do not take heed of the recommendations in that FAQ post.

        Good luck
        Terry

        Kendall DeMottK 1 Reply Last reply Reply Quote 5
        • Kendall DeMottK
          Kendall DeMott @Terry R
          last edited by

          @Terry-R Really, I don’t really think its that important to type the full name out, everyone knows what editor I’m talking about. (2) Yes I have all my tabs saved, I just don’t like finding them, and have to manually load each one. This is now two updates in-arow that has removed all my opened tabs.

          mkupperM 1 Reply Last reply Reply Quote 0
          • mkupperM
            mkupper @Kendall DeMott
            last edited by

            @Kendall-DeMott For most people, the tabs are preserved when upgrading Notepad++.

            The tabs are stored in the Session.xml file and normally the tabs are automatically re-opened when Notepad++ is started. Normally the Session.xml file is in %AppData%\Notepad++.

            But, as Notepad++ does not seem to be finding your Session.xml file when upgrading or updating we have to assume that there is something non-standard about your setup or how you are installing/updating Notepad++. It’s going involve a bit of guesswork.

            Please post the results of selecting the ? / Debug Info... menu here on the forums.

            Kendall DeMottK 1 Reply Last reply Reply Quote 2
            • Kendall DeMottK
              Kendall DeMott @mkupper
              last edited by

              @mkupper Now Notepad ++ is loosing open tabs, when I just restart or shutdown my PC. The app is installed to the default location, with the default settings, I check or uncheck nothing at install.

              Notepad++ v8.5.7 (64-bit)
              Build time : Sep 6 2023 - 23:13:49
              Path : C:\Program Files\Notepad++\notepad++.exe
              Command Line : “I:\FS22_Mods\Implement widths in feet (m).xml”
              Admin mode : OFF
              Local Conf mode : OFF
              Cloud Config : OFF
              OS Name : Windows 11 Pro (64-bit)
              OS Version : 22H2
              OS Build : 22621.2283
              Current ANSI codepage : 1252
              Plugins :
              mimeTools (2.9)
              NppConverter (4.5)
              NppExport (0.4)

              mkupperM 1 Reply Last reply Reply Quote 0
              • mkupperM
                mkupper @Kendall DeMott
                last edited by

                Thank you @Kendall-DeMott

                Are you using roaming desktops or something like Citrix where you can sign in on any workstation and your stuff is usually there?

                Something else is that if a file/tab is not available is not available when you start Notepad++then Notepad will silently close the tab rather than showing file not found errors. If you have files on a file server and the network or server is down at the time you start Notepad++ then Notepad++silently removes the tabs.

                The tabs are in the %AppData%\Notepad++\Session.xml file.

                Open up a few files and then close/exit Notepad++. See if the %AppData%\Notepad++\Session.xml file shows that it has been recently modified.

                Notepad++ only saves the Session.xml file when you exit or close Notepad++.

                Now, restart Notepad++. Are your tabs still there?

                A normal logoff from a Windows desktop session will send exits/quits to all applications. If you do a logoff when Notepad++ is running then it will add a few lines to the %AppData%\Notepad++\nppLogNulContentCorruptionIssue.log file. If you look at that file you should see lines with WM_QUERYENDSESSION, WM_ENDSESSION, etc. where Notepad++ is logging the signals from Windows that the desktop session is about to end. The list of lines ends with one for WM_DESTROY.

                The tab stuff and Session.xml file have not changed in many years and so it’s doubtful an update to Notepad++ would trigger the issues you are seeing.

                1 Reply Last reply Reply Quote 3
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors