This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE Dev (Build 200408081800) Operating System = Linux version 2.4.22-1.2115.nptl running on i386 Java; VM; Vendor = 1.5.0-beta3; Java HotSpot(TM) Client VM 1.5.0-beta3-b62; Sun Microsystems Inc. Java Home = /usr/local/java/jdk1.5.0/jre System Locale; Encod. = cs_CZ (nb); ISO-8859-2 Home Dir; Current Dir = /usr/local/home/delphym; /usr/local/forte/forte3/NBdev-last/netbeans/bin IDE Install; User Dir = /usr/local/home/delphym/NBdev-last/platform4; /usr/local/home/delphym/.netbeans/dev ------------------------------------------------------------------------------- I've found in current DEV (4.0) build thet when I want to delete a node (eg. java file) the shortcut assigned to the action "Delete" is for "Backspace" key... that's sound strange to me. Is it as designed or is it bug? FYI: bouth key: "Delete" and "Backspace" delete the node. As an evidence I'm attaching snapshot of the popup-menu
Created attachment 16706 [details] Popup menu with action "Delete" and assignet shortcut to the key "Backspace"
*** Issue 47037 has been marked as a duplicate of this issue. ***
Same problem as Find instead of ctrl-F. Will be fixed when we get the mac key stuff merged.
Intended as a Mac-specific binding but causes minor problems for other platforms.
Also note that pressing Backspace always tries to delete the node - even if its name is just being edited (after two clicks or F2 on it). In this case bkspc and delete should be just normal editing keys, not shortcuts for other actions.
Interesting point. Maybe hard to solve, since our entire model of KB shortcut handling is entirely wrong - we override the global KB handler, rather than putting bindings onto components where they belong. (For example, try press Ctrl-3 Ctrl-F4 etc. while a modal dialog is open - opens and closes windows in the background, focus remains in the dialog! Lovely.)
...though I cannot reproduce Tomas's problem on Linux in 040812 custom. Backspace and Delete both offer to delete the node normally, but work as expected when it is being edited.
IMO this is supposed to be P2 because it's regression. Moreover it's VERY strange UI to show Backspace as shortcut for Delete.
This will be fixed as soon as issue 46811 is merged.
Fixed, along with issue 32733. When multiple keystrokes are registered for the same action, the one with the shorter text will be used. C:\space\nb_all\core>cvs commit src\org\netbeans\core\NbKeymap.java Checking in src/org/netbeans/core/NbKeymap.java; /cvs/core/src/org/netbeans/core/NbKeymap.java,v <-- NbKeymap.java new revision: 1.24; previous revision: 1.23 done
x
*** Issue 47566 has been marked as a duplicate of this issue. ***
*** Issue 47707 has been marked as a duplicate of this issue. ***
*** Issue 47981 has been marked as a duplicate of this issue. ***
verified in [nb_dev](200408251800)