Closed Bug 207643 Opened 21 years ago Closed 12 years ago

Unnecessary focus() calls in ComposerCommands.js

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.12

People

(Reporter: emaijala+moz, Assigned: javirid)

References

()

Details

(Whiteboard: [good first bug][mentor=Karsten(Mnyromyr)][lang=js])

Attachments

(1 file)

I believe that many of the focus() commands after displaying a dialog of some
kind in ComposerCommands.js are not necessary anymore now that the focus is
correctly restored even when closing nested modal dialogs.
Keywords: helpwanted
Product: Browser → Seamonkey
Assignee: composer → nobody
QA Contact: chrispetersen → composer
OS: Windows XP → All
Hardware: PC → All
MASS-CHANGE:
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.

If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.

Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
MASS-CHANGE:
This bug report is registered in the SeaMonkey product, but still has no comment since the inception of the SeaMonkey project 5 years ago.

Because of this, we're resolving the bug as EXPIRED.

If you still can reproduce the bug on SeaMonkey 2 or otherwise think it's still valid, please REOPEN it and if it is a platform or toolkit issue, move it to the according component.

Query tag for this change: EXPIRED-20100420
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → EXPIRED
Still worth trying.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: EXPIRED → ---
Whiteboard: [good first bug]
Status: REOPENED → NEW
Severity: normal → trivial
Keywords: helpwanted
Assignee: nobody → leofigueres
Whiteboard: [good first bug] → [good first bug][mentor=Karsten(Mnyromyr)][lang=js]
Attached patch patchSplinter Review
The call to focus() after SaveDocument is because the dialog is opened inside SaveDocument function.

I believe that I have not removed any needed call nor I have left behind any removable one.
Attachment #622887 - Flags: review?(neil)
Comment on attachment 622887 [details] [diff] [review]
patch

I agree that none of these appear to be needed. I didn't look for any others.
Attachment #622887 - Flags: review?(neil) → review+
Keywords: checkin-needed
https://hg.mozilla.org/comm-central/rev/ff3e0d0b3973
Status: NEW → RESOLVED
Closed: 14 years ago12 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.12
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: