Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312477 - pressing Delete key in text editor wants to delete entire project
Summary: pressing Delete key in text editor wants to delete entire project
Status: CLOSED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 13:51 EDT by Jon CLA
Modified: 2010-05-11 14:38 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon CLA 2010-05-11 13:51:18 EDT
Build Identifier: M20100211-1343

When editing a text file in any Eclipse text editor, the delete key should delete the one character to the right of the cursor. Instead, it opens a dialog asking if I'm sure I want to delete the entire project from the workspace.

If I go into Window -> Preferences -> General -> Keys and unbind the Delete command, then the delete key doesn't do anything at all.  Restoring the command restores the highly undesirable functionality.

The Delete key works exactly as expected (delete one character to the right of cursor) in all other applications outside of Eclipse.

I'm running the version of Eclipse (3.5.2, M20100211-1343) that's available in the Ubuntu repositories for the latest version (Lucid Lynx).

Reproducible: Always

Steps to Reproduce:
1. Open any text file for editing.
2. position cursor so that there are characters to the right
3. press "Delete" or "Del"
Comment 1 Remy Suen CLA 2010-05-11 13:58:11 EDT
(In reply to comment #0)
> I'm running the version of Eclipse (3.5.2, M20100211-1343) that's available in
> the Ubuntu repositories for the latest version (Lucid Lynx).

Can you reproduce the problem with an Eclipse.org download?
http://download.eclipse.org/eclipse/downloads/
Comment 2 Paul Webster CLA 2010-05-11 14:08:03 EDT
This works correctly for us (the character gets deleted) in both eclipse 3.6 and eclipse 3.5.2 (M20100211-1343).

Are you working in a .txt file, or a language editor (java, php, c/c++, etc).

PW
Comment 3 Jon CLA 2010-05-11 14:38:18 EDT
I hate it when this happens, but it's suddenly working now.

I noticed that after Restoring the key binding to do some more experimenting with different file types to answer Paul's question, the Delete key was still not doing anything, so restarted Eclipse, and now the delete key works as expected. <sigh><grumble>.

I'll reopen this ticket if it starts happening again and try to provide more info.