This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 222018 - System clipboard doesn't work in netbeans for > 250k
Summary: System clipboard doesn't work in netbeans for > 250k
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-11-13 09:19 UTC by Petr Cyhelsky
Modified: 2012-11-14 13:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
zipped messages.log(s) (80.90 KB, application/octet-stream)
2012-11-13 11:53 UTC, Petr Cyhelsky
Details
messages.log with 5000ms timeout (518.89 KB, text/plain)
2012-11-13 14:21 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-11-13 09:19:35 UTC
Product Version: NetBeans IDE Dev (Build 201211120001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Linux version 3.2.0-32-generic running on amd64; UTF-8; en_US (nb)

Steps: Select contents of same big java file (e.g. GandalfPersistenceManager.java) in some external editor -> copy it into clipboard -> try to paste it into some open file in netbeans -> nothing happens

This is a Regression - this works in 7.2.1
Comment 1 Stanislav Aubrecht 2012-11-13 11:09:40 UTC
Works for me in 

Product Version: NetBeans IDE Dev (Build 20121107-35f9bf43351b)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11

Note that there's timeout defined by sun.awt.datatransfer.timeout system property (defaults to 1000ms). Please check your IDE log for any warnings when the clipboard copy fails.
Comment 2 Petr Cyhelsky 2012-11-13 11:34:08 UTC
reproduced
Comment 3 Stanislav Aubrecht 2012-11-13 11:41:54 UTC
Please run with -J-Dorg.netbeans.NbClipboard.level=0 and attach IDE log, thanks.
Comment 4 Petr Cyhelsky 2012-11-13 11:53:03 UTC
Created attachment 127703 [details]
zipped messages.log(s)
Comment 5 Stanislav Aubrecht 2012-11-13 13:13:24 UTC
And is it still reproducible with -J-Dsun.awt.datatransfer.timeout=5000 ?
Comment 6 Petr Cyhelsky 2012-11-13 14:21:04 UTC
Created attachment 127723 [details]
messages.log with 5000ms timeout

yes it is still reproducible even with 5000 timeout
Comment 7 Petr Cyhelsky 2012-11-14 10:55:33 UTC
The jdk bug is also a REGRESSION in jdk but for some reason it is only P4 and thus no one has touched it for 12 months !!! Tondo can you please raise the priority? Reopening to keep track of the problem until the priority of the jdk bug is raised.
Comment 8 Antonin Nebuzelsky 2012-11-14 13:33:15 UTC
Raised the priority and added our keyword.