From: <no...@so...> - 2002-03-27 11:06:33
|
Bugs item #535126, was opened at 2002-03-26 02:16 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100588&aid=535126&group_id=588 Category: editor core Group: normal bug Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Keyboard handling Initial Comment: I've found some problems with the keyboard handling, using danish keyboard layout and linux. It's impossible for me to write a '|'.. (Try to program in Java without the possibility to do an OR).. While using the keyboard tester I get the following output: "ALT_GRAPH DEAD_ACUTE" Event java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65406,Alt Graph,modifiers=Alt Graph,extModifiers=Alt Graph,keyLocation=KEY_LOCATION_STANDARD] on org.gjt.sp.jedit.gui.GrabKeyDialog$InputPane[,0,0,164x24,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=null,alignmentY=null,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@ad5d46,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],selectionColor=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING] passed Event java.awt.event.KeyEvent[KEY_PRESSED,keyCode=129,keyChar='?',keyLocation=KEY_LOCATION_STANDARD] on org.gjt.sp.jedit.gui.GrabKeyDialog$InputPane[,0,0,164x24,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=null,alignmentY=null,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@ad5d46,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],selectionColor=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING] passed Event java.awt.event.KeyEvent[KEY_RELEASED,keyCode=129,keyChar='?',keyLocation=KEY_LOCATION_STANDARD] on org.gjt.sp.jedit.gui.GrabKeyDialog$InputPane[,0,0,164x24,invalid,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=null,alignmentY=null,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@ad5d46,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],selectionColor=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING] passed Event java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65406,Alt Graph,modifiers=Alt Graph,extModifiers=Alt Graph,keyLocation=KEY_LOCATION_STANDARD] on org.gjt.sp.jedit.gui.GrabKeyDialog$InputPane[,0,0,164x24,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=null,alignmentY=null,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@ad5d46,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],selectionColor=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING] passed My system: [message] Log: java.version=1.4.0 [message] Log: java.vm.version=1.4.0-b92 [message] Log: java.runtime.version=1.4.0-b92 [message] Log: java.vendor=Sun Microsystems Inc. [message] Log: java.compiler=null [message] Log: os.name=Linux [message] Log: os.version=2.4.7-10 [message] Log: os.arch=i386 [message] Log: user.home=/home/bvli [message] Log: java.home=/usr/java/j2sdk1.4.0/jre [message] Log: java.class.path=/usr/local/share/jedit/4.0pre8/jedit.jar The bug also appears in Jedit 4.0Pre7 Kind regards, Bjarke ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-03-27 03:06 Message: Logged In: NO No, I cannot. This has nothing to do with jEdit, it's probably my jvm setup or whatever, because the | char works in all other programs than those written in Java. Made a little test: public class TestTextField { public static void main(String[] sArgs) { JFrame f = new JFrame("Testing the pipe char"); f.getContentPane().add(new JTextField()); f.pack(); f.setVisible(true); } } I can write "all" chars here, but NOT the '|'. Sorry for taking your time. /B ---------------------------------------------------------------------- Comment By: Slava Pestov (spestov) Date: 2002-03-26 18:46 Message: Logged In: YES user_id=2280 Your Java version never sends a KEY_TYPED event for |. Does this key work in components other than the jEdit text area (text fields, etc)? ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100588&aid=535126&group_id=588 |