Closed Bug 206651 Opened 21 years ago Closed 19 years ago

Make Preferences (Options) a nonmodal dialog window

Categories

(Firefox :: Settings UI, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Firefox1.0beta

People

(Reporter: pbaker, Assigned: bugs)

References

Details

(Keywords: platform-parity)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4b) Gecko/20030521 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4b) Gecko/20030521 Mozilla Firebird/0.6

Preferences should be rendered as a separate dialog box instead of a sheet.

Reproducible: Always

Steps to Reproduce:
1. Choose Preferences from the Mozilla Firebird menu.
Actual Results:  
Preferences slides down from title bar as a sheet.

Expected Results:  
Preferences should open as a separate dialog window.
Confirmed using Firebird/Mac/2003-05-16 (0.6).
Summary: preferences should be a separate dialog, not a sheet → Preferences should be a nonmodal dialog window rather than a sheet
Really marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Is this OSX-specific?  On Linux, preferences should also be a nonmodal window...
I could file a new bug or mutate this one, as you prefer.
Sheets are OSX-specific, but if making it nonmodal is a cross-platform fix, I suggest mutating this 
bug.
I have no idea how #ifdefed or not the relevant code in firebird is....
--> enhancement
--> tweak summary
Severity: normal → enhancement
Summary: Preferences should be a nonmodal dialog window rather than a sheet → Make Preferences a nonmodal dialog window rather than a sheet
The Prefs window is also modal in Windows. I'd like to have it non modal to
allow copying/pasting from the browser into the window. Is there any technical
reason to have it as a modal dialog?
taking QA contact, sorry about the bugspam
QA Contact: asa → mconnor
I dunno if I would classify this as an enhancement, as having the preference
dialog modal/sheet is against the AHIG, which in the Mac world is considered to
be a flaw.
This is not, in fact an enhancement request -- those are requests to add
features.  We're not talking about a feature here.  This is a straight-out bug,
and arguably a regression (though I'm not sure whether things that work in
SeaMonkey but not in Firebird should be considered regressions).
Severity: enhancement → normal
reassigning mac bugs, sorry for the spam.
Assignee: blake → nobody
I don't see the need for a new bug, and given that nobody has objected, I'm
morphing this one a little. AIUI, what's wanted on all platforms in a nonmodal
dialog (and not a "sheet")

Platform -> All, reassigning back to a real person.
Assignee: nobody → blake
OS: MacOS X → All
Hardware: Macintosh → All
Summary: Make Preferences a nonmodal dialog window rather than a sheet → Make Preferences a nonmodal dialog window
Re: Comment #9
From my understanding there is no technical reason for the window to be modal.
In fact, you can easily open another browser window before opening the prefs and
still access it - so the "modality" cannot be a safety precaution to avoid
conflicts with "parallel" browsing.
*** Bug 216494 has been marked as a duplicate of this bug. ***
*** Bug 222366 has been marked as a duplicate of this bug. ***
It would be great for this to be addressed by 0.8, especially for the Mac.
Flags: blocking0.8?
Attached patch Proposed patch — — Splinter Review
I took the added code more or less wholesale from Thunderbird's mailCore.js,
although the actual call to open the window is the same minus "modal" in the
argument list. Thunderbird's options dialog is nonmodal on all platforms, so I
saw no reason to #ifdef this for mac and linux only. Tested and working on my
WinXP box.
Attachment #137519 - Flags: review?(blake)
Comment on attachment 137519 [details] [diff] [review]
Proposed patch

ben, this is sort of a late addition, but this is a really common complaint
from Macolytes among others, can you decide this one once and for all?
Attachment #137519 - Flags: review?(blake) → review?(bugs)
If this gets in, fine. But this is not blocking the release.
Flags: blocking0.8? → blocking0.8-
*** Bug 235033 has been marked as a duplicate of this bug. ***
Flags: blocking0.9?
Comment on attachment 137519 [details] [diff] [review]
Proposed patch

this will cause bustage in the prefwindow since some functions depend on the
opener relationship.
Attachment #137519 - Flags: review?(bugs) → review-
not a blocker for 0.9 either

post-prefwindow rewrite, we'll have to look at this and determine what this
would break in terms of functionality (use current page(s) for homepage is a
biggie that I know will break in the current prefwindow.).

maybe make it dependent, but not modal?  taking to make sure this stays on radar
for 1.0beta/final
Assignee: firefox → mconnor
Flags: blocking0.9? → blocking0.9-
Target Milestone: --- → Firefox1.0beta
should block 1.0 for Mac, if nothing else.
Flags: blocking1.0?
The pref window should be modal on Windows, not so on GNOME or MacOS X.
Non-modality requires some extensive changes to the pref window system -
instant-apply of preference changes etc. Pierre was going to look at some of
this but he's not been around lately. 
Flags: blocking1.0? → blocking1.0-
Blocks: 222686
there isn't time to do this before 1.0, since it basically involves creating a
new type of prefwindow interface.  I have some ideas on implementing
instant-apply, but reimplementing the prefwindow code just isn't going to happen
in a short enough timeframe to get the testing it needs.
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: Firefox1.0beta → After Firefox 1.0
Then can you make this an application modal dialog for 1.0? This is very wrong
that it is a sheet.
how much of a different would it really make if it was application-modal?  you
could move it around, I suppose, but it would still have the same problem
It would be correct usage. Sheets are for window modal dialogs. Application
preferences however apply to the whole application not only a single window.
Ideally they should be in a modeless window, but an application modal dialog is
correct usage as well.

Maybe this is nitpicking from a practical point of view, but I think it would be
good to demonstrate that usage of sheets is understood by the Firefox
developers. It looks so silly when the preferences show up as sheet on the
downloads window. I was under the impression that it could be changed to a
modeless dialog by simply changing a flag where it is created, so it would be a
very easy preliminary fix for 1.0. If it requires rewriting of code it's not
worth it though I concur.
Flags: blocking1.0mac?
Sorry for bug-spam. I am removing my request for blocking, I didn't see that
Mike change the Taget-Milestone.
Flags: blocking1.0mac?
going to try to get this done before 1.0 beta as part of my newfound desire to
integrate better on GNOME
Target Milestone: After Firefox 1.0 → Firefox1.0beta
Flags: blocking-aviary1.0mac?
*** Bug 269425 has been marked as a duplicate of this bug. ***
Flags: blocking-aviary1.0mac?
Depends on: 274712
This is now an OS:All bug. Changing summary accordingly.

Prog.
Summary: Make Preferences a nonmodal dialog window → Make Preferences (Options) a nonmodal dialog window
(In reply to comment #34)
> This is now an OS:All bug. Changing summary accordingly.

Mac / Gnome only.

Keywords: pp
(In reply to Karl "grayrest" Guertin, comment #9)
> The Prefs window is also modal in Windows. I'd like to have it non modal to
> allow copying/pasting from the browser into the window. Is there any technical
> reason to have it as a modal dialog?

I too prefer it to be non-modal on Windows, for the very same reason. Comment
#26 hints that this is not trivial (though it's worth noting that Seamonkey does
it already).

As a workaround, open a new window before opening Options.

Prog.
Most of the new prefwindow bits will be pref-controlled, including modality etc.
 There's issues with the current impl, but the new impl may be better with
non-modality.
Assignee: mconnor → bugs
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
The new options window is still modal in Windows, so depending on whether that
was in the scope of this bug or not it isn't fixed.

I'm using Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050305 
True, but this was originally a Mac bug, and it's fixed there. It's fixable by
setting the pref on Windows. I would imagine that it's either outside the scope
of this bug, or it's a WONTFIX issue (or both).
(In reply to comment #38)
> I'm using Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2)
Gecko/20050305 

This is a Firefox bug, nothing changed for the Mozilla Suite.
Whoops, it is Firefox/1.0+ but that part of the build string is hidden in the
About dialog.
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs,
filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: