The problem with copy and paste occurs when I have NetBeans, Microsoft Word, 
and Notepad++ all open. On a fresh reboot of a Windows system you may be 
successful copying either to or from NetBeans. However, this has never worked 
more than twice before it stops. It will not work in both directions although 
it works fine inside NetBeans. At one time I could copy from NetBeans to 
NotePad++ and copy from Notepad++ to Word but the ability to copy to Notepad++ 
is now hit or miss, mostly miss. My trick of doing a Cut in NB and then paste 
into anything else is also intermittent.


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. Go back and just copy a single line that had worked, and it will no 
longer work.
Try Cut, Paste, and then restore the Cut. This may or may not work. 

The system I use is an i9 w/ 32 Gig and Windows 11. NetBeans is running under 
Java 17 but this was a problem with earlier versions of Java as well.

Ken





-----Original Message-----
From: Ernie Rael <err...@raelity.com> 
Sent: August 31, 2022 9:13 PM
To: dev@netbeans.apache.org
Subject: Re: Copy Paste still an issue

On 8/31/22 9:15 AM, Scott Palmer wrote:
> It’s an intermittent issue on Windows that has been around for a long time.
>
> Edit the netbeans.conf file in netbeans/etc/ to add:
>   -J-Dorg.netbeans.NbClipboard.level=FINEST
>
> I keep forgetting after installing new versions :-(

FYI, jLogman in the plugin portal, can be installed and does not require a NB 
restart. Then

 1. Tools>ManageLogging brings up a tree table of the loggers,  2. navigate to 
org.netbeans.NbClipboard  3. Click in the level column  4. select FINE in the 
combo box  5. optional: right click anywhere
    navigate/check Configurations > ApplyConfigurationAtStartup
    so the logging is enabled after a NB restart

Of course this only gives information after the fact, so who knows if it would 
be useful.

Starting logging in netbeans.conf doesn't have a brief gap at startup.

-ernie

>
> That may provide needed details in the logs.
>
> Hopefully we can get this sorted… It’s been a thorn in my side for years.
>
>
> Scott
>
>> On Aug 31, 2022, at 11:13 AM, Neil C Smith <neilcsm...@apache.org> wrote:
>>
>> On Wed, 31 Aug 2022 at 15:51, Kenneth Fogel <kfo...@dawsoncollege.qc.ca> 
>> wrote:
>>> That I am not the only one who comes across this issue leads me to believe 
>>> it is not a 'just on my machine' problem.
>> It is definitely not just on your machine, but it is also not on 
>> every machine.  The bug linked previously has a bunch of questions 
>> and a link to a previous thread on here with flags and things to test.
>>
>> Out of interest, what shows with CTRL_SHIFT-D (paste from history)?
>>
>> Until someone working on the IDE can reproduce the circumstances of 
>> this issue, I don't see it getting fixed.
>>
>> 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://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwi
>> ki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp
>> ;data=05%7C01%7Ckfogel%40dawsoncollege.qc.ca%7C1537e817633e45a93a8208
>> da8bb762e1%7Cb6b66a7afbbb42b8a7c5712342094eef%7C1%7C0%7C6379759170026
>> 44439%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJ
>> BTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=o9YVNgadPYcarCZ
>> VnIlvvkrUlg5DjQ3uVS2Lq8ZxEDk%3D&amp;reserved=0
>>
>>
>>
> ---------------------------------------------------------------------
> 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://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwik
> i.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;d
> ata=05%7C01%7Ckfogel%40dawsoncollege.qc.ca%7C1537e817633e45a93a8208da8
> bb762e1%7Cb6b66a7afbbb42b8a7c5712342094eef%7C1%7C0%7C63797591700264443
> 9%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6
> Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=o9YVNgadPYcarCZVnIlvv
> krUlg5DjQ3uVS2Lq8ZxEDk%3D&amp;reserved=0
>
>
>
>


---------------------------------------------------------------------
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://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;data=05%7C01%7Ckfogel%40dawsoncollege.qc.ca%7C1537e817633e45a93a8208da8bb762e1%7Cb6b66a7afbbb42b8a7c5712342094eef%7C1%7C0%7C637975917002644439%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=o9YVNgadPYcarCZVnIlvvkrUlg5DjQ3uVS2Lq8ZxEDk%3D&amp;reserved=0



Reply via email to