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.
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?
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.
I have no problem to send you the four files and the session
okay, gmail (com) knows my username as well ;-)
Sent. Thank you!
Ekopalypse last edited by Ekopalypse
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.
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.
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.
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.
Thank you for the information!