• Login
Community
  • Login

Lost bookmarks

Scheduled Pinned Locked Moved General Discussion
12 Posts 2 Posters 11.7k 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.
  • M
    Maurizio Lotauro
    last edited by Aug 19, 2019, 10:45 AM

    Hi,
    after I recently installed the 7.7.1 I got a problem with bookmarks. I work always with four files. The first and last have bookmarks set. When I run NPP it open the four files but it set the bookmarks only for the first file. If I look into session.xml the missing bookmarks are there. So I open this session file and all bookmarks will be set. It seems that NPP doesn’t set the bookmarks of the last file at start up (or they will be cleared).
    This happen systematically.

    This is the debug info:
    Notepad++ v7.7.1 (64-bit)
    Build time : Jun 16 2019 - 21:24:47
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll

    TIA
    Bye, Maurizio.

    E 1 Reply Last reply Aug 19, 2019, 11:54 AM Reply Quote 0
    • E
      Ekopalypse @Maurizio Lotauro
      last edited by Ekopalypse Aug 19, 2019, 11:55 AM Aug 19, 2019, 11:54 AM

      @Maurizio-Lotauro

      I don’t see your reported behavior.
      I create 4 temp files with the content

      line 1
      line 2
      line 3
      line 4
      

      Set a bookmark on line 1 in new1 and another bookmark on line4 in new4 file.
      Restarted npp and those bookmarks are there.

      When you check your session file, do you see something strange? Meaning that
      maybe the file got corrupted?

      Notepad++ v7.7.1 (64-bit)
      Build time : Jun 16 2019 - 21:24:47
      Path : D:…\notepad++.exe
      Admin mode : OFF
      Local Conf mode : ON
      OS : Windows 7 (64-bit)
      Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll

      1 Reply Last reply Reply Quote 1
      • M
        Maurizio Lotauro
        last edited by Aug 19, 2019, 12:12 PM

        I have more than one bookmark.
        The session file seems ok. I can post there if you want, it is less than 3k long. And as I wrote, if I load it then all bookmarks will be set.
        What is “Local Conf mode”? Your is different than my.

        E 1 Reply Last reply Aug 19, 2019, 12:23 PM Reply Quote 0
        • E
          Ekopalypse @Maurizio Lotauro
          last edited by Aug 19, 2019, 12:23 PM

          @Maurizio-Lotauro

          Local Conf mode defines where your config files are stored.
          If set to ON it will search for the files in the directory where the npp executable is
          if set to OFF it will look in %APPDATA\notepad++% folder.

          I don’t know if it makes sense as long as I haven’t the files in question as well.
          Maybe you give it a try, if possible, to test with a portable npp version?

          How many bookmarks did you set in the different files?

          1 Reply Last reply Reply Quote 1
          • M
            Maurizio Lotauro
            last edited by Aug 19, 2019, 2:18 PM

            I made a test with the portable version.
            I close the installed version of NPP. Run the portable version. Load the session, the four file are opened but the last one without bookmarks. Load again the session and the bookmark of the last file are set.
            Close NPP. Check the session of the portable version: bookmarks are there. Run NPP, file opened but the last one without bookmarks.
            Close all, load the “portable” session, again file opened but the last one without bookmarks.
            The first file has five bookmarks and the last one (now) has only two bookmarks.

            I have no problem to send you the four files and the session if you want to try yourself. It should be simple to reproduce.

            E 1 Reply Last reply Aug 19, 2019, 2:23 PM Reply Quote 1
            • E
              Ekopalypse @Maurizio Lotauro
              last edited by Aug 19, 2019, 2:23 PM

              @Maurizio-Lotauro

              I have no problem to send you the four files and the session

              okay, gmail (com) knows my username as well ;-)

              1 Reply Last reply Reply Quote 1
              • M
                Maurizio Lotauro
                last edited by Aug 19, 2019, 2:39 PM

                Sent. Thank you!

                E 1 Reply Last reply Aug 19, 2019, 2:59 PM Reply Quote 0
                • E
                  Ekopalypse @Maurizio Lotauro
                  last edited by Ekopalypse Aug 19, 2019, 3:00 PM Aug 19, 2019, 2:59 PM

                  @Maurizio-Lotauro

                  Yes, can confirm - let me see if I can figure out what causes it.
                  One question, what do you mean by

                  Load again the session and the bookmark of the last file are set.

                  ?
                  Using Load Session from file menu?
                  Because I still don’t see the bookmarks on the last file.

                  1 Reply Last reply Reply Quote 0
                  • M
                    Maurizio Lotauro
                    last edited by Aug 19, 2019, 3:15 PM

                    Yes, when I write “I loaded” I mean that I used “Load session” from menu.
                    It seems that the bookmarks appear only when the file is already opened.

                    Small update. I tried with the 7.7 and 7.6.6 portable version. The 7.7 has the same problem while the 7.6.6 works regularly.
                    I think that I skipped the 7.7 version, so I noticed the problem only now.

                    E 1 Reply Last reply Aug 19, 2019, 3:30 PM Reply Quote 2
                    • E
                      Ekopalypse
                      last edited by Aug 19, 2019, 3:26 PM

                      Yes, can confirm 7.6.6 seems to work as expected
                      and starting from 7.7 onward the issue begins.
                      When having multi-instance defined a reload session will not restore the bookmarks
                      whereas when having default mono-instance configured a load session does restore the bookmarks. Debugging ongoing.

                      1 Reply Last reply Reply Quote 1
                      • E
                        Ekopalypse @Maurizio Lotauro
                        last edited by Aug 19, 2019, 3:30 PM

                        @Maurizio-Lotauro

                        actually there is already an issue open and it is related to the fact that the files are ansi encoded.
                        If I convert the last file to utf8 it works as expected as well.

                        1 Reply Last reply Reply Quote 1
                        • M
                          Maurizio Lotauro
                          last edited by Aug 19, 2019, 4:44 PM

                          Thank you for the information!

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