Community
    • Login

    Small problems in Notepad++

    Scheduled Pinned Locked Moved General Discussion
    12 Posts 3 Posters 178 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.
    • U
      Uwo222777 @PeterJones
      last edited by

      @PeterJones
      Thank you very much for your quick and detailed response.
      Version 8.8.8 was installed after correct uninstallation of version 8.8.7. Only the font was customized and nothing more.
      Forgot to mention that this was on Win10 x64
      I’ll try to reinstall Notepad++ again.
      Thank you for your comment. Sincerely

      CoisesC 1 Reply Last reply Reply Quote 0
      • U
        Uwo222777
        last edited by

        I uninstalled the program and cleared out what was left in the hidden folders. Installed it again.
        The “truncated” context menu remains only when switching to English.
        The full menu is in German, French, Romanian, Ukrainian, Russian, as it should be.
        Probably some “local” problems - I don’t know what. Sorry to bother you with my message.

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

          @Uwo222777 said in Small problems in Notepad++:

          Version 8.8.8 was installed after correct uninstallation of version 8.8.7. Only the font was customized and nothing more.
          Forgot to mention that this was on Win10 x64

          I’ve been able to reproduce the same problem with localization and the incorrect context menu. Also Notepad++ 8.8.8, Win 10 x64. It happens when I change from any localization other than English to English.

          Brief testing suggests that opening in English displays the correct menu; opening in another localization or changing to another localization, then changing to English shows the short menu; and changing to “English (customizable)” temporarily clears the problem: that is “English (customizable)” works and changing from that to just plain “English” also works.

          Edit to add: Also reproduces with a fresh, portable build.

          U 1 Reply Last reply Reply Quote 1
          • U
            Uwo222777 @Coises
            last edited by

            @Coises
            Yes, Coises, I did a similar “research” in parallel with you.

            I assume that the problem of the “truncated” English menu has to do either with “non-English” Windows, or with the language where the program is being installed.
            After correct uninstallation and cleaning of hidden folders, I installed Notepad++ again, but (!) in English.
            When first launched, the English menu looked normal. After the first language change, the English menu became “truncated” view.

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

              @Uwo222777 said in Small problems in Notepad++:

              I assume that the problem of the “truncated” English menu has to do either with “non-English” Windows, or with the language where the program is being installed.

              I’m able to reproduce the problem under debugging. It looks like it happens when the routine that builds the translated context menu tries to figure out which main menu commands correspond to the context menu commands. Something is different about the default case, English: it looks like in that case only, the main menu hasn’t been set back to English yet when the search for corresponding items occurs, so the routine is searching for English command names in a menu that’s still in another language. (I say “looks like”; I have not positively confirmed that yet.)

              I’ll file an issue on GitHub when I think I’ve gotten as far as I can at diagnosing the problem — probably later today.

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

                @Coises ,

                Thanks.

                I tried a few recent versions, and they all had it. So I started a binary search through the various versions: v8.7.0 has the bug, v8.6.9 does not have the bug.

                So v8.7.0 is the first that has the problem. Though I cannot see anything in the 8.7 change list that screams “I changed the localization logic”, so that surprises me.

                Notepad++ v8.7   (64-bit)
                Build time : Sep 17 2024 - 17:06:31
                Path : C:\usr\local\apps\npp\npp.8.7.0\notepad++.exe
                Command Line : 
                Admin mode : OFF
                Local Conf mode : ON
                Cloud Config : OFF
                Periodic Backup : ON
                OS Name : Windows 11 Home (64-bit)
                OS Version : 24H2
                OS Build : 26100.7171
                Current ANSI codepage : 1252
                Plugins : 
                    mimeTools (3.1)
                    NppConverter (4.6)
                    NppExport (0.4)
                

                Anyway, I had started working on Steps to Reproduce before you said you’d submit an issue. So if you want to make use of the following when you create the issue, feel free:

                Steps to Reproduce:

                1. Fresh portable unzip of 8.8.8
                2. Right click in the editor, see the full editor contextMenu (in English)
                3. Set localization to French (or other non-English localization)
                4. Right click in the editor, see the full editor contextMenu in the new localization
                5. Set localization to English
                6. Right click in the editor, see the truncated editor contextMenu
                7. Exit Notepad++
                8. Run same portable Notepad++, no other changes made
                9. Right click in the editor, see the full editor contextMenu (in English)

                294f6d49-37d3-4e5b-a096-276d689bee09-image.png

                I confirmed it with a few random languages, and also confirmed that switching from English (customizable) to English does not show the bug.

                CoisesC 1 Reply Last reply Reply Quote 1
                • CoisesC
                  Coises @PeterJones
                  last edited by

                  @PeterJones said in Small problems in Notepad++:

                  Anyway, I had started working on Steps to Reproduce before you said you’d submit an issue. So if you want to make use of the following when you create the issue, feel free:

                  Or, feel free to submit the issue yourself — you have it well documented — and I’ll comment when (if) I figure out why it is happening. It’s something more complex than what I thought previously, though it still in some way has to do with failing to find the main menu ids corresponding to the context menu commands.

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

                    @Coises said in Small problems in Notepad++:

                    Or, feel free to submit the issue yourself — you have it well documented — and I’ll comment when (if) I figure out why it is happening

                    Created #17249

                    U 1 Reply Last reply Reply Quote 1
                    • U
                      Uwo222777 @PeterJones
                      last edited by

                      @PeterJones

                      Perhaps this “cosmetic” problem is also somehow related to the problem discussed above.

                      If the program installation is carried out in English, then when updating the program, the message will be in English, regardless of the selected language.
                      If the installation is carried out in a “non-English” language, then the message can also be seen in the “non-English” language.
                      Of course, the problem is completely insignificant, but it would be better to eliminate it.

                      Sincerely

                      U 1 Reply Last reply Reply Quote 0
                      • U
                        Uwo222777 @Uwo222777
                        last edited by

                        My last message was wrong. Please excuse me.

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