Closed
Bug 350335
Opened 18 years ago
Closed 18 years ago
Editable trees: clicking anywhere outside the cell being edited should go out of the editing mode
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: asqueella, Assigned: janv)
References
Details
(Keywords: testcase)
Attachments
(1 file)
917 bytes,
patch
|
Details | Diff | Splinter Review |
STR:
1. Open attachment 235591 [details] [edit] in the browser (can't test in chrome due to bug
350332)
2. Double click the first cell
3. Click anywhere outside the cell
Actual results:
The textbox does not disappear. It's hard to figure out how to get rid of the textbox using the mouse (you can double-click the cell being edited).
Expected results:
The textbox disappears when user clicks anywhere in the tree outside the cell.
Reporter | ||
Comment 1•18 years ago
|
||
Note that clicking inside an editable tree column does exit the edit mode, but if you click the column below the actual content, the edit mode is retained.
Reporter | ||
Comment 2•18 years ago
|
||
I don't see anything wrong with calling stopEditing in the left click handler. A different question is whether a right-click should also dismiss the edit mode.
Attachment #235610 -
Flags: review?(enndeakin)
Comment 3•18 years ago
|
||
The blur handler should be stopping edit mode, so we should fix the issue there instead.
Reporter | ||
Comment 4•18 years ago
|
||
Comment on attachment 235610 [details] [diff] [review] possible patch I didn't do it in the blur listener, because invoking various menus (either top-level or context) doesn't stop editing on Windows (and shouldn't do it). I now see that the blur event is not in fact dispatched in those cases, so this might just work.
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•18 years ago
|
Attachment #235610 -
Flags: review?(enndeakin)
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•