FWIW – my usual “workaround” to the clipboard bug still seems to work on J24 and NB25:
1. Highlight the selection and Ctrl-C for copy 2. Ctrl-Shift-D to pull up copy history, and paste back over what is still selected and was just copied 3. Paste into the other app 4. I usually Ctrl-Z to undo #2 at this point, just to remove the spurious file modification marker OS here is Windows 11. It’ll be great if the patch gives us a less cumbersome approach, but at least the above does still seem to get around it. -Rob From: Rob Walker Sent: 21 March 2025 06:50 To: Eirik Bakke <[email protected]>; Marvin P. Warble Jr. <[email protected]>; [email protected] Subject: RE: NB 25 Paste from Clipboard Problem Worse? That will be super if so – planning to upgrade to Java24 and NB25 next week so will try it out. And yes – I believe it’s been a known Java issue for a while. -R From: Eirik Bakke <[email protected]<mailto:[email protected]>> Sent: 21 March 2025 01:51 To: Marvin P. Warble Jr. <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: Re: NB 25 Paste from Clipboard Problem Worse? A helpful contributor has, it seems, finally found the cause of the bug, and posted a workaround here: https://github.com/xxDark/clipboard-agent It would be very useful if we could have more people verify that the patch above works. It's a bug in Java itself, so it will ultimately need to be fixed in OpenJDK. Meanwhile the NetBeans developers are discussing if we can find a way to have the patch above included in NetBeans. (https://github.com/apache/netbeans/discussions/7051) -- Eirik From: "Marvin P. Warble Jr." <[email protected]<mailto:[email protected]>> Date: Thursday, March 20, 2025 at 7:15 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: NB 25 Paste from Clipboard Problem Worse? Has the pasting from the clipboard problem gotten worse between NB24 and NB25? This workaround I had used for NB24 doesn't seem to be working in NB25. Is there a known workaround for this in NB25? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected]<mailto:[email protected]> For additional commands, e-mail: [email protected]<mailto:[email protected]> For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
