It could be the same issue. It probably is, but the user that reported that indicated nothing was pasted... maybe they had never copied anything yet from within NetBeans? I get a paste, just not of what is in the System clipboard... it’s like NB has it’s own idea of what is in the clipboard, separate from the OS.
I can’t be sure if it is a Java issue, as I have never noticed it in any other Java application.. but then I don’t run many other Swing apps that I paste into frequently. (I use JavaFX for my own GUIs these days.) If this is a Java issue, it is probably specific to Swing. When it happens it only effects one particular java process... I can past to other Java apps that are using a Java FX GUI when NetBeans shows this problem. I wonder if there is a system property that can be set to get some debug logging from Swing that might be relevant? Scott > On Feb 5, 2021, at 10:52 AM, Eric Bresie <[email protected]> wrote: > > Does this seem like this: > > NETBEANS-2159 Copy and Paste not working in Windows 10 Professional > https://issues.apache.org/jira/browse/NETBEANS-2159 > > Wondering if this is a Netbeans issue or a java issue > > Eric Bresie > [email protected] > > >> On Thu, Feb 4, 2021 at 4:33 AM Luff,Chris <[email protected]> >> wrote: >> >> Yes, I have experienced this. Can’t think of a particular scenario where >> it occurs but the work around is as you say to copy to another application >> and re-copy to NetBeans. >> >>>> On 4 Feb 2021, at 03:29, Scott Palmer <[email protected]> wrote: >>> >>> Has anyone else noticed that sometimes NetBeans refuses to paste text >> from the system clipboard and instead pastes the last thing copied from >> within NetBeans? >>> >>> It seems to be stuck like that until I copy something different within >> NetBeans. In this last case after I copied the path to the user dir from >> the about dialog, pasted it in explorer.exe (and accidentally also a >> NetBeans editor). I then I went back and copied the original value that >> wouldn’t paste into NetBeans (but did paste into VSCode) and it started >> working again. >>> >>> I was copying plain text, no formatting, colours, or anything like >> that. I can’t figure out what triggers it, as most of the time it doesn’t >> happen. It’s just very frustrating when it does happen. >>> >>> Just happened again.. copying some code from StackOverflow and I try to >> past into NetBeans but instead it pastes some old thing I copied when in >> NetBeans. Pasting into other apps give the correct text. I even pasted >> into notepad and copied it out of notepad to ensure it was plain text, >> still NetBeans pastes the old data. >>> >>> Copying something in the NetBeans editor doesn’t fix it. Pasting in >> NetBesns will paste that new content from NB, but when I copy the text from >> an external app NB still pastes what it last copied from within the NB >> editor instead. Then I open the NB About dialog and copy something from >> that. Paste it, then copy from the external app... now it works. >>> >>> It also seems that what is copied from within NetBeans doesn’t make it >> to the system clipboard as I can’t copy from a NetBeans editor and paste >> into another app. Copying from non-editor sources in NB works for pasting >> in other apps. >>> >>> I didn’t find anything in JIRA that looks like this issue, which >> surprised me as this isn’t the first time I’ve encountered it. (Sorry for >> no bug report those other times .. just can’t figure out how to trigger it) >>> >>> Regards, >>> >>> Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
