Notepad++ v8.7.1 Release Candidate
-
Notepad++ v8.7.1 Release Candidate:
http://download.notepad-plus-plus.org/repository/8.x/8.7.1.RC/
http://download.notepad-plus-plus.org/repository/8.x/8.7.1.RC2/
http://download.notepad-plus-plus.org/repository/8.x/8.7.1.RC3/
http://download.notepad-plus-plus.org/repository/8.x/8.7.1.RC4/Change log:
- Update cURL in Notepad++ updater (WinGUp) for fixing cURL’s CVE-2024-7264 issue. (Fix #73)
- Fix opened network files hanging while the network disconnected. (Fix #4306, #6178, #8055, #11388, #12553, #15540)
- Fix not being able to open folder via cammand argument regression. (Fix #15645)
- Update to Scintilla 5.5.3 & Lexilla 5.4.1. (Fix #15228, #15368, #15650)
- Fix modified Find dialog status msg colors not being remembered throu sessions. (Fix #15724)
- Fix hanging issue while hiding lines. (Fix #15630)
- Make left behide hide line close marker removable. (Fix #15713)
- Fix Find dialog status bar wrong messaging (regression). (Fix #15662)
- Fix URL parsing issue with ‘?’ after ‘#’. (Fix #13583)
- Add “Close to system tray” ability. (Fix #4075, #11627)
- Add tab created time tooltip for new opened untitled tab. (Fix #15563)
- Improve GUI to avoid user confusion between Global override & Default Styles. (Fix #15640)
Edit: the reported regression has been fixed in 8.7.1.RC2
-
3., 5., 6., 7., 8., 9., 11., & 12.
Issues links point to “wingup” repository instead to the correct “notepad-plus-plus”.
-
@xomx said in Notepad++ v8.7.1 Release Candidate:
Issues links point to “wingup” repository instead to the correct “notepad-plus-plus”.
Thank you very much for pointing out the problem!
Fixed now. -
Hello, @don-ho and All,
I’ve just downloaded the
Release candidate v8.7.1 64 bits
portable and I think there’s a bug regarding the save of anew #
document !
When using the
Ctrl + S
shortcut or theFile > Save
menu option, it correctly open theSave As
dialog, with theAppend extension
option checked, at the bottom.However, if you decide to change the default
new_1.txt
proposed name and type inDon
( for example ! ), when you click on theSave
( orEnregistrer
in France ) button , the file is simply saved with nameDon
and not, as expected, with the name and its extension, i.e.Don.txt
!?Note that the problem remains the same if you, first, move the
new 1
file to the sub-view !Do I miss something obvious or is there a real problem ?
To end, note that my previous portable installation, on my
Win 10
laptop, wasN++ v8.6.5 64 bits
Best Regards,
guy038
-
@guy038 said:
change the default
new 1.txt
proposed name and type inDon
, when you click on the Save button , the file is simply saved with nameDon
and not, as expected, with the name and its extension, i.e.Don.txt
!?I can reproduce this in 8.7.1 RC.
It is a regression introduced into that version (as 8.7 does not do this). -
@guy038 Try removing plugins!
-
@Artur-Harison said in Notepad++ v8.7.1 Release Candidate:
Try removing plugins!
Please understand that “I’ve just downloaded the Release candidate v8.7.1 64 bits portable” implies a fresh unzip of portable Notepad++, without any extra plugins installed, and thus “try removing plugins” is meaningless advice to someone who was already savvy enough to try the testing in a portable copy of the release candidate. The problem that @guy038 found, and that @Alan-Kilborn confirmed, has nothing to do with plugins, but is an actual regression in v8.7.1.
update:
@donho , not only have I confirmed it with no plugins (not that I thought any of the three plugins were the culprit), but i have confirmed it happens if you do a Save As on an existing file (likechange.log
) as well – the Save As dialog seems to be ignoring the Append extension checkbox. That’s definitely a killer regression. -
Not strictly a regression for the RC for 8.7.1, but this is a bug in recent versions that I’ve spent a lot of time digging into, and only recently found its origins:
Perhaps that can be fixed for 8.7.1 as well?
EDIT: Perhaps most people leave Enable Copy/Cut Line without selection “on”, but I can’t stand this…because I often have my caret on an empty line and am intending to hit Ctrl+v to paste…but I accidentally hit Ctrl+c instead, putting only a line-ending in my clipboard buffer, and losing what I had there! :-(
-
@guy038 said in Notepad++ v8.7.1 Release Candidate:
However, if you decide to change the default new_1.txt proposed name and type in Don ( for example ! ), when you click on the Save ( or Enregistrer in France ) button , the file is simply saved with name Don and not, as expected, with the name and its extension, i.e. Don.txt !?
Regression fix:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/15745 -
The bug is fixed in RC2 (See the new link here).
Thank @guy038 for finding the regression; thank @Alan-Kilborn & @PeterJones for testing and confirmation of bug; thank @xomx for fixing the regression.
-
@donho said in Notepad++ v8.7.1 Release Candidate:
Add tab created time tooltip for new opened untitled tab. (Fix #15563 )
@donho
I found one additional problem with this new feature: -
@xomx
Thank you for the bug report!
It’s fixed in the commit: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/93ecbb004c8a216d17a8b940572a388f010c94eeRC3 is available now.
-
Hello, @don-ho and All,
Really sorry, Don, but there’s a problem with the
session.xml
andsession.xml.inCaseOfCorruption.bak
files :-((- With Notepad++
v7.6.1 RC3
, the number of files reported, in these two files :
<mainView activeIndex="0">
contains, systematically, the value
0
, instead of the number of tabs of the main view- With Notepad++
v7.6.1 RC3
, the number of files reported in thse two files :
<subView activeIndex="4">
Seems equal to the number of tabs of the secondary view, minus
1
For example, the contents of my
session.xml
file are :<?xml version="1.0" encoding="UTF-8" ?> <NotepadPlus> <Session activeView="1"> <mainView activeIndex="0"> <File firstVisibleLine="0" xOffset="0" scrollWidth="5266" startPos="1030" endPos="1030" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\871_x64\change.log" backupFilePath="" originalFileLastModifTimestamp="469169920" originalFileLastModifTimestampHigh="31140355" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="0" xOffset="0" scrollWidth="821" startPos="0" endPos="0" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Ahamed.txt" backupFilePath="" originalFileLastModifTimestamp="1110463232" originalFileLastModifTimestampHigh="31139783" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="0" xOffset="0" scrollWidth="2333" startPos="0" endPos="0" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Non_Printing_chars.txt" backupFilePath="" originalFileLastModifTimestamp="564645632" originalFileLastModifTimestampHigh="31139758" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> </mainView> <subView activeIndex="4"> <File firstVisibleLine="0" xOffset="0" scrollWidth="2333" startPos="642" endPos="642" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\File_B.txt" backupFilePath="" originalFileLastModifTimestamp="-1020379648" originalFileLastModifTimestampHigh="31140062" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no"> <Mark line="1" /> <Mark line="3" /> <Mark line="8" /> </File> <File firstVisibleLine="0" xOffset="0" scrollWidth="2333" startPos="0" endPos="0" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\File_A.txt" backupFilePath="" originalFileLastModifTimestamp="-290960896" originalFileLastModifTimestampHigh="31140350" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="6" xOffset="0" scrollWidth="1527" startPos="216" endPos="216" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\AJ_Peter.txt" backupFilePath="" originalFileLastModifTimestamp="335249152" originalFileLastModifTimestampHigh="31140388" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="0" xOffset="0" scrollWidth="2407" startPos="293" endPos="293" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Peelo.txt" backupFilePath="" originalFileLastModifTimestamp="990085632" originalFileLastModifTimestampHigh="31140383" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="119" xOffset="0" scrollWidth="1848" startPos="5541" endPos="5541" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Ray.txt" backupFilePath="" originalFileLastModifTimestamp="388708352" originalFileLastModifTimestampHigh="31140188" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> </subView> </Session> </NotepadPlus>
And the contents of my
session.xml.inCaseOfCorruption.bak
file are :<?xml version="1.0" encoding="UTF-8" ?> <NotepadPlus> <Session activeView="1"> <mainView activeIndex="0"> <File firstVisibleLine="0" xOffset="0" scrollWidth="5266" startPos="1030" endPos="1030" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\871_x64\change.log" backupFilePath="" originalFileLastModifTimestamp="469169920" originalFileLastModifTimestampHigh="31140355" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="0" xOffset="0" scrollWidth="821" startPos="0" endPos="0" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Ahamed.txt" backupFilePath="" originalFileLastModifTimestamp="1110463232" originalFileLastModifTimestampHigh="31139783" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="0" xOffset="0" scrollWidth="2333" startPos="0" endPos="0" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Non_Printing_chars.txt" backupFilePath="" originalFileLastModifTimestamp="564645632" originalFileLastModifTimestampHigh="31139758" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="119" xOffset="0" scrollWidth="1848" startPos="5541" endPos="5541" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Ray.txt" backupFilePath="" originalFileLastModifTimestamp="388708352" originalFileLastModifTimestampHigh="31140188" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="0" xOffset="0" scrollWidth="2407" startPos="293" endPos="293" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Peelo.txt" backupFilePath="" originalFileLastModifTimestamp="990085632" originalFileLastModifTimestampHigh="31140383" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> </mainView> <subView activeIndex="2"> <File firstVisibleLine="0" xOffset="0" scrollWidth="2333" startPos="642" endPos="642" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\File_B.txt" backupFilePath="" originalFileLastModifTimestamp="-1020379648" originalFileLastModifTimestampHigh="31140062" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no"> <Mark line="1" /> <Mark line="3" /> <Mark line="8" /> </File> <File firstVisibleLine="0" xOffset="0" scrollWidth="2333" startPos="0" endPos="0" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\File_A.txt" backupFilePath="" originalFileLastModifTimestamp="-290960896" originalFileLastModifTimestampHigh="31140350" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="6" xOffset="0" scrollWidth="1527" startPos="216" endPos="216" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\AJ_Peter.txt" backupFilePath="" originalFileLastModifTimestamp="335249152" originalFileLastModifTimestampHigh="31140388" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> </subView> </Session> </NotepadPlus>
However, all the files, described in the
session.xml
file, are present, as expected, in their respective view !!What is your feelings about my description ?
Best Regards,
guy038
- With Notepad++
-
Hi, @don-ho and All,
I did some other tests and, now, the number of files, reported in the main view, is; correctly, a non-zero number. However this number is erroneous, as well as the number reported for the secondary view !
Here is the contents of my updated
session.xml
file<?xml version="1.0" encoding="UTF-8" ?> <NotepadPlus> <Session activeView="0"> <mainView activeIndex="3"> <File firstVisibleLine="0" xOffset="0" scrollWidth="5266" startPos="1030" endPos="1030" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\871_x64\change.log" backupFilePath="" originalFileLastModifTimestamp="469169920" originalFileLastModifTimestampHigh="31140355" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="0" xOffset="0" scrollWidth="821" startPos="0" endPos="0" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Ahamed.txt" backupFilePath="" originalFileLastModifTimestamp="1110463232" originalFileLastModifTimestampHigh="31139783" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="0" xOffset="0" scrollWidth="2333" startPos="0" endPos="0" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Non_Printing_chars.txt" backupFilePath="" originalFileLastModifTimestamp="564645632" originalFileLastModifTimestampHigh="31139758" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="0" xOffset="0" scrollWidth="5266" startPos="363" endPos="363" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\AJ_Don.txt" backupFilePath="" originalFileLastModifTimestamp="-871676672" originalFileLastModifTimestampHigh="31140481" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> </mainView> <subView activeIndex="3"> <File firstVisibleLine="0" xOffset="0" scrollWidth="2333" startPos="642" endPos="642" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\File_B.txt" backupFilePath="" originalFileLastModifTimestamp="-1020379648" originalFileLastModifTimestampHigh="31140062" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no"> <Mark line="1" /> <Mark line="3" /> <Mark line="8" /> </File> <File firstVisibleLine="0" xOffset="0" scrollWidth="2333" startPos="0" endPos="0" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\File_A.txt" backupFilePath="" originalFileLastModifTimestamp="-290960896" originalFileLastModifTimestampHigh="31140350" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="6" xOffset="0" scrollWidth="1527" startPos="216" endPos="216" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\AJ_Peter.txt" backupFilePath="" originalFileLastModifTimestamp="335249152" originalFileLastModifTimestampHigh="31140388" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="0" xOffset="0" scrollWidth="2407" startPos="293" endPos="293" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Peelo.txt" backupFilePath="" originalFileLastModifTimestamp="990085632" originalFileLastModifTimestampHigh="31140383" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> <File firstVisibleLine="119" xOffset="0" scrollWidth="1848" startPos="5652" endPos="5652" selMode="0" offset="0" wrapCount="1" lang="None (Normal Text)" encoding="-1" userReadOnly="no" filename="D:\Ray.txt" backupFilePath="" originalFileLastModifTimestamp="388708352" originalFileLastModifTimestampHigh="31140188" tabColourId="-1" RTL="no" mapFirstVisibleDisplayLine="-1" mapFirstVisibleDocLine="-1" mapLastVisibleDocLine="-1" mapNbLine="-1" mapHigherPos="-1" mapWidth="-1" mapHeight="-1" mapKByteInDoc="512" mapWrapIndentMode="-1" mapIsWrap="no" /> </subView> </Session> </NotepadPlus>
As you can verify, obviously, there are
4
files in the main view and5
files in the secondary view. Despite of these results, it reports3
files in both views ??BR
guy038
-
Hi @guy038,
I think this behaviour is correct like it is. The activeIndex property remembers the active tab you had selected (the tab you last looked at) at the respecting view while closing notepad++, so it can be restored at next launch.
-
@donho said in Notepad++ v8.7.1 Release Candidate:
It’s fixed in the commit: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/93ecbb004c8a216d17a8b940572a388f010c94ee
RC3 is available now.
Not fixed in RC3(?!):
-
Hello, @xomx,
As you positively reacted to the @markusbodensee’s reply, I suppose that my interpretation of the
session.xml
contents is somehow inexact !Could you briefly explain me what I miss ?
Thanks for your cooperation and for the many fixes realized !
Best Regards,
guy038
Note that I generally read the
session.xml
contents with Microsoft notepad, AFTER I closedN++
, to be sure ! -
He is right. That
activeIndex="..."
is what its name says - a (zero-based) index of the currently selected tab in the view (so not the number of files in the view). -
Hello, @don-ho, @markusbodensee, @xomx and All,
OH, MY GOD ! Thank you, @xomx for your explanations. I did not realize while reading @markusbodensee’s reply. Of course, I fully understand my so-called problem, now !
So Don, sorry for the noise. I always thought that these two numbers contain the total number of files of each view. Now, I understand that this information would be meaningless !
I was fooled by the fact that, when working on the most recent tab, the
active index
number is just equal to the total of files minus1
of the current view, as it is a based-0 number !Again, sorry for this exposed non-issue. I’m so unforgivable :-((
Best Regards,
guy038
-
Not fixed in RC3(?!):
I have tested again with your scenario, but cannot reproduce it.
What am I missing?