Community
    • Login

    Notepad++ release 8.9.9

    Scheduled Pinned Locked Moved Announcements
    18 Posts 5 Posters 644 Views 2 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 @andrecool-68
      last edited by donho

      @andrecool-68 said:
      If the Notepad++ window is already open, then the file (ANY) does not open at all through the context menu. If the Notepad++ window is closed, open it through the context menu. This appeared only in this new version; if you take any older version of Notepad++, then such a problem was not observed.
      I checked ‘Notepad++ Release Candidate 2 v8.9.9’, and it turned out that this version does not have this problem at all, unlike the final version.

      Official released Notepad++ v8.9.9 opened in Administrator mode from C:\Program Files\Notepad++\notepad++.exe,
      and I cannot reproduce the bug you reported - File is opened as expected.

      One thing you should ensure that the opened Notepad++ path should be the one that NppShell.dll points to (Normally C:\Program Files\Notepad++\notepad++.exe), otherwise the operation will be abandoned for the security reason (harden in v8.9.9).

      andrecool-68A 1 Reply Last reply Reply Quote 2
      • donhoD Offline
        donho @peter-fb
        last edited by donho

        @peter-fb

        The “culprit” is:
        https://github.com/notepad-plus-plus/notepad-plus-plus/blame/master/PowerEditor/src/ScintillaComponent/FindReplaceDlg.rc#L93

        It was introduced at least 16 years ago for being able to use ALT+y to check/uncheck Transparency checkbox.
        So it’s rather a feature, not a bug.

        peter-fbP 1 Reply Last reply Reply Quote 1
        • peter-fbP Offline
          peter-fb @donho
          last edited by

          @donho And it somehow only shows up now with version 8.9.9, not with version 8.9.8.1. Do I understand that correctly?

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

            @donho said:

            One thing you should ensure that the opened Notepad++ path should be the one that NppShell.dll points to (Normally C:\Program Files\Notepad++\notepad++.exe), otherwise the operation will be abandoned for the security reason (harden in v8.9.9).

            I always have the portable version in which there is no NppShell.dll file at all, and for many years I have added Notepad++ via a batch file. These problems only started in the final version.

            REM Open file in Notepad++ (Открыть файл в Notepad++)
            Reg.exe add "HKCR\*\shell\Open file in Notepad++" /v "Icon" /t REG_SZ /d "%~dp0notepad++.exe,0" /f
            Reg.exe add "HKCR\*\shell\Open file in Notepad++\command" /ve /t REG_SZ /d "\"%~dp0notepad++.exe\" \"%%1\"" /f
            
            PeterJonesP 1 Reply Last reply Reply Quote 0
            • donhoD Offline
              donho @peter-fb
              last edited by

              @peter-fb said:

              @donho And it somehow only shows up now with version 8.9.9, not with version 8.9.8.1. Do I understand that correctly?

              cdfcdcd1-5287-4524-b686-6b564468579c-image.jpeg

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

                @donho, regarding your reply about @peter-fb’s visual difference:

                This is the extra / new line that @peter-fb is talking about:
                5604c8e4-ca8f-4f9e-af8c-eee83fff6cf8-image.jpeg
                The left images are from @peter-fb’s 8.9.8.1 screenshot (upper is normal, lower is zoomed 4x); the right images are from @peter-fb’s 8.9.9 screenshot (upper is normal, lower is zoomed 4x). I showed a green arrow to the extra line that shows up in the newest version.

                Your screenshot from 8.7.8 does not have the extra line, either:

                572ef7ee-b5dc-4e1b-aa41-a04c3ca1731b-image.jpeg

                It appears v8.9.9 grew the vertical height of the FIND dialog slightly, and that you can now see the bottom border line for the tab-selector object that used to be hidden under the status bar on that dialog.

                peter-fbP 1 Reply Last reply Reply Quote 2
                • peter-fbP Offline
                  peter-fb @PeterJones
                  last edited by

                  @PeterJones Thank you so much! You explain it far better than I ever could. Here’s a comparison I just made, but the one you posted is much clearer.

                  comparison.png

                  And if I’m completely misunderstanding what Don Ho means, then I’m sorry.

                  1 Reply Last reply Reply Quote 2
                  • PeterJonesP Online
                    PeterJones @andrecool-68
                    last edited by PeterJones

                    @andrecool-68 said:

                    I always have the portable version in which there is no NppShell.dll file at all, and for many years I have added Notepad++ via a batch file. These problems only started in the final version.

                    I have no such problem:

                    see video:
                    PortableRightClick.gif

                    Equivalent to what Don said, you need to make sure that the registry entry and the active Admin Notepad++ have the exact same path (from their own perspective). See my screenshot, where I show both the REG QUERY results for the keys created, and the Debug Info which confirms they are the same:
                    e97a220d-a901-419d-b61f-d83389fcf9dd-image.jpeg

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

                      Hello, @peter-fb, @donho, @peterjones and All,

                      Ah … @peter-fb, I clearly see, now, what you meant !

                      Indeed, with the last N++ v8.9.9 release, here are two snapshots of the Find dialog :

                      ea3cc32b-23a0-4922-a07d-1bcd4f06f5de-image.jpeg

                      0f132061-0d4f-4cd0-b6ef-955af07ca2fd-image.jpeg

                      So, you can also notice this problem within the reduced / compact version !

                      BR

                      guy038

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

                        @guy038 said:

                        So, you can also notice this problem within the reduced / compact version !

                        Personally, I wouldn’t call it a “problem”, just a change in appearance.

                        If anything, I would consider the old to be the problem, and the new to be “correct” (except for maybe the ^ button).

                        In the old, the status bar was covering the bottom line of the border for the tabbed subview control. In the new, the bottom border for the tabbed subview is visible, as would be expected.

                        Here’s a conceptual version:
                        67eb2e90-ae76-49b3-9c60-2610d671cffb-image.jpeg

                        • on the left is the v8.9.8.1 (and earlier) layout
                          • the bottom edge of the tabbed view (green outline) is covered by the status bar (orange)
                        • on the right is the v8.9.9 layout
                          • the bottom edge of the tabbed view is above the status bar, so you can see the entirety of both

                        Really, that’s not quite it, either, because as you can see in my screenshots, for some environments, the ^ button slightly covers the bottom and right edges still:
                        5655b9b9-4791-4d0e-972b-fad747670c02-image.jpeg
                        But your screenshot do not show that.

                        And to me, this is rather unimportant, as I wouldn’t’ve noticed it if @peter-fb hadn’t pointed it out. But I’d prefer it as it is in v8.9.9, rather than the cover-the-border from v8.9.8.1-and-earlier. (If there was a change, I’d say move the button 1 up and 1 left, to make sure that it doesn’t extend over the edge of the border in the different environments… but I don’t really care if that’s not done.)

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

                          Hi, @peter-fb, @peterjones, @donho and All,

                          When I said :

                          So, you can also notice this problem within the reduced / compact version !

                          Those words went beyond what I was thinking. I should have said :

                          So, you can also notice the changes within the reduced / compact version !


                          Do note that, initially, I did even not see where the “problem” was, at first place !

                          BR

                          guy038

                          1 Reply Last reply Reply Quote 0

                          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