Bug 233533 - Pressing Delete key on an object where delete is displayed should display a message
Summary: Pressing Delete key on an object where delete is displayed should display a m...
Status: ASSIGNED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: Future   Edit
Assignee: David Dykstal CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: PII
Depends on:
Blocks:
 
Reported: 2008-05-22 14:56 EDT by Kevin Doyle CLA
Modified: 2008-05-26 11:20 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Doyle CLA 2008-05-22 14:56:26 EDT
A message should be displayed to the user when they try to delete an object where Delete is currently disabled, so they get some feedback about why it didn't work.

-----------Enter bugs above this line-----------
TM 3.0RC1 Testing
installation : eclipse-SDK-3.4M7
RSE install  : Dev Driver
java.runtime : Sun 1.5.0_11-b03
os.name:     : Windows XP, Service Pack 2
------------------------------------------------
Comment 1 Kevin Doyle CLA 2008-05-22 15:08:01 EDT
Another case with delete is for connections.  Should delete disconnect the user?  Or bring up a dialog asking the user if they want to disconnect from the connection?
Comment 2 Martin Oberhuber CLA 2008-05-23 04:27:56 EDT
I'm not so sure about this request.

Pressing delete key is very sensitive to the current context. The #1 reason for pressing delete key not working, is that the context is not correctly set or detected, and there simply is no delete available on the current selection. Think about pressing delete on
  * an entry in the error log or the problems view
  * an entry in the CVS History
  * A word in the CVS Console

In none of these examples, a dialog is shown; it just fails silently. I'd think that "keyboard users" are used to the fact that pressing delete key simply doesn't work in those situations where delete is not supported for any reason. They are used to opening the respective menu in case they tried pressing delete and nothing happened, to see what's going on.

I'm not totally opposed to showing a dialog in case a delete action is available but disabled; but I do not think it's very important so I changed severity to "Minor". In fact I think such a change is controversial, so it should be discussed before implementing.