Closed Bug 164647 Opened 23 years ago Closed 23 years ago

Delete in context menu doesn't do anything for text

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.2alpha

People

(Reporter: sujay, Assigned: cmanske)

Details

Attachments

(1 file)

using 8/23 branch build 1) launch netscape 2) launch composer 3) insert text: "HelloWorld" 4) insert caret between Hello and World 5) bring up right context menu 6) select "Delete" nothing happens. User might expect the Delete menu option to behave the same as the Delete key on the keyboard.
weird. It fires the "cmd_delete". Note that "Delete" in the top-level Edit menu is disabled if there is no selection, so I think we are handling the Del char in the editor side-stepping the delete command (which only deletes a selection.) I think we should simply remove "Delete", "Copy", and "Cut" if there's no selection?
Status: NEW → ASSIGNED
Keywords: nsbeta1
Target Milestone: --- → mozilla1.2beta
Attached patch patch v1Splinter Review
must use 'observes', not 'oncommand' so menuitems are disabled correctly. (In context menus, disabled items are also hidden)
Whiteboard: [FIX IN HAND]need r=,sr=
Target Milestone: mozilla1.2beta → mozilla1.2alpha
Comment on attachment 96770 [details] [diff] [review] patch v1 r=brade
Attachment #96770 - Flags: review+
Whiteboard: [FIX IN HAND]need r=,sr= → [FIX IN HAND]need sr=
Comment on attachment 96770 [details] [diff] [review] patch v1 sr=hewitt
Attachment #96770 - Flags: superreview+
checked into 1.2 trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: [FIX IN HAND]need sr=
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: