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 <eba...@ultorg.com.INVALID>; Marvin P. Warble Jr. 
<m.war...@corvusengineering.com.INVALID>; users@netbeans.apache.org
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 <eba...@ultorg.com.INVALID<mailto:eba...@ultorg.com.INVALID>>
Sent: 21 March 2025 01:51
To: Marvin P. Warble Jr. 
<m.war...@corvusengineering.com.INVALID<mailto:m.war...@corvusengineering.com.INVALID>>;
 users@netbeans.apache.org<mailto:users@netbeans.apache.org>
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." 
<m.war...@corvusengineering.com.INVALID<mailto:m.war...@corvusengineering.com.INVALID>>
Date: Thursday, March 20, 2025 at 7:15 PM
To: "users@netbeans.apache.org<mailto:users@netbeans.apache.org>" 
<users@netbeans.apache.org<mailto:users@netbeans.apache.org>>
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: 
users-unsubscr...@netbeans.apache.org<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: 
users-h...@netbeans.apache.org<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Reply via email to