I have a simple list. I click by mouse on the item of the list and try to change the selection of the list using arrow keys. But it's impossible since list looks like non focusable after the mouse clicking. If we try to do the selection changing using arrow keys after the focus changing using 'TAB' then the selection will be changed visibly.
It's reproducible with jdk6.0 build42.
ONLY on MToolkit, ONLY with KDE window manager.
I have attach a simple test:
import java.awt.*;
import java.awt.event.*;
public class ListTest2 extends Frame {
List list = new List(4, false);
public ListTest2 () {
super ("ChoiceTest");
list.add("111");
list.add("222");
list.add("333");
list.add("444");
add(list);
this.setLayout(new FlowLayout());
setSize(200, 200);
setVisible(true);
validate();
}
public static void main (String args[]) {
ListTest2 test = new ListTest2();
}
}
###@###.### 2005-07-08 07:42:31 GMT
It's reproducible with jdk6.0 build42.
ONLY on MToolkit, ONLY with KDE window manager.
I have attach a simple test:
import java.awt.*;
import java.awt.event.*;
public class ListTest2 extends Frame {
List list = new List(4, false);
public ListTest2 () {
super ("ChoiceTest");
list.add("111");
list.add("222");
list.add("333");
list.add("444");
add(list);
this.setLayout(new FlowLayout());
setSize(200, 200);
setVisible(true);
validate();
}
public static void main (String args[]) {
ListTest2 test = new ListTest2();
}
}
###@###.### 2005-07-08 07:42:31 GMT
- relates to
-
JDK-6293432 Key events ('SPACE', 'UP', 'DOWN') aren't blocked if mouse is kept in 'PRESSED' state for List, XAWT
- Closed