Community
    • Login

    BrowseForFolder sucks

    Scheduled Pinned Locked Moved Boycott Notepad++
    8 Posts 4 Posters 2.5k Views 1 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.
    • Annette PhillipsA Offline
      Annette Phillips
      last edited by

      I have been using np++ for decades and I actually love it but one thing that drives me up the wall is the use of the BrowseForFolder dialog, which I use all the time (mainly via the “Find In Files” dialog). I’ve been using HexEdit for about the same time (since 1999) and it has always had a “directory selection” dialog based on the file open dialog.

      HexEdit Select Directory dialog

      Alan KilbornA 1 Reply Last reply Reply Quote 1
      • Alan KilbornA Offline
        Alan Kilborn @Annette Phillips
        last edited by

        @Annette-Phillips

        Hmmm, that image shows files, not just folders.
        I’m not sure that would be what is desired for a large quantity of users.

        You might want to add your thoughts to this already-open “issue” that seems to have the same complaint: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8513

        That way a developer has a chance to see your thoughts.

        1 Reply Last reply Reply Quote 3
        • pbarneyP Offline
          pbarney
          last edited by

          I think this is the image you had in mind:

          88c6d03f-cab4-4bf4-a7eb-1317aba74880-image.png

          I too, find it frustrating because it requires a mouse to easily navigate, and also requires that you know the directory tree of your computer very well.

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

            @Annette-Phillips said,

            one thing that drives me up the wall is the use of the BrowseForFolder

            @pbarney said,

            I too, find it frustrating

            I wonder if either of you realized that the dialog in question is a Microsoft Windows defined dialog, and that Notepad++ just calls it. As far as I remember (I’m not a win32 API expert, though I’ve done some stuff with it), the way that Microsoft wrote the Open or Save As dialogs, they can only return an actual file’s path to the calling application, not a directory/folder; if an application wants to ask a user for a folder name, the BrowseForFolder dialog is the standard, official, usual way of getting it. If you don’t like the design of that Dialog, Microsoft is the only one who can change it.

            The alternative is for Notepad++ to write its own dialog, which it then has to independently maintain and bugfix and find all the edge cases for. That’s a lot of extra work, compared to the Microsoft-standard dialog which is freely available to the Win32 API.

            That said, if either of you wanted to ask the Notepad++ developers to implement their own dialog rather than relying on the Microsoft dialog, this Forum is not the right place to make a feature request… and, in fact, @Alan-Kilborn already pointed you to the existing issue #8513, where that request was made (and phrased in a much friendlier manner than “this sucks”). It hasn’t been accepted or implemented yet, but it’s also not yet been rejected.

            For example, if you think that the HexEdit plugin has a dialog that would work better for the purpose, you might want to point out which “HexEdit” plugin, and what option brings up the dialog. I looked at HEX-Editor v0.9.8 (chcg’s fixes and re-distribution of the original Jens Lorenz, available from the Plugins Admin in v7.9.1-64b), but I could not find in that plugin any directory-finding dialog; but I’m not an expert at that plugin, so maybe I don’t know the circumstances in which it pops up that dialog. If you know which dialog and how to access it, putting that information here and in issue #8513 would be much more helpful to the discussion at hand than “this sucks”.

            Alan KilbornA pbarneyP 2 Replies Last reply Reply Quote 1
            • Alan KilbornA Offline
              Alan Kilborn @PeterJones
              last edited by

              @PeterJones said:

              …existing issue #8513, where that request was made (and phrased in a much friendlier manner than “this sucks”…

              Actually, if you really read a certain part of that issue, the tone there is quite hostile as well:

              (why) you decided to use the ghetto file picker instead of the full one with an address bar and shortcuts

              “ghetto file picker”…LOL

              From my limited research, Microsoft offers a “better” directory picker, but for some reason the code for it is not straightforward?

              But, as I said in another recent thread, in practice I never use the ... button in the Find in Files window; the Follow current doc. feature is so “wonderful” one never really needs to browse folders with this “sucky” feature. :-)

              Always, though, different users, different mileage.

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

                @Alan-Kilborn ,

                You’re right.

                Also, I just realized which category this topic was in, and realized I shouldn’t have let myself be dragged into this. :-)

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

                  @PeterJones said in BrowseForFolder sucks:

                  I just realized which category this topic was in, and realized I shouldn’t have let myself be dragged into this

                  Ha. Same here!
                  I rarely look at the “category” of posts.
                  I just read the “unread” ones.

                  1 Reply Last reply Reply Quote 0
                  • pbarneyP Offline
                    pbarney @PeterJones
                    last edited by

                    @PeterJones Fair point. Thanks for taking time to explain that. It’s a minor nuisance and I’d prefer the developers spent their time on more pressing needs.

                    1 Reply Last reply Reply Quote 1

                    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