Closed Bug 289928 Opened 20 years ago Closed 19 years ago

lastSelected and currentPane properties of child prefwindows are not updated

Categories

(Toolkit :: Preferences, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mossop, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050409 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050409 Firefox/1.0+

The lastSelected and currentPane properties of a prefwindow are not set
correctly if the prefwindow is a child. These are normally both updated in the
_selectPane method, unless the prefwindow type is "child" in which case they are
never updated.

This means that child prefwindows do not persist their selected pane, and
finding the current pane programmatically is a little more complex than would
otherwise be necessary.


Reproducible: Always

Steps to Reproduce:
Assignee: bugs → nobody
Product: Firefox → Toolkit
QA Contact: mconnor → nobody
I am unsure whether this bug is valid or not, none of the documentation I have
seen for the new prefwindow says whether child dialogs should have multiple
prefpanes. They certainly appear to work, apart from this bug and the fact that
they do not animate.
Child prefwindows should not have multiple panes, as per bug 301871
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.