Community
    • Login

    "Open Document folder" opens in background. Need in foreground

    Scheduled Pinned Locked Moved General Discussion
    19 Posts 5 Posters 1.4k 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.
    • Ru ForNppR
      Ru ForNpp
      last edited by

      Context menu for each opened file in Notepad++ has item Open Document folder. However, window with this folder opens in background. Could you please suggest is it possible to make some settings for open folder with file in foreground.
      BTW, Visual Studio opens “Open Containing folder” in foreground

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Ru ForNpp
        last edited by

        @Ru-ForNpp said in "Open Document folder" opens in background. Need in foreground:

        Context menu for each opened file in Notepad++ has item Open Document folder

        It does? Where? I don’t see it in 7.8.9:

        160dea7d-3026-463c-9b28-c3f1f455f1d5-image.png

        Trying File menu > Open containing folder > Explorer, it opens Explorer and brings it to the foreground.

        So, without more info from you about this and what you’re seeing, I don’t think any help can be offered.

        1 Reply Last reply Reply Quote 1
        • Ru ForNppR
          Ru ForNpp
          last edited by

          I meant context menu on file tab, I translated item not correct.
          The same function File-> Open containing folder and it opens Explorer in in background on my computer!!!
          But on another computer - in foreground in both cases (context menu on tab and File-> Open containing folder).
          What it might depend on ??? What setting should be changed ?

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

            @Ru-ForNpp said in "Open Document folder" opens in background. Need in foreground:

            What it might depend on ??? What setting should be changed ?

            The Windows Explorer is a separate application from Notepad++, which Notepad++ has no control over; all Notepad++ is doing is asking Windows to run it for you, after which it’s in Windows’ control. As far as I know, there is no Notepad++ setting which will affect where the Explorer window gets opened. Sorry.

            1 Reply Last reply Reply Quote 0
            • Ru ForNppR
              Ru ForNpp
              last edited by

              It’s a pity!
              But Visual Studio manages to open file in foreground.
              It is much more convenient.

              Alan KilbornA PeterJonesP 2 Replies Last reply Reply Quote 0
              • Alan KilbornA
                Alan Kilborn @Ru ForNpp
                last edited by

                @Ru-ForNpp

                What does N++ do if you go to the Run menu and try to run Explorer that way? Still open in the background?

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

                  @Ru-ForNpp ,

                  Some plugins might provide Notepad++ the “always on top” feature (which is not native, but could be supplied by a plugin like TopMost). If you don’t know whether you have a plugin which does that, maybe show us the ?-menu’s Debug Info

                  1 Reply Last reply Reply Quote 0
                  • Ru ForNppR
                    Ru ForNpp
                    last edited by

                    File-> Open containing folder Explorer opens in background
                    bwt, File -> Open containing folder -> cmd, console opens in foreground.
                    I could not find Debug Info

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

                      @Ru-ForNpp said in "Open Document folder" opens in background. Need in foreground:

                      I could not find Debug Info

                      b4d901db-44e7-4b7d-ad78-0d442715a339-image.png

                      1 Reply Last reply Reply Quote 0
                      • Ru ForNppR
                        Ru ForNpp
                        last edited by

                        Sorry
                        86e32e17-7a6d-4f5d-aee1-336276cea0d7-image.png

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

                          @Ru-ForNpp

                          Then what does About Notepad++ show? I am guessing you have an ancient version, if it doesn’t have Debug Info available.

                          1 Reply Last reply Reply Quote 1
                          • Ru ForNppR
                            Ru ForNpp
                            last edited by

                            2aba2710-18ed-44d0-a985-dd7a6369861f-image.png

                            PeterJonesP 1 Reply Last reply Reply Quote 1
                            • Ru ForNppR
                              Ru ForNpp
                              last edited by

                              I tried to update :(
                              0981aea6-c210-4bbc-8494-51f9e5e2a302-image.png

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

                                @Ru-ForNpp ,

                                Yes, that version is more than 5 years old now, ancient as far as software updates, bug fixes, and security are concerned.

                                Try downloading one of the zip packages of v7.8.9 (the most recent). Unzip it to a folder on your desktop (or somewhere else you can keep it temporarily). Close all instances of Notepad++. Run the version you just unzipped. Try the same experiment with running Explorer from File > Open Containing Folder > Explorer, from Context Menu > Open Containing Folder in Explorer, and from Run > Run > explorer.exe. Do you get the same results or different?

                                If that gives you better results, I recommend updating by downloading the installer manually. Please note, if you have plugins installed, you will need to re-install them all, because plugin location has changed between 6.7.7 and 7.8.9.

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

                                  @PeterJones said in "Open Document folder" opens in background. Need in foreground:

                                  need to re-install them all, because plugin location has changed

                                  Please note: it is technically possible to move them all, but it’s easier to explain to just have you re-install them all, preferably using the modern Plugins > Plugins Admin (something that didn’t exist in your version, or any version before v7.6)

                                  1 Reply Last reply Reply Quote 1
                                  • Ru ForNppR
                                    Ru ForNpp
                                    last edited by

                                    I updated it to 7.8.8(64 bit). But behaviour doesn’t change: Explorer with file opens in background
                                    11e57df9-9d6f-45f8-81ae-c562aa703356-image.png

                                    1 Reply Last reply Reply Quote 0
                                    • caryptC
                                      carypt
                                      last edited by

                                      may it be affected by menue-settings-preferences-misc-file status auto detection ?
                                      also the 32 and 64bit plugins differ by availiability .

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

                                        @carypt

                                        What does the OP’s problem have to do with file status auto detection?
                                        Nothing.
                                        Please try not to spread misinformation here, for benefit of possible future readers.

                                        1 Reply Last reply Reply Quote 0
                                        • KnIfERK
                                          KnIfER
                                          last edited by

                                          Windows has another api: SHOpenFolderAndSelectItems, which is much faster than invoking expolerer.

                                          See my implementation.

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