Open
Bug 96384
Opened 23 years ago
Updated 2 years ago
Implement generic inline-edit functionality
Categories
(Core :: XUL, enhancement, P3)
Core
XUL
Tracking
()
NEW
Future
People
(Reporter: bugs, Unassigned)
References
Details
The bookmarks upgrade screams for inline edit functionality. I decided the best
way to implement it is as follows:
- create a generic inline-edit binding which can attach itself to a widget (e.g.
a bookmarks toolbar or an outliner) and obtain positioning information from that
widget.
- when inline edit mode is invoked (I will add support for this to the outliner
binding in outliner.xml, other uses will activate it via an API on the inline
edit binding), a popup is created at the position specified by the widget that
owns the inline-edit functionality. This is typically over the text region of
the selected item.
- keyboard & blur handling will be implemented
- a notification interface will allow the owner to determine if the value
entered is valid, and if it is, what to do with it.
Reporter | ||
Updated•23 years ago
|
Priority: -- → P3
Target Milestone: --- → mozilla0.9.6
Reporter | ||
Updated•23 years ago
|
Severity: normal → enhancement
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Comment 5•22 years ago
|
||
It would be nice to have this in Buffy, nominating
cc Patrice for UE input
Keywords: nsbeta1
Comment 6•22 years ago
|
||
Jan: How can I help you?
Comment 7•22 years ago
|
||
I need some info before implementing this feature, I'm also waitting for nsbeta1+
I'd like to implement inline editing in bookmarks, but I'm not sure how it
should behave. First, I need to know how to invoke inline editting, after two
clicks ?
Then display an editable textbox sized to the edited cell ?
Should the texbox automatically resize or wrap edited text ?
Should I get inspired by windows explorer ?
Comment 8•22 years ago
|
||
The 2 clicks sound good Jan, and then displaying an editable textbox sized to
the edited cell too. It seems that having a texbox automatically resize would be
better than wrap edited text. Looking at windows explorer to check how it works
there is a good idea too. Great suggestions.
Comment 9•22 years ago
|
||
thanks for the confirmation Patrice
Comment 11•21 years ago
|
||
Just want to tell, that this feature seems be essential for application
development. Mozilla geeks should support this feature if they really want to
expose XUL to application developers.
The workaround I've found is placing the tree into 'bulletinboard' and use
'textbox' shown on demand (treeBoxObject.getCoordsForCellItem helps) and update
internal object implemention nsITreeView. Hope it helps somebody.
Comment 12•21 years ago
|
||
Yeah, actually David Hyatt and I were talking about possible implementations
some time ago. Using a deck (bulletinboard) was one of them.
I'd like to take a look if you have a working implementation.
(In reply to comment #12)
> Yeah, actually David Hyatt and I were talking about possible implementations
> some time ago. Using a deck (bulletinboard) was one of them.
> I'd like to take a look if you have a working implementation.
>
Something like a deck containing a label and a textbox, then switching to the textbox when you click the label?
Updated•14 years ago
|
QA Contact: jrgmorrison → xptoolkit.widgets
Comment 14•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: bugs → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•