Closed
Bug 99284
Opened 23 years ago
Closed 22 years ago
Help window is modal
Categories
(SeaMonkey :: Help Documentation, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 195888
mozilla1.4beta
People
(Reporter: kbh7, Assigned: danm.moz)
References
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3+) Gecko/20010907
BuildID: 2001090705
The help window is modal, i.e., I can't do other things when
it's visible. For example, if I'm looking at Image Properties
in Composer and click Help, I'm unable to edit the properties
as long as Help is on the screen.
Reproducible: Always
Steps to Reproduce:
1. Go to any site (like www.mozilla.org)
2. Press ctrl-E to edit the page
3. Double-click on the lizard image
4. In the properties window, click "Help"
Actual Results: As long as the Help window is visible, no properties can be
changed.
Expected Results: Let me change properties while reading help!
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 1•23 years ago
|
||
*** Bug 106017 has been marked as a duplicate of this bug. ***
Comment 2•23 years ago
|
||
According to Fabian, it's modal because windows inherit the modal state of their
parent, and this dialog this modal to the help is also. Apparently this is a
hack to stop other problems and danm knows what's going on... Reassigning to him.
Assignee: oeschger → danm
Of course the current Mozilla Linux build has modality problems anyway because
we're using gtk's implementation of modality. Even were the "hack" removed so
that the help window was no longer modal, gtk would still suppress interaction
with all but the modal properties dialog from step 3 above. (Though that's
slated to be fixed: see bug 65521.)
Sigh. I forget why we had to make children of modal windows modal themselves. I
know it's a big problem on Mac OS 9 (bug 87720). You'll certainly be exercising
some of the underlying toolkit in ways that it doesn't want to be stretched if,
say, you open a stack of interspersed modal and nonmodal windows and start
closing them in the middle.
I know that allowing modal windows to parent nonmodal ones has caused us much
pain in the past. I think many subsystems assume a kind of lifetime model that
can't be guaranteed without propagating the modality down through all child
windows of a modal one. It could well mostly work save some horrible deadly edge
case or ten. I'm not prepared to be Pandora to this box, even if it does smell
like candy inside. The potential win isn't worth the potential pain. Closing.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Comment 4•23 years ago
|
||
*** Bug 148702 has been marked as a duplicate of this bug. ***
Additional notes-'n-knowledge: the question in comment 3 above ("Sigh. I forget
why...") is probably answered by bug 15574; see especially bug 15574 comment 4.
Also bug 19221 and bug 56677. It may be worth revisiting the issue, though,
because the modal help window is collecting a slow but steady stream of
complaints (bug 99284, bug 161342) and because the restriction may no longer be
necessary since a rewrite of the modality event system was snuck in (bug 65521,
bug 126786).
Comment 6•22 years ago
|
||
*** Bug 176467 has been marked as a duplicate of this bug. ***
*** Bug 193348 has been marked as a duplicate of this bug. ***
*** Bug 194532 has been marked as a duplicate of this bug. ***
Comment 10•22 years ago
|
||
*** Bug 197175 has been marked as a duplicate of this bug. ***
Comment 11•22 years ago
|
||
*** Bug 204761 has been marked as a duplicate of this bug. ***
Comment 12•22 years ago
|
||
See comments in bug 204761.
Comment 13•22 years ago
|
||
> I know that allowing modal windows to parent nonmodal ones has caused us much
> pain in the past.
If that implementation aspect is still relevant, can the open-help action
in a model window create a new window whose parent is the previous non-modal
window?
Comment 14•22 years ago
|
||
add this to your bookmark to open Help window as non-modal:
javascript:params=Components.classes["@mozilla.org/embedcomp/dialogparam;1"].createInstance(Components.interfaces.nsIDialogParamBlock);params.SetNumberStrings(2);params.SetString(0,"chrome://help/locale/mozillahelp.rdf");params.SetString(1,"welcome");ww=Components.classes["@mozilla.org/embedcomp/window-watcher;1"].getService(Components.interfaces.nsIWindowWatcher);ww.openWindow(null,"chrome://help/content/help.xul","_blank","chrome,all,alwaysRaised,dialog=no",params);
Assignee | ||
Comment 15•22 years ago
|
||
Daniel (comment 13): it's been tried. bug 87720. However this bug has been
fixed: the help window is no longer modal. See bug 195888 (from which the script
in comment 14 was taken). If you know of an exception (the case spelled out in
this bug is not one) make a new bug and assign it to neil or oeschger of bug
195888 fame.
Comment 16•22 years ago
|
||
Comment #15 >
> ... this bug has been fixed: the help window is no longer modal.
Oh, okay. Cool.
The WONTFIX resolution confused me. (Can it be changed to something more
intuitive?)
Assignee | ||
Comment 18•22 years ago
|
||
fixed by bug 195888
*** This bug has been marked as a duplicate of 195888 ***
Status: REOPENED → RESOLVED
Closed: 23 years ago → 22 years ago
Resolution: --- → DUPLICATE
Target Milestone: --- → mozilla1.4beta
Comment 19•21 years ago
|
||
*** Bug 204761 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•