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)
Tracking
()
RESOLVED
FIXED
Firefox 3 beta1
People
(Reporter: myk, Assigned: myk)
References
Details
Attachments
(1 file, 1 obsolete file)
1.89 KB,
patch
|
Gavin
:
review+
mconnor
:
approvalM9+
mconnor
:
approval1.9+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•17 years ago
|
||
Requesting wanted-1.9 for this Applications prefpane polish fix.
Flags: blocking-firefox3?
Assignee | ||
Comment 2•17 years ago
|
||
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)
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3-
Whiteboard: [wanted-firefox3]
Assignee | ||
Comment 3•17 years ago
|
||
Attachment #285265 -
Flags: review?(gavin.sharp)
Updated•17 years ago
|
Attachment #285265 -
Flags: review?(gavin.sharp) → review+
Updated•17 years ago
|
Attachment #282669 -
Attachment is obsolete: true
Attachment #282669 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 4•17 years ago
|
||
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?
Updated•17 years ago
|
Attachment #285265 -
Flags: approvalM9+
Attachment #285265 -
Flags: approval1.9?
Attachment #285265 -
Flags: approval1.9+
Assignee | ||
Comment 5•17 years ago
|
||
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
Updated•17 years ago
|
Flags: wanted-firefox3+
Whiteboard: [wanted-firefox3]
You need to log in
before you can comment on or make changes to this bug.
Description
•