Closed Bug 68835 Opened 24 years ago Closed 24 years ago

table tab doesn't default for Table | Table Properties

Categories

(Core :: DOM: Editor, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: Brade, Assigned: cmanske)

Details

Attachments

(2 files)

When I pick Table Properties from the Table menu, I expect that the table tab will be selected (not the cell tab). This has regressed. Charley--if you're too busy to look at this (though it should be really easy), feel free to reassign it to me.
This was changed on purpose, so when you are in a cell, you get Cell properties tab. The only way you get the table tab is if the table is selected, so caret (or selection) isn't inside the cell. Maybe we should just make the menu string "Table and Cell Properties"?
hmmmmm... I thought we decided that the Table menu was to quickly access table properties (I can never remember how to select the whole table). This also distinguishes this menu item from the Format menu's Table Cell Properties. The table icon should be doing the "intelligent" stuff you are talking about above (select appropriate tab).
Its very easy to switch to the "Table Tab" once in the dialog. Would you favor keeping "Table Properties" and adding a special command just to force it to start with "Table" tab? What's wrong with changing text to "Table and Cell Properties"?
Attached patch Fixes bugSplinter Review
Attached fix reverts code in EditorInsertOrEditTable() to not start with Cell properties tab. Then I pushed decision to start with Cell tab into nsInsertOrEditTableCommand -- this is used by Table button on toolbar. Kathy: please review.
Status: NEW → ASSIGNED
Whiteboard: FIX IN HAND
Target Milestone: --- → mozilla0.9
r=brade
Whiteboard: FIX IN HAND → FIX IN HAND; needs sr
Kathy found above problem -- easily fixed: this is in the "oncreate" method for the table menu. The menuitem's enable state wasn't being updated. r=brade.
sr=sfraser
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: FIX IN HAND; needs sr
verified in 2/22 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: