So I've set this in my netbeans.conf file, but I don't notice anything that stands out in the logging. Which file would it be in messages.log or uigestures? There is nothing relevant in messages.log and uigestures just shows that a paste was attempted - even though the wrong content was pasted (last thing copied from within Netbeans rather than what is on the system clipboard).
This is the record form uigestures: <record> <date>2021-04-29T11:30:43</date> <millis>1619710243434</millis> <sequence>1644</sequence> <logger>org.netbeans.ui.actions.editor</logger> <level>500</level> <thread>26</thread> <message>UI_ACTION_EDITOR</message> <key>UI_ACTION_EDITOR</key> <catalog><null></catalog> <param>java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=Ctrl+V,when=1619710243434,modifiers=Ctrl] on org.openide.text.QuietEditorPane[,0,0,1300x11788,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=com.formdev.flatlaf.ui.FlatMarginBorder@74a6a46d ,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=java.awt.Color[r=187,g=187,b=187],disabledTextColor=javax.swing.plaf.ColorUIResource[r=136,g=136,b=136],editable=true,margin=java.awt.Insets[top=0,left=0,bottom=0,right=0],selectedTextColor=javax.swing.plaf.ColorUIResource[r=187,g=187,b=187],selectionColor=javax.swing.plaf.ColorUIResource[r=75,g=110,b=175],kit=org.netbeans.modules.editor.java.JavaKit@3c33afe2 ,typeHandlers=]</param> <param>java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=Ctrl+V,when=1619710243434,modifiers=Ctrl] on org.openide.text.QuietEditorPane[,0,0,1300x11788,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=com.formdev.flatlaf.ui.FlatMarginBorder@74a6a46d ,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=java.awt.Color[r=187,g=187,b=187],disabledTextColor=javax.swing.plaf.ColorUIResource[r=136,g=136,b=136],editable=true,margin=java.awt.Insets[top=0,left=0,bottom=0,right=0],selectedTextColor=javax.swing.plaf.ColorUIResource[r=187,g=187,b=187],selectionColor=javax.swing.plaf.ColorUIResource[r=75,g=110,b=175],kit=org.netbeans.modules.editor.java.JavaKit@3c33afe2 ,typeHandlers=]</param> <param>org.netbeans.editor.BaseKit$PasteAction[paste-from-clipboard]</param> <param>org.netbeans.editor.BaseKit$PasteAction@70200aee</param> <param>paste-from-clipboard</param> </record> Regards, Scott On Thu, Apr 8, 2021 at 4:20 PM Geertjan Wielenga <geertjan.wiele...@googlemail.com.invalid> wrote: > As stated there: “ Please run with logging enabled > (-J-Dorg.netbeans.core.NbClipboard=-1) and attach the > > part of log that records what happened during the broken situation.” > > > Thanks, > > Gj > > On Thu, 8 Apr 2021 at 22:12, Scott Palmer <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 > > > > 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 > > > > > > > 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> 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>> 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>> 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 > > > > > >>> > > >>> 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> 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>> 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>> > > >>>>> 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 > > > > > > > >