[Project_owners] Extension Options window has no Close button on Mac

HJ bugs4hj at netscape.net
Sat Mar 18 03:33:33 EST 2006

HJ wrote:
> Wladimir Palant wrote:
>> Matthew Wilson wrote:
>>>   In Firefox 1.5, my wmlbrowser extension has an options window
>>> loosely modelled on the main Firefox options window. It works fine in
>>> Windows, but I've heard that it has no Close button on the Mac.
>>> Consequently the window never closes until the whole application is
>>> closed.
>> Dialogs don't have a Close button on Mac. You have to use 
>> window.open() instead of window.openDialog().
> But there *is* a cancel button in dialog.xml:
> http://lxr.mozilla.org/mozilla/source/toolkit/content/widgets/dialog.xml#22

...but the accept and cancel buttons on the Options dialog will be 
hidden when "browser.preferences.instantApply" is set to true, which is 
the default value for Macs.


More information about the Project_owners mailing list