Community
    • Login

    Small problems in Notepad++

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 21 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
      last edited by

      Everyone, have a nice day!

      Screenshots 05a-05b-05c show that the context menu looks different. Russian and French - one type of menu,
      and in English - another, shorter, “truncated” one.
      05a.png 05b.png 05c.png

      Screen 01. The item “File” - “Open” actually opens the containing folder. It would be more logical to open the Explorer directory.
      01.png
      Screen 02. The item “Edit” - “On Selection” - “Open…” when clicked in the document field, opens “My Computer”.
      It seems more logical if the above points would “exchange” their functions.
      02.png
      Screen 03. “On Selection” - “Open File”, constantly displays a message that the file does not exist. This is 04 on screen.
      04.png
      Screen 05c. The “Open File” context menu item displays a similar message. Or this point is redundant. Or, preferably
      provide the ability to select a file.

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

        @Uwo222777 said in Small problems in Notepad++:

        English - another, shorter, “truncated” one.

        Cannot reproduce:
        02fc44fa-c6dd-444f-9ef1-13cd3cbb5246-image.png

        Are you sure you don’t have a customized context menu?

        The item “File” - “Open” actually opens the containing folder. It would be more logical to open the Explorer directory.

        No, it uses the Open File dialog, starting in the containing folder (or in your default folder, depending on your Default Directory settings), to choose a file to open. That’s the way open dialogs work in every application. It would not make sense to launch the Explorer process, because the Explorer window doesn’t necessarily open a file in Notepad++ when you choose/double-click/whatever a file in it. It’s two completely separate actions. If you want to open Explorer window in the current directory, use File > Open Containing Folder > Explorer, which is in the sub-menu literally one row down from your highlighted action.

        The item “Edit” - “On Selection” - “Open…” when clicked in the document field, opens “My Computer”.

        If you have no selection, maybe(*). But the whole point of the Edit > On Selection actions is that you are supposed to have a selection already. If you have a filename selected, it will open the contents of that file in Notepad++.

        ed09f441-9b0d-4f5e-a0c5-6ae4ca7bf315-image.png

        then Edit > On Selection > Open File =>

        c45fce38-00a5-4d62-ae99-d4c57581a95a-image.png

        *: I tried with no selection: 16ad405d-14ac-47a2-a233-baa0086a9832-image.png
        I cannot replicate the results you claim.

        I then redid my selection, and did Edit > On Selection > Open Containing Folder in Explorer, If my selection is C:\usr\local\apps\npp\npp.8.8.8.portable.x64\change.log, then it opens the folder C:\usr\local\apps\npp\npp.8.8.8.portable.x64\ in Explorer, exactly as I expect.

        If I have no selection, and do Edit > On Selection > Open Containing Folder in Explorer, then it opens My Computer. Personally, I think it should give the same error message as Open File from that menu does… but it doesn’t “swap” the functionality, like you claim.

        It seems more logical if the above points would “exchange” their functions.

        They both behave as I would expect. Exchaning their functions would start doing the wrong/illogical thing.

        The “Open File” context menu item displays a similar message

        The “Open File” context menu item exactly and precisely runs the same piece of code as Edit > On Selecgion > Open File. Literally. It’s a pointer to exactly the same command ID. So of course it’s going to behave identically.

        Or, preferably provide the ability to select a file.

        You’re supposed to make the selection before running the command. If that one confuses you, then use Settings > Edit Popup Context Menu to customize the label for that action (line 70 in the contextMenu.xml that ships with Notepad++ v8.8.8.

        Caveat: If you’ve customized your installed copy, then when you upgraded to v8.8.8, it might not have updated the contextMenu.xml (because Notepad++ updater does its best to never overwrite your customized config files in the AppData or equialent). Given that you had problems with your English context menu, you might want to compare your %AppData%\Notepad++\contextMenu.xml to c:\program files\notepad++\contextMenu.xml, and make sure that you’re not missing anything from a recent version.

        So, in all, I could reproduce none of your complaints (or disagreed with your interpretation), so I don’t believe any of those are problems inherent to Notepad++. Hopefully, my response will help you understand things better.

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