Closed
Bug 55991
Opened 24 years ago
Closed 23 years ago
Right clicking in a cell doesn't set selection correctly
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: sujay, Assigned: cmanske)
Details
(Keywords: regression, Whiteboard: [behavior])
Attachments
(4 files)
976 bytes,
patch
|
Details | Diff | Splinter Review | |
666 bytes,
patch
|
Details | Diff | Splinter Review | |
1.00 KB,
patch
|
Details | Diff | Splinter Review | |
1014 bytes,
patch
|
Details | Diff | Splinter Review |
using 10/10 build of netscape 1) launch netscape 2) launch composer 3) enter 5 x 5 table 4) click in a cell 5) right mouse click to bring up context menu 6) select Join Cell option notice it doesn't join cell....maybe its not redrawing... Join cell does work from Table menu.
Comment 2•24 years ago
|
||
Should this be release noted for RTM, or is it too minor a bug to document? If the verdict is to add this to release notes, what's the recommended workaround?
Comment 3•24 years ago
|
||
nominate this bug to be fixed before mozilla 1.0; we should either fix this context menu item to work or remove it from the context menu.
Target Milestone: Future → mozilla0.9
Assignee | ||
Comment 4•24 years ago
|
||
Original bug claimed 'Join cells' didn't work. That's not the problem. The problem is that when you right-click on an empty cell, the selection is lost, thus "Join cells" (or many other table commands) don't work. What should happen: The caret (collapsed selection) should be set to the beginning of the cell contents before the popup menu appears.
Status: NEW → ASSIGNED
Summary: join cell doesn't appear to work from context menu → Right clicking in a cell doesn't set selection correctly
Assignee | ||
Comment 5•24 years ago
|
||
Assignee | ||
Comment 6•24 years ago
|
||
Problem was that when right clicking in an empty cell, the mouse event "target" element is the cell itself instead of the usual textnode or other content of cell. We were selecting the cell in that case when we really just want to put caret (collapse the selection) into that cell.
Assignee | ||
Comment 7•24 years ago
|
||
Selection is collapsed to beginning of cell right-clicked in.
Comment 8•24 years ago
|
||
Replacing kristif with robinf. Robin Foster is now the doc contact for Composer
Assignee | ||
Comment 9•24 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 10•23 years ago
|
||
reopening bug; this does not work if the cell is empty (has no text or only br's)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla0.9 → mozilla0.9.1
Assignee | ||
Comment 11•23 years ago
|
||
It doesn't seem to work period, even with cell contents. Must have regressed because of other changes in that code.
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 12•23 years ago
|
||
Assignee | ||
Comment 13•23 years ago
|
||
The problem was in the loop which tests if the point clicked on is within the selection range(s). Once a range is found, we must exit loop. When there are multiple cells selected, we were erroneously concluding that we weren't clicking in the selection.
Comment 14•23 years ago
|
||
sr=kin@netscape.com
Whiteboard: FIX IN HAND need r=, sr= → FIX IN HAND need r=
Comment 15•23 years ago
|
||
r=akkana
Assignee | ||
Comment 16•23 years ago
|
||
checked in.
Reporter | ||
Comment 17•23 years ago
|
||
still not working using 6/4 build.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 18•23 years ago
|
||
I don't consider this a 9.1 stopper - can we move this to 9.2?
Assignee | ||
Comment 19•23 years ago
|
||
Who busted this! It used to work!
Status: REOPENED → ASSIGNED
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Updated•23 years ago
|
Keywords: correctness,
regression
Whiteboard: [behavior]
Assignee | ||
Comment 20•23 years ago
|
||
Assignee | ||
Comment 21•23 years ago
|
||
The final problem was that context click on a cell auto-selects the cell if you click past the end of existing content or cell is empty (you don't actually see the cell selection hightlightin, no sure why! But it doesn't really matter when context popup is used; it shows after you are done.) The "JoinTableCells" command didn't do anything if just one cell was selected, but we should join with cell to right in that case. Simple fix -- just check if there's a second cell selected.
Comment 22•23 years ago
|
||
sr=kin@netscape.com with the one change I suggested on AIM.
Assignee | ||
Comment 23•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Whiteboard: [behavior] FIX IN HAND need r=, sr= → [behavior] FIX IN HAND need r=
Comment 24•23 years ago
|
||
r=mjudge
Assignee | ||
Comment 25•23 years ago
|
||
checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Whiteboard: [behavior] FIX IN HAND need r= → [behavior]
You need to log in
before you can comment on or make changes to this bug.
Description
•