• Login
Community
  • Login

Saved tabs disappeared with upgrade to v8.6.5

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 4 Posters 1.2k 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.
  • V
    Vladimir Krasko
    last edited by PeterJones Apr 12, 2024, 1:45 AM Apr 12, 2024, 1:38 AM

    After applying this version, all my previous tabs (saved and not saved) were closed! I had ~100 New files, which weren’t saved. Only the last tab remains opened, but it changed its name to “New 1”. Why? Is there any way to bring all the other tabs back?

    -----
    moderator note: duplicated from this post in the “Notepad++ Release 8.6.5” Announcement Topic, because while this happened when upgrading to v8.6.5, it probably isn’t specific to that version, and debugging this shouldn’t clutter the Announcement

    M 1 Reply Last reply Apr 12, 2024, 5:46 PM Reply Quote 1
    • A
      Alan Kilborn @Vladimir Krasko
      last edited by Apr 11, 2024, 1:51 PM

      @Vladimir-Krasko said in Notepad++ release 8.6.5:

      I had ~100 New files, which weren’t saved.

      Sorry to hear that; it doesn’t solve your problem but see HERE.

      V 1 Reply Last reply Apr 15, 2024, 6:38 AM Reply Quote 4
      • M
        mkupper @Vladimir Krasko
        last edited by Apr 12, 2024, 12:34 AM

        @Vladimir-Krasko said in Notepad++ release 8.6.5:

        After applying this version, all my previous tabs (saved and not saved) were closed! I had ~100 New files, which weren’t saved. Only the last tab remains opened, but it changed its name to “New 1”. Why? Is there any way to bring all the other tabs back?

        That sounds very much like that you are using a new/different location for your Notepad++ settings. The list of tabs is stored in the session.xml file. If you start Notepad++ and only see a tab for “New 1” then Notepad++ did not see your session.xml file.

        Let’s start with Please Read This Before Posting, specifically, the section about posting your debug info so that we can know where your current copy of Notepad++ is installed and where it is looking for the session.xml file.

        V 1 Reply Last reply Apr 15, 2024, 6:46 AM Reply Quote 4
        • V Vladimir Krasko referenced this topic on Apr 12, 2024, 1:39 AM
        • X
          xomx
          last edited by Apr 12, 2024, 9:07 AM

          GitHub issue #14976 .

          1 Reply Last reply Reply Quote 3
          • M
            mkupper @Vladimir Krasko
            last edited by Apr 12, 2024, 5:46 PM

            @Vladimir-Krasko, @xomx posted a link to github where I see that you had provided your Notepad++'s Debug info. I see that you are using %AppData% which is Notepad++'s default.

            Take a look at the %AppData%\Notepad++ folder.

            • When was the folder itself created?
            • When was the session.xml file created?

            If you are using Windows Explorer to look at the %AppData%\Notepad++ folder then switch to the Details view and add the Created column to get the creation dates. If you using the command prompt then use dir /tc to view file or folder creation dates instead of the usual last-modified dates.

            If the creation dates are within the last few days then you likely are in luck as that means your previous installation of Notepad++ was storing its settings somewhere else.

            If your session.xml file was created weeks, months, or years ago then it likely was corrupted and so Notepad++ generated a new/empty session.xml file. Unfortunately, that also means the version of your session.xml that listed 100+ tabs was overwritten.

            You may see a file named session.xml.inCaseOfCorruption.bak but I suspect that won’t be useful in your case as Notepad++ overwrites it every time it exits.

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