Closed Bug 396491 Opened 17 years ago Closed 17 years ago

actions menu for feed type in Applications prefpane loses focus upon selection

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox 3 beta1

People

(Reporter: myk, Assigned: myk)

References

Details

Attachments

(1 file, 1 obsolete file)

When you select an item in the actions menu for the feed type in the Applications prefpane, the menu loses focus. For other types, the menu retains focus. It should retain focus for the feed type as well.
Requesting wanted-1.9 for this Applications prefpane polish fix.
Flags: blocking-firefox3?
This may not be the best solution, but it's the only simple one I can think of. The others are all significantly more complicated. When the user selects an item from the dropdown menu for the feed type, the prefpane controller twiddles some feed handler info properties, which update feed preferences, which spawn "pref changed" notifications, which are observed by the prefpane controller, which rebuilds the view, wiping out the focus. It's unnecessary to rebuild the view in this case, since the view gets updated as needed in onSelectAction. The solution in this patch is to set a flag indicating that an action is in the process of being stored and suppress "pref changed" view rebuilds when the flag is set.
Attachment #282669 - Flags: review?(gavin.sharp)
Flags: blocking-firefox3? → blocking-firefox3-
Whiteboard: [wanted-firefox3]
Attachment #285265 - Flags: review?(gavin.sharp)
Attachment #285265 - Flags: review?(gavin.sharp) → review+
Attachment #282669 - Attachment is obsolete: true
Attachment #282669 - Flags: review?(gavin.sharp)
Comment on attachment 285265 [details] [diff] [review] patch v2: unrotted Requesting approval for this wanted bug. This patch is small, simple, well-isolated, and thus low-risk.
Attachment #285265 - Flags: approval1.9?
Attachment #285265 - Flags: approvalM9+
Attachment #285265 - Flags: approval1.9?
Attachment #285265 - Flags: approval1.9+
Checking in browser/components/preferences/applications.js; /cvsroot/mozilla/browser/components/preferences/applications.js,v <-- applications.js new revision: 1.26; previous revision: 1.25 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: wanted-firefox3+
Whiteboard: [wanted-firefox3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: