Closed Bug 1628375 Opened 5 years ago Closed 5 years ago

Duplicate separator, spring and spacer appear in customize toolbar dialog

Categories

(SeaMonkey :: UI Design, defect)

defect

Tracking

(seamonkey2.53+ fixed, seamonkey2.57esr? affected)

RESOLVED FIXED
seamonkey2.53
Tracking Status
seamonkey2.53 + fixed
seamonkey2.57esr ? affected

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

References

Details

(Whiteboard: SM2.53.3)

Attachments

(2 files, 4 obsolete files)

When a user is customising toolbars they can end up with multiple separators, springs and spacers as each one is now given a unique id in the UI.
STR
1/ Use recent SeaMonkey
2/ Customise a toolbar by adding separators, springs and spacers to it.
3/ Select "Restore Default Set"

Expected Result
1/ Unique set of toolbar elements in dialog

Actual Result
1/ Duplicate elements for separators, springs and spacers.

Attached patch Fix customizeToolbar code (obsolete) — Splinter Review

[Approval Request Comment]
Regression caused by (bug #): unknown
User impact if declined: surplus elements in dialog
Testing completed (on m-c, etc.): 2.53.2
Risk to taking this patch (and alternatives if risky): none
String changes made by this patch: none

Attachment #9139184 - Flags: review?(frgrahl)
Attachment #9139184 - Flags: approval-comm-release?

Same patch but for 2.57 as code has moved from mozilla to comm repo.

Attachment #9139186 - Flags: review?(frgrahl)
Attachment #9139186 - Flags: approval-comm-esr60?
See Also: → 1628395

Updated comment.

Attachment #9139184 - Attachment is obsolete: true
Attachment #9139184 - Flags: review?(frgrahl)
Attachment #9139184 - Flags: approval-comm-release?
Attachment #9139214 - Flags: review?(frgrahl)
Attachment #9139214 - Flags: approval-comm-release?

With qrefresh too

Attachment #9139214 - Attachment is obsolete: true
Attachment #9139214 - Flags: review?(frgrahl)
Attachment #9139214 - Flags: approval-comm-release?
Attachment #9139215 - Flags: review?(frgrahl)
Attachment #9139215 - Flags: approval-comm-release?

Updated comment in code

Attachment #9139186 - Attachment is obsolete: true
Attachment #9139186 - Flags: review?(frgrahl)
Attachment #9139186 - Flags: approval-comm-esr60?
Attachment #9139218 - Flags: review?(frgrahl)
Attachment #9139218 - Flags: approval-comm-esr60?
Comment on attachment 9139218 [details] [diff] [review] Fix customizeToolbar code v1.1 for 2.57 > + if ((!isSpecialItem(templateNode) && !(templateNode.id in currentItems)) { One opening bracket too much.
Attachment #9139218 - Flags: review?(frgrahl)
Attachment #9139218 - Flags: review-
Attachment #9139218 - Flags: approval-comm-esr60?

Removed extra (

Attachment #9139218 - Attachment is obsolete: true
Attachment #9145313 - Flags: review?(frgrahl)
Attachment #9145313 - Flags: approval-comm-esr60?

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is -- (Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → --
Comment on attachment 9139215 [details] [diff] [review] Fix customizeToolbar code v1.1 for 2.53 LGTM
Attachment #9139215 - Flags: review?(frgrahl)
Attachment #9139215 - Flags: review+
Attachment #9139215 - Flags: approval-comm-release?
Attachment #9139215 - Flags: approval-comm-release+
Comment on attachment 9145313 [details] [diff] [review] Fix customizeToolbar code v1.2 for 2.57 LGTM
Attachment #9145313 - Flags: review?(frgrahl)
Attachment #9145313 - Flags: review+
Attachment #9145313 - Flags: approval-comm-esr60?
Attachment #9145313 - Flags: approval-comm-esr60+
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Whiteboard: SM2.53.3
Target Milestone: --- → seamonkey2.53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: