• Login
Community
  • Login

Drag and Drop not working in portable 7.6.3

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
15 Posts 5 Posters 3.9k 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.
  • P
    Pere Drinovac
    last edited by Pere Drinovac Feb 22, 2019, 2:13 PM Feb 22, 2019, 2:11 PM

    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?

    A 1 Reply Last reply Feb 22, 2019, 2:18 PM Reply Quote 0
    • A
      Alan Kilborn @Pere Drinovac
      last edited by Feb 22, 2019, 2:18 PM

      @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
      • P
        Pere Drinovac
        last edited by Feb 24, 2019, 1:44 PM

        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
        • P
          Pere Drinovac
          last edited by Feb 24, 2019, 1:49 PM

          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.

          A M 3 Replies Last reply Feb 24, 2019, 2:26 PM Reply Quote 2
          • A
            andrecool-68 @Pere Drinovac
            last edited by Feb 24, 2019, 2:26 PM

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

            A 1 Reply Last reply Feb 24, 2019, 2:27 PM Reply Quote 1
            • A
              Alan Kilborn @andrecool-68
              last edited by Feb 24, 2019, 2:27 PM

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

              A 1 Reply Last reply Feb 24, 2019, 2:29 PM Reply Quote 1
              • A
                andrecool-68 @Alan Kilborn
                last edited by Feb 24, 2019, 2:29 PM

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

                1 Reply Last reply Reply Quote 2
                • A
                  andrecool-68 @Pere Drinovac
                  last edited by Feb 24, 2019, 2:33 PM

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

                  1 Reply Last reply Reply Quote 0
                  • M
                    Meta Chuh moderator @Pere Drinovac
                    last edited by Meta Chuh Feb 24, 2019, 3:11 PM Feb 24, 2019, 3:05 PM

                    @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
                    • P
                      Pere Drinovac
                      last edited by Feb 25, 2019, 7:39 AM

                      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.

                      M C 2 Replies Last reply Feb 25, 2019, 10:28 AM Reply Quote 2
                      • A
                        andrecool-68
                        last edited by Feb 25, 2019, 8:37 AM


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

                        1 Reply Last reply Reply Quote 1
                        • A
                          andrecool-68
                          last edited by Feb 25, 2019, 8:46 AM

                          @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
                          • M
                            Meta Chuh moderator @Pere Drinovac
                            last edited by Feb 25, 2019, 10:28 AM

                            @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
                            • P
                              Pere Drinovac
                              last edited by Feb 25, 2019, 11:31 AM

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

                              1 Reply Last reply Reply Quote 1
                              • C
                                chetanDN @Pere Drinovac
                                last edited by Jan 9, 2020, 5:58 AM

                                @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