JDK-4113751 : Solaris: Problem with Ctrl C in textfield after placing stuff in the clipboard
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1.5
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_2.5.1
  • CPU: sparc
  • Submitted: 1998-02-20
  • Updated: 1998-08-21
  • Resolved: 1998-08-21
Related Reports
Relates :  
Description
On Solaris:

If you copy data into the clipboard (using the clipboard API's),
select text in a text field and hit Ctrl-C the text currently
in the clipboard will replace (Paste) the selected text

If you copy data in text areas (never touch the Clipboard class)
Ctrl-C copies

I am including a simple test case (see attachments)
To duplicate the problem:
	Run the test program
	 * click over the drawn text ("this is a test")
	    (this places the text in the clipboard)
	 * type data in to the text field (above the drawn text)
	 * select some or all of the data in the text field
         * hit Ctrl-C
"this is a test" will replace the selected data

Comments
PUBLIC COMMENTS Solaris: Problem with Ctrl C in textfield after placing stuff in the clipboard
10-06-2004

EVALUATION isa.hashim@Eng 1998-05-29 ------------------------- Using the promoted jdk1.1.6 and jdk1.2, I observe that Ctrl-C no longer paste's the clipboard's contents. However, I don't see it performing the copy properly. This is what I see: Run the test program * click over the drawn text ("this is a test") (this places the text in the clipboard) * type data in to the text field (above the drawn text) * select some or all of the data in the text field * hit Ctrl-C -> the selected data is unharmed - GOOD ! * now hit the paste key or Ctrl-V repeatedly * instead of seeing what was selected before pasted over and over again, I see "this is a test" pasted !! If I go over to another terminal window and hit paste, what was selected in the test program is pasted properly. It looks like the JVM's system clipboard is not updated properly. isa.hashim@Eng 1998-08-21 ------------------------- Closing this bug as not reproducible. the remaining problem will be addressed by bugid 4168121.
21-08-1998