Closed Bug 359935 Opened 18 years ago Closed 17 years ago

prefwindow buttons attribute does not work

Categories

(Toolkit :: Preferences, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 341884

People

(Reporter: xavier, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1) Gecko/20061010 Firefox/2.0

The "buttons" attribute of a prefwindow do not work, the buttons do not appear.
Could be ok for the "OK" and "Cancel" buttons since prefs are updated immediately on Mac, but what about the other buttons ?

I've browsed the bug reports about this problem, and found mostly irrelevant answers such as "use the dlgbuttons attribute"...

Reproducible: Always

Steps to Reproduce:
1. setup a prefwindow element with a buttons attribute
2. open the prefwindow
3.

Actual Results:  
buttons are displayed

Expected Results:  
buttons aren t displayed

buttons should be displayed
Product: Firefox → Toolkit
QA Contact: preferences → preferences
Because of this bug, a prefwindow dialog must not be opened with a window.openDialog command, because on Mac OSX such dialog windows are not provided with the top window banner buttons allowing to close or minimize a window.
Thus, it couldn't be closed at all.
And openDialog is very convenient to pass parameters to the prefwindow...
This is certainly a dupe of bug 341884, though from comments it looks like that bug may need to be reopened.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.