Community
    • Login

    Notepad++ v8.7.1 Release Candidate

    Scheduled Pinned Locked Moved Announcements
    25 Posts 8 Posters 2.8k 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.
    • donhoD
      donho
      last edited by donho

      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:

      1. Update cURL in Notepad++ updater (WinGUp) for fixing cURL’s CVE-2024-7264 issue. (Fix #73)
      2. Fix opened network files hanging while the network disconnected. (Fix #4306, #6178, #8055, #11388, #12553, #15540)
      3. Fix not being able to open folder via cammand argument regression. (Fix #15645)
      4. Update to Scintilla 5.5.3 & Lexilla 5.4.1. (Fix #15228, #15368, #15650)
      5. Fix modified Find dialog status msg colors not being remembered throu sessions. (Fix #15724)
      6. Fix hanging issue while hiding lines. (Fix #15630)
      7. Make left behide hide line close marker removable. (Fix #15713)
      8. Fix Find dialog status bar wrong messaging (regression). (Fix #15662)
      9. Fix URL parsing issue with ‘?’ after ‘#’. (Fix #13583)
      10. Add “Close to system tray” ability. (Fix #4075, #11627)
      11. Add tab created time tooltip for new opened untitled tab. (Fix #15563)
      12. 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

      xomxX 2 Replies Last reply Reply Quote 9
      • xomxX
        xomx @donho
        last edited by

        @donho

        3., 5., 6., 7., 8., 9., 11., & 12.

        Issues links point to “wingup” repository instead to the correct “notepad-plus-plus”.

        donhoD 1 Reply Last reply Reply Quote 2
        • donhoD
          donho @xomx
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • guy038G
            guy038
            last edited by guy038

            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 a new # document !


            When using the Ctrl + S shortcut or the File > Save menu option, it correctly open the Save As dialog, with the Append extension option checked, at the bottom.

            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 !?

            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, was N++ v8.6.5 64 bits

            Best Regards,

            guy038

            Alan KilbornA Artur HarisonA xomxX donhoD 4 Replies Last reply Reply Quote 7
            • Alan KilbornA
              Alan Kilborn @guy038
              last edited by

              @guy038 said:

              change the default new 1.txt proposed name and type in Don, when you click on the Save button , the file is simply saved with name Don 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).

              1 Reply Last reply Reply Quote 6
              • Artur HarisonA
                Artur Harison @guy038
                last edited by

                @guy038 Try removing plugins!

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

                  @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 (like change.log) as well – the Save As dialog seems to be ignoring the Append extension checkbox. That’s definitely a killer regression.

                  1 Reply Last reply Reply Quote 6
                  • Alan KilbornA
                    Alan Kilborn
                    last edited by Alan Kilborn

                    @donho

                    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:

                    BUG: Uncheckmarked ‘Enable Copy/Cut Line without selection’ makes Ctrl+c in ‘Search results’ panel do nothing

                    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! :-(

                    1 Reply Last reply Reply Quote 7
                    • xomxX
                      xomx @guy038
                      last edited by xomx

                      @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

                      1 Reply Last reply Reply Quote 5
                      • donhoD
                        donho @guy038
                        last edited by

                        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.

                        1 Reply Last reply Reply Quote 5
                        • xomxX
                          xomx @donho
                          last edited by xomx

                          @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:

                          npp-tab-tooltips-1.png

                          npp-tab-tooltips-2.png

                          npp-tab-tooltips-3.png

                          npp-tab-tooltips-4.png

                          donhoD 1 Reply Last reply Reply Quote 4
                          • donhoD
                            donho @xomx
                            last edited by

                            @xomx
                            Thank you for the bug report!
                            It’s fixed in the commit: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/93ecbb004c8a216d17a8b940572a388f010c94ee

                            RC3 is available now.

                            xomxX 1 Reply Last reply Reply Quote 0
                            • guy038G
                              guy038
                              last edited by guy038

                              Hello, @don-ho and All,

                              Really sorry, Don, but there’s a problem with the session.xml and session.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

                              1 Reply Last reply Reply Quote 0
                              • guy038G
                                guy038
                                last edited by guy038

                                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 and 5 files in the secondary view. Despite of these results, it reports 3 files in both views ??

                                BR

                                guy038

                                1 Reply Last reply Reply Quote 0
                                • MarkusBodenseeM
                                  MarkusBodensee
                                  last edited by

                                  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.

                                  1 Reply Last reply Reply Quote 2
                                  • xomxX
                                    xomx @donho
                                    last edited by xomx

                                    @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(?!):

                                    npp-tab-tooltip-time-savednew-rc3.png

                                    donhoD 1 Reply Last reply Reply Quote 1
                                    • guy038G
                                      guy038
                                      last edited by guy038

                                      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 closed N++, to be sure !

                                      xomxX 1 Reply Last reply Reply Quote 1
                                      • xomxX
                                        xomx @guy038
                                        last edited by

                                        @guy038

                                        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).

                                        1 Reply Last reply Reply Quote 2
                                        • guy038G
                                          guy038
                                          last edited by guy038

                                          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 minus 1 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

                                          1 Reply Last reply Reply Quote 3
                                          • donhoD
                                            donho @xomx
                                            last edited by

                                            @xomx

                                            Not fixed in RC3(?!):

                                            62e48d7c-1b76-4d08-af59-c4d2952a756a-image.png

                                            I have tested again with your scenario, but cannot reproduce it.
                                            What am I missing?

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