Community
    • Login

    Notepad++ release 8.9.8.1

    Scheduled Pinned Locked Moved Announcements
    27 Posts 12 Posters 7.0k Views 4 Watching
    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 Offline
      donho @Artur Harison
      last edited by donho

      @Artur-Harison

      I cannot reproduce your issue. Reload the file after some changes in text, it’s still working for me:

      01c5372b-03f1-4fd1-8aae-298007dd9a54-image.jpeg

      Artur HarisonA 1 Reply Last reply Reply Quote 0
      • Artur HarisonA Offline
        Artur Harison @donho
        last edited by Artur Harison

        @donho
        I uplad file.
        I cannot isolate the regression conditions.
        But you can repeat his with his file.
        Text file for teproduction
        Video…

        donhoD 1 Reply Last reply Reply Quote 0
        • donhoD Offline
          donho @andrecool-68
          last edited by

          @andrecool-68 said:

          In Windows 7, there is no confirmation dialog for the “Move file to Recycle Bin” action.
          In Windows 10, the confirmation dialog for “Move file to Recycle Bin” is present.

          It’s due to:
          https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/NppIO.cpp#L2357

          	winVer winVersion = (NppParameters::getInstance()).getWinVersion();
          	bool goAhead = true;
          	if (winVersion >= WV_WIN8 || winVersion == WV_UNKNOWN)
          	{
          		// Windows 8 (and version after?) has no system alert, so we ask user's confirmation
          		goAhead = (doDeleteOrNot(fileNamePath) == IDOK);
          	}
          
          	if (goAhead)
          	{
          		...
          		if (!MainFileManager.deleteFile(bufferID))
          		{
          			...
          

          Is this by design, or is it a bug?

          So it was by design. However, a modification was added in deleteFile about one year ago, by @xomx :

          fileOpStruct.fFlags = FOF_ALLOWUNDO | FOF_NOCONFIRMATION; // FOF_NOCONFIRMATION - prevent possible redundant shell-dlg (Notepad++ uses its own delete-confirmation dlg)
          

          (ref: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/de7aa5ae7afb23a900f243120fefeb7a8a3d6ef2)

          That disables the OS popup while calling SHFileOperation.

          As a result, I think it’s safe to remove OS detection and display Notepad++ build-in warning dialog unconditionally.

          I’ll do a commit to fix it.

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

            donho said:

            As a result, I think it’s safe to remove OS detection and display Notepad++ build-in warning dialog unconditionally.

            I’ll do a commit to fix it.

            The issue is fixed in the master. The fix will be in the next release:
            https://github.com/notepad-plus-plus/notepad-plus-plus/commit/ee0106b823575715842e4b45939ee355b8610ecf

            1 Reply Last reply Reply Quote 1
            • donhoD Offline
              donho @Artur Harison
              last edited by

              @Artur-Harison
              Still cannot reproduce your issue with the file you provided.

              Before

              11c574bb-f9e3-4a43-86ac-06c36a6709e0-image.jpeg

              After

              dda2b7dd-6ff9-43ea-823c-fe60fb06698c-image.jpeg

              Is it rather a plugin issue?

              CoisesC 1 Reply Last reply Reply Quote 0
              • CoisesC Online
                Coises @donho
                last edited by

                @donho said:

                Still cannot reproduce your issue with the file you provided.

                @Artur-Harison said:
                Autodetect encode off

                With Audodetect character encoding not checked, Notepad++ sees the file as ANSI.

                I think Artur’s complaint is that, after selecting Encoding | UTF-8 and then reloading the file, the explicitly set encoding does not stick; Notepad++ reverts to the encoding it “thinks” the file should be (ANSI).

                I don’t know if that counts as a bug or as expected behavior.

                Artur HarisonA 1 Reply Last reply Reply Quote 2
                • Artur HarisonA Offline
                  Artur Harison @Coises
                  last edited by Artur Harison

                  @Coises
                  1 file in utf-8
                  2 file opened in utf-8
                  3 after refresh, file toggled in ANSI
                  ————-
                  @donho
                  You don’t need to change the file.
                  Need just open it and reload from disc.

                  Strange behavior. If you add spacebar anywere
                  Problem is gone. If again delete space, problem back. O_o
                  But it’s work a long 1401 line.
                  If edit after, problem remain.

                  All plugs off.
                  X64
                  Win10
                  Auto encode off.

                  CoisesC 1 Reply Last reply Reply Quote 0
                  • CoisesC Online
                    Coises @Artur Harison
                    last edited by Coises

                    @Artur-Harison said:

                    @Coises
                    1 file in utf-8
                    2 file opened in utf-8
                    3 after refresh, file toggled in ANSI

                    I don’t get quite the same result. If I open your test file, Notepad++ thinks it is “ANSI.” I have to change it to UTF-8 using the Encoding menu.

                    Strange behavior. If you add spacebar anywere
                    Problem is gone.

                    That is almost certainly this bug.

                    Edit to add:

                    If I rename your file to new_1_test.xml I get exactly the behavior you describe: it opens as UTF-8 but reloads as ANSI. That is surely a bug.

                    Artur HarisonA Xuân-Thơ HOÀNGX 2 Replies Last reply Reply Quote 3
                    • Artur HarisonA Offline
                      Artur Harison @Coises
                      last edited by Artur Harison

                      @Coises
                      I think you’re right.
                      If you are encode utf 8 and safe. And reload. Against it’s be Ansi. But if add one spacebar. Problem is gone, but if again delete spacebar. Problem is back.
                      XML lang detector problem! ?
                      —-
                      File was edited in utf 8 format.
                      Encoding obey XML in first line of document.
                      But after reload, bufer reads as ANSI, and ignored specification encoding.

                      Artur HarisonA 1 Reply Last reply Reply Quote 0
                      • Artur HarisonA Offline
                        Artur Harison @Artur Harison
                        last edited by

                        This post is deleted!
                        donhoD 1 Reply Last reply Reply Quote 0
                        • donhoD Offline
                          donho @Artur Harison
                          last edited by

                          @Artur-Harison
                          I don’t think the 2 issues you have are the regressions.
                          Could you open these 2 issues on Github?

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tordenflesk
                            last edited by

                            My layout got corrupted/reset by this upgrade. Plugins etc. are installed but layout, themes fonts etc. are back to defaults:

                            quick way to restore?

                            upgraded / Installed via scoop.

                            5a005449-4d34-434b-9cf6-825987719001-image.jpeg

                            PeterJonesP 1 Reply Last reply Reply Quote 0
                            • PeterJonesP Online
                              PeterJones @tordenflesk
                              last edited by

                              @tordenflesk said:

                              My layout got corrupted/reset by this upgrade. Plugins etc. are installed but layout, themes fonts etc. are back to defaults:

                              quick way to restore?

                              Hopefully, it’s just that it used to point to local config but is now AppData, or similar. Can you share ?-menu’s Debug Info?

                              upgraded / Installed via scoop.

                              My guess is that the 8.9.8.1 fix for the 8.9.8 scoop problem somehow had that side effect. But that’s just my guess as someone on the periphery. With your Debug Info, one of the experts might have more insight.

                              rdipardoR 1 Reply Last reply Reply Quote 0
                              • rdipardoR Offline
                                rdipardo @PeterJones
                                last edited by rdipardo

                                @PeterJones said:

                                Hopefully, it’s just that it used to point to local config but is now AppData, or similar.

                                As a scoop user myself, I can confirm that it will configure Notepad++ for portable usage by default.¹ Removing the magic doLocalConf.xml file at %USERPROFILE%\scoop\apps\notepadplusplus\current is probably all that’s needed.


                                ¹ This is one setting that’s not preserved during an upgrade (the other being the autoCompletion folder), while the contents of ${NPP_INSTALLATION_ROOT}\{backup,cloud,plugins,themes,userDefineLangs} are kept in sync by means of junctions between the canonical current folder and the versioned one. Someone should open an issue in the scoop repository, I just haven’t found the free time yet.

                                donhoD 1 Reply Last reply Reply Quote 1
                                • donhoD Offline
                                  donho @rdipardo
                                  last edited by donho

                                  @rdipardo said:

                                  As a scoop user myself, I can confirm that it will configure Notepad++ for portable usage by default.¹

                                  Thank you for the confirmation.
                                  Are you saying that scoop changed their way to install Notepad++ due to the Regression of failure to open files via Notepad++ symlink paths in v8.9.8?

                                  rdipardoR 1 Reply Last reply Reply Quote 1
                                  • rdipardoR Offline
                                    rdipardo @donho
                                    last edited by rdipardo

                                    @donho said:

                                    Are you saying that scoop changed their way to install Notepad++ due to the Regression of failure to open files via Notepad++ symlink paths in v8.9.8?

                                    No. Scoop has always used junctions to persist the user’s config files — before and after v8.9.8 — by linking the (portable) installation directory to a stable %UserProfile%\scoop\persist\notepadplusplus folder, e.g.,¹

                                    > dir %UserProfile%\scoop\apps\notepadplusplus\8.9.8.1
                                    
                                    10/01/2026  08:01 PM    <DIR>          .
                                    09/29/2026  06:20 PM    <DIR>          ..
                                    09/24/2026  09:58 AM    <DIR>          autoCompletion
                                    09/29/2026  06:20 PM    <JUNCTION>     backup [\??\C:\Users\Rob\scoop\persist\notepadplusplus\backup]
                                    ...
                                    09/29/2026  06:20 PM    <JUNCTION>     cloud [\??\C:\Users\Rob\scoop\persist\notepadplusplus\cloud]
                                    ...
                                    09/29/2026  06:20 PM    <JUNCTION>     plugins [\??\C:\Users\Rob\scoop\persist\notepadplusplus\plugins]
                                    ...
                                    09/29/2026  06:20 PM    <JUNCTION>     themes [\??\C:\Users\Rob\scoop\persist\notepadplusplus\themes]
                                    ...
                                    09/29/2026  06:20 PM    <JUNCTION>     userDefineLangs [\??\C:\Users\Rob\scoop\persist\notepadplusplus\userDefineLangs]
                                    

                                    The problem I was mentioning is with the installation script (available here). Because it always downloads a portable release, the bundled doLocalConf.xml file is extracted — and kept — every time, whether or not the user wants to run in portable mode.


                                    ¹ Notice that autoCompletion is not soft-linked, probably by oversight.

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

                                      FYI: the auto-update is triggered for this release.

                                      1 Reply Last reply Reply Quote 3
                                      • D Offline
                                        drunkaan-cloud
                                        last edited by

                                        Search in Files not working (no result found where obviously there are) in this release. Reinstallation => NO SUCCESS. I had to revert to 8.9.8 to use it again.

                                        PeterJonesP 1 Reply Last reply Reply Quote 0
                                        • PeterJonesP Online
                                          PeterJones @drunkaan-cloud
                                          last edited by PeterJones

                                          @drunkaan-cloud said:

                                          Search in Files not working (no result found where obviously there are) in this release. Reinstallation => NO SUCCESS. I had to revert to 8.9.8 to use it again.

                                          v8.9.8.1 Find in Files works fine for me.

                                          Please:

                                          • Try with all plugins disabled, to make sure it’s not a plugin issue
                                          • share ?-menu’s Debug Info
                                          • share your FIND WHAT (use ` before and after your search, like `my.*search` , so that the Forum doesn’t “eat” your search characters as post-formatting)
                                          • share all the options in the Find in Files dialog (Filters, Directory, Search Mode, other checkboxes – a screenshot would be easiest)
                                          • does your directory contain *.lnk to files or other directories? or windows junctions or symlinks or hardlinks?
                                          1 Reply Last reply Reply Quote 3
                                          • M Offline
                                            minneyb-unix
                                            last edited by

                                            The installation keeps failing in my user\appdata\roaming\Notepad++\ folder. It keeps saying that access is denied. Its access is granted.

                                            xomxX 1 Reply Last reply Reply Quote 0
                                            • donhoD donho referenced this topic on

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors