Closed
Bug 142961
Opened 23 years ago
Closed 21 years ago
Inconsistency between Edit and Tools menu
Categories
(Toolkit :: Form Manager, defect, P3)
Toolkit
Form Manager
Tracking
()
RESOLVED
FIXED
People
(Reporter: bugzilla, Assigned: durbacher)
Details
Attachments
(1 file, 3 obsolete files)
4.21 KB,
patch
|
neil
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
When the "Fill in Form" menuitem is disabled in the Edit menu the same item in
Tools -> Form Manager is not disabled.
20020507
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0.1
Updated•23 years ago
|
Target Milestone: mozilla1.0.1 → mozilla1.1alpha
Updated•22 years ago
|
Summary: Inconsistency in Edit an Tools menu → Inconsistency between Edit and Tools menu
Updated•22 years ago
|
Priority: -- → P3
Target Milestone: mozilla1.1alpha → mozilla1.2alpha
Updated•22 years ago
|
Target Milestone: mozilla1.2alpha → mozilla1.3alpha
This should be a piece of cake.
Reassigning to new module owner.
Assignee: morse → dveditz
Status: ASSIGNED → NEW
Target Milestone: mozilla1.3alpha → ---
Assignee | ||
Comment 2•21 years ago
|
||
This bug is because those two menu entries in walletNavigatorOverlay.xul have
the same ID ("edit_prefill") and changing the state happens after fetching the
element(s) by ID, so only one of them is changed.
This patch makes the IDs unique, which fixes this bug.
The same problem is with ID "edit_capture", this is also fixed here.
Assignee: dveditz+bmo → durbacher
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•21 years ago
|
||
Comment on attachment 139869 [details] [diff] [review]
patch - make IDs unique
Requesting r= from Neil.
An alternative approach might be to change setDisabledAttr to not take any
parameters and let it automatically set prefill and capture states - it is only
called from those lines in the patch, 2/4 times consecutively. (plus one time
from commented out code)
Attachment #139869 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 4•21 years ago
|
||
Comment on attachment 139869 [details] [diff] [review]
patch - make IDs unique
Did you not wonder about the name initEditItems?
Attachment #139869 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Assignee | ||
Comment 5•21 years ago
|
||
This might be cleaner.
Attachment #139869 -
Attachment is obsolete: true
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 140105 [details] [diff] [review]
patch using a commandset
Requesting r= from Neil.
There's a lot of commented-out code that was the Forms Toolbar in some distant
past (already inactive when that code was checked in at Feb 20 2001).
I did not touch it, which is solution ) out of:
a) remove it
b) ignore it
c) modify it to "work" with my changes
Attachment #140105 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 7•21 years ago
|
||
Comment on attachment 140105 [details] [diff] [review]
patch using a commandset
>+ <command id="prefillCmd" oncommand="formPrefill();"/>
>+ <command id="captureCmd" oncommand="formCapture();"/>
Nits:
If you search LXR you'll find that most commands are named cmd_xxx
You can also put the label and the access key on the command.
Attachment #140105 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 8•21 years ago
|
||
Using "cmd_walletPrefill" because cmd_PrefillForm is already used and I want to
reduce possible confusion.
However, I discovered that the accesskey ("F") is also used by the "Find"
menuitem in the "Edit" menu. So there walletPrefill cannot be called.
I changed the accesskey to "i" which is not used - in both places. However, if
this is not desired, I could omit that change.
Assignee | ||
Updated•21 years ago
|
Attachment #140105 -
Attachment is obsolete: true
Assignee | ||
Comment 9•21 years ago
|
||
Comment on attachment 140176 [details] [diff] [review]
patch, nits addressed plus accesskey changed
Requesting r= from Neil.
Attachment #140176 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 10•21 years ago
|
||
Comment on attachment 140176 [details] [diff] [review]
patch, nits addressed plus accesskey changed
Good catch on the "F" access key but "i" isn't much better because not only is
it narrow but it is a vowel. r=me if you use "m" instead.
Attachment #140176 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Comment 11•21 years ago
|
||
Neil, I can't use "m" because "Manage sites" has that one already (in the Tools
submenu). The only choice left seems to be "n" which does not look so bad to me
after all. This patch does that. Ok?
Attachment #140176 -
Attachment is obsolete: true
Assignee | ||
Comment 12•21 years ago
|
||
Comment on attachment 140281 [details] [diff] [review]
the same patch, accesskey is now "n"
Got Neil's r= for "n" on IRC, now requesting sr= from alecf.
Attachment #140281 -
Flags: superreview?(alecf)
Comment 13•21 years ago
|
||
Comment on attachment 140281 [details] [diff] [review]
the same patch, accesskey is now "n"
After all that I forgot to double check the Tools menu :-[
Attachment #140281 -
Flags: review+
Comment 14•21 years ago
|
||
Comment on attachment 140281 [details] [diff] [review]
the same patch, accesskey is now "n"
sr=alecf
Attachment #140281 -
Flags: superreview?(alecf) → superreview+
Comment 15•21 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•