-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
5.0
-
x86
-
linux
FULL PRODUCT VERSION :
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux linux 2.6.22.12-0.1-default #1 SMP 2007/11/06 23:05:18 UTC i686 i686 i386 GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
LapTop
A DESCRIPTION OF THE PROBLEM :
Toolkit.getDefaultToolkit().getSystemClipboard().getData(DataFlavor.stringFlavor)
works properly.
When you want to paste the content to gedit in gnome, you will find the paste item in popup menu is grayed.
Please see https://bugzilla.novell.com/show_bug.cgi?id=191223
The Java ClipBorad put X window Selection incorrectly,
When he provide X Selection TARGETS, the type of the selection should be ATOM, But java awt provide with TARGETS two. Please see X11R6 ICCCM.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Copy some text from a java application like Notepad, we actually use groupwise.
2. Launch gedit in gnome, in the main text area, right click the mouse, you will find the paste item is grayed.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The paste item is usable.
ACTUAL -
The paste item is grayed out.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
in Java Examples Notepad.
---------- END SOURCE ----------
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux linux 2.6.22.12-0.1-default #1 SMP 2007/11/06 23:05:18 UTC i686 i686 i386 GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
LapTop
A DESCRIPTION OF THE PROBLEM :
Toolkit.getDefaultToolkit().getSystemClipboard().getData(DataFlavor.stringFlavor)
works properly.
When you want to paste the content to gedit in gnome, you will find the paste item in popup menu is grayed.
Please see https://bugzilla.novell.com/show_bug.cgi?id=191223
The Java ClipBorad put X window Selection incorrectly,
When he provide X Selection TARGETS, the type of the selection should be ATOM, But java awt provide with TARGETS two. Please see X11R6 ICCCM.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Copy some text from a java application like Notepad, we actually use groupwise.
2. Launch gedit in gnome, in the main text area, right click the mouse, you will find the paste item is grayed.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The paste item is usable.
ACTUAL -
The paste item is grayed out.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
in Java Examples Notepad.
---------- END SOURCE ----------
- duplicates
-
JDK-6607163 Linux: Cannot copy image from Java to OpenOffice
-
- Closed
-