I realized that any NetBeans RCP project which uses Java 17 is unable to use any copy/paste functionality. The IDE itself works (most of the times) but if I start a small RCP project from within NetBeans the RCP project is unable to copy/paste anything. Never. I observed this under Linux and Windows. I'm not sure if it's the same bug but maybe it could be an approach that's worthwhile investigating.

Joachim

On 6/17/22 21:10, Scott Palmer wrote:
Well I installed NB14 and forgot to add
-J-Dorg.netbeans.NbClipboard.level=FINEST to the conf file.... and of
course the clipboard has failed twice already...

So frustrating. Why does it happen exactly when I don't have the logging
enabled?  Perhaps that is a clue, maybe the logging affects some race
condition? I don't know.

Scott

On Fri, Aug 6, 2021 at 11:27 AM Geertjan Wielenga
<geertjan.wiele...@googlemail.com.invalid> wrote:

will/won’t have.

Start with a fresh userdir and a standard NetBeans.conf, just with
-J-Dorg.netbeans.NbClipboard.level=FINEST.

Then Neil can investigate since he nor I nor others wanting to help can
reproduce this so far.

Gj

On Fri, 6 Aug 2021 at 17:24, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

Indeed, please test without settings that regular installs will have.

Gj

On Fri, 6 Aug 2021 at 17:22, Scott Palmer <swpal...@gmail.com> wrote:

Thanks,

I’ve updated my netbeans.conf file to have
-J-Dorg.netbeans.NbClipboard.level=FINEST as well as
-J-Dnetbeans.slow.system.clipboard.hack=false
Though I should probably test without that last property as well, as it
isn’t what regular installs will have.

I’m just doing whatever I can to avoid the frustration of a broken
clipboard at this point though.  You can imagine how infuriating it is
when
something so basic just stops working when you need it.  Restarting the
IDE
so I can paste something is rather disruptive.

Cheers,

Scott


On Aug 6, 2021, at 9:54 AM, Neil C Smith <neilcsm...@apache.org>
wrote:

On Fri, 6 Aug 2021 at 04:23, Scott Palmer <swpal...@gmail.com> wrote:
It would be great if the clipboard would work on Windows for NetBeans
12.5

Yes, although that would involve understanding what's broken.  Just
spent some time having a look on my Win 10 machine (which I don't
usually use for development), but so far can't replicate.

However ...

On Fri, 14 May 2021 at 23:45, Scott Palmer <swpal...@gmail.com>
wrote:
My netbeans.conf file contains
...
-J-Dorg.netbeans.core.NbClipboard=-1

I think that should be -J-Dorg.netbeans.NbClipboard.level=FINEST

With that I do get a lot of output from the clipboard in the log.
Hopefully the logging if / when it fails may tell us something.

Incidentally, your other log output about System clipboard not
available is I think because the Windows clipboard can only be opened
by one application at a time.  Not sure if it's related or not.

Best wishes,

Neil


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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







---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-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