• Login
Community
  • Login

Can't receive dragged text from the latest Notepad++ release

Scheduled Pinned Locked Moved General Discussion
18 Posts 6 Posters 911 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.
  • A
    Anthony Zackin @Michael Vincent
    last edited by May 13, 2021, 7:34 PM

    @Michael-Vincent
    I thought I was clear about the circumstances but let me reiterate:

    (1) Drag and drop is an integral part of the app and it used to work with earlier versions of NP++. It works with every other program that I have used including Chromium based browsers, MS Office programs, and WordPad among others.

    (2) The problem seems to be with legacy software such as VB6 since neither my app nor the one I have referenced above from freevbcode works with NP++ drag and drop.

    P 1 Reply Last reply May 13, 2021, 8:01 PM Reply Quote 0
    • P
      PeterJones @Anthony Zackin
      last edited by May 13, 2021, 8:01 PM

      @Anthony-Zackin said in Can't receive dragged text from the latest Notepad++ release:

      The problem seems to be with legacy software such as VB6

      I think that’s what @Michael-Vincent was trying to say.

      Since his experiments show that Notepad++ v7.9.5 handles drag-and-drop just fine with WordPad (and I just confirmed that it works with WordPad and MS Word 2016), then Notepad++ seems to handle drag-and-drop just fine. In that case, maybe there’s something specific to the way the drag-and-drop is implemented in the VB6 implementation that makes it incompatible with Notepad++'s implementation.

      1 Reply Last reply Reply Quote 1
      • A
        Alan Kilborn
        last edited by May 13, 2021, 8:35 PM

        @Anthony-Zackin said in Can't receive dragged text from the latest Notepad++ release:

        and it used to work with earlier versions of NP++

        I don’t think this statement alone is a valid complaint, when it has been shown by several that drag-and-drop of text works fine with N++ 7.9.5 and WordPad and Word.

        Now, if you can be more specific, then…maybe.

        I thought I was clear about the circumstances but let me reiterate

        I suppose you were clear, but in light of drag-and-drop working between N++ 7.9.5 and popular MS-apps, and the lack of other specifics from you, I’ll have to tell you that probably no one cares.

        A 1 Reply Last reply May 16, 2021, 7:54 PM Reply Quote 1
        • G
          gerdb42
          last edited by May 14, 2021, 7:47 AM

          It’s quite some time ago that I had to deal with Drag&Drop, but if I remember this right, the applications have to negotiate about how and what gets transferred. Could it be that Notepad++/Scintilla have dropped support for some older stuff? I imagine that VB6 code might well be not-so-up-to-date in this respect.

          1 Reply Last reply Reply Quote 2
          • G
            gerdb42
            last edited by May 14, 2021, 8:15 AM

            It seems that Scintilla has changed Drag&Drop handling in V. 4.3.0 and 4.3.1(taken from release notes):

            4.3.1
            Fix drag and drop between different encodings on Win32 by always providing CF_UNICODETEXT only

            4.3.0
            On Win32, remove support for CF_TEXT clipboard format as Windows will convert to CF_UNICODETEXT.

            Scintilla was updated from 4.2.0 to 4.4.6 in Notepad++ 7.9.4. Quite possible this has to do with that.

            A 1 Reply Last reply May 19, 2021, 1:21 AM Reply Quote 4
            • A
              Anthony Zackin @Alan Kilborn
              last edited by May 16, 2021, 7:54 PM

              @Alan-Kilborn

              I am not nobody. And there are probably MANY businesses in the world who still use legacy applications written in VB6. How many COBOL programs are still used in production? So when you say “no one cares” I think you are misinformed.

              How much more specific can I be? It doesn’t seem to work with VB6 anymore. I think that is very specific.

              It would seem like the obvious culprit is Scintilla as per gerdb42. I can live with it (copy and paste works fine) but it still takes away functionality from NP++ for those of us who still use legacy software. And, to re-reiterate, my software works fine with everything else that I have tried just as NP++ works fine with everything it has been tested with EXCEPT VB6.

              A 1 Reply Last reply May 16, 2021, 8:12 PM Reply Quote 0
              • A
                Alan Kilborn @Anthony Zackin
                last edited by May 16, 2021, 8:12 PM

                @Anthony-Zackin said in Can't receive dragged text from the latest Notepad++ release:

                I am not nobody.

                Didn’t mean to imply you were…or weren’t…

                So when you say “no one cares” I think you are misinformed.

                What I meant was on a Notepad++ development basis.
                To be totally clear: The developers probably don’t care.
                And probably rightly so…life moves on.
                An example is that Notepad++ recently ended support for Windows XP…newer versions of N++ just won’t run on it.
                Nobody can code for “older stuff” forever.

                A 1 Reply Last reply May 17, 2021, 8:48 PM Reply Quote 1
                • A
                  Anthony Zackin @Alan Kilborn
                  last edited by May 17, 2021, 8:48 PM

                  [@Alan-Kilborn

                  I didn’t take it personally. I meant there ARE people out there who are affected by these kinds of changes. I don’t know what advantages the new version of Scintilla provides re drag and drop and, if it is substantial, then I have no problem with the upgrade. However, if the “gain of function” is minimal and it means that legacy software is no longer supported then that might be a net loss.

                  Windows XP is no longer supported and only people from 3rd world countries who can’t afford to upgrade ought to be using it. Millions of lines of Visual Basic 6 code is still being used in the first world and, if COBOL is any indication, probably in many, many places. Your analogy is false, IMO. BTW, why do you think Windows has a compatibility mode?

                  A 1 Reply Last reply May 17, 2021, 9:15 PM Reply Quote 0
                  • A
                    Alan Kilborn @Anthony Zackin
                    last edited by May 17, 2021, 9:15 PM

                    @Anthony-Zackin

                    So I suppose you could contact the Scintilla developers about this, if you are inclined to, see if they’d rollback their functionality change, or create some sort of “compatibility” mode for you. Maybe they’ll care. I suspect that even you don’t care enough about it to pursue that.

                    Your (WinXP) analogy is false, IMO

                    It wasn’t supposed to be a tight analogy. It was supposed to emphasize the next line: ‘Nobody can code for “older stuff” forever’.
                    Well, possibly you and the COBOL people can. :-)

                    Cheers, mate. Good luck.

                    1 Reply Last reply Reply Quote 1
                    • A
                      Anthony Zackin
                      last edited by May 18, 2021, 9:56 PM

                      Problem solved. VB6 does not directly recognize UNICODE text for drag and drop. The Scintilla modification changed the datatype that one must test for in VB from 1 == vbCFText to 13 == CF_UNICODETEXT. Anyone having the same problem need only define CF_UNICODETEXT and then add a test for Data.GetFormat(CF_UNICODETEXT) and then retrieve the data similarly, to wit, Data.GetData(CF_UNICODETEXT).

                      1 Reply Last reply Reply Quote 4
                      • A
                        Anthony Zackin @gerdb42
                        last edited by May 19, 2021, 1:21 AM

                        And to @gerdb42 thanks for your cogent observation.

                        G 1 Reply Last reply May 19, 2021, 9:44 AM Reply Quote 0
                        • G
                          gerdb42 @Anthony Zackin
                          last edited by May 19, 2021, 9:44 AM

                          Glad it helped ;-)

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