No, you misunderstood. I tried copying to another application (VSCode) and then re-copying to NB and it did not work. Only when I copied from the NetBeans About box (not a code editor) did NB get “unstuck” from pasting only what was last copied from within a NB editor.
Though in the past (NB 8.2) I think the past somewhere else and re-copy workaround was effective. In that case I had always suspected there was a rich-text version of the text in the clipboard and I had to force it into a plain text version by pasting to something like Notepad. I don’t think what I experienced several times the other day fits that description. Scott > On Feb 4, 2021, at 5: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
