• Login
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.
  • D
    donho
    last edited by donho Oct 30, 2024, 11:51 PM Oct 25, 2024, 2:26 AM

    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

    X 2 Replies Last reply Oct 25, 2024, 7:44 PM Reply Quote 9
    • X
      xomx @donho
      last edited by Oct 25, 2024, 7:44 PM

      @donho

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

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

      D 1 Reply Last reply Oct 25, 2024, 9:34 PM Reply Quote 2
      • D
        donho @xomx
        last edited by Oct 25, 2024, 9:34 PM

        @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
        • G
          guy038
          last edited by guy038 Oct 28, 2024, 8:42 AM Oct 28, 2024, 2:45 AM

          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

          A A X D 4 Replies Last reply Oct 28, 2024, 10:33 AM Reply Quote 7
          • A
            Alan Kilborn @guy038
            last edited by Oct 28, 2024, 10:33 AM

            @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
            • A
              Artur Harison @guy038
              last edited by Oct 28, 2024, 2:29 PM

              @guy038 Try removing plugins!

              P 1 Reply Last reply Oct 28, 2024, 2:57 PM Reply Quote 0
              • P
                PeterJones @Artur Harison
                last edited by PeterJones Oct 28, 2024, 3:34 PM Oct 28, 2024, 2:57 PM

                @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
                • A
                  Alan Kilborn
                  last edited by Alan Kilborn Oct 28, 2024, 5:54 PM Oct 28, 2024, 3:26 PM

                  @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
                  • X
                    xomx @guy038
                    last edited by xomx Oct 28, 2024, 8:15 PM Oct 28, 2024, 7:56 PM

                    @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
                    • D
                      donho @guy038
                      last edited by Oct 29, 2024, 1:39 AM

                      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
                      • X
                        xomx @donho
                        last edited by xomx Oct 29, 2024, 8:00 PM Oct 29, 2024, 7:35 PM

                        @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

                        D 1 Reply Last reply Oct 30, 2024, 1:17 AM Reply Quote 4
                        • D
                          donho @xomx
                          last edited by Oct 30, 2024, 1:17 AM

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

                          X 1 Reply Last reply Oct 30, 2024, 8:15 AM Reply Quote 0
                          • G
                            guy038
                            last edited by guy038 Oct 30, 2024, 4:09 AM Oct 30, 2024, 4:01 AM

                            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
                            • G
                              guy038
                              last edited by guy038 Oct 30, 2024, 4:33 AM Oct 30, 2024, 4:29 AM

                              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
                              • M
                                MarkusBodensee
                                last edited by Oct 30, 2024, 6:14 AM

                                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
                                • X
                                  xomx @donho
                                  last edited by xomx Oct 30, 2024, 8:18 AM Oct 30, 2024, 8:15 AM

                                  @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

                                  D 1 Reply Last reply Oct 30, 2024, 9:58 AM Reply Quote 1
                                  • G
                                    guy038
                                    last edited by guy038 Oct 30, 2024, 8:47 AM Oct 30, 2024, 8:39 AM

                                    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 !

                                    X 1 Reply Last reply Oct 30, 2024, 8:50 AM Reply Quote 1
                                    • X
                                      xomx @guy038
                                      last edited by Oct 30, 2024, 8:50 AM

                                      @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
                                      • G
                                        guy038
                                        last edited by guy038 Oct 30, 2024, 9:24 AM Oct 30, 2024, 9:14 AM

                                        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
                                        • D
                                          donho @xomx
                                          last edited by Oct 30, 2024, 9:58 AM

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

                                          X 1 Reply Last reply Oct 30, 2024, 11:50 AM Reply Quote 0
                                          9 out of 25
                                          • First post
                                            9/25
                                            Last post
                                          The Community of users of the Notepad++ text editor.
                                          Powered by NodeBB | Contributors