Community
    • Login

    Drag and Drop not working in portable 7.6.3

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    15 Posts 5 Posters 3.8k 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.
    • Pere DrinovacP
      Pere Drinovac
      last edited by Pere Drinovac

      Hello

      I have downloaded the portable version of NPP++:

       Notepad++ 7z package 64-bit x64: Don't want to use installer? 7z format.
      

      Everything works fine, except that drag and drop does not work in NPP++. Asking friend Google shows that this problem appears some years ago.

      Has someone an idea?

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

        @Pere-Drinovac

        When you attempt the drag and you move over the Notepad++ window with your file, what does the mouse cursor look like? Is it a black circle with a line thru it (or some such?).

        Also, can you paste your debug info here? Do ? menu, then Debug info, then click on Copy debug info into clipboard, and finally paste that into a reply here.

        1 Reply Last reply Reply Quote 2
        • Pere DrinovacP
          Pere Drinovac
          last edited by

          The cursor changes to a “cursor + rectangle and ‘+’ sign” (right bottom corner of the cursor).

          Here are the required information:

          Notepad++ v7.6.3 (64-bit)
          Build time : Jan 27 2019 - 17:16:47
          Path : C:\PortableApps\Notepad++\notepad++.exe
          Admin mode : OFF
          Local Conf mode : ON
          OS : Windows 10 (64-bit)
          Plugins : BetterMultiSelection.dll ComparePlugin.dll CustomLineNumbers.dll DSpellCheck.dll ElasticTabstops.dll mimeTools.dll NppConverter.dll SelectQuotedText.dll SQLinFormNpp64.dll _CustomizeToolbar.dll

          1 Reply Last reply Reply Quote 1
          • Pere DrinovacP
            Pere Drinovac
            last edited by

            I have figured out, that drag and drop from Windows Explorer works.

            But drag and drop from Total Commander does not work. With 7.5.x it also worked with Total Commander.

            andrecool-68A Meta ChuhM 3 Replies Last reply Reply Quote 2
            • andrecool-68A
              andrecool-68 @Pere Drinovac
              last edited by

              @Pere-Drinovac said:

              I have figured out, that drag and drop from Windows Explorer works.

              But drag and drop from Total Commander does not work. With 7.5.x it also worked with Total Commander.

              Alan KilbornA 1 Reply Last reply Reply Quote 1
              • Alan KilbornA
                Alan Kilborn @andrecool-68
                last edited by

                @andrecool-68

                I take it that you are saying that drag and drop works fine for you from Total Commander to N++ 7.6.3?

                andrecool-68A 1 Reply Last reply Reply Quote 1
                • andrecool-68A
                  andrecool-68 @Alan Kilborn
                  last edited by

                  @Alan-Kilborn
                  Yes this is the latest version of Notepad++ and these builds are portable

                  1 Reply Last reply Reply Quote 2
                  • andrecool-68A
                    andrecool-68 @Pere Drinovac
                    last edited by

                    @Pere-Drinovac
                    Or do you need to make Notepad++ the default editor for Total Commander?

                    1 Reply Last reply Reply Quote 0
                    • Meta ChuhM
                      Meta Chuh moderator @Pere Drinovac
                      last edited by Meta Chuh

                      @Pere-Drinovac

                      under normal circumstances drag and drop from total commander will work correctly, as seen at the screen video of @andrecool-68

                      i can however reproduce what you see, if either total commander is running elevated as administrator, while notepad++ is running as a default user, as well as if it is the other way round.

                      if you need one of them to run elevated as administrator, to e.g. be able to access protected files, you will have to disable the windows user access control (uac) as uac is the cause that blocks passing data from user level applications to elevated applications and vice versa.

                      to disable uac in windows 10:

                      • hit the windows icon and type uac in the search field as seen at the screenshot below:

                      alt

                      • then open up Change User Account Control settings and slide the slider down to the bottom as seen at the screenshot:

                      alt

                      • then hit ok and reboot your machine.
                        after reboot, you will now be able to drag and drop files from total commander to notepad++ under (usually) all circumstances.

                      note: keep in mind, that uac is activated for security reasons, to make sure no application can write or change some vital file locations, without your consent, but you will be on the safe side as long as you take care of what you are doing.

                      i hope this is of help to you.

                      1 Reply Last reply Reply Quote 3
                      • Pere DrinovacP
                        Pere Drinovac
                        last edited by

                        Both, Total Commander and N++, are portable and running with user privileges. Deactivating UAC doesn’t change anything.

                        I have figured out, that I used TC as 32Bit version and N++ as 64Bit version. Using N++ as 32Bit version solves the problem.

                        Meta ChuhM chetanDNC 2 Replies Last reply Reply Quote 2
                        • andrecool-68A
                          andrecool-68
                          last edited by


                          I have everything works fine on all portable versions, no matter x32 or x64 (in any combination!)

                          1 Reply Last reply Reply Quote 1
                          • andrecool-68A
                            andrecool-68
                            last edited by

                            @Pere-Drinovac
                            I have now changed the UAC settings. And these changes to UAC settings do not affect this operation at all! Everything works fine.

                            1 Reply Last reply Reply Quote 1
                            • Meta ChuhM
                              Meta Chuh moderator @Pere Drinovac
                              last edited by

                              @Pere-Drinovac

                              thanks for sharing your solution.

                              i’m glad you got drag and drop working by using the 32 bit versions for both, without needing to disable uac.

                              @andrecool-68

                              yes, it might be that our systems differ somehow from the original poster’s system.

                              i also get the same results as you did: i can drag from 32 bit total commander to 64 bit notepad++ without any problems.
                              and if uac is enabled on my test-machine, i can drag and drop from an elevated total commander to a user level notepad++,
                              but i can not drag and drop from a user level total commander to an elevated notepad++.

                              i guess the most important thing is, that the o.p. has managed to get drag and drop working for him, regardless how ;-)

                              1 Reply Last reply Reply Quote 0
                              • Pere DrinovacP
                                Pere Drinovac
                                last edited by

                                I would like to thank all of you for the help.

                                1 Reply Last reply Reply Quote 1
                                • chetanDNC
                                  chetanDN @Pere Drinovac
                                  last edited by

                                  @Pere-Drinovac said in Drag and Drop not working in portable 7.6.3:

                                  Both, Total Commander and N++, are portable and running with user privileges. Deactivating UAC doesn’t change anything.

                                  I have figured out, that I used TC as 32Bit version and N++ as 64Bit version. Using N++ as 32Bit version solves the problem.

                                  Solved for me too. I was using ClearCase (Windows 32 bit application). Drag and Drop from ClearCase 32 to notepad++ 32 bit works fine. On the other hand drag and drop from any win 32 application to notepad++ 64 bit is not working.

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