Copy and paste works between other non-NetBeans applications - only the content to/from NetBeans is effected.
Windows Defender is running, though my code folders are excluded. Restarting Windows at what point? A restart will fix the issue. This doesn’t happen always. I’m not sure what triggers it to happen, but once it starts it will be 100% repeatable until it’s cleared. It seems I can do that by copying from some non-editor window within NetBeans. Remote Desktop may be a factor in triggering it. Of course I’ve been trying to force it to happen since Geertjan asked for the logs, when you want it to happen is when it seems to go the longest without happening :-), typical bug behavior. I’ll throw Remote Desktop into the equation to see if that improves my chances. It fails between local applications when it happens. Remote desktop doesn’t have to be on one side of the copy/paste once the bug starts. Scott > On Apr 9, 2021, at 1:12 PM, Eric Bresie <ebre...@gmail.com> wrote: > > Does copy/paste between non Netbeans applications (i.e. is it a possible > Windows 10 issue)? > > Do you have virus detection running? > > Have you restarted (Windows and/or Windows Explorer)? > > Are you doing any of this via Remote Desktop? > > Eric Bresie > ebre...@gmail.com <mailto:ebre...@gmail.com> >> On April 8, 2021 at 3:12:20 PM CDT, Scott Palmer <swpal...@gmail.com >> <mailto:swpal...@gmail.com>> wrote: >> The discussion on this old bug seems to be most relevant: >> >> https://bz.apache.org/netbeans//show_bug.cgi?id=41098 >> <https://bz.apache.org/netbeans//show_bug.cgi?id=41098> >> >> Over 16 years ago this was apparently a JDK issue. (People were using JDK >> 1.4 at the time.) >> See Comment 21 <https://bz.apache.org/netbeans//show_bug.cgi?id=41098#c21 >> <https://bz.apache.org/netbeans//show_bug.cgi?id=41098#c21>> >> >> I suspect the workaround (which never really worked properly) isn’t required >> anymore. >> >> Scott >> >> >>> On Apr 8, 2021, at 4:06 PM, Scott Palmer <swpal...@gmail.com >>> <mailto:swpal...@gmail.com>> wrote: >>> >>> Both directions to/from a NetBeans editor to/from something outside. Not >>> consistent, but frequent enough - multiple times a week. >>> >>> It seems when this occurs it is like the NetBeans editor has a private >>> clipboard. Pasting outside NetBEans pastes the last thing copied outside of >>> NetBeans. Pasting within a NetBeans editor pastes the last thing copied >>> from a NetBeans editor. >>> >>> Very frustrating when you are trying to copy to an email or a remote >>> desktop session, or between stack overflow etc... >>> >>> Scott >>> >>>> On Apr 8, 2021, at 3:59 PM, Geertjan Wielenga >>>> <geertjan.wiele...@googlemail.com.INVALID >>>> <mailto:geertjan.wiele...@googlemail.com.INVALID> >>>> <mailto:geertjan.wiele...@googlemail.com.INVALID >>>> <mailto:geertjan.wiele...@googlemail.com.INVALID>>> wrote: >>>> >>>> It’s 100% about copying text from any NetBeans editor to somewhere outside >>>> NetBeans? Or also the reverse? Consistently or sporadically? >>>> >>>> Gj >>>> >>>> On Thu, 8 Apr 2021 at 21:57, Scott Palmer <swpal...@gmail.com >>>> <mailto:swpal...@gmail.com> <mailto:swpal...@gmail.com >>>> <mailto:swpal...@gmail.com>>> wrote: >>>> >>>>> Windows 10 >>>>> JDK 8 through 16 >>>>> >>>>> See prior discussion here: >>>>> >>>>> http://mail-archives.apache.org/mod_mbox/netbeans-dev/202102.mbox/%3c21fb7d82-e02c-4a4f-8bd7-605615cc5...@gmail.com%3e >>>>> >>>>> <http://mail-archives.apache.org/mod_mbox/netbeans-dev/202102.mbox/%3c21fb7d82-e02c-4a4f-8bd7-605615cc5...@gmail.com%3e> >>>>> >>>>> <http://mail-archives.apache.org/mod_mbox/netbeans-dev/202102.mbox/%3c21fb7d82-e02c-4a4f-8bd7-605615cc5...@gmail.com%3e >>>>> >>>>> <http://mail-archives.apache.org/mod_mbox/netbeans-dev/202102.mbox/%3c21fb7d82-e02c-4a4f-8bd7-605615cc5...@gmail.com%3e>> >>>>> >>>>> >>>>> It seems many of us are just used to Copy and Paste not working properly >>>>> and we have various strategies to work around it. It shouldn’t be that >>>>> way. >>>>> >>>>> Scott >>>>> >>>>> >>>>>> On Apr 7, 2021, at 1:15 PM, Geertjan Wielenga >>>>> <geertjan.wiele...@googlemail.com.INVALID >>>>> <mailto:geertjan.wiele...@googlemail.com.INVALID>> wrote: >>>>>> >>>>>> Operating system, JDK version, please... >>>>>> >>>>>> Gj >>>>>> >>>>>> On Wed, Apr 7, 2021 at 7:13 PM Scott Palmer <swpal...@gmail.com >>>>>> <mailto:swpal...@gmail.com> <mailto:swpal...@gmail.com >>>>>> <mailto:swpal...@gmail.com>> <mailto: >>>>> swpal...@gmail.com <mailto:swpal...@gmail.com>>> wrote: >>>>>> >>>>>>> I know it probably is the same as before, but today it seems worse in >>>>> 12.4 >>>>>>> beta 2 than it was in 12.3. >>>>>>> >>>>>>> Cut and paste is such basic functionality that when it doesn’t work it >>>>> is >>>>>>> a major source of frustration. >>>>>>> >>>>>>> Today I have been fighting cut and paste not working with NetBeans 12.4 >>>>>>> beta 2 for a few hours. Jumping through hoops to cut some text out of a >>>>>>> NetBeans editor and paste it into something else is not how I wanted to >>>>>>> spend my morning. >>>>>>> >>>>>>> This was discussed briefly in early February (see thread “System >>>>> Clipboard >>>>>>> Issues”) >>>>>>> >>>>>>> It is has been reported here >>>>>>> https://issues.apache.org/jira/browse/NETBEANS-2159 >>>>>>> <https://issues.apache.org/jira/browse/NETBEANS-2159> >>>>>>> <https://issues.apache.org/jira/browse/NETBEANS-2159 >>>>>>> <https://issues.apache.org/jira/browse/NETBEANS-2159>> < >>>>>>> https://issues.apache.org/jira/browse/NETBEANS-2159 >>>>>>> <https://issues.apache.org/jira/browse/NETBEANS-2159> < >>>>> https://issues.apache.org/jira/browse/NETBEANS-2159 >>>>> <https://issues.apache.org/jira/browse/NETBEANS-2159>>> >>>>>>> Though that description is perhaps incomplete. Both copying from >>>>> NetBeans >>>>>>> and pasting to NetBeans are affected. >>>>>>> >>>>>>> If you are doing cut and paste entirely within NetBeans you may not see >>>>>>> the issue. It is only when you want to cut and paste between NetBeans >>>>> and >>>>>>> an external program that it fails. And it fails very frequently in that >>>>>>> case. >>>>>>> >>>>>>> The sense I got was that NetBeans was trying to work around a bug in >>>>>>> the >>>>>>> JRE by using it’s own private clipboard. I suspect the original JRE >>>>> issue >>>>>>> is long gone and NetBeans is just creating more problems with an >>>>>>> awkward >>>>>>> workaround for a problem that isn’t there. >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Scott