Bugs item #1041388, was opened at 2004-10-06 11:52
Message generated for change (Comment added) made by anselmagain
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1041388&group_id=588
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: keyboard / mouse
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Anselm (anselmagain)
Assigned to: Xuan Baldauf (mediumnet)
Summary: Keyboard shortcuts don't use the right keyboard layout
Initial Comment:
I have a french keyboard, and even though jEdit
regonises my keyboard properly when typing text, it
doesn't do so when entering keyboard shortcuts. For
instance, if I press 'z' it enters a 'z', but if I
press 'Ctrl+z' it closes the window! (ie. it executes
it as a 'Ctrl+w')
Other applications work fine.
Here's the output of the keyboard tester when I press 'z' :
-------------------
Event
KEY_PRESSED,keyCode=0x57,keyChar=0x7a,modifiers=0x0
filtered
Event KEY_TYPED,keyCode=0x0,keyChar=0x7a,modifiers=0x0
passed
==> Translated to <0,7a>
Event
KEY_RELEASED,keyCode=0x57,keyChar=0x7a,modifiers=0x0 passed
And here's the output when I press Ctrl+z:
-------------------
Event
KEY_PRESSED,keyCode=0x11,keyChar=0xffff,modifiers=0x2
filtered
Event
KEY_PRESSED,keyCode=0x57,keyChar=0x1a,modifiers=0x2 passed
==> Translated to C<0,77>
Event KEY_TYPED,keyCode=0x0,keyChar=0x1a,modifiers=0x2
filtered
Event
KEY_RELEASED,keyCode=0x57,keyChar=0x1a,modifiers=0x2 passed
Event
KEY_RELEASED,keyCode=0x11,keyChar=0xffff,modifiers=0x0
filtered
System info:
-------------------
Slacware 10.0,
X server 11.0 from 'The X.Org foundation'
KDE 3.2.3
jEdit 4.2final
java 1.4.2_04
KDE config
-------------------
The keyboard is configured as:
Generic 104-key PC
Layout: French
keymap: (fr)
X11 config
-------------------
The keyboard is configured as (in xorg.conf) :
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "fr"
EndSection
java -version output
-------------------------
$java -version
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
----------------------------------------------------------------------
>Comment By: Anselm (anselmagain)
Date: 2006-09-04 10:03
Message:
Logged In: YES
user_id=1132511
Hi !
Well I have just tested and it does now work correctly, so
the bug can be closed as far as I'm concerned - though we'll
never know what caused it in the first place (since I raised
the bug I updated my KDE, X11 and Java ... Doesn't feel
worth it to backtrack those just to find where this bug came
from! - though if it was KDE, why did it only happen with
Jedit ?).
Thanks for working on the best editor in creation ;)
----------------------------------------------------------------------
Comment By: Alan Ezust (ezust)
Date: 2006-09-04 03:39
Message:
Logged In: YES
user_id=935841
I have a feeling the ctrl-z behavior is related to KDE, not
jEdit though... In any case, I have a more current version
of KDE and do not have this problem. You can re-open if it
is an issue.
----------------------------------------------------------------------
Comment By: Alan Ezust (ezust)
Date: 2006-08-30 08:34
Message:
Logged In: YES
user_id=935841
Try the new simplified keyboard handling of jedit 4.3pre5.
It might make your problem go away.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1041388&group_id=588
|