On 05.09.22 18:51, Ernie Rael wrote:
On 9/5/22 9:32 AM, Kenneth Fogel wrote:
I just tried -J-Dorg.netbeans.NbClipboard.level=FINEST. It resolved the issue.

Turning on logging fixes it, the good news and the bad news, sigh. Maybe there's some code that checks the logging level and does things differently, that would be good; better than a timing problem.

-ernie

PS. Does netbeans.conf handles trailing '\' as line continuation?

it should work on linux (potentially mac too). The windows launcher is implemented differently and does not support multi line properties in the config (would be nice if it would).

-mbien




Initially I thought it only worked if it was the first switch in the list but it turns out that was my fault. I added the switch at the end of the file by pressing Enter to open a blank line in my editor. In my stupidity I did not notice that I was ending the list of switches when I pressed Enter. So, for about 20 minutes today I thought it only worked if it was the first switch. When I recognized my dumb mistake, all I had to do is add the switch to the list anywhere by inserting it rather than creating a new line. So far, the results are consistent.

Ken

PS: My editor displayed the conf file with word wrap on. This made it look like most every switch was on its own line and that is why I used Enter to create a space for the switch.

PPS: Consider, after suitable testing, making -J-Dorg.netbeans.NbClipboard.level=FINEST a switch in netbeans.cnf by default.

-----Original Message-----
From: Neil C Smith <neilcsm...@apache.org>
Sent: September 3, 2022 5:06 AM
To: dev@netbeans.apache.org
Subject: Re: Copy Paste still an issue

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://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%7C9c96f7f1e9184da48ebb08da8d8b9cb0%7Cb6b66a7afbbb42b8a7c5712342094eef%7C1%7C0%7C637977928016322989%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=cfPyK0gYqXesivgFYxsrm7KNVV%2F1tuHPrXrVNWQ%2BVvo%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://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





---------------------------------------------------------------------
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