Community
    • Login

    v8.4.2 bug

    Scheduled Pinned Locked Moved General Discussion
    22 Posts 7 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.
    • Lycan ThropeL
      Lycan Thrope @Lycan Thrope
      last edited by

      @lycan-thrope ,
      Official report:
      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11819

      1 Reply Last reply Reply Quote 2
      • Alan KilbornA
        Alan Kilborn @Terry R
        last edited by

        @terry-r said in v8.4.2 bug:

        And we expect them to read a FAQ section?

        Nope. But the quick response by someone here of “read FAQ” is fairly quick.

        1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @Alan Kilborn
          last edited by

          @alan-kilborn said in v8.4.2 bug:

          I suppose the best we can do is a FAQ entry.

          How is this for a FAQ entry?

          https://community.notepad-plus-plus.org/topic/23146/faq-desk-notepad-crashes-freezes-unresponsive-after-update

          Alan KilbornA rdipardoR 2 Replies Last reply Reply Quote 4
          • Alan KilbornA
            Alan Kilborn @PeterJones
            last edited by

            @peterjones said in v8.4.2 bug:

            How is this for a FAQ entry?

            It’s simply amazing! :-)

            PeterJonesP 1 Reply Last reply Reply Quote 3
            • PeterJonesP
              PeterJones @Alan Kilborn
              last edited by

              @alan-kilborn said in v8.4.2 bug:

              It’s simply amazing! :-)

              Have fun pasting that link a lot. ;-)

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

                @peterjones,

                Possible Culprit: Plugin
                . . .
                in v8.3, Notepad++ updated the communication protocol between plugins and the application to better handle large files (>2GB) which required all plugins that used certain protocol calls to release a new version.

                What they really did was increase the size of Scintilla’s TextRange structure to accept character positions >2,147,483,647, and only in x86_64 builds. That changed the ABI because it’s machine-dependent. A change to the “communication protocol” or API would be adding or removing a function parameter, like the ADD_ZERO_PADDING wPARAM in v8.4.1.

                Breaking the ABI for the sake of one rarely used feature was pretty reckless, but it would never be a problem if:

                1. plugins were dynamically loaded scripts, as they are in Vim, Sublime Text or VS Code
                2. plugins could never call into Scintilla’s APIs; a baby-proofed FFI could be provided, but no direct calls into any C++ functions, ever

                Somebody is bound to figure this out and fork N++ to include the equivalent of Vim’s Python interface. Static linkage with some form of PythonScript’s code base would be the quickest way. A plugin of the future would be just a Python module that users can fix or adapt all by themselves. Slower performance than DLL plugins, yes, but not noticeably so on recent hardware.

                PeterJonesP 2 Replies Last reply Reply Quote 0
                • PeterJonesP
                  PeterJones @rdipardo
                  last edited by PeterJones

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • PeterJonesP
                    PeterJones @rdipardo
                    last edited by

                    @rdipardo ,

                    That changed the ABI because it’s machine-dependent. A change to the “communication protocol” or API would be adding or removing a function parameter

                    I will rephrase it to “rules” rather than “protocol”. It doesn’t need to be any more technical than that for a FAQ entry for normal users

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

                      The main point to make is that only 64-bit plugins need to be scrutinized for 8.3 compatibility, so a user doesn’t mistakenly trash a perfectly safe 32-bit plugin.

                      PeterJonesP 1 Reply Last reply Reply Quote 2
                      • PeterJonesP
                        PeterJones @rdipardo
                        last edited by PeterJones

                        @rdipardo ,

                        The debug instructions don’t trash anything – they temporarily rename a folder. I believe it is a solid debugging plan to try to narrow down where the problem is coming from. There are times when the plugin is at fault, even if it’s not because of the 64bit-only change in Notepad++.

                        But since it bothers you, the paragraph now emphasizes 64bit for the v8.3 change:

                        in the 64bit Notepad++, v8.3 updated the communication rules between plugins and the application to better handle large files (>2GB) which required all 64bit plugins that used certain protocol calls to release a new version.

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