Yes, there was a patch here in NetBeans 15 which I think improved the situation 
a lot. Now you can usually just Ctrl+C again, which so far has always resolved 
the problem for me. (Instead of restarting the IDE.)

The patch was https://github.com/apache/netbeans/pull/4774 , which was a 
follow-up on https://github.com/apache/netbeans/pull/4572 . I kept a diary of 
cut/paste problems and their resolution for several weeks.

-- Eirik


Great! There was a patch in NetBeans 15 that made the copy/paste bug much less 
of a problem.

-----Original Message-----
From: Patrik Karlström <pat...@trixon.se> 
Sent: Monday, December 5, 2022 9:18 AM
To: dev@netbeans.apache.org
Subject: Re: Copy Paste still an issue

There are a couple of threads on this by now and I'm not sure if the following 
"semi-solution" has been posted.

A couple of weeks ago the clipboard went bust on me in NB 15.
I tried a couple of things and I got it working again without restarting NB.

Today it happened again but this time in NB 16, this gave me a chance to reduce 
and verify my steps.
The only thing I needed to do to make the clipboard working again was

Hit CTRL-X in NB without any selection being made (cut the whole line).
Perhaps CTRL-C works too.

Patrik


Den lör 3 sep. 2022 kl 11:07 skrev Neil C Smith <neilcsm...@apache.org>:

> On Fri, 2 Sept 2022 at 18:45, Kenneth Fogel 
> <kfo...@dawsoncollege.qc.ca>
> wrote:
> > To reproduce try this:
> >
> > Open NB and a project in NB. Open NotePad++ or Word.
> > Copy just one line of a file from NB to NotePad++ or Word. It should
> work. Try a few other lines but just a single line at a time.
> > Now select and copy 20 or so lines from the NB file. **You will not 
> > be
> able to paste it**.
>
> It would be easier if it was that easily reproducible!  Are you saying 
> that you see this every time?  Other people have reported it happening 
> after some time, some not seeing it.
>
> Can you try setting some thing in netbeans.conf startup properties?
>
> -J-Dorg.netbeans.NbClipboard.level=FINEST
>
> Then check messages.  Anything odd?
>
> Then try adding to that -
>
> -J-Dnetbeans.slow.system.clipboard.hack=false
>
> and
>
> -J-DTopSecurityManager.disable=true
>
> separately - not at the same time.
>
> Do either/both affect the result?
>
> Thanks,
>
> 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