• Login
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.
  • R
    Ru ForNpp
    last edited by Aug 31, 2020, 12:48 PM

    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 ?

    P 1 Reply Last reply Aug 31, 2020, 12:57 PM Reply Quote 0
    • P
      PeterJones @Ru ForNpp
      last edited by Aug 31, 2020, 12:57 PM

      @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
      • R
        Ru ForNpp
        last edited by Aug 31, 2020, 1:09 PM

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

        A P 2 Replies Last reply Aug 31, 2020, 1:20 PM Reply Quote 0
        • A
          Alan Kilborn @Ru ForNpp
          last edited by Aug 31, 2020, 1:20 PM

          @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
          • P
            PeterJones @Ru ForNpp
            last edited by Aug 31, 2020, 1:34 PM

            @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
            • R
              Ru ForNpp
              last edited by Aug 31, 2020, 3:22 PM

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

              P 1 Reply Last reply Aug 31, 2020, 3:30 PM Reply Quote 0
              • P
                PeterJones @Ru ForNpp
                last edited by Aug 31, 2020, 3:30 PM

                @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
                • R
                  Ru ForNpp
                  last edited by Aug 31, 2020, 4:56 PM

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

                  P 1 Reply Last reply Aug 31, 2020, 5:09 PM Reply Quote 1
                  • P
                    PeterJones @Ru ForNpp
                    last edited by Aug 31, 2020, 5:09 PM

                    @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
                    • R
                      Ru ForNpp
                      last edited by Aug 31, 2020, 5:13 PM

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

                      P 1 Reply Last reply Aug 31, 2020, 5:19 PM Reply Quote 1
                      • R
                        Ru ForNpp
                        last edited by Aug 31, 2020, 5:18 PM

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

                        1 Reply Last reply Reply Quote 0
                        • P
                          PeterJones @Ru ForNpp
                          last edited by Aug 31, 2020, 5:19 PM

                          @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.

                          P 1 Reply Last reply Aug 31, 2020, 5:30 PM Reply Quote 2
                          • P
                            PeterJones @PeterJones
                            last edited by Aug 31, 2020, 5:30 PM

                            @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
                            • R
                              Ru ForNpp
                              last edited by Sep 1, 2020, 7:41 AM

                              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
                              • C
                                carypt
                                last edited by Sep 1, 2020, 9:35 AM

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

                                A 1 Reply Last reply Sep 1, 2020, 11:33 AM Reply Quote 0
                                • A
                                  Alan Kilborn @carypt
                                  last edited by Sep 1, 2020, 11:33 AM

                                  @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
                                  • K
                                    KnIfER
                                    last edited by Sep 1, 2020, 2:52 PM

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

                                    See my implementation.

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