From: SourceForge.net <no...@so...> - 2006-11-16 17:45:32
|
Bugs item #1594544, was opened at 2006-11-10 18:41 Message generated for change (Comment added) made by cayhorstmann You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1594544&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: severe bug Status: Open Resolution: None Priority: 5 Private: No Submitted By: Cay Horstmann (cayhorstmann) Assigned to: Nobody/Anonymous (nobody) Summary: Menu shortcut keys end up in document Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Cay Horstmann (cayhorstmann) Date: 2006-11-16 09:45 Message: 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! ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2006-11-16 09:19 Message: 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. ---------------------------------------------------------------------- Comment By: Cay Horstmann (cayhorstmann) Date: 2006-11-16 08:27 Message: 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". ---------------------------------------------------------------------- Comment By: Mick Hollins (mickhollins) Date: 2006-11-15 14:35 Message: 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. ---------------------------------------------------------------------- Comment By: Matthieu Casanova (kpouer) Date: 2006-11-15 14:27 Message: Logged In: YES user_id=285591 Originator: NO It is not reproductible on Windows. What version of jEdit do you use ? ---------------------------------------------------------------------- Comment By: Cay Horstmann (cayhorstmann) Date: 2006-11-10 18:43 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1594544&group_id=588 |