[ nedit-Bugs-1668273 ] One more key binding bug

SourceForge.net noreply at sourceforge.net
Fri Jun 15 09:20:48 CEST 2007


Bugs item #1668273, was opened at 2007-02-25 01:59
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1668273&group_id=11005

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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: One more key binding bug

Initial Comment:
Hi,
I found in-equivalence of accelerators in Macro and Background Menus.

Define simple macro

define key_binding_test {
   insert_string("test")
}

a) Make Macro Menu item `test' and bind key_binding_test() to Alt+u.
   Press Alt+u
   String `test' is inserted in buffer.	All is OK!
   Delete the accelerator in Macro Menu and add it to Xresources

nedit*text.Translations: #override \n\
Alt<Key>u:macro_menu_command("test")\n\

	......
	Press Alt+u - String `test' is inserted in buffer.	All is OK!
	
	
b) Delete the entry `test' from Macro Menu and remove Alt+u from Xresources.
   Make Background Menu item `test' and bind key_binding_test() to Alt+u.
   Press Alt+u
   String `testu' is inserted in buffer. THIS IS A BUG!
   Delete the accelerator in Background Menu and add it to Xresources

nedit*text.Translations: #override \n\
Alt<Key>u:dg_menu_command("test")\n\

	......
	Press Alt+u - String `test' is inserted in buffer.	All is OK!

5.6 [Under Development] HEAD
Feb 8, 2007

     Built on: Linux, 486, GNU C
     Built at: Feb  8 2007, 18:45:51
   With Motif: 2.2.3 [@(#)Motif Version 2.2.3]
Running Motif: 2.2 [unknown]
       Server: The X.Org Foundation 70000000
       Visual: 24-bit TrueColor (ID 0x23, Default)
       Locale: C


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2007-06-15 00:20

Message:
Logged In: NO 

Hi,

Accelerators work, see my example, but the "key itself" is also inserted
when key is combined with Alt modifier.

At the same time, when accelerator is specified in Macro menu, the "key
itself" is not inserted.

Alexey

----------------------------------------------------------------------

Comment By: Joerg Fischer (jf505)
Date: 2007-06-14 13:05

Message:
Logged In: YES 
user_id=918104
Originator: NO

Accelerators in the window background menu can't work, since the menu is
not shown. This is merely a documentation bug. While the same dialog box is
used for the macro and window background menus, this accelerator thing
should be mentioned under "Customizing Menus". 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1668273&group_id=11005


More information about the Develop mailing list