Notepad++ v8.7.1 Release Candidate
-
@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? -
@donho said in Notepad++ v8.7.1 Release Candidate:
I have tested again with your scenario, but cannot reproduce it.
What am I missing?I quickly checked your RC3 patch - all your changes are in/for the
Notepad_plus::fileSave
. This is not universal, as when I use the menu > File > Save As… (Ctrl+Alt+S), theNotepad_plus::fileSaveAs
will be used instead. -
-
@donho said in Notepad++ v8.7.1 Release Candidate:
I do belive it’s fixed in RC4
Perfect, now it is ok, thanks.
Not clearing that time-info, only not showing it for!DOC_UNNAMED
tabs is clever & universal. -
As I mentioned before - the localization of Global override is cut off. Check some of the localizations like Български, Deutsch, Hrvatski, Español and some others.
Български
Deutsch
-
@rddim
I will make as large as possible for some checkbox (without enlarging the dialog width) in the next release. Please find other shorter words or the abbreviation for the translation.