Community
    • Login

    Bookmarks not saving

    Scheduled Pinned Locked Moved General Discussion
    17 Posts 6 Posters 3.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.
    • EkopalypseE
      Ekopalypse @Billy Nair
      last edited by Ekopalypse

      @Billy-Nair

      no, it is working fine here. What might be the issue is that something has corrupted
      your config.xml file.
      You could temporarily rename it, start npp and see if bookmarks are saved again if when doing another npp restart.
      If you don’t know which config.xml needs to be edited, post your debug-info from ? menu.

      1 Reply Last reply Reply Quote 2
      • Billy NairB
        Billy Nair
        last edited by

        I wonder if that is the problem, I dont have any config.xml files in any folder…

        Notepad++ v7.7 (32-bit)
        Build time : May 19 2019 - 13:08:20
        Path : C:\Program Files (x86)\Notepad++\notepad++.exe
        Admin mode : OFF
        Local Conf mode : OFF
        OS : Windows 7 (64-bit)
        Plugins : DSpellCheck.dll FingerText.dll HTMLTag_unicode.dll mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll

        EkopalypseE 1 Reply Last reply Reply Quote 0
        • EkopalypseE
          Ekopalypse @Billy Nair
          last edited by

          @Billy-Nair

          because of your debug-info you should see a config.xml in %AppData%\Roaming\Notepad++ which expands to something like
          C:\Users\YOUR_USERNAME\AppData\Roaming\Notepad++

          If npp can’t find its config.xml, it will recreate it.

          1 Reply Last reply Reply Quote 2
          • Billy NairB
            Billy Nair
            last edited by

            cool, thank you!

            1 Reply Last reply Reply Quote 0
            • PeterJonesP
              PeterJones
              last edited by

              @Ekopalypse said:

              you should see a config.xml in %AppData%\Roaming\Notepad++

              As a reminder, this FAQ explains that %AppData% includes the Roaming when it expands. The easiest way to verify if you’ve got your %AppData%\... path correct: paste your path in Explorer’s location, and see whether it goes to the right location.

              EkopalypseE 1 Reply Last reply Reply Quote 3
              • EkopalypseE
                Ekopalypse @PeterJones
                last edited by

                @PeterJones - great, thanks for reminding me. Good job!! :-)

                1 Reply Last reply Reply Quote 2
                • Memo RandomM
                  Memo Random
                  last edited by

                  Yes, I am seeing this, too with one file but not others. That is, I quit Notepad++, then re-open it. Nearly all the files have their bookmarks intact as usual, except one file that has lost its bookmarks

                  Alan Kilborn: the link you posted is for a different issue. The original poster on this thread specifically described >expected< behavior wherein you close a file, then re-open it within a session of Notepad++ and the bookmarks are gone. And described >unexpected< behavior where you quite Notepad++, then run it again, and have now lost bookmarks. The thread you linked to has someone having a problem with losing bookmarks when closing a file, then opening it again, which is how Notepad++ has always behaved.

                  Alan KilbornA 1 Reply Last reply Reply Quote 0
                  • Alan KilbornA
                    Alan Kilborn @Memo Random
                    last edited by

                    the link you posted is for a different issue

                    Right. That’s why I followed it up with:

                    @Alan-Kilborn said:

                    I guess I read the OP wrongly

                    1 Reply Last reply Reply Quote 0
                    • Memo RandomM
                      Memo Random
                      last edited by

                      Version 7.7 32-bit.

                      Was not a problem with my prior version, 7.6.6.

                      1 Reply Last reply Reply Quote 0
                      • mike sobota184M
                        mike sobota184
                        last edited by

                        Notepad++ v7.7 (64-bit)
                        OS : Windows 10 (64-bit)

                        … the same! After the Update from v7.6.6 to v7.7 - the bookmarks are gone, if I close n++.

                        But only if the file is stored on a USB device. If a file is saved locally, the bookmarks remain in their position.

                        Was not a problem with the prior version, 7.6.6.

                        Where is the problem? What can I do?
                        Hopefully the bug will be fixed in the next update.

                        1 Reply Last reply Reply Quote 0
                        • Memo RandomM
                          Memo Random
                          last edited by

                          In my case, the files that lose bookmarks are on a fixed SSD partition along with most of the other files that do not lose their bookmarks. No USB storage involved.

                          I think the problem has to do with file sizes.

                          Of the files I have open, four of them lose their bookmarks when exiting, then re-opening Notepad++. These files have the following line counts: 280980, 416104, 434832, 581174.

                          On the other hand, three files with smaller line counts do not lose their bookmarks: 105223, 158791, 296381.

                          Since there is some overlap in the ranges of line counts (that is, a file with 296k lines doesn’t lose bookmarks, but a file with 281k lines does lose bookmarks), I suspect the total size of the file (rather than number of lines) is related to the bookmarks getting cleared.

                          1 Reply Last reply Reply Quote 0
                          • Memo RandomM
                            Memo Random
                            last edited by

                            Correction: the above numbers were “length” counts, not line counts. There may be some correspondence between file size and losing bookmarks, but it isn’t a straightforward cause-and-effect.

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