It is best to explain this with an example. Make an
empty document. Then select the File->Save as menu
option with the keyboard, by typing the keys Alt+f and
a. (NOT Alt-a). Then the Save as action is carried out,
AND the letter a is added to the document.
The letter a should not be inserted--it selected the
menu item.
The same is true for other two-letter shortcuts.
Logged In: YES
user_id=725563
I should have added information about my configuration,
sorry. Ubuntu Linux 6.06 and 6.10, JDK 1.5 and 1.6 all show
this problem.
Logged In: YES
user_id=285591
Originator: NO
It is not reproductible on Windows. What version of jEdit do you use ?
Logged In: YES
user_id=1645075
Originator: NO
Presumably this issue and the following are all caused by the same thing:
1542026 "Keyboard navigation through menubar inserts char into buffer"
1531416 "4.3pre6 show-buffer-switcher: inserts keypress into buffer"
.. and there may be more. I took a bit of a look at 1531416 in a debugger
yesterday, and found that if you set the following jedit property then the
problem disappears:
newkeyhandling=true
The problem is that if you do that then other things don't work. For example,
shortcuts like 'ctrl 1' no longer trigger.
I suspect the problem may only arise with more recent releases of Java, but
I'm not certain about that. That may be why some people are not seeing it.
Logged In: YES
user_id=725563
Originator: YES
The problem occurs with JEdit4.3pre8. I tried JEdit4.2, and there is no problem with that version.
I don't know how to set a property. I tried java -Dnewkeyhandling=true, java -Doptions.general.newkeyhandling=true, a properties file cay.props and cay.properties in ~/jedit/4.3pre8/props with entries options.general.newkeyhandling=true
newkeyhandling=true, and none of them makes any difference.
Java 1.5 isn't a "recent release".
Logged In: YES
user_id=935841
Originator: NO
you can use the simplified keyboard handling from the global options - general - new keyboard handling.
or you can edit your .jedit/properties and set it there.
Logged In: YES
user_id=725563
Originator: YES
How did I miss the "new keyboard handling" option in Global Options -> JEdit -> General? Ah, maybe because it isn't called "new keyboard handling" in 4.3pre8. It is succinctly labeled as "true". Checking "true" fixes the problem. Thanks!
Logged In: YES
user_id=1645075
Originator: NO
Isn't anyone bothered by the fact that moving to the new keyboard handling means that many shortcut key combinations stop working?
What is the plan with new and old keyboard handling? Is the author of the new keyboard handling still working on it, or have they moved on to other things? If I was to look into trying to improve matters, should I be looking at improving the new or old keyboard handling?
thanks,
mick
Logged In: YES
user_id=935841
Originator: NO
The new keyboard handling works great under linux, and causes some problems under macos and windows. Xuan Balduf debugged it for linux. Now we need someone to do it for windows / macOS.
Yes it bothers me too, and I tried to debug it but i don't have a good setup for doing so under windows, and I have no access to a MacOSX box. I hoped that Xuan could fix the problems in the new keyboard handling before we release 4.3final, but it seems he is not able to.
Logged In: YES
user_id=1645075
Originator: NO
Ah ok. Thanks. So it sounds like the long term plan is for the new keyboard handling to replace the old.
I'll see if I can find some time over the next few weeks to take a look at the new keyboard handling on windows.
Logged In: YES
user_id=285591
Originator: NO
Hi, it is probably fixed in the latest SVN, could you try it ? I can provide you a compiled version if you need it
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).