Provide option to disable sheets for modal dialogs

NEW
Unassigned

Status

()

Core
Widget: Cocoa
10 years ago
8 years ago

People

(Reporter: Nick Kreeger, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
Currently, all modal dialogs (for mac) are shown as sheets. This case works pretty well, except in a couple of cases:

1. Unified toolbars are not using sheets (see Safari and iTunes)
2. In a scenario where dialogs get stacked (see Thunderbird account manager, add new SMTP server) sheets open and close to show just one dialog. This UI is pretty narly.

http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGWindows/chapter_18_section_7.html#//apple_ref/doc/uid/20000961-TPXREF11

My proposal is to write an extension to the cocoa widget code to allow the co-existence of sheets and regular modal dialogs. In order to maintain this, there needs to be a way via XUL (chrome options, or elsewhere?) to specify if a dialog should be opened as a sheet.
(In reply to comment #0)
> Currently, all modal dialogs (for mac) are shown as sheets. This case works
> pretty well, except in a couple of cases:
> 
> 1. Unified toolbars are not using sheets (see Safari and iTunes)

FWIW, I don't think Safari has ever used sheets for anything, unified toolbar or not (and it always struck me as odd things that were sheets in every other app were (app-)modal dialogues in Safari.  I tried to trigger sheets in Safari 1.3.2 but failed.
(In reply to comment #1)
> FWIW, I don't think Safari has ever used sheets for anything, unified toolbar
> or not (and it always struck me as odd things that were sheets in every other
> app were (app-)modal dialogues in Safari.  I tried to trigger sheets in Safari
> 1.3.2 but failed.

Since I looked at this for philor the other day, there are actually a few cases where Safari uses a sheet: httpAuth login, as well as saving a form password in the Keychain.

Updated

9 years ago
Assignee: joshmoz → nobody
I think the way to open a dialog instead of a sheet is to pass in a null parent window. We've got plenty of non-sheet dialogs in Firefox which all work that way, iirc. Were you thinking of something different, Nick? Or is this bug just outdated?
You need to log in before you can comment on or make changes to this bug.