{"id":2000,"date":"2024-09-20T14:48:38","date_gmt":"2024-09-20T06:48:38","guid":{"rendered":"http:\/\/www.algmain.com\/?p=2000"},"modified":"2024-09-20T14:50:13","modified_gmt":"2024-09-20T06:50:13","slug":"netbeans-22-cannot-copy-bug","status":"publish","type":"post","link":"http:\/\/www.algmain.com\/index.php\/2024\/09\/20\/netbeans-22-cannot-copy-bug\/","title":{"rendered":"\u89e3\u51b3NetBeans 22\u65e0\u6cd5\u6b63\u5e38\u62f7\u8d1d"},"content":{"rendered":"\n<p>NetBeans 22\u4f1a\u51fa\u73b0\u65e0\u6cd5\u4f7f\u7528Ctrl+C\u6216\u8005\u83dc\u5355\u9009\u9879\u6765\u8fdb\u884c\u4ee3\u7801\u62f7\u8d1d\u7684\u60c5\u51b5\u3002\u4f8b\u5982\uff1a\u4eceNetBeans 22\u4e2d\u62f7\u8d1d\u4e00\u6bb5\u4ee3\u7801\u81f3Visual Studio 2022\u4e2d\uff0c\u5219\u6709\u65f6\u5019\u53ef\u4ee5\u62f7\u8d1d\uff0c\u6709\u65f6\u5019\u5219\u600e\u4e48\u4e5f\u62f7\u8d1d\u4e0d\u8fc7\u53bb\u3002\u5728NetBeans 22\u4e2d\u591a\u6b21\u70b9\u51fbCopy\u83dc\u5355\u9879\uff0c\u4e5f\u65e0\u6cd5\u5c06\u4ee3\u7801\u62f7\u8d1d\u81f3\u526a\u8d34\u677f\u4e4b\u4e2d\u3002<\/p>\n\n\n\n<p>\u4fee\u6b63\u6b64\u95ee\u9898\u7684\u65b9\u6cd5\u662f\u901a\u8fc7\u8c03\u6574NetBeans\u7684netbeans.conf\u6587\u4ef6\u6765\u5b9e\u73b0\u3002\u5728netbeans.conf\u6587\u4ef6\u4e2d\u7684netbeans_default_options\u9879\u76ee\u4e2d\u589e\u52a0\u4e00\u9879\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-J-Dorg.netbeans.NbClipboard.level=FINEST<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u91cd\u542fNetBeans 22\uff0c\u5c31\u53ef\u4ee5\u521d\u6b65\u89e3\u51b3\u8be5\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u5728Github\u4e2d\uff0c\u8fd8\u63d0\u4f9b\u4e86<a href=\"https:\/\/github.com\/apache\/netbeans\/issues\/3962\" data-type=\"link\" data-id=\"https:\/\/github.com\/apache\/netbeans\/issues\/3962\">\u5176\u4ed6\u51e0\u79cd\u65b9\u6cd5<\/a>\u3002\u8fd9\u91cc\u4ec5\u4f9b\u53c2\u8003\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u2026\u2026\n-J-Dnetbeans.slow.system.clipboard.hack=false: The bug seemed to occur less frequently but it still occured.\n-J-Dnetbeans.slow.system.clipboard.hack=false and -J-Dorg.netbeans.NbClipboard.level=FINEST: Seems to fix the issue. The bug did not occur once during using these.\n-J-Dorg.netbeans.NbClipboard.level=FINEST: Seems to suffice. Have not used it as long as the others (less than one month) but the bug did not occur. Hopefully this is not tied to a race condition where org.netbeans.NbClipboard.level=FINEST fixes it for most people but not all.\n-J-DTopSecurityManager.disable=true: Did not change anything. The bug still occured.\n-J-DTopSecurityManager.disable=true and -J-Dorg.netbeans.NbClipboard.level=FINEST: The bug did not occur.\n\u2026\u2026<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>NetBeans 22\u4f1a\u51fa\u73b0\u65e0\u6cd5\u4f7f\u7528Ctrl+C\u6216\u8005\u83dc\u5355\u9009\u9879\u6765\u8fdb\u884c\u4ee3\u7801\u62f7\u8d1d\u7684\u60c5\u51b5\u3002\u4f8b\u5982\uff1a\u4eceNetBeans 2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[79,78,80],"class_list":["post-2000","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bug","tag-netbeans","tag-80"],"_links":{"self":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts\/2000"}],"collection":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/comments?post=2000"}],"version-history":[{"count":4,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts\/2000\/revisions"}],"predecessor-version":[{"id":2004,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts\/2000\/revisions\/2004"}],"wp:attachment":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/media?parent=2000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/categories?post=2000"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/tags?post=2000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}