-
Bug
-
Resolution: Won't Fix
-
P5
-
None
-
1.4.2
-
x86
-
linux
Name: dk106046 Date: 04/26/2004
AMI (Korean Input Method on Linux) 's status icon in the front panel of KDE
changes unexpectedly after dragging a Java window.
OPERATING SYSTEM(S):
SuSE SLES8 for IA32 and RedHat RHAS3 for IA32 with Korean locale
FULL JDK VERSION(S):
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
AMI (Korean Input Method on Linux) 's status icon in the front panel of KDE
changes unexpectedly after dragging a Java window.
- steps to reproduce
1. Login KDE with Korean environment. AMI should launch from start script.
It means do not launch AMI from a terminal after login.
2. Make sure AMI's icon appears in KDE front panel.
KDE front panel has many icons, and is shown at the bottom of the screen.
AMI's icon may appear the right side of the font panel.
3. Compile and run a sample code, JTextAreaTest.
4. Turn on AMI by pressing Shift+Space key.
Confirm the AMI's icon is changed from "A" to Hangul character.
5. Click terminal window.
6. Click JTextAreaTest's title bar and drag it.
=> Then, AMI's icon changes to the turn-off state, "A".
Even if we released a mouse button, the icon kept "A" state.
However, real status is turn-on. The icon should indicate its correct status.
====== JTextAreaTest.java ======================================
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class JTextAreaTest extends JTextArea {
public JTextAreaTest() {
super();
}
public static void main(String[] args) {
JFrame frame = new JFrame("Swing JTextArea component");
frame.getContentPane().add(new JTextAreaTest());
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent event) {
System.exit(0);
}
});
frame.setSize(300, 300);
frame.show();
}
}
============================================================
- Additional Information
AMI seems to expect XSetICFocus/XUnsetICFocus call when any modes of FocusIn/FocusOut
event is received.
X's FocusIn/FocusOut events have these modes:
NotifyNormal, NotifyGrab, NotifyUngrab, NotifyWhileGrabbed.
When we dragged Java window, it received focus events with NotifyGrab/NotifyUngrab mode.
At the time, AMI seems to expect XUnsetICFocus/XSetICFocus function are called.
However, no function was called. Then, AMI's icon showed incorrect status.
======================================================================
###@###.### 10/24/04 22:42 GMT
AMI (Korean Input Method on Linux) 's status icon in the front panel of KDE
changes unexpectedly after dragging a Java window.
OPERATING SYSTEM(S):
SuSE SLES8 for IA32 and RedHat RHAS3 for IA32 with Korean locale
FULL JDK VERSION(S):
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
AMI (Korean Input Method on Linux) 's status icon in the front panel of KDE
changes unexpectedly after dragging a Java window.
- steps to reproduce
1. Login KDE with Korean environment. AMI should launch from start script.
It means do not launch AMI from a terminal after login.
2. Make sure AMI's icon appears in KDE front panel.
KDE front panel has many icons, and is shown at the bottom of the screen.
AMI's icon may appear the right side of the font panel.
3. Compile and run a sample code, JTextAreaTest.
4. Turn on AMI by pressing Shift+Space key.
Confirm the AMI's icon is changed from "A" to Hangul character.
5. Click terminal window.
6. Click JTextAreaTest's title bar and drag it.
=> Then, AMI's icon changes to the turn-off state, "A".
Even if we released a mouse button, the icon kept "A" state.
However, real status is turn-on. The icon should indicate its correct status.
====== JTextAreaTest.java ======================================
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class JTextAreaTest extends JTextArea {
public JTextAreaTest() {
super();
}
public static void main(String[] args) {
JFrame frame = new JFrame("Swing JTextArea component");
frame.getContentPane().add(new JTextAreaTest());
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent event) {
System.exit(0);
}
});
frame.setSize(300, 300);
frame.show();
}
}
============================================================
- Additional Information
AMI seems to expect XSetICFocus/XUnsetICFocus call when any modes of FocusIn/FocusOut
event is received.
X's FocusIn/FocusOut events have these modes:
NotifyNormal, NotifyGrab, NotifyUngrab, NotifyWhileGrabbed.
When we dragged Java window, it received focus events with NotifyGrab/NotifyUngrab mode.
At the time, AMI seems to expect XUnsetICFocus/XSetICFocus function are called.
However, no function was called. Then, AMI's icon showed incorrect status.
======================================================================
###@###.### 10/24/04 22:42 GMT