Disable menu activation for a shortcut.
-
@mkupper said in Disable menu activation for a shortcut.:
That may have been needed in the year 2017
It hasn’t been true since at least 2015 (the year I started using N++).
-
This post is deleted! -
@mkupper @Alan-Kilborn
With the Installer, the steps don’t work, at least on my system that is, if you mean to edit “english_customizable.xml” in the user’s “%AppData%\Notepad++”, according to documentation https://npp-user-manual.org/docs/binary-translation/,Here’s the catch:
if I have “english_customizable.xml” ONLY in folder “localization” (created by me) in “%AppData%\Notepad++”, and not in (default) install directory, then there is noEnglish (customizable)
option in Settings -> Preferences -> General -> Localization.On the other hand, if I have have “english_customizable.xml” in folder “localization” both in Install directory (either because I select that lang during installation, or added it later), and in my “%AppData%\Notepad++” one,
then yes, that option is present there, BUT: my edits in the local “english_customizable.xml” are not taken in consideration.
I have to edit the version in “installdir\localization” folder for it to have effect.It behaves as if it looks for the localization folder only in install directory.
-
@Alan-Kilborn said in Disable menu activation for a shortcut.:
It DOES work; suspect that you just did something wrong so that it didn’t work for YOU.
How about “in general, it does work”? :-)
There are apparently a lot of possible setups, and some of these I’m not an expert on and it looks like you’ve stumbled on a scenario that may have some issues.
I only use “portable” versions of Notepad++, so some others would have to comment on installed versions. Using only portable, editing the localization files and getting the program to recognize them has never presented any problem for me. But that’s all I can say.
-
I also should have been more specific than:
@guy038 doesn’t work anymore… Tried both deleting and moving a bit that & thing.
I guess I should submit an issue on github. Or maybe wait till somebody else confirms it, with Installer version.
-
@Victorel-Petrovich said in Disable menu activation for a shortcut.:
Or maybe wait till somebody else…
Unless I miss my guess you will hear from @PeterJones real soon about it.
-
@Victorel-Petrovich said in Disable menu activation for a shortcut.:
maybe wait till somebody else confirms it,
I can confirm: if I do not have
c:\program files\notepad++\localization
directory but do have%AppData%\Notepad++\localization
withenglish.xml
andenglish_customizable.xml
, when I start Notepad++ and check the Settings > Preferences > Localization, I cannot see any languages available.I should submit an issue on github
If you do, please paste a link to the issue you create in this discussion, so that other interested users can find out the results of your issue. I personally am interested in whether the developers say “it’s always meant to be this way” (in which case, I need to update the documentation, because
localization\
wasn’t in the list of directories that I knew were only meant to work in the<install_directory>
) -
-
Thank God there is someone else who cares about this problem.
The most annoying thing is when they start convincing you that the problem is with you, in Windows or somewhere else.
The problem is only in Notepad, nowhere else. This really interferes with the nominal work. -
Continuing the trend of the user is actually the problem, I have several custom Alt+something shortcuts and the menu bar options don’t interfere with them at all.
It gets better, if I let go of the Alt key and then press the letter I can still use the menu bar shortcuts normally, as if I had pressed the F10 key to bring the focus to the menu bar, which would be my fallback option anyway.