Closed
Bug 57759
Opened 24 years ago
Closed 24 years ago
Items in xul textfield context menus need to enable/disable at proper times
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
People
(Reporter: bugzilla, Assigned: bugzilla)
References
Details
(Keywords: helpwanted)
Attachments
(4 files)
3.35 KB,
patch
|
Details | Diff | Splinter Review | |
4.62 KB,
patch
|
Details | Diff | Splinter Review | |
3.81 KB,
patch
|
Details | Diff | Splinter Review | |
7.85 KB,
patch
|
Details | Diff | Splinter Review |
Undo needs to be enabled when there's nothing to be undone in the new xul textfield context menus (trunk only).
Assignee | ||
Comment 1•24 years ago
|
||
Actually, all of the items (except Select All) need to be enabled/disabled at the right moments.
Summary: Undo is always enabled in xul textfield context menus → Items in xul textfield context menus need to enable/disable at proper times
Comment 3•24 years ago
|
||
->untargetted. cc pink & saari. who should get this?
Target Milestone: Future → ---
Comment 4•24 years ago
|
||
MHO is that this is ender's bug, not a toolkit bug, as it deals with content of the menus, not the menus. right? all that's needed is an oncreate handler like in navigator.
Comment 5•24 years ago
|
||
Okay, didn't know if there was one and it was just not working. Thanks! ->editor
Assignee: trudelle → beppe
Status: ASSIGNED → NEW
Component: XP Toolkit/Widgets → Editor
QA Contact: jrgm → sujay
Assignee | ||
Comment 6•24 years ago
|
||
oh, I'll do it you big baby ;) (er, pink that is).
Assignee: beppe → blakeross
Updated•24 years ago
|
OS: Windows 98 → All
Hardware: PC → All
if i ever get focused i might look at this again.
Keywords: helpwanted
Assignee | ||
Comment 9•24 years ago
|
||
Comment 10•24 years ago
|
||
what about redo and delete commands? Should those be handled too?
Assignee | ||
Comment 11•24 years ago
|
||
Ack...nice catch. Apparently whoever implemented these textfields originally mistakenly used cmd_cut instead of cmd_delete when getting the controller, and I just looked down the list when writing the array. I didn't catch this when testing because Delete and Cut are enabled/disabled at the same time. Note also that for now we don't try to enable/disable Select All, because it never disables (there's another bug on disabling Select All when all the text is selected). We have a separate bug on whether or not to add Redo. brade, wanna review this?
Status: NEW → ASSIGNED
Assignee | ||
Comment 12•24 years ago
|
||
Comment 13•24 years ago
|
||
sidenote: select all should also be disabled if there is no text
Assignee | ||
Comment 14•24 years ago
|
||
Assignee | ||
Comment 15•24 years ago
|
||
Comment 16•24 years ago
|
||
while you're making major changes, could you aim for 80-82 columns?
Comment 17•24 years ago
|
||
r=timeless given assurance that the committed version addresses my concern.
Assignee | ||
Comment 18•24 years ago
|
||
cc'ing alec for sr
Comment 19•24 years ago
|
||
looks good blake... thanks for cleaning it up sr=alecf
Assignee | ||
Comment 20•24 years ago
|
||
checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 21•24 years ago
|
||
*** Bug 63693 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•