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.

Bug 47566 - backspace == delete in Explorer?
Summary: backspace == delete in Explorer?
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
: 47390 47752 47974 48085 48308 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-20 16:05 UTC by David Konecny
Modified: 2008-12-22 17:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2004-08-20 16:05:48 UTC
Selecting a file in explorer and pressing
Backspace results in "Do you want to delete
file?". Strange.

But much worse is that if you renaming file and
press Backspace it:
* removes character
* finish rename
* asks if I want to delete the file

Extremely annoying and regression, that's why it
is P2.

(tested on today's build)
Comment 1 Marian Mirilovic 2004-08-21 09:52:00 UTC

*** This issue has been marked as a duplicate of 47024 ***
Comment 2 David Konecny 2004-08-26 10:29:21 UTC
I'm reopening this after discussing it with Marian. The issue 47024
fixed the problem but only on Linux I guess, because on my WinXP in
today's clean trunk build this still does not work.
Comment 3 David Konecny 2004-08-26 10:31:41 UTC
Tim you fixed issue 47024 but it is still broken WinXP/JDK1.4.2_04.
Comment 4 Marian Mirilovic 2004-08-26 10:35:39 UTC
David is right, it works in [nb_dev](200408251800)/JDK1.5.0 (b63) /
Linux RH9/Gnome
Comment 5 _ tboudreau 2004-08-26 10:40:55 UTC
Hmm, I wonder if the global actions handling checks isConsumed() on the key event - the 
action should never be invoked if the text area already consumed it.
Comment 6 Jan Stola 2004-08-27 14:43:01 UTC
*** Issue 47752 has been marked as a duplicate of this issue. ***
Comment 7 Jan Stola 2004-08-27 14:43:47 UTC
*** Issue 48085 has been marked as a duplicate of this issue. ***
Comment 8 _ tboudreau 2004-08-27 17:49:08 UTC
Nothing particularly strange about backspace being the equivalent of 
delete;  once the mac keybinding stuff is integrated, this shortcut 
will be moved to the AppleMenu module, so it will no longer be there 
on PC's (mac laptops don't *have* a Delete key - backspace is all 
you get).

I cannot reproduce at all on W2K the problem of backspace while 
editing the name of a file causing it to be deleted.  As far as I 
can tell, the key events are consumed properly - the delete action 
is never invoked for me when editing a file name.  Tried many times.
Comment 9 _ tboudreau 2004-08-27 17:57:29 UTC
On second though, back to P2.  From reading the duplicates, it looks 
like DeleteAction is being invoked in strange places in the case of 
dialogs which contain explorer views.  That's what needs to be 
fixed - it certainly shouldn't be invoked when focus is anywhere in 
such a dialog.
Comment 10 Petr Nejedly 2004-08-30 21:31:45 UTC
*** Issue 47974 has been marked as a duplicate of this issue. ***
Comment 11 Petr Nejedly 2004-08-30 21:33:59 UTC
*** Issue 47390 has been marked as a duplicate of this issue. ***
Comment 12 _ tboudreau 2004-08-31 13:50:25 UTC
cvs commit: Examining 
src/org/netbeans/core/ui/resources/windowmanager/properties
Checking in src/org/netbeans/core/ui/resources/layer.xml;
/cvs/core/ui/src/org/netbeans/core/ui/resources/layer.xml,v  <--  
layer.xml
new revision: 1.73; previous revision: 1.72
done
Processing log script arguments...
Mailing the commit message to cvs@core.netbeans.org (from 
tboudreau@netbeans.org)
Comment 13 Jan Stola 2004-09-01 14:57:41 UTC
*** Issue 48308 has been marked as a duplicate of this issue. ***
Comment 14 Jaromir Uhrik 2005-01-31 10:06:53 UTC
Verified on Win XP.